Difference between revisions of "Video Tools"
From RobolaboWiki
Line 42: | Line 42: | ||
http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-images.html | http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-images.html | ||
http://www.tevs.eu/blog_8.html | http://www.tevs.eu/blog_8.html | ||
+ | </pre> | ||
+ | |||
+ | <h1> Videos from YouTube </h1> | ||
+ | <pre> | ||
+ | http://www.down-tube.com/es/ | ||
</pre> | </pre> |
Revision as of 12:46, 16 August 2012
Contents
Convert MTS to AVI
ffmpeg -i <INPUT_FILE.mts> -threads 2 -deinterlace -f avi -r 25 -vcodec libxvid -vtag XVID \ -aspect 16:9 -maxrate 1800k -b 1500k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -bf 2 -trellis -aic \ -cmp 2 -subcmp 2 -g 300 -acodec libmp3lame -ar 48000 -ab 128k -ac 2 <OUTPUT_FILE.avi>
From PPM to AVI
PPM to PNG
Same dir
for f in *.ppm; do f2=`basename "$f" ppm`png; echo "$f -> $f2"; convert "$f" "$f2"; done
Other dir
# Type on Origin, where ppm's are for f in *.ppm; do f2=`basename "$f" ppm`png; echo "$f -> $f2"; convert "$f" <ending_directory>/"$f2";done
PNG to MPEG4
Same dir
mencoder mf://*.png -mf w=800:h=600:fps=25:type=png -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o output.avi
Other dir
# Type on Origin, where png's are mencoder mf://*.png -mf w=800:h=600:fps=25:type=png -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o <ending-directory>/output.avi
More info
http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-images.html http://www.tevs.eu/blog_8.html
Videos from YouTube
http://www.down-tube.com/es/