Closed timothyparez closed 1 year ago
A little more info: apparently it's caused by the audio.
ffmpeg -i loop2.mp4 -c:v copy -an loop3.mp4
@timothyparez Would you have a sample of an AAC video file in question? It would seem weird that AAC would cause video to stutter, and I'd definitively need something to reproduce it on.
This video for example: https://1drv.ms/v/s!AmkewwA9r9K0gcAk5bXsm3fIdPqefQ?e=tn5eVo (Hopefully you can access it).
I've recently migrated to a Java implementation with ExoPlayer3 and found the same issue,
so there's probably not much that can be done about it.
It's most likely an issue specific to the SoC we are targetting,
it seems to be very good at playing 4K/H265 encoded video while having
issues with 1080p/H264 encoded videos.
Makes me think this issue can simply be closed.
Yeah I checked it as well, it seems that it's just an issue of the SoC you are targetting in particular, will close this one out!
We can use this library now Media3 ExoPlayer SDK for .NET for Android
` Anjo.Android.Media3.ExoPlayer (>= 1.1.1) Anjo.Android.Media3.Common (>= 1.1.1) Anjo.Android.Media3.Container (>= 1.1.1) Anjo.Android.Media3.Database (>= 1.1.1) Anjo.Android.Media3.DataSource (>= 1.1.1) Anjo.Android.Media3.Decoder (>= 1.1.1) Anjo.Android.Media3.Extractor (>= 1.1.1)
`
Info
Platform:
Android
Framework:Xamarin.Android
Version:2.18.10-xamarin1
Android Version: Android 11 Android Target: Android 13What
I am trying to play a few
h264
encodedmp4
files with a resolution of1920x1080
. TheSoC
on which I am running this is capable of decodingh264/h265
streams at 4K with the hardware decoder.Result
When the videos play they often
jutter
orstutter
.Playing the same videos on the same device in the same project but with the classic
MediaPlayer
instead does not have this issue.Example
Perhaps there is a way to increase the buffers etc, but it's hard to match the documentation on Google
with the implementation here.
Logs when it stutters:
Is there anything I can try to resolve this?