Is there any way to offset the audio when making an AVI?
The audio is ahead of the video in my finshed AVIs by about half a second or so. (this is when viewed on the player, not the computer.)
I have seen WinMEnc 0.61 has an extra tab, and you can enter "General -delay 0.7" to keep the audio from playing until a certain point)
Anyone know of a way to do this in ffmpegx?
Results 1 to 8 of 8
-
-
I use QTSync - http://www.qtsync.com/e/about.php
...but I'm not positive about all the formats with which it works. Worth a try.
-
Originally Posted by tomlee59
How exactly would you do that?
I tried selecting a QT movie for the movie, then the same movie for the audio1, then chose AVI + audio under "Mux As", and I cannot enter any values in the "sync" field".
Is that where you would change it? It won't let me.
Incidentally, if it DID, and you wanted the audio to start half a second later than it does, what would you enter there?
0.5?
-0.5?
1?
thanks!
-The Doc
-
Originally Posted by Dr. Macenstein
Originally Posted by Dr. Macenstein
-
Yeah, the guide is a bit mysterious in its wording. It explicitly mentions the sync offset parameter for mpeg muxing, and then talks about the mux tool also working for avi. But it doesn't explicitly state that the sync parameter is absent in that case (nor does it say it's still available, either). It actually sounds like you *might* still be able to dial it in, given what Dr. Macenstein wrote.
Dr. Macenstein: You are asking the tool to mux two things that are already muxed. As I mentioned earlier, you want to mux *elementary* streams. That means a VIDEO ONLY file, and another AUDIO ONLY file. "Mux" means "to combine" here. So if you give it a QT movie (that already contains video + audio) as a video file, and also give it that SAME thing as an audio-only file, the tool will balk.
Again, I repeat: Ask the muxing tool to mux only elementary streams. I suspect that it will then allow you to type in a value in the sync field. Give that a try and report back.
-
Oh, also, I think that Case got the sign wrong: If you want to delay *audio*, I think that the number (in milliseconds) has to have a negative sign. It's precisely the opposite of what VLC expects in its prefs. Btw, I routinely use VLC to figure out what the right number is, and then I just paste that into ffmpegX's muxing tool, with the opposite algebraic sign.
Similar Threads
-
Audio/Video sync offset when transferring tape to computer
By anotherhappyday1 in forum Capturing and VCRReplies: 3Last Post: 24th Feb 2012, 16:16 -
how to locate the FRAME OFFSET in H.264(mkv) video file ?
By ip2op01 in forum Software PlayingReplies: 1Last Post: 10th Oct 2011, 09:51 -
Horizontal offset problems with video fields in video to DVD transfers
By aussiebloke in forum RestorationReplies: 3Last Post: 15th Feb 2010, 05:33 -
Detect/Show Audio Offset in H.264 TS?
By Martin J. in forum DVB / IPTVReplies: 2Last Post: 28th Aug 2008, 20:52 -
Audio Offset In Avi Conversion
By Scav2003 in forum MacReplies: 4Last Post: 4th Feb 2008, 13:26