-
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
MPEG-TS stream freezes every several seconds #678
Comments
Some relation with that: #488 |
Thanks a lot. I have disabled OMX.amlogic.avc.decoder.awesome in MediaCodecUtil.isCodecUsableDecoder and now it works fine. |
Can you show how you do it? When I try use exoplayer, video still black, but I using HLS and DASH! |
private static boolean isCodecUsableDecoder(MediaCodecInfo info, String name, |
That awesome, let me try 👆 |
Before screen are black, now have video, but still freezing, video are not 100% smooth! Do you know your Android Version And or Amlogic Build version? Thanks. |
Does it work if you make it so that |
That doesn't answer the question, because video shouldn't freeze even if the decoder isn't adaptive. Please give the suggestion above a try. |
I see! Then @ddv2005 should reply that, I using same decoder with MPEG-TS and no Freezing =/ @ddv2005 Maybe if you can publish some link/file i can try in my Amlogic (Old one) and check if same problem. Just disable Omx.Amlogic, i think this not useful in all devices, like mine device, just have Omx.Amlogic and software Omx.Google (Then will be worst with this solution). My issue was just with MPEG-Dash adaptive (Then in this case video show black screen), but now AmLogic staff solved that for me and they will publish the new firmware for public very soon. |
Hi @bsysop ! |
[coming from #926] @ojw28 I've tried to make I've also tried to other suggestion of making Any other suggestion or things I can try? |
Report the issue to the device manufacturer. There's only so much we can do to make sure we run properly on devices that don't behave correctly. |
@Avetri yes, they solved that, in some cases need to upgrade all the last media decoders, but normally just changing /system/etc/media_codecs.xml this works. I change the avc and hevc for:
|
@ojw28 It appears my video problem only occurs with HLS. The test DASH streams from the demo app plays fine. Does that make sense, if the problem is the AMLogic decoder? |
It's somewhat unclear whether this is/was a device specific issue, or whether it still reproduces on recent versions of ExoPlayer. Closing for now. If this still reproduces on the latest ExoPlayer release, and if you believe it's not a device specific issue, then please file a new issue. |
I have MXIII box that works fine in MediaPlayer on MPEG-TS H264/AAC stream. But exoPlayer freezes every several seconds. You can see it in my log at 00:21:23.188 ..Out PTS: 191000... Next PTS: 191040 should be played at 00:21:23.228 but it freezes before 00:21:23.908 (about 700 ms delay). Why it happen?
08-01 00:21:22.988 29788-31968/? D/AmlogicVideoDecoderAwesome﹕ Out PTS: 190120..
08-01 00:21:22.998 29788-31971/? V/AmlogicVideoDecoderAwesome﹕ The stream is avc and have no start code, Add one.
08-01 00:21:23.018 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211876392
08-01 00:21:23.018 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211876392 ok
08-01 00:21:23.048 29788-31968/? D/AmlogicVideoDecoderAwesome﹕ Out PTS: 190160..
08-01 00:21:23.048 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211877216
08-01 00:21:23.048 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211877216 ok
08-01 00:21:23.058 29788-31971/? V/AmlogicVideoDecoderAwesome﹕ The stream is avc and have no start code, Add one.
08-01 00:21:23.088 29788-31968/? D/AmlogicVideoDecoderAwesome﹕ Out PTS: 190880..
08-01 00:21:23.088 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211965448
08-01 00:21:23.088 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211965448 ok
08-01 00:21:23.098 29788-31971/? V/AmlogicVideoDecoderAwesome﹕ The stream is avc and have no start code, Add one.
08-01 00:21:23.108 29788-31968/? D/AmlogicVideoDecoderAwesome﹕ Out PTS: 190920..
08-01 00:21:23.118 29788-31971/? V/AmlogicVideoDecoderAwesome﹕ The stream is avc and have no start code, Add one.
08-01 00:21:23.128 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211965104
08-01 00:21:23.128 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211965104 ok
08-01 00:21:23.168 29788-31968/? D/AmlogicVideoDecoderAwesome﹕ Out PTS: 190960..
08-01 00:21:23.168 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211964712
08-01 00:21:23.168 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211964712 ok
08-01 00:21:23.188 29788-31971/? V/AmlogicVideoDecoderAwesome﹕ The stream is avc and have no start code, Add one.
08-01 00:21:23.188 29788-31968/? D/AmlogicVideoDecoderAwesome﹕ Out PTS: 191000..
08-01 00:21:23.208 29788-31971/? V/AmlogicVideoDecoderAwesome﹕ The stream is avc and have no start code, Add one.
08-01 00:21:23.888 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211876392
08-01 00:21:23.888 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211876392 ok
08-01 00:21:23.908 29788-31968/? D/AmlogicVideoDecoderAwesome﹕ Out PTS: 191040..
08-01 00:21:23.928 29788-31971/? V/AmlogicVideoDecoderAwesome﹕ The stream is avc and have no start code, Add one.
08-01 00:21:23.928 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211877216
08-01 00:21:23.928 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211877216 ok
08-01 00:21:23.968 29788-31968/? D/AmlogicVideoDecoderAwesome﹕ Out PTS: 191080..
08-01 00:21:23.968 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211965448
08-01 00:21:23.968 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211965448 ok
08-01 00:21:23.988 29788-31968/? D/AmlogicVideoDecoderAwesome﹕ Out PTS: 191120..
08-01 00:21:23.988 29788-31971/? V/AmlogicVideoDecoderAwesome﹕ The stream is avc and have no start code, Add one.
08-01 00:21:24.008 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211965104
08-01 00:21:24.008 31225-31964/tv.stb I/ACodec﹕ video render this buffer -1211965104 ok
08-01 00:21:24.018 29788-31971/? V/AmlogicVideoDecoderAwesome﹕ The stream is avc and have no start code, Add one.
08-01 00:21:24.028 29788-31968/? D/AmlogicVideoDecoderAwesome﹕ Out PTS: 191160..
The text was updated successfully, but these errors were encountered: