[FFmpeg-trac] #8648(avformat:new): Bluray M2TS file with separate PCR pid

FFmpeg trac at avcodec.org
Thu May 21 11:29:14 EEST 2020


#8648: Bluray M2TS file with separate PCR pid
------------------------------------+------------------------------------
             Reporter:  hashbord    |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  mpegts      |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by hashbord):

 Replying to [comment:1 cehoyos]:

 > It would be great if you - instead of analysing the issue - could
 explain how it can be reproduced.

 Hi cehoyos,

 I'm not a developer, so I can't provide a patch. However, I think the
 problem is well described: when generating M2TS files the result is not
 conformant with the Bluray specification because the PCR marks are
 included in the video PID, instead of inside an alone PCR pid.

 How to reproduce it? Easy, create one m2ts file: "ffmpeg -i test.mp4 -bsf
 h264_mp4toannexb test.m2ts". Then you will see that the PCR marks are
 incrustated in the video pid 0x1011, and not in the expected pid 0x1001.

 Futhermore, cus has provided a patch (Thank you man!):
 https://github.com/cus/ffmpeg/commit/224fac9bc11d9b5879878640c28726f97153e05a

 Please, check it.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8648#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list