Converting
a .Mov file to .Flv is strait forward with FFMPEG. Changing canvas and
bit rate can be done with simple add-on parameters. Lets say we want to
convert a .Mov file with bit rate 7000kb/s and size 320x180 to a .Flv
file at a lower bit rate lets say 700kb/s and a different size lets say
464x220. The following command line will do just that.
ffmpeg -i filenamein.mov -acodec copy -vcodec flv -b 700k -s 464x220 filenameout.flv
You will see the following output in your terminal window:
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr libavutil version: 1d.49.3.0 libavcodec version: 1d.51.38.0 libavformat version: 1d.51.10.0 built on Mar 16 2009 21:16:26, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu3) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'introclip.mov': Duration: 00:00:29.5, start: 0.000000, bitrate: 7474 kb/s Stream #0.0(eng): Video: mjpeg, yuvj422p, 320x180, 30.00 fps(r) File 'introclip.flv' already exists. Overwrite ? [y/N] y PIX_FMT_YUV420P will be used as an intermediate format for rescaling Output #0, flv, to 'introclip.flv': Stream #0.0: Video: flv, yuv420p, 464x220, q=2-31, 700 kb/s, 30.00 fps(c) Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding frame= 885 q=8.2 Lsize= 2700kB time=29.5 bitrate= 749.8kbits/s video:2686kB audio:0kB global headers:0kB muxing overhead 0.521613% |
No comments:
Post a Comment
Please be courteous, even if you do not share the same view.