[FFmpeg-trac] #7020(avcodec:new): Distorted frames at stream start with Mediacodec in PORTRAIT VIDEOS
FFmpeg
trac at avcodec.org
Mon Feb 12 15:21:46 EET 2018
#7020: Distorted frames at stream start with Mediacodec in PORTRAIT VIDEOS
------------------------------------+-----------------------------------
Reporter: kaushal86 | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: 3.4 | Resolution:
Keywords: Mediacodec | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by mateo):
Replying to [comment:2 kaushal86]:
> No, this did not happen when I used generic h264 decoder, it only
happens when I use "h264_mediacodec" decoder.
I was not refering to the h264 software decoder. I was refering to the
output of the h264_mediacodec decoder which can either be software buffers
or surface.
> It happens with all my portrait videos which I have recorded on my
android mobile.
> My device is Android arm64-v8a (samsung s6 edge+), I am using this
device as my test device.
> One of my video files can be found at
https://www.dropbox.com/s/82gfvtur3wpux6o/20180207_193212.mp4?dl=0
>
> I am using FFplay with SDL in android, it was working fine and is still
working fine when I used generic h264 decoder. Now I decided to use
HWaccelerations and used Mediacodec.
>
> Also, I used mediacodec decoder on same video with ffmpeg and encoded
with mpeg4 encoder, no issue of frames here when played with other generic
h264 decoder, and same issue when decoded using mediacodec in FFplay.
I will investigate the output of the h264_mediacodec decoder with the
video you provided and same device but without the SDL integration.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7020#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list