Open greensea opened 2 years ago
Well, h264_mediacodec
is not one of the decoders we are testing regularly.
v4.5.LTS
. It worked without any errors.v4.5.1-1.LTS
. It failed there. h264_mediacodec
decoder source code is coming from ffmpeg
. So, I'l mark this issue as ffmpeg-bug
.
I suggest using the previous version v4.5.LTS
or waiting for the next release, which will be released in July.
Description Using
h264_mediacodec
decoder on android to decode a h264 stream, but the decoder not work, keep printingError while decoding stream #0:0: Try again
message.Expected behavior It should decode the h264 stream.
Current behavior The input stream can not be decode.
To Reproduce Use the ffmpeg-kit-test source, build a android package then install. Use the command to decode a h264 stream:
Screenshots Nnoe.
Logs (ghostbin is down right now, I paste the logs at github gist) ffmpeg log: https://gist.github.com/greensea/8b6b7261e06a7e47cb657184d124ef42 adb log: https://gist.github.com/greensea/7a98cc9ba8f87025d5760676457784e8
Environment
Android
arm-v7a
v4.5.LTS
main
30.0
Other I test this on several devices, but still got this error. I also test other h264 streams, but also got this error. I also try decode a local h264 video file recorded by the device (
-i /sdcard/DCIM/Camera/VID_xxxx.mp4
), but still got this error.I find some error log in adb logs:
I am not sure if it is the cause of this issue.