[vlc] Re: trouble streaming with udp (http works)

Andrew Pimlott andrew at pimlott.net
Sun Aug 8 02:41:04 CEST 2004


On Sun, Aug 08, 2004 at 12:38:37AM +0200, Christophe Massiot wrote:
> >Great!  But when I try the examples for streaming from v4l
> >
> >    vlc 
> >v4l:/dev/video:norm=ntsc:frequency=211250:size=320x240:channel=0:adev=/dev/dsp:audio=0 
> >--sout 
> >'#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,vt=800000,keyint=80,deinterlace}:std{access=udp,mux=ts,url=10.17.0.139}' 
> >--ttl 12
> >
> >I got a blank window on the client and a few error messages:
> 
> Use vlc -vvv to get more error messages. My first guess would be that 
> you have a lot of packet losses on your network (wireless ?).

With a little help from your message and some more playing, I did get it
working!  Yes, I should have said it was a wireless network.  And I now
realize I was using different bit rates over HTTP and UDP, which made
the comparison invalid.  In addition, due to another misconfiguration, I
didn't realize that audio was working over UDP the whole time.  To top
it off, I found out that someone else was downloading video at the same
time as I was working, so the network may have been congested.

However, I don't think the bit rate was the problem.  When I turn on
-vvv on both the server and client, I don't see any suspicious messages,
and there were no messages after in started.

After a bit more experimentation, the deciding factor turns out to be
the deinterlace option to transcode.  The command above works perfectly
without deinterlace.  And as far as I can tell, there are no error
messages associated with this problem.

(It seems that vlc suffers from the same disease as many media players:
scads of output, but in a form that is mostly useless to users. :-/
That, and an obnoxious GUI.)

I've very excited to have this working!  I hope someone can either
figure out what was wrong with the deinterlace option, or update the
HOWTO.

Thanks for your help,
Andrew

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



More information about the vlc mailing list