hevc_mp4toannexb filter inserts extradata wrong position (hevc_cuvid ffplay too)
|Carl Eugen Hoyos
|Reproduced by developer:
|Analyzed by developer:
Summary of the bug:
After applied hevc_mp4toannexb filter to the attached video (refer to the below link),
the frames become broken from the video players (e.g. VLC, ffplay)
The problem is caused by prepending the extra-data to IRAP frames in libavcodec/hevc_mp4toannexb_bsf.c.
This video contains own vps/sps/pps for every IRAP frames.
The extradata from hevcc is slightly different from every IRAP frames have (in this case QP value is different) and the hevc_mp4toannexb filter prepends the different extradata to every IRAP frames, causing the broken frames.
I am afraid that I can't connect to ftp://upload.ffmpeg.org, so I just attached to the dropbox url
How to reproduce:
% ffmpeg -i hevc_after_mp4toannexb_conversion_qp_value_modified.mp4 -codec copy -bsf:v hevc_mp4toannexb output.hevc $vlc output.hevc
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Change History (29)
by , 5 years ago
comment:19 by , 2 years ago
|hevc_mp4toannexb filter inserts extradata wrong position → hevc_mp4toannexb filter inserts extradata wrong position (hevc_cuvid ffplay too)