#10097: MediaCodec Encoder: Gibberish output produced on emulators (generally
below
< API 31)
-------------------------------------+-------------------------------------
Reporter: Ajay | Type: defect
Shrestha |
Status: new | Priority: normal
Component: ffmpeg | Version:
| unspecified
Keywords: mediacodec | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
What you were trying to accomplish?
I am trying to transcode an mp4 file using the mediacodec encoder support
recently added by Zhao Zhili here
(https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/0ff18a7d6d496f89d9e007ddd1cad7116baf5c7c)
The problem you encountered:
Currently, only on emulators with OS API levels less than API 31, The
output video is simply gibberish with a repetitive pattern of red, purple,
or random colors
The exact command line you were using:
-hwaccel mediacodec -hwaccel_output_format mediacodec -i
"/data/user/0/com.test.ffmpeg_kit_android_demo/cache/test_input.mp4" -c:v
h264_mediacodec -ndk_codec 1 -y
"/data/user/0/com.test.ffmpeg_kit_android_demo/cache/test_output.mp4"
-loglevel trace
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10097>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".