I'm streaming video and audio from my microsoft live cam
Code: Select all
vlc -I dummy --color 'v4l2:///dev/video0:width=640:height=360' :input-slave=alsa://hw:1,0 --sout='#transcode{acodec=aac,vcodec=h264,audio-sync,width=640,height=360}:rtp{dst=0.0.0.0,sdp=rtsp://0.0.0.0:2323/test.sdp}' -vvvvv --sout-transcode-threads 3 --sout-x264-bframes 0 --no-sout-x264-cabac
kernel - 3.1
sound: alsa microsoft life cam
The problem is that video is delayed (sound is before video). I've tried audio-sync and without but it has no effect. I'm stuck at this point so I'm asking here for help