created | modified |
---|---|
2022-09-12 02:11:01 +0800 |
2022-11-28 22:08:36 +0800 |
ffmpeg -threads 4 -crf 28 -preset ultrafast
ffmpeg -f video4linux2 -framerate 30 -input_format mjpeg -video_size 1920x1080 -i /dev/video6 -c:v libx265 -preset ultrafast -c:a none -crf 20 out.mp4
ffmpeg -f rawvideo -video_size 2592x1944 -pixel_format yuyv422 -i input_yuyv422_2592x1944.dat -f image2 output.png
copy a portion of a video, copying and not recoding. Might need to use the same container as the input
ffmpeg -i $input -ss $seek_to_seconds -t $output_length -c:v copy -c:a copy $output
ffplay -flags2 +export_mvs input.mkv -vf codecview=mv=pf+bf+bb
ffplay $input -vf mestimate=epzs:mb_size=16:search_param=32,codecview=mv=pf+bf+bb
ffmpeg -i MOV_3147.mp4 -vf 'select=not(mod(n,10))',setpts=0.1*PTS,deshake=edge=blank:rx=64:ry=64:blocksize=4:contrast=31 -tune grain -crf 17 -an wolken-2-deshake.mkv
ffmpeg -i input.mkv -vf 'select=not(mod(n,20))',setpts=0.05PTS,mestimate=hexbs,vidstabdetect=shakiness=10:result=transforms.trf ffmpeg -i input.mkv -vf 'select=not(mod(n,20))',setpts=0.05PTS,mestimate=hexbs,vidstabtransform=crop=black:smoothing=0:optzoom=0
ffmpeg -i MOV_3147.mp4 -vf 'select=not(mod(n,20))',setpts=0.05*PTS,vidstabtransform=crop=black:smoothing=180:optzoom=0:interpol=bicubic -an -vcodec libx265 -crf 16 -tune grain wolken-2-deshake.mkv
ffmpeg -i file.mkv -vf zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable,zscale=t=bt709:m=bt709:r=tv,format=yuv420p -crf 20 -acodec copy output.mkv
ffmpeg -r 1 -i file.mp4 -r 1 frames_%05d.jpg
ffmpeg -r 30 -i frames_%05d.jpg output.mp4
ffmpeg -i file.mp3
ffmpeg -i video.avi image_output%d.jpg
ffmpeg -f mp3 -i input.mp3 -t 00:00:30 -ss 00:00:15 output.mp3
ffmpeg -i video.avi output.gif
ffmpeg -i music.mp3 -i video.avi output.mpg
ffmpeg -i video.avi -vn -ar 44100 -ac 2 -ab 192k -f mp3 output.mp3
ffmpeg -i video.flv -ar 44100 -ac 2 -ab 192k -f mp3 output.mp3