Synchronise video and audio streams.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 14 Aug 2012 16:19:43 +0300
changeset 1358 7a93143dbf53
parent 1357 72f67a7a449f
child 1359 9ea67efc1fac
Synchronise video and audio streams.
video.rst
--- a/video.rst	Mon Aug 13 22:40:08 2012 +0300
+++ b/video.rst	Tue Aug 14 16:19:43 2012 +0300
@@ -50,6 +50,16 @@
   http://wiki.debian.org/Webcam
                 Debian wiki.
 
+Synchronise video and audio streams.
+====================================
+::
+
+  $ mencoder -delay 0.7 -oac copy -ovc copy in.avi -o out.avi
+  $ mencoder -mc 0 -of lavf -lavfopts format=mp4 -oac lavc -ovc lavc \
+    -lavcopts aglobal=1:vglobal=1:acodec=libmp3lame:abitrate=128:vcodec=mpeg4:vbitrate=500:keyint=200
+    -vf scale=-3:240,crop=320:240,harddup -af lavcresample=44100 -o out.mp4 in.mp4
+
+
 How convert .3gp to .avi(mpeg)?
 ===============================
 ::