Audio and video are ouf of sync

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Idsa
Blank Cone
Blank Cone
Posts: 78
Joined: 22 Oct 2009 10:59

Audio and video are ouf of sync

Postby Idsa » 21 Jul 2010 10:26

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?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Audio and video are ouf of sync

Postby Jean-Baptiste Kempf » 21 Jul 2010 13:26

I don't think so. Maybe audio-sync
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Idsa
Blank Cone
Blank Cone
Posts: 78
Joined: 22 Oct 2009 10:59

Re: Audio and video are ouf of sync

Postby Idsa » 21 Jul 2010 13:58

I already use audio-sync in my command line...

Rémi Denis-Courmont
Developer
Developer
Posts: 15229
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Audio and video are ouf of sync

Postby Rémi Denis-Courmont » 21 Jul 2010 19:35

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests