-
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
Video freezes on AMLogic device #926
Comments
Hi @goffioul please find another posts about AmLogic in here, this is not Exoplayer problem. Do you have rooted device? |
Let's use #678 to track this, assuming it's the same/similar. |
@bsysop, this is a rooted device. It's running Android 4.4.2. I don't think it's an ExoPlayer problem either, but I'm looking for a workaround to make ExoPlayer usable. @ojw28, not sure this is the same as #678. In my case, the video is constantly frozen. Sometimes, the picture changes, so the framerate is about 0.1 to 0.2 fps. I'll review the other issue and try the suggested workarounds. |
@goffioul please put here your /system/etc/media_codecs.xml and also media_profiles.xml |
@bsysop Here there are. /system/etc/media_codecs.xml
/system/etc/media_profiles.xml
|
Right, Remount this partition, change your media_codecs.xml, reboot, check again with adb if this still changed and then try Exoplayer again.
|
I'll give it a try, but are the changes to OMX.google.cook.decoder and OMX.google.flac.decoder required, or is it because you're providing me your version? |
Yes, sorry for that. Just change theses lines, AVC and HEVC
|
I didn't see any difference. The picture is still frozen, while the audio runs fine. The frozen picture updates every 5 to 10 seconds. |
This is absolutely bad! Only i can say you is try to upgrade the AmLogic media decoders in another way you should use Software Decoder and this is a really ugly ideia, but i think will be 300% better than this Frozen every 5/10 seconds. Like you can see in #678 you can select the codec. |
It appears the video freeze problem only affects HLS. The test DASH streams in the demo app plays fine. If the problem is the AMLogic decoder, I'd expect to also affect DASH streams, isn't it? |
Well, the problems i got are in all h264 contents, more heavy in Dash, but also happens in HLS with some drops. You should try to upgrade all your system with last Amlogic firmware and try again!. |
Unfortunately, I don't have any firmware update. I'm using the most recent SDK I can get. Reaching out to AMLogic seems to be a dead end, as they keep insisting that they can play the streams fine with the app com.android.gallery3d, so they won't acknowledge there's any problem. |
I see, do you have another AmLogic device for test? |
No, this is the only AMLogic platform we currently use. We use another platform from Rockchip, running 4.2.2, and that one is working fine. |
I see, sorry for that buddy, maybe another one can help you. |
I got a similar problem on my Wetek Play 2 device. (Amlogic S905H) The device only renders the first image of any video. Here is my logcat output:
And here is my media_codecs.xml. (not modified)
And here my media_profiles.xml. (Also not modified)
Is there any solution to this problem? By the way, with ExoPlayer playback of these videos worked fine. |
@TheNetStriker "By the way, with ExoPlayer playback of these videos worked fine." suggests that the video plays okay but you also say "The device only renders the first image of any video". Please could you clarify under what circumstances playback worked? To investigate issues like this, it would be useful to have the information requested in the issue template, especially the output of |
Sorry, I actually wanted to write "By the way, with ExoPlayer V1 playback of these videos worked fine." With V1 I was able to play my stream. Since I updated to V2 I get this error. I can't give you the stream because it's an internal streaming server, but It's just a simple http stream. The video container is mp4, the video codec isH.264 MPEG-4 AVC and the audio codec is AAC. The Wetek device only supports plain text bugreport. The file is very big (6MB) so I uploaded it to my Dropbox: Link What could be the problem here? |
I'm testing the ExoPlayer demo app using the stream http://content.jwplatform.com/manifests/vM7nH0Kl.m3u8. I start the demo app using
The audio runs fine, but the video freezes. Every now and then (maybe every 5 secs or more) the picture is updated, but that's about it. The device uses an AMLogic SoC (S805). Logcat output for the exoplayer app is as follows:
I'm only testing with HLS stream, but this happens for all HLS streams I've tried (e.g. http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8).
The text was updated successfully, but these errors were encountered: