Opened 3 months ago

Last modified 3 months ago

#10830 new defect

Bug: MPEG-1/2 encoder output video missing end code

Reported by: Nebulas Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: mpegvideo
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
When the MPEG-1/MPEG-2 (PS) video stream file (*.m1v/*.m2v) is encoded by the mpegvideo encoder, the end code of the video sequence (sequence_end_code, As defined in ISO/IEC 11172-2 2.4.2.2, or ISO/IEC 13818-2 6.2.2, “the bit string '000001B7' in hexadecimal”) in the output file is missing.

How to reproduce:
% ffmpeg -i in.mp4 -an -c:v mpeg1video out.m1v
or
% ffmpeg -i in.mp4 -an out.m2v

ffmpeg version:
Windows builts from gyan.dev, “ffmpeg-2024-01-24-git-00b288da73-full_build”

Change History (2)

comment:1 by Nebulas, 3 months ago

Version: unspecifiedgit-master

comment:2 by mkver, 3 months ago

Component: undeterminedavcodec
Priority: importantwish
Note: See TracTickets for help on using tickets.