[FFmpeg-user] dvdsubs

Mark Filipak markfilipak.imdb at gmail.com
Fri Jun 27 03:20:18 EEST 2025


UPDATE

My parse of an actual MPEG2TS, subtitle packet:

00000000 00 00 01 BA                    packet start code
00000004 44 0A 37 F1 C4 01 01 89 C3 F8  packet header
0000000E 00 00 01 BD                    private stream 1 start
00000012 03 D4                          980 bytes follow
00000014 81 80                          PES flags
00000016 05                             PES extension byte count
00000017 21                             PES stream id
00000018 02 8D FC 71 20                 PES extension
0000001D 03 CB                          address of subtitle control
0000001F 03 AD 0D ...                   subtitle RLE data
...
000003CB 00 03 C5 03 00 ...             subtitle control
...
000003E8 00 00 01 BE                    padding start code
000003EC 04 12                          1042 padding bytes follow
000003EE FF FF FF ...                   padding bytes
...
00000800                                next packet

Is there anyone here who wants to see the full MPEG2TS subtitle packet format as I flesh it out? If 
not, I won't bother you further.

--Mark.


More information about the ffmpeg-user mailing list