[FFmpeg-trac] #7842(undetermined:closed): M2TS muxer doesn't generate valid Blu-Ray files

FFmpeg trac at avcodec.org
Fri Nov 8 19:11:05 EET 2019


#7842: M2TS muxer doesn't generate valid Blu-Ray files
-------------------------------------+-------------------------------------
             Reporter:  atorp        |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:  duplicate
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Andrew-R):

 I think I should add to this bug reference to Cinelerra-GG (linux-only
 non-linear video editor). It uses ffmpeg (4.2+ few patches), and can use
 ffmpeg.git . I was looking at failing patch inside source tree and
 apparently exactly patch failing to apply should add more accurate Blu-Ray
 muxing.

 https://git.cinelerra-
 gg.org/git/?p=goodguy/cinelerra.git;a=tree;f=cinelerra-5.1/thirdparty/src;h=5bfd7e92d793c3100827dd216bb81fb6f56eff54;hb=HEAD

 see ffmpeg-4.2.patch2 and ffmpeg.git.patch2 . Well, git one fails to apply
 after recent (aug/sept 2019) round of fixes in mpegts muxer. Without it
 some udf file is generated, I can even play/seek it with mplayer, but I'm
 sure real player will choke on it - some errors detected on seeking.

 Compilation (of CinGG) relatively simple, I run it on Slackware 32-bit
 often. You can use pre-build packages from https://www.cinelerra-
 gg.org/downloads/#packages but obviously for your own changes you want
 source.

 There is item in main menu called Create BD, it will prompt you to choose
 type (size, framerate, interlacing) of project, and some empty space to
 run encoding and muxing. You don't need all 25 or 50 Gb - just load  small
 (2 min for example) file, change project settings to something more like
 Blu-Ray spec/profile, and fire it. Note: Cinelerra will quit with few
 console messages after muxing step is finished, this is normal. But run it
 from terminal {xterm, konsole ..} so those messages will be seen, or any
 errors, too.

 There are option files controlling muxing/encoding, you can see them
 online https://git.cinelerra-
 gg.org/git/?p=goodguy/cinelerra.git;a=tree;f=cinelerra-5.1/ffmpeg;h=3d53bdac732998d97a25abfe904ce97bea8c5bec;hb=HEAD
 or in your Cinelerra-GG installation (for me they live in /usr/share/cin,
 but this is configurable).

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


More information about the FFmpeg-trac mailing list