Create Picture in Picture with ffmpeg
December 1, 2020 No Comments
asdfa ffmpeg -i input.mp4 -filter_complex “[0]scale=iw/3:-1[pip];[0]convolution,colorbalance[bg];[bg][pip]overlay=main_w-overlay_w-10:main_h-overlay_h-10[v]” -map “[v]” -map 0:a -c:a copy output.mp4
Extract image from specific video frame with ffmpeg
December 1, 2020 No Comments
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
ffmpeg for color grading
December 1, 2020 No Comments
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
Convert a video to a time lapse video
November 9, 2020 No Comments
Sometimes you want to have a video playback shortend to reduce the time a view needs to see the full length of the video. For