#7799: hevc_mp4toannexb filter inserts extradata wrong position (hevc_cuvid ffplay too) ------------------------------------+----------------------------------- Reporter: Hyemin Lee | Owner: (none) Type: defect | Status: open Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: hevc | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by Balling): * summary: hevc_mp4toannexb filter inserts extradata wrong position => hevc_mp4toannexb filter inserts extradata wrong position (hevc_cuvid ffplay too) Comment: I can varify that you patch, Haihao, fixed the bug! I will attach the original file and fixed one. I am not sure whether it is a good idea to put data right behind "x265 (build 110) - 2.3:[Linux][GCC 5.4.0]" decoder info... But what do I know. hevc_metadata does not appear to be able to handle the file perfectly, it looks like it truncates some 00 00 00 01 from {{{ 00 00 00 01 40 01 0C 01 FF FF 01 60 00 00 03 00 90 00 00 03 00 00 03 00 5D 95 94 09 00 00 00 01 42 01 01 01 60 00 00 03 00 90 00 00 03 00 00 03 00 5D A0 02 80 80 2D 16 59 59 52 93 0B C0 40 40 00 00 03 00 40 00 00 07 82 00 00 00 01 44 01 C0 73 C1 89}}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/7799#comment:19> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker