Showing posts with label audiovideo. Show all posts
Showing posts with label audiovideo. Show all posts

Wednesday, July 6, 2016

avconv misc

create  video from images

   avconv -r 20 -i in/%05d.png out.avi

to set codec
 -vcoded _codecname_

e.g. (for windows)
 -vcodec msmpeg4v2

to crop (width:height:x:y)
 -vf crop=128:128:20:20

to resize with nearest neighbor:

 avconv -i in.avi -vf scale=512:512:flags=neighbor out.avi

Friday, October 4, 2013

Create a test video displaying a count up


for i in $(seq 0 10); do convert -size 320x240 xc:white -font Palatino-Bold -pointsize 72 -fill black -draw "text 20,55  '`printf %02d $i`' " img`printf %02d $i`.png ; done

avconv -r 1 -i "img%02d.png" -r 1 -vcodec mpeg4  test.avi

where the two -r indicate the input rate (in fps) and the output rate




sources:
http://www.linuxandlife.com/2012/09/how-to-create-simple-text-image-with.html
http://superuser.com/questions/624567/ffmpeg-create-a-video-from-images#12160155
https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images

Monday, November 12, 2012

mencoder for rotating, converting, trimming video


mencoder -vf rotate=1  -oac lavc -lavcopts acodec=wmav2 -ovc lavc -lavcopts vcodec=wmv2:vbitrate=3600 IMG_0459.MOV -o oIMG_0459.MOV -ss 00:00:07

Saturday, September 22, 2012

.flac + .cue to .mp3


sudo apt-get install soundconverter flac mp3splt

soundconverter
(make a big mp3)

mp3splt -f -c Album.cue Album.mp3

from: 

Sunday, May 6, 2012

youtube to wmv for power point


download the mp4 using the chrome plugin
( video.online-convert.com youtube source has worse quality)

virtual dub does not open flv or mp4:
 install Virtualdub FFMpeg Input Plugin

 http://sourceforge.net/projects/virtualdubffmpeginputplugin/
OR
use  http://video.online-convert.com/convert-to-avi (select avi - XVID as output because direct conversion to wmv cannot be imported in powerpoint)


use virtualdub (tested with 1.9.11) with
ffdshow_rev3572_20100913_clsid : this is the last version that has the encoders
if you get error code -100 use wmv9 (and not 7 or 8)


source:
http://thesunstroke.blogspot.jp/2014/06/how-to-make-virtualdub-openedit-mkv-mp4.html

Tuesday, January 17, 2012

virtualdub speedup

in video/ frame rate
 set
 change frame rate to fps
to original x 6
and
 Decimate by
to 6

Thursday, November 24, 2011

create wmv

 ffmpeg -i softTest2.avi  -s 640x360 -b 26000000 -vcodec wmv2 -acodec wmav2 -ar 44100  -ac 1 -y softTest2.wmv