ffmpeg -i INPUTFILE -map 0:v -an -c:v dnxhd -pix_fmt yuv422p -trellis 0 -profile:v dnxhr_lb -y OUTPUTFILE.mov
ffmpeg -i input -c:v libx264 -crf 18 -preset slow -c:a copy output.mkv
ffmpeg -i input.avi -c:v libx264 -preset slow -crf 22 -c:a copy output.mkv
from second "3" cutting 8 seconds (omitting -t will continue to the end)
(-t is the duration)
ffmpeg -i movie.mp4 -ss 00:00:03 -t 00:00:08 -async 1 cut.mp4
or
ffmpeg -i movie.mp4 -ss 00:00:03 -t 00:00:08 -async 1 -strict -2 cut.mp4
or (faster) (windows example with MINGW64)
./ffmpeg.exe -ss 00:10:43 -i /c/Users/Simon/Desktop/GP011187.MP4 -t 00:03:59 -c copy cut.mp4
ffmpeg -i video.mp4 -b:a 192K -vn music.mp3
ffmpeg -i input.wav -vn -ar 44100 -ac 2 -ab 192k -f mp3 output.mp3
ffmpeg -i v.mp4 -i a.wav -c:v copy -map 0:v:0 -map 1:a:0 new.mp4
ffmpeg -i output2.mp4 -b 640000 -c:v libx264 -profile:v baseline -level 3.0 -pix_fmt yuv420p working.mp4