dvb subtitles from ffmpeg generated file

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
joolzg
Blank Cone
Blank Cone
Posts: 22
Joined: 31 Oct 2006 18:12

dvb subtitles from ffmpeg generated file

Postby joolzg » 19 Sep 2014 10:25

I cannot get dvbsubs to show and all i get is

"invalid subtitle stream id" in the logs, i checked the dvbsubs code and found the check in dvbsub.c

if( bs_read( &p_sys->bs, 8 ) != 0x20 ) /* Data identifier */
{
msg_Dbg( p_dec, "invalid data identifier" );
block_Release( p_block );
return NULL;
}

if( bs_read( &p_sys->bs, 8 ) ) /* Subtitle stream id */
{
msg_Dbg( p_dec, "invalid subtitle stream id" );
block_Release( p_block );
return NULL;
}


Now i did a dvbsnoop on the file and got this

PTS_DTS_flags: 2 (0x02)
ES_rate_flag: 0 (0x00)
additional_copy_info_flag: 0 (0x00)
PES_CRC_flag: 0 (0x00)
PES_extension_flag: 0 (0x00)
PES_header_data_length: 5 (0x05)
PTS:
Fixed: 2 (0x02)
PTS:
bit[32..30]: 0 (0x00)
marker_bit: 1 (0x01)
bit[29..15]: 179 (0x00b3)
marker_bit: 1 (0x01)
bit[14..0]: 3992 (0x0f98)
marker_bit: 1 (0x01)
==> PTS: 5869464 (0x00598f98) [= 90 kHz-Timestamp: 0:01:05.2162]
PES_data (private_stream_1):
TODO dvb subtitles:
0000: 20 00 0f 10 00 01 00 08 1e eb 00 ff 00 00 01 e0 ...............

So you can see that the 0x20 and 0x00 are there

Anybody help on this?

joolz

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 27 guests