[streaming] intermittent audio stream

Georgi Chorbadzhiyski gf at unixsol.org
Fri Dec 28 13:27:07 CET 2007


Around 12/28/07 01:50, Michael R. Hines scribbled:
> I'm trying to stream a V4L stream with the following command:
> 
> vlc --color v4l:/dev/video0:norm=ntsc:frequency=77250:size=640x480:adev=/dev/dsp:audio=0 
>     --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=512,ab=128,deinterlace}:std{access=mmsh,dst=:8080}' 
>     --ttl 12 -I dummy
> 
> And I'm successfully receiving the video portion with:
> 
> vlc mmsh://hostname:8080
> 
> The problem is that audio (from the line-in) goes in and out. 
> 
> Here are the client's error messages:
> 
> main warning: buffer is [big number] in advance, triggering downsampling
> main warning: timing screwed, stopping resampling
> main warning: audio drift is too big [negative number], clearing out
> 
> The client and server are on separate Linux 2.6.20 machines.
> 
> The server is 0.8.6c, and the client is 0.8.6d.
> 
> How can I fix the choppy audio? It plays. But is choppy.

Try to use --no-hq-resampling option on the server

-- 
Georgi Chorbadzhiyski
http://georgi.unixsol.org/



More information about the streaming mailing list