Page 1 of 1

Audio and video are ouf of sync

Posted: 21 Jul 2010 10:26
by Idsa
I'm trying to record LAN-camera video using the following command line:
vlc "rtsp://10.101.220.40/mpeg4/media.amp" :sout=#transcode{fps=25,vcodec=h264,vb=128,acodec=mp3,ab=24,audio-sync}:duplicate{dst=display,dst=std{access=file,mux=mp4,dst="C:\1.avi"}}
It works property in VLC 1.1.0, but audio is significantly longer than video in VLC 1.0.3. The problem is that I have to provide this functionality to VLC 1.0.3 users. Is there any way to make it work in VLC 1.0.3? May changing codec or mutex help?

Re: Audio and video are ouf of sync

Posted: 21 Jul 2010 13:26
by Jean-Baptiste Kempf
I don't think so. Maybe audio-sync

Re: Audio and video are ouf of sync

Posted: 21 Jul 2010 13:58
by Idsa
I already use audio-sync in my command line...

Re: Audio and video are ouf of sync

Posted: 21 Jul 2010 19:35
by RĂ©mi Denis-Courmont
In other words, you want VLC 1.0.3 but you want VLC 1.1.0. Well, that's not possible.

You can backport the VLC 1.1.0 fixes to 1.0.3 if you have the time and skills. But it won't be VLC 1.0.3 anymore.