Ffmpeg

De Pontão Nós Digitais

AVI to 3GP:

ffmpeg -i video_clip.avi-s qcif -vcodec h263 -acodec mp3 -ac 1 -ar 8000 -r 25 -ab 32 -y clip.3gp

ffmpeg -i inputfile.avi -s qcif -vcodec h263 -acodec aac -ac 1 -ar 8000 -r 25 -ab 32 -y outputfile.3gp

3GP to AVI:

ffmpeg -i clip.3gp -f avi -vcodec xvid -acodec mp3 -ar 22050 file.avi

ffmpeg -i finalizado.mp4 -vcodec libx264 -preset slow -crf 22 -ar 44100 -s 480x270 -threads 0 -ab 128K outvideo4.mp4

HandBrakeCLI -Z Universal -i myinputfile.mov -o myoutputfile.mp4

Vimeo recommend "640x480 (SD) / 1280x720 (HD) 640x480 for standard definition 4:3 video, 853x480 for widescreen DV, and 1280x720 or 1920x1080 for high definition."


ffmpeg -i $1 -y -acodec libfaac -ab 128k -pass 2 -vcodec libx264 -threads 4 -b 1024kbps -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 +mixed_refs -me umh -subq 5 -trellis 1 - refs 5 -bf 3 -b_strategy 1 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_thr eshold 40 -i_qfactor 0.71 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 $2

yum update yum install gstreamer-{ffmpeg,plugins-{good,ugly,bad{,-free,-nonfree}}}


ffmpeg -f dv -i video.dv -acodec libfaac -vcodec libx264 -s 640×360 -aspect 16:9 foo.mp4


-qscale 6 -sameq


-threads 2 (no caso de ter dois nucleos de processador)

-f dv -i input.dv -vcodec h264 -g 30 -deinterlace -b 900k -s 640x360 -padtop 60 -padbottom 60 -padcolor 000000 

-aspect 4:3