video.rst
changeset 1358 7a93143dbf53
parent 1355 22bbad2a94db
child 1359 9ea67efc1fac
--- 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)?
 ===============================
 ::