[dvblast-devel] DTS handling

Jaroslav Klaus jaroslav.klaus at gmail.com
Thu Feb 3 10:56:20 CET 2011


On 3.2.2011, at 10:12, Christophe Massiot wrote:

> Le 31 janv. 2011 à 11:24, Jaroslav Klaus a écrit :
> 
>> I'm getting a lot of following messages in VLC:
>> 
>> 0x88797fc] mux_ts mux warning: packet with too strange dts (dts=688471130281,old=688471146960,pcr=688471144503)
>> 
>> and those as well:
>> 
>> [0x88797fc] mux_ts mux debug: adjusting rate at 120000/491414 (246/61)
>> [0x88797fc] mux_ts mux debug: adjusting rate at 0/371414 (46/15)
>> [0x88797fc] mux_ts mux debug: adjusting rate at 0/371414 (14/1)
>> 
>> I quickly look in source code and it seems to me dvblast changes DTS. May I ask you to briefly describe me why? Thank you very much.
> 
> DVBlast doesn't change the DTS or PCR inside TS packets (any version).

Hmm. I found the following in current trunk:

demux.c:SetDTS():

p_ts->i_dts = i_wallclock - i_duration * i / i_nb_ts;

and in output.c:output_Put():

p_packet->i_dts = p_block->i_dts;

> The current TS mux of VLC is known to be non-compliant.

What about VLC demux? Is it also non-compliant. Is ffmpeg demux compliant?

I have to set udp-caching and rtp-caching in VLC to 6s to play DVB-S streams from dvblast :-(

Thanks a lot for tips.
Jaroslav


More information about the dvblast-devel mailing list