

Movie-Aspect is undefined - no prescaling applied.

VDec: using Planar YV12 as output csp (no 0) Using external postprocessing filter, max q = 6. VDec: vo config request - 320 x 241 (preferred colorspace: Planar YV12) Selected video codec: vfm: ffmpeg (FFmpeg Flash video) Opening video decoder: FFmpeg's libavcodec codec family Selected audio codec: afm: mp3lib (mp3lib MPEG layer-2, layer-3) The tag at the end "myvideo.avi" eg making_a_trumpet.avi allows you to choose the name of the output ~]$ flv2avi.sh -xvid /home/eric/iron_man_after_credits-vR6zOyj7QXs.flv Video:7544kB audio:2344kB global headers:0kB muxing overhead ~]$ Output #0, avi, to '/home/jonathon/making_a_trumpet.avi': Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1) $ for f in *.Code: ffmpeg -i /home/jonathon/making_a_trumpet.flv -ar 48000 -ac 2 /home/jonathon/making_a_trumpet.aviįFmpeg version SVN-r10703, Copyright (c) 2000-2007 Fabrice Bellard, et al.Ĭonfiguration: -prefix=/usr -incdir=/usr/include/ffmpeg -libdir=/usr/lib -shlibdir=/usr/lib -mandir=/usr/share/man -arch=i386 -extra-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -enable-liba52 -enable-libfaac -enable-libfaad -enable-libgsm -enable-libmp3lame -enable-libogg -enable-libtheora -enable-libvorbis -enable-libxvid -enable-libx264 -enable-pp -enable-pthreads -disable-static -enable-shared -enable-gpl -disable-debug -disable-opts -disable-stripīuilt on 03:11:06, gcc: 4.1.2 20070925 (Red Hat 4.1.2-31) To encode all videos in a directory: $ mkdir encoded Using a bash "for loop" to perform a batch encode
FFMPEG TUTORIAL FLV TO AVI DOWNLOAD
You can download a Linux build of ffmpeg or follow a step-by-step ffmpeg compilation guide to customize your build. $ ffmpeg -encoders | grep -i windowsĪs I am unfamiliar with these encoders I can only give an untested example: ffmpeg -i input -c:v wmv2 -b:v 1024k -c:a wmav2 -b:a 192k output.wmv I am unaware of an open source encoder for version 9.
FFMPEG TUTORIAL FLV TO AVI MP4
Since your MOV and MP4 files probably contain the same video and audio formats you can encode the MP4 and make the MOV by re-muxing (with stream copy mode) instead of re-encoding: ffmpeg -i input.mp4 -codec copy output.movįFmpeg only supports WMV 7 and 8. If your ffmpeg is outdated then you'll need to add -strict experimental to use -c:a aac. Scale to 720 pixels in height, and automatically choose width that will preserve aspect, and then make sure the pixel format is compatible with dumb players. vf scale=-2:720,format=yuv420p: A filtergraph using scale and format video filters. Useful if you are hosting the video, otherwise superfluous if uploading to a video service like YouTube. movflags +faststart: Allows video to playback before it is completely downloaded in the case of progressive download viewing. Use the slowest that you have patience for: ultrafast, superfast, veryfast, faster, fast, medium (the default), slow, slower, veryslow. A slower preset provides better compression (quality per file size) but is slower. If you are re-encoding impractically large inputs to upload to YouTube or similar then try a value of 17 or 18 since these video services will re-encode anyway. Use the highest value that still gives you an acceptable quality. Range is logarithmic 0 (lossless) to 51 (worst quality). movflags +faststart -vf scale=-2:720,format=yuv420p output.mp4 MP4Īssuming you're using a recent version of ffmpeg: ffmpeg -i input -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k \ If you prefer command-line you can use ffmpeg (or handbrake-cli).
