As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [filter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
2k views

replace black frames with previous frames

I have problematic footage from diving due to my camera/SD card - every 4th or so frame is just black, and I want to replace all those black frames with either an interpolation between the previous ...
Hug's user avatar
  • 143
1 vote
3 answers
2k views

Replace all completely black frames with interpolated frames

Due to a bug with Nvidia Shadowplay, I have a bunch of videos that look like this. A bunch of random frames have been replaced with pure black frames. I'd like to fix one of these videos to remove ...
BlueRaja - Danny Pflughoeft's user avatar
13 votes
1 answer
15k views

What is the ffmpeg filter equivalent of "Automatic levels" for colors?

Looking at the documentation about filters there seems to be a curve filter to manipulate color with the following presets: color_negative cross_process darker increase_contrast lighter ...
Grzegorz Adam Hankiewicz's user avatar
11 votes
1 answer
13k views

Similar to "levels adjustment" brightness improvement with ffmpeg

I'm composing a video from set of 16bit tiff pictures. The pictures are very dark, and needs to be brightened. Currently I'm applying -vf "mp=eq2=1.0:1.0:0.3:1.0:1.0:1.0:1.0:1.0" filter to make ...
Vasilly.Prokopyev's user avatar
5 votes
1 answer
1k views

Video transitions and filters - how to create custom ones?

I am wondering if there is a possibility to do custom video transitions or filters. Like the video spiraling out, little squares appearing, circling out or something like that. Wiping the video out ...
Toskan's user avatar
  • 163
2 votes
2 answers
17k views

How to set pts time format when using ffmpeg filter to add timestamp

I want to add timestamp of current played time to a video, so I use this: ffmpeg -i video.mkv -filter_complex "drawtext=fontfile=/Library/Fonts/Arial.ttf: text='timestamp: %{pts \: hms}': x=5:...
Wayne Chen's user avatar
2 votes
1 answer
803 views

Combining two video fields into one (to create an interlaced video)

I have two separate video fields (top.avi and bottom.avi) and I would like to merge them to create an interlaced video. Is it possible to do this with ffmpeg? (or any other tool for Windows or Linux) ...
gamrest's user avatar
  • 23