[FFmpeg-devel] [PATCH v2] dvdvideo: add DVD-Video demuxer, powered by libdvdnav and libdvdread

Nicolas George george at nsup.org
Wed Jan 10 12:16:59 EET 2024


Marth64 (12024-01-10):
> I will add that I still had to maintain a dependency on GENPTS for the
> inner MPEG demuxer. This is because dvdnav_get_current_time() does not
> provide exact stream-level PTS. However, the crashing/hanging is fixed (by
> parsing NAV packets), and the output is produced smoothly. GENPTS fills in
> the blanks.
> 
> If anyone can think of a better way, please let me know. Right now, it
> works well.

You could imitate what tools/dvd2concat does internally: use
libdvdread to get the structure of the DVD but let the concat demuxer
handle all the actual demuxing work.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list