preview video: ffmpeg -i "23La Bella e la Bestia %&v42!p -f matros'a - ffpla% -
(1991).mp4" -vf "scale=12!:2!" -pi#$fmt
ttps:**www.%o&t&+e.com*pla%list,list=Lc/04245o$67-$88d1--;!r cac 6oi7 file: voi file mp4 c&%e7 et ve .ts roi d&7g ca& le7 sa&: ffmpeg -i "co7cat:i7termediate1.tsi7termediate2.ts" -c cop% -+sf:a aac$adtstoasc o&tp&t.mp4
;< a&dio: e&ali>er=f=32:widt$t%pe=o:widt=1:g=3? e&ali>er=f=/4:widt$t%pe=o:widt=1:g=/? e&ali>er=f=12@:widt$t%pe=o:widt=1:g=9? e&ali>er=f=2@!:widt$t%pe=o:widt=1:g=? e&ali>er=f=@!!:widt$t%pe=o:widt=1:g=/? e&ali>er=f=1!!!:widt$t%pe=o:widt=1:g=@? e&ali>er=f=2!!!:widt$t%pe=o:widt=1:g=? e&ali>er=f=4!!!:widt$t%pe=o:widt=1:g=9? e&ali>er=f=!!!:widt$t%pe=o:widt=1:g=11? e&ali>er=f=1/!!!:widt$t%pe=o:widt=1:g= **7g&%e7 l% cai padd co si>e lo7 o7 video. vi d&: video 7a% scale lai la 2!#4! co paddi7g moi ca7 la 1! =A video se pai scale lai 2!-2! va 4!-2! =A la !!:4/! ffmpeg -% -i a.mp4 -vf scale=!!:4/!?pad=2!:4!: scale=!!:4/!?pad=2!:4!:1!:1!:color=gree7 1!:1!:color=gree7 o&t.m'v cat file teo se&e7ce: ffmpeg -i +.mp4 -c cop% -map ! -segme7t$time 1! -f segme7t split*o&tp&t!3d.mp4 ffmpeg -i +.mp4 -c cop% -segme7t$time 1! -f segme7t split*o&tp&t!3d.mp4 ffmpeg -i +.mp4 -acodec cop% -f segme7t -segme7t$time 1! -vcodec cop% -reset$timestamps 1 split*o&tp&t!3d.mp4 split ra 7ie& file 7o: ffmpeg -i C11;1/.mp4 -vf setpts=C*1.2 -af atempo=1.2?vol&me=2.! -r 29 -a+ 12' -ar 4' -ac 2 -+ 1!49' -f segme7t -segme7t$time /! -reset$timestamps 1 -map ! ffff d.avi ffmpeg -i C11;1/.mp4 -f segme7t -segme7t$time /! -reset$timestamps 1 -map ! ffff d.avi add s&+title to video ffmpeg -i video.avi -vf s&+titles=s&+title.srt o&t.avi voi file mp4: c1: ffmpeg -i se.mp4 -i s&+.srt -c:s mov$te#t -c:v cop% -c:a cop% o&tfile.mp4 e#tract s&+title ffmpeg -i e%e.m'v -a7 -v7 -c:s:1 srct s&+.srt e#tract image: ffmpeg -i +g.mp4 -t !@ -r 1 -f image2 +gs*image-3d.p7g D7 tis e#ample eac image will ave a d&ratio7 of @ seco7ds (te i7verse of 1*@ frames per seco7d). e video stream will ave a frame rate of 3! fps +% d&plicati7g te frames accordi7gl%: ffmpeg -framerate 1*@ -i img!3d.p7g -c:v li+#2/4 -r 3! -pi#$fmt %&v42!p o&t.mp4 ttps:**trac.ffmpeg.org*wi'i*reate2!a2!video2!slidesow2!from2!images
e#tract a&dio: .*ffmpeg -i dog1.mp4 -a:c cop% -v:c cop% -v7 dog.mp3 .*ffmpeg -i o&t.mp4 -v7 e%e.mp3 (-v7 is 7o video) remove a&dio: .*ffmpeg -i o&t$split.mp4 -c cop% -a7 mtp$video$7o$so&7d.mp4 add a&dio to video .*ffmpeg -i &pload.m'v -i se1.mp3 -map !:! -map 1:! o&tp&t$mi#.m'v mi# 2 a&dio:(lo7gest? sortest) .*ffmpeg -i mtp$a&dio.mp3 -i 7oise.mp3 -filter$comple# "E!:!FE1:!F ami#=i7p&ts=2:d&ratio7=sortest" -c:a li+mp3lame mi#$a&dio.mp3 rotate video: ffmpeg -i i7.mp4 -vf "rotate=D*2" o&t.mp4 ffmpeg.e#e -i !!1.mp4 -vf "rotate=-D*/!" -t !!:!!:3! o&t.mp4 crop video: .*ffmpeg -i a.mp4 -strict -2 -filter:v "crop=12!:2!:2!:2!" o&t.mp4 ttp:**video.stac'e#ca7ge.com*&estio7s*4@/3*ow-ca7-i-crop-a-video-wit-ffmpeg **>oom video ffmpeg -i !!1.mp4 -vf scale=2Giw:-1 o&tp&t$1!2$!!1.mp4 scale video: ffmpeg -i !!1.mp4 -vf scale=12!:-1 o&tp&t$1!2$!!1.mp4 ttps:**trac.ffmpeg.org*wi'i*Ccali7g2!(resi>i7g)2!wit2!ffmpeg >oom video a7d crop: e.g. to >oom i7 wit a factor of 2? ass&mi7g a7 i7p&t video of 12!H2! pi#els: ffmpeg -i i7p&t.mp4 -vf "scale=2Giw:-1? crop=iw*2:i*2" o&tp&t.mp4 ci7 spitc video: ttps:**trac.ffmpeg.org*wi'i*Iow2!to2!speed2!&p2!*2!slow2!dow72!a2!video Cplit video to m<i part: .*ffmpeg -i a.mp4 -acodec cop% -f segme7t -segme7t$time 1! -vcodec cop% -reset$timestamps 1 -map ! -a7 ad.mp4 .*ffmpeg -i a.mp4 -codec cop% -t !!:!!:2@.@ o&t1.mp4 -codec cop% -ss !!:!!:2@.@ -t !!:!!:33.@ o&t2.mp4 split +% time: .*ffmpeg -ss !!:!1:4@ -i rs*vtv3$2!@
[email protected] -t !!:4:4@ -c:v li+#2/4 -c:a aac -strict e#perime7tal -+:a 12' o&t$&pload.mp4 .*ffmpeg -ss !!:!!:2@ -i "data*om$07d$Jerr% 8iar%.avi" -t !!:!/:1 -c:v li+#2/4 -c:a aac -strict e#perime7tal -+:a 12' om$07d$Jerr%$8iar%.mp4 cat 1 trog7 1 toi diem: .*ffmpeg -v &iet -% -i ts$@/
[email protected] -vcodec cop% -acodec cop% -ss !!:!!:2@ -t !!:2/:!2 -s7 toi$s&$!@!/
[email protected]'v **7oi 2 file ffmpeg -i co7cat:"!!1.ts!!2.ts!!3.ts!!4.ts" -c cop% o&tp&t.ts voi mp4 pai c&%e7 ve ts ffmpeg -i BKI1$!1.mp4 -c cop% -+sf:v 2/4$mp4toa77e#+ -f mpegts BKI1$!1.ts
ffmpeg -i BKI1$!2.mp4 -c cop% -+sf:v 2/4$mp4toa77e#+ -f mpegts BKI1$!2.ts ffmpeg -i "co7cat:BKI1$!1.tsBKI1$!2.ts" -c cop% -+sf:a aac$adtstoasc B0$KM$I;$IM$14!/
[email protected] **cat 2 doa7 stro7g 1 toi diem eco "wo comma7ds" time .*ffmpeg -v &iet -% -i rs*vtv1$2!@2!1@$12$!!.ts -vcodec cop% -acodec cop% -ss !!:!1:3! -t !!:@4:1! -s7 toi$s&$12.m'v time ffmpeg -v &iet -% -i i7p&t.ts -vcodec cop% -acodec cop% -ss !!:3!:!! -t !1:!!:!! -s7 test2.m'v eco "M7e comma7d" .*ffmpeg -v &iet -% -i ts$19.mp4 -vcodec cop% -acodec cop% -ss !!:!!:19 -t !!:3:11 -s7 toi$s&$19$!4!/
[email protected]'v 12:2 2@:!!c&o7g tri7 /!s .*ffmpeg -v &iet -% -i raw.mp4 -vcodec cop% -acodec cop% -ss !!:!!:32 -t !!:!/:3 -s7 /!s$!1.mp4 -vcodec cop% -acodec cop% -ss !!:!9:@! -t !!:!4:!! -s7 /!s$!2.mp4 -vcodec cop% -acodec cop% -ss !!:1/:3/ -t !!:!:22 -s7 /!s$!3.mp4 ffmpeg -i "co7cat:/!s$!1.ts/!s$!2.ts/!s$!3.ts" -c cop% -+sf:a aac$adtstoasc /!s$14!/
[email protected]'v ffmpeg -i /!s$!1.mp4 -c cop% -+sf:v 2/4$mp4toa77e#+ -f mpegts /!s$!1.ts ffmpeg -i /!s$!2.mp4 -c cop% -+sf:v 2/4$mp4toa77e#+ -f mpegts /!s$!2.ts ffmpeg -i /!s$!3.mp4 -c cop% -+sf:v 2/4$mp4toa77e#+ -f mpegts /!s$!3.ts .*ffmpeg -v &iet -% -i B0$KM$I;$IM$14$!/
[email protected] -vcodec cop% -acodec cop% -ss !!:!!:!! -t !!:!9:3@ -s7 BKI1$!1.mp4 -vcodec cop% -acodec cop% -ss !!:12:2 -t !!:12:33 -s7 BKI1$!2.mp4 .*ffmpeg -v &iet -% -i rs*/!s$!@!/2!1@$raw.ts -vcodec cop% -acodec cop% -ss !!:1!:33 -t !!:!4:1! -s7 /!s$!2.ts .*ffmpeg -v &iet -% -i rs*/!s$!@!/2!1@$raw.ts -vcodec cop% -acodec cop% -ss !!:1:32 -t !!:!:31 -s7 /!s$!3.ts
.*ffmpeg -v &iet -% -i /!s$!1!/
[email protected] -vcodec cop% -acodec cop% -ss !!:!:33 -t !!:!2:11 -s7 /!s$!1.ts -vcodec cop% -acodec cop% -ss !!:12:1 -t !!:!3:!9 -s7 /!s$!2.ts -vcodec cop% -acodec cop% -ss !!:1:3@ -t !!:!@:! -s7 /!s$!3.ts -vcodec cop% -acodec cop% -ss !!:2@:32 -t !!:!:42 -s7 /!s$!4.ts G 7ote: 7e7 dat ss tr&oc -i de video 'o +i +lac' frame ffmpeg -% -ss !!:!:33 -i "ic' a77o7 rese7ts 5ild M&t C!;!1 - a+olo&s$Nevi7 Iart.mp4" -vcodec cop% -acodec cop% -t !!:!2:11 -s7 /!s$!1.m'v
.*ffmpeg -loop 1 -i img.p7g -r 2@ -vframes 2@!! -a7 -vcodec li+#2/4 -+ 1@!!' -vf "movie=a!.mp4 ElogoFO Ei7FElogoF overla%=!:! Eo&tF" -s !!#4/4 -% o&tp&t.mp4 .*ffmpeg -i a!.mp4 -i img.p7g -filter$comple# P "E!:vFpad=!:iQ2!E+gFOE+gFE1:vFoverla%=!:I-?format=%&v42!pEvF" P -map "EvF" -c:v li+#2/4 -c:a aac -strict -2 -movflags Qfaststart o&tp&t.mp4 .*ffmpeg -loop 1 -i img.p7g -i o&t1.mp4 -filter$comple# overla%=!:! o&t.mp4 **add image frame fro7t video .*ffmpeg -i corma$o'.6pg -i o&t.mp4 -filter$comple# "overla%=(mai7$woverla%$w)*2:(mai7$-overla%$)*2" -codec:a cop% o&tp&t.mp4
.*ffmpeg -i o&tp&t$compress.mp4 -i +g1.p7g -filter$comple# overla%=!!:!! -codec:a cop% &pload.mp4 .*ffmpeg -i o&t.mp4 -i corma$o'.6pg -filter$comple# "overla%=!!:!!" -codec:a cop% o&tp&t.mp4
==A add video le7 image Q add 2 video .*ffmpeg -loop 1 -i img.p7g -i o&t1.mp4 -i o&t2.mp4 -filter$comple# "E!:vFscale=12!:-2E+gFO E1:vFscale=!!:-1?setpts=C-C0CEfg1FO E2:vFscale=1!!:-1?setpts=C-C0CEfg2FO E+gFEfg1Foverla%=!:!:sortest=1EolFO EolFEfg2Foverla%=3!!:!?format=%&v42!pEvF" o&tp&t.mp4 Qadd 1 video .*ffmpeg -loop 1 -i 2!4.p7g -i i7p&t.mp4 -filter$comple# "E!:vFscale=2!4:4!E+gFO E1:vFscale=!!:-1Efg1FO E+gFEfg1Foverla%=(mai7$w-overla%$w)*2:(mai7$overla%$)*2:sortest=1" -t !!:!4:3! o&tp&t.mp4
ffmpeg -loop 1 -i +g.6pg -i !!2.mp4 -filter$comple# "E!:vFscale=192!:1!!E+gFO E1:vFscale=12!:-1?setpts=C-C0CEfg1FO E+gFEfg1Foverla%=(mai7$w-overla%$w)*2: (mai7$-overla%$)*2:sortest=1" o&tp&t.mp4 ffmpeg -i o&tp&t.mp4 -vf "rotate=-D*/!" !!2$rotate.mp4 ffmpeg -i !!2$rotate.mp4 -filter:v "crop=12!:2!:32!:1!" !!1$&pload.m'v
Q image Q a&dio =A video: ffmpeg -loop 1 -% -i i7de#.6pg -i o&tp&t.mp3 -acodec cop% -vf "scale=12!:2!" res<.mp4 ==A giam pass .*ffmpeg -i e7g.mp3 -af "igpass=f=1!!? lowpass=f=1!!!" o&t.mp3 ==Ata7g +itrate .*ffmpeg -i e7g.mp3 -a+ 32! o&tp&tfile.mp3 =A ta7g vol&me: .*ffmpeg -i 7oise.mp3 -af Rvol&me=!.@R -a+ 32!' 7oise-@!.mp3 .*ffmpeg -i 7oise.mp3 -af Rvol&me=@!dBR -a+ 12' 7oise-@!.mp3 =A giam vol&me: .*ffmpeg -i 7oise.mp3 -af Rvol&me=-!.@R -a+ 32!' 7oise-@!.mp3 .*ffmpeg -i 7oise.mp3 -af Rvol&me=-@!dBR -a+ 12' 7oise-@!.mp3
.*ffmpeg -ss !!:!!:4@ -i stmpt.mp4 -t !!:!4:@! -c:v li+#2/4 -c:a aac -strict e#perime7tal -+:a 12' o&t$&pload.mp4 .*ffmpeg -i o&t$split.mp4 -af "igpass=f=1!!? lowpass=f=1!!!" o&t$split$1.mp4 **7e7 i7 .*ffmpeg -i o&tp&t$mi#.mp4 -c:v li+#2/4 -strict -2 -crf 4@ -+:v 1K -c:a aac o&tp&t$compress.mp4 ca7ge pitc: .*ffmpeg -i o&t$split$add$frame.pm3 -f:a atempo=1.2@ o&t.mp3 .*ffmpeg -i o&tp&t$compress.mp4 -strict -2 -filter:a "atempo=1.2@?atempo=1.2@" o&t$o'.mp4 scale:
ffmpeg -loop 1 -i +g.p7g -i D7p&t-!!1.m'v -filter$comple# "E!:vFscale=12!:-2E+gFO E1:vFscale=/4@:-1?setpts=C-C0CEfg1FO E+gFEfg1Foverla%=324:3:sortest=1" o&tp&t2m'v streami7g li7' m3&: .*ffmpeg -i Rttp:**m3.#emtvd.com*c7*vtv3*v.m3&R -strict -2 -ls$list$si>e ! -ls$time 1! -ls$segme7t$file7ame Rrs*file!3d.tsR rs*o&t.m3& .*ffmpeg -i Rttp:**m3.#emtvd.com*c7*vtv3*v.m3&R -strict -2 Rrs*vtv3$2!@
[email protected] .*ffmpeg -i Rttp:**m3.#emtvd.com*c7*vtv1*v.m3&R -strict -2 Rrs*vtv1$2!@2!1@$!9$!!.tsR
stremi7g teo toi gia7: ffmpeg -i "ttp:**t6rpsv.cd7viet.com*t6>>sg*$defi7st$*tv.2!p.stream*pla%list.m3&, t=1+c1@+da+daf1!!+e//4!1f49dfdfSe=143321!/9/" -strict -2 -t !!:!@:!! ":PffmpegP+i7PrsPtv$!1!/
[email protected]" metadata .*ffmpeg -i om$07d$Jerr%$8iar%$&pdate.mp4 -metadata title="om S Jerr% ca77el" -metadata e7coder="2/4" -metadata artist="om S Jerr%" -metadata al+&m="om S Jerr%" om$07d$Jerr%$8iar%.mp4 e#tract image: .*ffmpeg -i om$07d$Jerr%$8iar%.mp4 -r 1 -f image2 image-3d.6peg -r is is &sed to set te frame rate of video. i.e. 7o. of frames to +e e#tracted i7to images per seco7d. e defa< val&e is 2@? &si7g wic? wo&ld ave %ielded a large 7&m+er of images. -f is optio7 defi7es te format we wa7t to force*&se? alto&g removi7g tis optio7 so&ld7Rt ca&se a7% pro+lem. image-3d.6peg B% 3d? we mea7 tat we wa7t te 7ami7g of te image files to +e of te format "image-!!1.6peg? image-!!2.6peg.." a7d so o7. Df we ad &sed image-2d te 7ames wo&ld ave +ee7 image-!1.6peg? image-!2.6peg. To& ca7 &se a7% format as per %o&r coice.
c&%e7 m2t -A m'v cac 1: ffmpeg -i i7p&t.mt2s -scodec cop% -acodec cop% -vcodec cop% -f matros'a i7p&t.m'v cac 2: e easiest tool to &se is m'vmerge? wic is part of te m'vtool7i# pac'age. o co7vert %o&r file: s&do apt-get i7stall m'vtool7i# m'vmerge -o o&tp&t.m'v i7p&t.m2ts cac 3: ttps:**a7d+ra'e.fr ao 4 video tre7 1 ma7 i7 7& camera teo doi ttps:**trac.ffmpeg.org*wi'i*reate2!a2!mosaic2!o&t2!of2!several2!i7p&t 2!videos ffmpeg -i 1.avi -i 2.avi -i 3.avi -i 4.avi -filter$comple# " 7&llsrc=si>e=/4!#4! E+aseFO E!:vF setpts=C-C0C? scale=32!#24! E&pperleftFO E1:vF setpts=C-C0C? scale=32!#24! E&pperrigtFO
E2:vF setpts=C-C0C? scale=32!#24! ElowerleftFO E3:vF setpts=C-C0C? scale=32!#24! ElowerrigtFO E+aseFE&pperleftF overla%=sortest=1 Etmp1FO Etmp1FE&pperrigtF overla%=sortest=1:#=32! Etmp2FO Etmp2FElowerleftF overla%=sortest=1:%=24! Etmp3FO Etmp3FElowerrigtF overla%=sortest=1:#=32!:%=24! " -c:v li+#2/4 o&tp&t.m'v
8elogo ffmpeg -i 2.mp4 -vf delogo=#=!:%=1!!!:w=1!!:=@!:+a7d=1! o&t.mp4
Ctereo: ttps:**trac.ffmpeg.org*wi'i*0&dioa77elKa7ip&latio7 Q Joi7 file teo file di7 7gia sa7: - ffmpeg -f co7cat -i 6oi7.t#t -c cop% o&tp&tmp4 - ca& tr&c file: U tis is a comme7t file R+g$.mp4R file R+g$.mp4R file R+g$.mp4R Q co overla% +e7 tre7 co opacit% ffmpeg -% -i +.m'v -filter$comple# "E!:vFscale=!!:-1Ev1FOE!:vFscale=!!:1?format=%&va42!p?colorca77elmi#er=aa=!.@Ev2FOEaFpa7=stereoc!Vc!Q!Gc1 c1Vc!Q!Gc1?aeval=val(!)-val(1)Ea&dioFOEv1FEv2Foverla%=1!!:1!!EvideoF" -vcodec li+#2/4 -pi#$fmt %&v42!p -r 3! -g /! -+:v 2@!!' -acodec li+mp3lame -+:a 12' -ar 441!! -preset <rafast -map EvideoF -map Ea&dioF o&t.m'v =A ta% set aa la opacit% mo7g m&o7 ffmpeg -i i7p&t.mp4 -af "atempo=1.2?vol&me=1./" -vf "flip ?setpts=C*1.2?"crop=iw*2:i*2"?scale=12!:2!?+o#+l&r=1:1 EmvFO movie=9!#a7.p7g Ef1FO EmvFEf1Foverla%=!:!" -vcodec li+#2/4 -pi#$fmt %&v42!p -r 3! -g /! -+:v 2@!!' -acodec li+mp3lame -+:a 12' -ar 441!! -preset <rafast o&tp&t.mp4 ffmpeg -i i7p&t.mp4 -af "atempo=1.2?vol&me=1./" -vf "flip ?setpts=C*1.2?scale=12!:2!?"crop=iw*2:i*2"?+o#+l&r=1:1 EmvFO movie=9!#a7.p7gEopacit%=@!FOEmvFEopacit%=@!Foverla%=!:!" -vcodec li+#2/4 -pi#$fmt %&v42!p -r 3! -g /! -+:v 2@!!' -acodec li+mp3lame -+:a 12' -ar 441!! -preset <rafast -preset <rafast o&tp&t.mp4
lac f&ll: ffmpeg -% -i a.mp4 -filter$comple# "E!:vFscale=!!:-1Ev1FOE!:vFscale=!!:1?+o#+l&r=1!:/?format=%&va42!p?colorca77elmi#er=aa=!.1@Ev2FOEaFpa7=stereo c!Vc!Q!Gc1c1Vc!Q!Gc1?aeval=val(!)-val(1)Ea&dioFOEv1FEv2Foverla%=!:!EvideoF" -vcodec li+#2/4 -pi#$fmt %&v42!p -r 3! -g /! -+:v 2@!!' -acodec li+mp3lame -+:a 12' -ar 441!! -preset <rafast -map EvideoF -map Ea&dioF o&t.m'v G lap lai 1 loat +ac'gro&7d image: Q ffmpeg -i +g1.mp4 -f image2 +gs*image-3d.p7g Q ffmpeg -% -loop 1 -i +gs*image-3d.p7g -i +.mp4 -r 29.9 -a+ 12' -ar 4' -ac 2 -filter$comple# "E!:vF scale=@:4!Ev!FOE1:vFsetpts=C*1.1@?scale=@41:3!2Ev2FO E1:aFatempo=1.1@?aeco=!.:!.:/:!.4Ea&dioFOEv!FEv2Foverla%=mai7$w-overla%$w - 11: (mai7$-overla%$)*2Q9:sortest=1EvideoF" -map "EvideoF" -map "Ea&dioF" a+c1.m'v
lip video: 1. lip video verticall%: ffmpeg -i D -vf vflip -c:a cop% M 2. lip video ori>o7tall%: ffmpeg -i D -vf flip -c:a cop% M 3. otate 9! degrees cloc'wise: ffmpeg -i D -vf tra7spose=1 -c:a cop% M 4. otate 9! degrees co&7tercloc'wise: ffmpeg -i D -vf tra7spose=2 -c:a cop% M **lac 7ac 7ge tre7 mo+ile l&o7: ffmpeg -% -i o7e$pice.mp4 -vf "setpts=C*1.1@?crop=i7$w* "setpts=C*1.1@?crop=i7$w*@:i7$*@" @:i7$*@" -acodec li+mp3lame -a+ 12' -ar 4' -ac 2 -af "atempo=1.1@?e&ali>er=f=32:widt$t%pe=o:widt=1:g=@?e&ali>er=f=/4:widt$t%pe=o:widt=1:g=-@?e&ali>er=f=12@:widt$t%pe=o:widt=1:g=@?e&ali>er=f=2@!:widt$t%pe=o:widt=1:g=@?e&ali>er=f=@!!:widt$t%pe=o:widt=1:g=@?e&ali>er=f=1!!!:widt$t%pe=o:widt=1:g=@?e&ali>er=f=2!!!:widt$t%pe=o:widt=1:g=@?e&ali>er=f=4!!!:widt$t%pe=o:widt=1:g=@?e&ali>er=f=!!!:widt$t%pe=o:widt=1:g=@?e&ali>er=f=1/!!!:widt$t%pe=o:widt=1:g=-@?aeco=!.:!.:/:!.4?pa7=1c c!=!.9Gc!Q!.1Gc1?pa7=stereoLVLQ!.@GQ!./GBLQ!./GCLVQ!.@GQ!./GBQ!./GC" -vcodec li+#2/4 -pi#$fmt %&v42!p -r 29 -g /! -+:v 2@!!' -preset <rafast o&t.m'v ffmpeg -% -i wm%+.mp4 -vf "setpts=C*1.13?crop=3!!:1!!" -af "atempo=1.13?e&ali>er=f=2@!:widt$t%pe=o:widt=1:g=@?e&ali>er=f=@!!:widt$t%pe=o:widt=1:g=@?e&ali>er=f=1!!!:widt$t%pe=o:widt=1:g=@?e&ali>er=f=2!!!:widt$t%pe=o:widt=1:g=@?e&ali>er=f=4!!!:widt$t%pe=o:widt=1:g=@?e&ali>er=f=!!!:widt$t%pe=o:widt=1:g=@?e&ali>er=f=1/!!!:widt$t%pe=o:widt=1:g=-@?aeco=!.:!.:/:!.4?pa7=stereo c!=c!c1=-1Gc1?aeval=R-val(!)R:c=same?vol&me=1.@" wm.m'v
ffmpeg -% -i wm%+.mp4 -af "igpass=f=2!!?lowpass=f=3@!!?atempo=1.1@?e&ali>er=f=4!!:widt$t%pe=o:widt=2:g=@ ?e&ali>er=f=999:widt$t%pe=:widt=22!:g=-12?compa7d=.3.3:11:-9!*-/!-/!*-4!4!*-3!-2!*-2!:/:!:-9!:!.2?aeco=!.:!.:12:!.4?pa7=stereoc!=c!c1=-1Gc1?aeval=Rval(!)R:c=same?vol&me=1.@" -preset <rafast a.mp3
**lac +ac'gro&7d i7 do7g ttps:**www.%o&t&+e.com*c*o7gt&o7gd*videos ffmpeg -i +g1.mp4 -vf "scale=12!:2!" -f image2 +gs*image-3d.p7g **(mai7$w-overla%$w)*2:(mai7$-overla%$)-1! ffmpeg -% -loop 1 -i +gs*image-3d.p7g -i o7e$pice.mp4 -r 29.9 -a+ 12' -ar 4' -ac 2 -filter$comple# "E!:vF scale=12!:2!Ev!FO E1:vFsetpts=C*1.1@?scale=9/:@!4Ev2FO E1:aFatempo=1.1@?aeco=!.:!.:/:!.4?pa7=1cc!=!.9Gc!Q!.1Gc1Ea&dioFOEv!F Ev2Foverla%=1!:(mai7$-overla%$)-1!:sortest=1EvideoF" -map "EvideoF" -map "Ea&dioF" -+:v 1!!!' -t !!:14:!! -preset <rafast o&t.m'v
ffmpeg -i !!!!!1.mp4 -vf scale=12!:2!?setdar=1/:9 -r 29.9 -+:v 441!!N -a+ 12' -ar 441!! -ac 2 o&t.avi **7ối 2 file file W7 W7 vXo vXo Yầ & vX Y&Zi Y&Zi củ a video videoffm ffmpe peg g -i "MC "MCCC CCM M &sio &sio7 7 K&si K&sical cal ;#perie7ce - e o7cert o7 J&l% 14? &ssia[.mp4" -r 24 -+:v 4!!!' -vf scale=192!:1!! -treads 3 -t !1:23:!@ o&t1.avi ffmpeg -% -loop 1 -i 1.6pg -i a&dio.mp3 -r 24 -+:v 4!!!' -t !!:!!:!@ 1.avi ffmpeg -% -loop 1 -i 2.6pg a&dio.mp3 -r 24 -+:v 4!!!' -t !!:!!:!@ 2.avi ffmpeg -f co7cat -i m%list.t#t -c:v cop% c:a cop% fi7al.avi ẽ s\7g s\7g ]m ]m co co ]m ta7 ta7: : ffmpeg -% -i 7g&oi$'ie7.mp3 -loop 1 -i overla%.p7g -r 21.@4 -ac 2 -filter$comple# "E!:aFvol&me=2?asetrate=r=4!!!G(21.@4*23.9/)?atempo=23.9/*21.@4?aeco=!.3:!. 4:/:!.4?igpass=f=2!!?e&ali>er=f=222:widt$t%pe=o:widt=2:g=@?e&ali>er=f=444:wi dt$t%pe=:widt=22!:g=-1!?compa7d=.3.3:11:-9!*-/!-/!*-4!-4!*-3!-2!*-2!:/:!:9!:!.2?compa7d=attac's=!:poi7ts=-!*-!-12.4*-12.4-/*-!*-/.2!*2.?aeco=!.3:!.4:@:!.4?aresample=as%7c=@!?vol&me=2@dB?+s2+=profile=6meier?allpass =f=9@!?tre+le=g=1!?+a7dpass=f=2@!!:csg=1?earwa#?aempasis?tremolo=d=!.@?acompressor =tresold=!.!13@:ratio=2!:attac'=2!!:release=1!!!:ma'e&p=3:mi#=1?vol&me=2?vol&me=2 ?aresample=1!1!!?pa7=stereoc!Vc!Qc1 c1Vc1Qc!?sowwaves=s=12!#2!:mode=li7e?color'e%=!#!!!!!!:!.!1:!.1?format=%&va42!pE vFOE1:vFscale=4!:3/!Ev1FOEv1FEvFoverla%Eo&tvF" -map "Eo&tvF" -pi#$fmt %&v42!p -map !:a -c:v li+#2/4 -c:a cop% -sortest -preset <rafast 7g&oi$'ie7.mp4 GGG6oi7 mp3 lai voi 7a&: ffmpeg -i co7cat:"o&t1.mp3o&t2.mp3" -acodec cop% %o.mp3 GGGla% 7ie& t&m+7ail tre7 1 tam i7 ttp:**as'&+&7t&.com*&estio7s*3@9*ffmpeg-o&tp&t-scree7sot-galler% ffmpeg -% -i "23La Bella e la Bestia (1991).mp4" -vf "select=gt(sce7eP?!.4)?scale=1/!:-1?tile" -frames:v 1 -scale:v 3 preview.6pg GGGGred gree7 +l&e ttps:**trac.ffmpeg.org*wi'i*a7c%ilteri7g;#amples Gco7vert avi c&a7: ffmpeg -% -ss !!:!!:!! -i "a.mp4" -t !!:!@:!! -vcodec li+#2/4 -pi#$fmt %&v42!p -r 3! -g /! -+:v 2@!!' -acodec li+mp3lame -+:a 12' -ar 441!! -preset <rafast o&t.avi
G Keta title: ffmpeg.e#e -% -i wm%+.mp4 -vf "scale=@:4!?e=gamma$r=/:gamma$g=:gamma$+=1!" -metadata title="" -metadata artist="" -metadata al+&m$artist="" -metadata al+&m="" -metadata date="" -metadata trac'="" -metadata ge7re="" -metadata p&+liser="" -metadata e7coded$+%="" -metadata cop%rigt="" -metadata composer="" -metadata performer="" -metadata D1="" -metadata D3="" -metadata disc="" -metadata N;T="" -metadata BK="" -metadata la7g&age="e7g" -metadata e7coder="" -a7 -preset <rafast o&t$r+g/1!.m'v
cac lac >oom? c&a test: Bước 1: & 7ỏ video c^7 lạ i c_7 1*2 oặ c 1*3 oặ c 1*4? sử dụ 7g 1 video 7ề 7
Yộ7g p^a sa& Yể vượ t & &a +ộ &`t frame W W7 củ a t t&ậ t to to7 To To&t&+e Bước 2: ừ video #&ấ t ra tiế 7 X7 >oom gầ 7? p\7g to dầ 7 video co tớ i 'i '&7g W7 củ a video 7ỏ 'ớ p vớ i '&7g W7 củ a toX7 video ==A ậ% lX ta sẽ Yượ c 1 video f&ll mX7 W7 (mấ t vXi cụ c gi]% Yầ & video sẽ 'o f&ll f&ll mX7 mX7 do do c cư a >oo >oom m #o7 #o7g g ế t) ffmpeg -i +gro&7d.mp4 -i i7p&t.mp4 -filter$comple# "7&llsrc=si>e=12!#2! Evmai7FO E!:vF setpts=C-C0C? scale=12!:2! Ev+ac'FO E1:vF setpts=C-C0C? scale=/4!:4/ EvideoFO Evmai7FEv+ac'F overla%=sortest=1 EvidFO EvidFEvideoF overla%=sortest=!:#=32!:%=1!" -vcodec li+#2/4 -profile:v ig -level 4.! -coder 1 -refs 3 -preset <rafast -+:v 2932' -mi7rate 2932' -ma#rate 2932' -+&fsi>e !' -a7 o&ti7p&t.mp4 ffmpeg -i o&ti7p&t.mp4 -vf ">oompa7=>=Rmi7(ma#(>oom?p>oom)Q!.!!1@?2)R:d=1:#=Riw*2(iw*>oom*2)R:%=Ri*2-(i*>oom*2)R" -vcodec li+#2/4 -pi#$fmt %&v42!p -r 3! -g /! -+:v 2932' -c:a cop% -metadata title="" -metadata artist="" -metadata al+&m$artist="" -metadata al+&m="" -metadata date="" -metadata trac'="" -metadata ge7re="" -metadata p&+liser="" -metadata e7coded$+%="" -metadata cop%rigt="" -metadata composer="" -metadata performer="" -metadata D1="" -metadata D3="" -metadata disc="" -metadata N;T="" -metadata BK="" -metadata la7g&age="e7g" -metadata e7coder="" -preset s&perfast o&tp&t.mp4