-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constant frame drops on TCL for AVC/mp2 #7294
Comments
On the attached recoding, vfpo is very low (-200ms), which indicates the device is too slow on decoding the video frames. However, the attached logs also contain To begin, can you verify from the TV logcat which decoder is MXPlayer using? Is it still using Android's MediaCodec with I also noticed the TV specs are Some additional investigation I performed: I tested on a limited set of devices I have access to at the moment but none has a realtek chipset. All tests I did with the attached file worked fine, apart from a Pixel 1st gen, where the screen output has decoder artifacts (decoding errors) and makes me think something is wrong with this file/encoding on the specific realtek decoder. Out of curiosity, I checked the file with Let's start with the two questions above and see if there's something clear out of that. |
From the attached log:
So, I believe it uses BTW, there is no |
Hi @christosts, Device owner here. For the second question, indeed it is running in 1280x720. However, I've no issues playing back 1080 content from YouTube and in this case, some IPTV channels. The stream above is captured from a UDP stream, which is used by telco providers for IPTV. I believe this is more a interlaced/progressive issue, because I am able to play some 1080 channels. This is the codec info from the problematic stream above (Anne-Marie MTV),
This is the codec info for the non-problematic channel:
Test content (non-problematic channel): https://drive.google.com/file/d/1J18vdwoUNzvn8CrKS4GsCoKtBlC0pLh9/view?usp=sharing |
The first stream is using the AVC High Profile in interlaced mode, it is possible that this is causing issues. I don't understand from the descriptions if MXPlayer manages to play the same content (AVC High profile/interlaced) correctly, but I suggest you use AVC main profile in progressive. https://developer.android.com/guide/topics/media/media-formats |
I tried re-encode it (the problematic stream) to main profile in progressive mode in ffmpeg with This is live TV, so it is impossible to re-encode all the channels that runs in interlaced mode. I can give logs from both Exoplayer and MX player if needed. |
I will try to inspect what mxplayer might be doing with the content to play it while ExoPlayer cannot, but I cannot offer a solution that will work instantly. An alternative, pull request #7132 is implementing video decoding with ffmpeg, and it's currently on its way to the dev-v2 branch. May I suggest that you try using ffmpeg decoder with the interlaced content (either build with the pull request or wait until it is pushed in its final form on the dev-v2 branch)? |
[REQUIRED] Issue description
ExoPlayer have constant frame drops when playing mpeg-ts with AVC/mp2/ac3, while other players using same decoder (
OMX.realtek.video.decoder
) play video well.Audio goes through ffmpeg, since device does not have mp2 decoder, but it plays well.
There're ACodec drops in logcat:
Media comes from "Nimble" streaming software.
Logs:
[REQUIRED] Reproduction steps
Play provided media in ExoPlayer demo
[REQUIRED] Link to test content
[REQUIRED] A full bug report captured from the device
Do not own device. Issue is reported by user. Here is some info:
[REQUIRED] Version of ExoPlayer being used
[REQUIRED] Device(s) and version(s) of Android being used
please check above
The text was updated successfully, but these errors were encountered: