Just append -threads
Can be used to remove audio/video.
ffmpeg -i test.webm -codec:a copy out.webm
ffmpeg -i test.webm -codec:v copy out.webm
Draws a box with transparency.
ffmpeg -i test.webm -vf "drawbox=x=10:y=10:w=100:h=100:[email protected]:t=max" out.webm
ffmpeg -i test.webm -vf "drawbox=x=10:y=10:w=100:h=100:[email protected]:t=max" out.webm
Start and duration
ffmpeg -i test.webm -ss 00:00:0.0 -t 10 out.webm
ffmpeg -i test.webm -ss 00:00:0.0 -t 5 out.webm
ffmpeg -i test.webm -ss 00:05:0.0 out.webm
Draw box, insert crop specify start and duration.
ffmpeg -i in.mp4 -filter:v "crop=out_w:out_h:x:y" out.mp4
ffmpeg -i test.webm -threads 4 -vf "drawbox=x=0:y=150:w=200:h=100:[email protected]:t=max,crop=1100:400:200:130" -ss 00:05:0.0 -t 5 out.webm
ffmpeg -i test.webm -threads 4 -vf "drawbox=x=0:y=150:w=200:h=100:[email protected]:t=max,crop=1100:410:200:130" -ss 00:05:0.0 -t 5 out.webm