Audio / Video sync problem
Posted: 26 Nov 2003 10:26
Hi
I am trying to use vlc for encoding to a darwin server. First I wanted to check if everything was ok by storing a local file. And it turned out that the sound plays back at too high a pitch. I am grabbing from a camera with the following vlc command:
"vlc -vvv v4l:/dev/video0:norm=pal:size=640x480:channel=0,adev=/dev/dsp:audio=1 --sout '#transcode{vcodec=mp4v,acodec=mp3,vb=1000,ab=256,deinterlace}:std{access=file,mux=avi,url=/root/test.avi}'"
this results in a avi fil, where the picture is perfect, but the sound is out of sync at too high a pitch. mplayer gives the following message:
"marker bit missing before vop_coded
hmm, seems the headers arnt complete, trying to guess time_increment_bits
My guess is 5 bits"
I have also tried with acodec=mpga with the same result. Also I have made sure that no artsd or esd is running as stated in the FAQ.
Has anyone seen this from mplayer before, or got an idea to what is wrong?
I am trying to use vlc for encoding to a darwin server. First I wanted to check if everything was ok by storing a local file. And it turned out that the sound plays back at too high a pitch. I am grabbing from a camera with the following vlc command:
"vlc -vvv v4l:/dev/video0:norm=pal:size=640x480:channel=0,adev=/dev/dsp:audio=1 --sout '#transcode{vcodec=mp4v,acodec=mp3,vb=1000,ab=256,deinterlace}:std{access=file,mux=avi,url=/root/test.avi}'"
this results in a avi fil, where the picture is perfect, but the sound is out of sync at too high a pitch. mplayer gives the following message:
"marker bit missing before vop_coded
hmm, seems the headers arnt complete, trying to guess time_increment_bits
My guess is 5 bits"
I have also tried with acodec=mpga with the same result. Also I have made sure that no artsd or esd is running as stated in the FAQ.
Has anyone seen this from mplayer before, or got an idea to what is wrong?