


That’s my command: ffmpeg -i output.mkv -acodec copy -vcodec nvenc -preset hq -tune film -filter:v "crop=1280:720:316:50" output-cropped.mkv x and y specify the top left corner of the output rectangle.out_h is the height of the output rectangle.out_w is the width of the output rectangle.Then I found a manual:įfmpeg -i in.mp4 -filter:v “crop=out_w:out_h:x:y” out.mp4 I open a video in fullscreen, then I’ve took a screnshot. This is a gameplay video, and the game is in window. I tried to crop video from 1600x900 to 1280x720. I have been applied a watermark on my video: ffmpeg -i output.mkv -acodec copy -vcodec nvenc -preset hq -tune film -vf "movie=watermarklogo.png overlay=0:main_h-overlay_h-0 " output-watermark.mkv I have been captured video from screen: ffmpeg -f x11grab -r 30 -s 1600x900 -i :0.0 -re -f alsa -i pulse -ac 2 -ar 44100 -acodec libfaac -vcodec nvenc -preset hq -tune film -threads 0 output.mkv
