Extract image from specific video frame with ffmpeg

Extract 1st frame as image from video ffmpeg -y -i /data/Short2.mp4 -vframes 1 /tmp/Short2.jpg The parameter meanings: param -idefines the file incl. path to the input video, in our example the file /data/Short2.mp4 param -vframes 1only handle one video frame, in the above case exactly the frame 1 of the video param /tmp/Short2.jpgdefines the output

Extract image from specific video frame with ffmpeg Read More »

ffmpeg for color grading

Aliens 1979 ffmpeg -i inputVideo.mp4 -vf “selectivecolor=reds=0 -0.20 -0.20 0:yellows=0 0 -0.20 0.10:cyans=-0.66 -0.50 0.20 0.75:blues=0 0 -0.50 0.15” /tmp/output-alien1979.mp4 -vf selectivecolor=reds=0 -0.20 -0.20 0:yellows=0 0 -0.20 0.10:cyans=-0.66 -0.50 0.20 0.75:blues=0 0 -0.50 0.15 Transformers ffmpeg -i inputVideo.mp4 -vf “selectivecolor=reds=0 -0.1 -0.1 0.1:yellows=0 0 -0.1 0.05:cyans=0 0.1 0.1 -0.05” /tmp/output-transformers.mp4

ffmpeg for color grading Read More »