[FFmpeg-devel] [PATCH 12/12] tools/dvd2concat: generate VOBSUB extradata

Nicolas George george at nsup.org
Thu Sep 2 18:17:17 EEST 2021


Andreas Rheinhardt (12021-08-31):
> Our VobSub demuxer does not set the duration (it is encoded as part of
> the payload). So our muxer uses SimpleBlocks (because duration == 0
> actually says "play this until the next packet arrives", which coincides
> with the semantics for SimpleBlocks).
> mkvmerge reads the duration from the payload.
> Is there a proper spec for the VobSub format somewhere?

As far as I know, the best there is would be:

https://www.matroska.org/technical/subtitles.html
https://www.matroska.org/technical/codec_specs.html

I vaguely remember that muxing Matroska from VobSub in FFmpeg failed
because it did not set durations on the subtitles packets, but I do not
remember what tool exactly refused to use the result.

Now, it seems to work, which is the most we can ask for with a fringe
format like that.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210902/6b12f0f9/attachment.sig>


More information about the ffmpeg-devel mailing list