[H-GEN] Fixing misaligned audio in a video file?
David Harrison
davidharrison at gmail.com
Thu Oct 25 21:10:46 EDT 2012
Hmm, this line didn't work for me with Windows ffmpeg (re-encodes fine but
audio sync doesn't change). After some quick Googling, changing it to:
ffmpeg -i %1 -itsoffset 0.9 -i %1 -map 0:0 -map 1:1 -acodec copy -vcodec
copy %2
... seemed to fix it.
--
dave
On Fri, Oct 26, 2012 at 10:51 AM, Russell Stuart <
russell-humbug at stuart.id.au> wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
> On Fri, 2012-10-26 at 10:29 +1000, Nick Lawrence wrote:
> > I have a video file (mp4) in which the audio is misaligned to the
> > video. It is out by a few seconds, which is rather jarring.
> >
> > Is there a way to fix this?
>
> Many players can fix this on the fly. Eg pressing + and - in mplayer
> alters the audio delay, and m and n in xine does the same thing.
>
> Ffmpeg can be used to fix the file, eg:
>
> ffmpeg -itsoffset 00:00:02 -i x.mp4 -vcodec copy x-new.mp4
>
> _______________________________________________
> General mailing list
> General at lists.humbug.org.au
> http://lists.humbug.org.au/mailman/listinfo/general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20121026/bf75256d/attachment.html>
More information about the General
mailing list