Problem with audio-sync in VLC 1.1.4 Ubuntu 10.10 Maverick
The audio-sync function does not appear to work correctly in VLC 1.1.4 Ubuntu 10.10 Maverick.
Symptom After initial audio/video sync up using audio-desync, the audio/video sync drifts out noticably within a few minutes and significantly in an hour or so.
The standard Ubuntu Lucid 10.04 1.0.6 version performs correctly
The MS windows (XP) version 1.1.4 performs correctly
Test case
Same Hardware and software setup in both Ubuntu test cases
Video in: PCI analog capture card (bt878video pci capture card, Hauppauge VCB Impact)
Audio in: Soundcard line-in
Std desktop install Ubuntu versions using Std default repos +VLC, +ffmpeg libavdevice-extra52, +x264 Broadcast TV analog out used as test input source. Video into capture card, audio into sound card ( I would usually be using analogue camera and mic/line in)
Procedure
1 Open GUI, test video/audio capture, by "Open Capture device" - Play
2 Select Streaming from menu, select Capture device tab, all input settings left at default
3 select Stream, Next, Next , Paste output string into textbox, as follows
--sout-keep --audio-desync=-40 :sout=#transcode{vcodec=h264,vb=600,deinterlace,ab=64,fps=25,width=160,height=120,acodec=mp3,samplerate=44100,audio-sync}:duplicate{dst=std{access=http {mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8082/stream.flv},dst=display}
Audio-desync value adjusted to initial optimum value (predetermined before test) Width and height set to low values to minimise cpu load
Same procedure in all cases including Win XP. Win test using similar hardware, bt878 pci capture card.