[vlc-devel] Re: PTS is out of range (), dropping buffer, late picture skipped

Bart Kerver bart.kerver at surfnet.nl
Thu Jul 24 12:41:47 CEST 2003


Jean-Paul

> Perhaps this is a stupid question, but did you set the --mtu option to 
> the right mtu on the commandline?

;-) I did but will add your patches and feedback on the results below


> Add a message print in modules/access/udp.c and modules/demux/mpeg/ts.c 
> to print the used mtu. It should be the same as the stream and the 
> network link layer uses (the big mtu).
> 
> Add to modules/access/udp.c
> 
> line 285:
> msg_Dbg( p_input, "using mtu (%d) \n",p_input->i_mtu);
> 
> Add to modules/demux/ts.c:
> 
> line 139:
> msg_Dbg( p_input, "using mtu (%d) \n",p_input->i_mtu);
> 
> line 145:
> msg_Err( p_input, "using default mtu with bufsize (%d)\n", 
> INPUT_DEFAULT_BUFSIZE );
> 
> I hope you'll see something interesting. My guess is that the mtu's do 
> not match, but ... I am not sure. Otherwise it might be the problem 
> Gildas opted for.

Hope this helps...

[bart at video vlc-0.6.1-test1-patch-BART]# ./vlc udp:@233.81.233.12:12345 
--mtu=16384 -vvvv &> ./log.txt

[bart at video vlc-0.6.1-test1-patch-BART]# more log.txt | grep mtu
[00000310] access_udp input debug: using mtu (16384)
[00000310] ts_dvbpsi input debug: using mtu (16384)
[00000310] ts input debug: using mtu (16384)


[00000310] mpeg_system input warning: packet corrupted, PES sizes do not 
match
[00000310] mpeg_system input warning: garbage (0xad614481)
[00000310] mpeg_system input warning: garbage (0xe3a267cc)
[00000310] mpeg_system input warning: garbage (0x3e01fc4d)
[00000310] mpeg_system input warning: packet corrupted, PES sizes do not 
match

hmmm...


Regards,
Bart

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list