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?