Late packet for udp input on server

*nix specific usage questions
Elena
New Cone
New Cone
Posts: 6
Joined: 21 Nov 2006 15:21
Location: Ukraine

Late packet for udp input on server

Postby Elena » 21 Nov 2006 15:27

Hello! I ask for help because i found nothing on the Forum or somewhere else. I try to stream .avi file through udp. My system is CentOs 4.3.

On server :
vlc -vvv gagarin.avi --sout '#standard{access=udp,mux=ogg,dst=localhost:5555}'
On client (on the same computer)
vlc -vvv udp:@localhost:5555*

On server i get such messages:
[00000327] access_output_udp private debug: late packet for udp input (816609)
[00000327] access_output_udp private debug: late packet for udp input (816724)
...........................................
[00000327] access_output_udp private debug: late packet for udp input (792655)


Client looks like to receive something (tcpdump shows) but i don't see the movie.
15:04:09.894367 IP localhost.localdomain.32787 > localhost.localdomain.5555: UDP, length 1500
15:04:09.894500 IP localhost.localdomain.32787 > localhost.localdomain.5555: UDP, length 1500
15:04:09.894579 IP localhost.localdomain.32787 > localhost.localdomain.5555: UDP, length 1207


Maybe somebody had such problem? Thanks for help :)

ric0h
New Cone
New Cone
Posts: 6
Joined: 07 Aug 2006 12:58

Postby ric0h » 22 Nov 2006 10:38

Your sout should read

Code: Select all

#duplicate{dst=std{access=udp{ttl=8},mux=ts,dst=your_ip_here:1234}}
ttl is needed for multicast only.

on client side, udp://@:1234 is enough

Elena
New Cone
New Cone
Posts: 6
Joined: 21 Nov 2006 15:21
Location: Ukraine

Postby Elena » 24 Nov 2006 08:51

As you wrote i tried:

server:#duplicate{dst=screen,dst=std{access=udp{ttl=8},mux=ts,dst=my_ip_here:1234}}
client: vlc -vvv udp://@:1234
It doesn't work.

I went to http://www.videolan.org/doc/streaming-h ... /ch03.html and saw my mistake: ogg the ogg muxer. It can be used with the HTTP and file output methods.So at least now i know that mux=ogg and access=udp are incompatible.
So messages "late packet for udp input" were caused by this mistake :)

I don't think that #duplicate changes the situation. It simply duplicates the thread to send it via network and to show on the screen. So i think --sout configuration
#standard{access=udp,mux=ts,dst=my_ip_here:1234} is wright too (?)

But vlc -vvv /home/esh/gagarin.avi --sout
'#standard{access=udp,mux=ts,dst=localhost:1234}' answers me
[00000248] main playlist: nothing to play
and as i see it doesn't create udp connection on port

to be continued ...

Elena
New Cone
New Cone
Posts: 6
Joined: 21 Nov 2006 15:21
Location: Ukraine

Postby Elena » 24 Nov 2006 15:06

When i run vlc with options:
'#standard{access=udp,mux=ts,dst=localhost:1234}'
it replied:
[00000248] main playlist: nothing to play
no sout mux module matched "ts"

I looked through forum and found that i should recompile vlc with libdvbpsi.
And in file config.log was something like:
checking for dvbpsi headers in /home/esh/VLC/comp/include/ ... no
checking dvbpsi/dr.h usabiIlity .. no

Typing find / -name dr.h i got:
/home/MYDIR/VLC/comp/include/dvbpsi/dr.h

I added path /home/MYDIR/VLC/comp/include/ to /etc/ld.so.conf and run ldconfig
Then recompiled vlc

Now .... it seems .... it works .....




[/i]


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests