changeset 523:ca2ade61b724

Automated merge with http://winxp:8080/
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Tue, 23 Oct 2012 23:54:51 +0300
parents 5183a16c5e0d (current diff) 5dad822bdac0 (diff)
children 296131d12ed8
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/misc/video2nokia5320.sh	Tue Oct 23 23:51:52 2012 +0300
+++ b/misc/video2nokia5320.sh	Tue Oct 23 23:54:51 2012 +0300
@@ -15,11 +15,12 @@
   printf '\033[32m'"$name"'\033[0m\n'
   #  -noskip
   # -ofps 20
+  # -endpos 20: convert only first 20 sec
 
   mencoder -mc 0 -of lavf -lavfopts format=mp4 \
     -oac lavc -ovc lavc \
     -lavcopts aglobal=1:vglobal=1:acodec=libmp3lame:abitrate=96:vcodec=mpeg4:vbitrate=500:keyint=100 \
-    -vf scale=-3:240,crop=320:240,harddup -af lavcresample=44100 -ofps 15 \
+    -vf scale=-3:240,crop=320:240,harddup -af lavcresample=44100,volume=10:0 -ofps 15 \
     -o "$name"-mp3.mp4 "$video"
 
   # mencoder -mc 0 -afm ffmpeg -of lavf -lavfopts format=mp4 \