Questions tagged [filter]

The tag has no usage guidance.

34 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
221 views

How to perform a "lighten only" operation in ffmpeg for prop flicker removal

I have footage shot from a helicopter and I would like to remove the rotor blades. Since the blades are so fast it seems feasible to use the pixel values from the next frame (usually the sky) wherever ...
Adam Honeybell's user avatar
2 votes
0 answers
298 views

help with ffmpeg quality check script

I am trying to write a script that compares a version of a video file to a master file that has been quality checked and outputs any frames that differ from the master as .jpeg files with timecode ...
Simon Jaquemet's user avatar
1 vote
0 answers
21 views

FFmpeg dnn_processing with tensorflow backend: difficulties applying a dnn filter on an image

I am trying to perform a video segmentation for background blurring similar to Google Meet or Zoom using FFmpeg, and I'm not very familiar with it. Google's MediaPipe model is available as a ...
ArnoBen's user avatar
  • 11
1 vote
0 answers
10 views

How do I control the time of the movie= parameter when overlaying video with video?

The following command overlays main.mp4 with talkingHead.mp4. ffmpeg -hide_banner -i main.mp4 -vf "movie=talkingHead.mp4, scale=400:-1 [inner]; [in][inner] overlay=main_w-(overlay_w+10): main_h-(...
John Smith's user avatar
1 vote
0 answers
499 views

Which FFmpeg variable gives the total duration of a video?

I've spent hours searching the documentation and forums for a simple variable and it's driving me crazy. Can anyone tell me what the variable is that gives the total duration of a video, so that I can ...
Spiritman's user avatar
1 vote
0 answers
119 views

FFmpeg - Loss of video quality when using vf setpts

I created a screen recorder for iOS using FFmpeg. I concat the images into a video which is fine and the quality doesn't change much from the screenshots but when I use setpts to match the video to ...
STerrier's user avatar
1 vote
0 answers
15 views

Is it true that pixelization can be reversed given enough frames?

I just read someone stating the following on a Kdenlive bug report: I'd much rather have a single color than pixelization, since with enough frames, pixelization can be reversed. Simple question - ...
Marc.2377's user avatar
  • 111
1 vote
1 answer
663 views

ffmpeg 4.2.3 freezes in encoding which is extremely slow

I tried to encode some video files, from GOPRO action camera. The whole fuzz is about two specific video files that the video orientation is 180 degree. Therefore, I thought to implement complex ...
Estatistics's user avatar
1 vote
0 answers
241 views

Problems correcting perspective in video using FFmpeg

If I save a frame as a JPG using something like: ffmpeg -i /dev/video0 -frames:0 1 check.jpg I can get the coordinates to create an image with the perspective corrected using: ffmpeg -i check.jpg -...
Nick's user avatar
  • 111
1 vote
0 answers
428 views

How drop still frames with timestamp ffmpeg

I have a ffmpeg command that allows me to drop duplicate frames and speed up the video and works well. I use it with hundreds of video recordings from a surveillance ip camera that does not have ...
Braian's user avatar
  • 11
1 vote
0 answers
290 views

FFmpeg afade produces horrible audio quality

I'm trying to add a video and audio fade in and fade out to my video using the fade and afade filters. I'm using the following command: ffmpeg -i trimmed.mp4 -vf 'fade=in:0:60,fade=out:2940:300' -af '...
NetherGranite's user avatar
1 vote
0 answers
3k views

What's wrong with VLC seeking and/or MKV created by ffmpeg?

I have creeated a video using FFmpeg. It is a result of putting 4 videos together, tiled, using -filter_complex with overlays. Following the how-to here, I have it created as MKV. When playing this ...
Ondra Žižka's user avatar
1 vote
0 answers
593 views

GUI equivalent for ffmpeg eq filter parameters

I was wanting to know if anyone is aware of a GUI tool that mimics or is similar to the eq video filter parameters in ffmpeg. The eq filter is used to set brightness, contrast, saturation, gamma, etc....
John Contoso's user avatar
1 vote
0 answers
771 views

Is it possible to increase video gamma or brightness at container level?

I would like to know if is it possible to increase the brightness or gamma of a video without full re-encoding. For example some versions of ffmpeg allow certain special bitstream filters described ...
Konstantin's user avatar
1 vote
0 answers
698 views

If I limit the color spectrum of a video, will it compress to a smaller file size?

I know that in exporting images, if I use an indexed color format when I save (such as GIF or PNG with indexed color mode), I can dramatically reduce the file size of the resulting export. My ...
David Rhoderick's user avatar
0 votes
0 answers
14 views

Project: Use smartphone as webcam, add AR-filters to videostream, send output as feed to smartphone for further usage within mobile app

If the title is leaving you with a big "!!?!" then... my bad... I am lacking the needed vocabulary I guess. lol PLUS... I don't know if what I am trying is even feasible. Here's what I want: ...
Josh's user avatar
  • 1
0 votes
0 answers
30 views

FFmpeg select filter does not return frames

I observed a strange behavior while using the select filter. In short, I'm using ffmpeg to detect frozen sections in a video, calculate the exact middle point of these sections, then using filters to ...
Gergely Lukacsy's user avatar
0 votes
1 answer
79 views

How to adjust video histogram using ffmpeg?

I have a dark video and'd like to adjust its histogram. In a graphical editor I've found the values of the color levels that enhance video contrast. How to set this level values in ffmpeg?
Ivan Z's user avatar
  • 101
0 votes
0 answers
100 views

How do I drawtext two subtitle files one after another in one command?

The following command overlays text on the video: ffmpeg -hide_banner -i Loving_Caliber.mp4 -vf drawtext="textfile=subs1.txt:fontsize=75" output.mp4 where subs1.txt is a textfile containing ...
John Smith's user avatar
0 votes
0 answers
78 views

Is it doable to use a text file with a list of files as input when concatenating and reencoding with ffmpeg and -filter_complex?

When trying to concatenate mp4 files with the following script #!/usr/bin/bash echo "The number of files to be concatenated?" read no ffmpeg -loglevel warning -hide_banner -i ...
John Smith's user avatar
0 votes
0 answers
129 views

Applying dynamic mask across all images to make uniform with baseline

I do time lapses. In the attached image, notice each image has slightly different shades but are otherwise consistent. This is an artifact of a mechanical shutter. I'd like to take a single pixel in ...
user319249's user avatar
0 votes
0 answers
466 views

Best deinterlacing filter for FFMPEG (no GPU)

I am hoping you can help. I am trying to extract frames (1 per second) from various videos and from various sources. However, I am getting blur/deinterlacing (see below). I've tried with various types ...
Chris Felstead's user avatar
0 votes
0 answers
187 views

Command for dithering video using FFMPEG?

Noob here. I'd like to use FFMPEG to dither a video file. I'm unable to find how to put together a command and where and how to use it. I really like the look of ezgif.com gifs, which I believe use &...
user38725's user avatar
0 votes
0 answers
69 views

FFmpeg - Is it possible to invert blackdetect filter's results to extract timecodes start/end of "segments" between blacks?

I'm researching to automate some process on rushes video files. The timeline is black > sequence > black > sequence... I would like to extract the timecodes start/end of each sequence and ...
Soapa Tune's user avatar
0 votes
0 answers
89 views

can I change ffmpeg crop position at runtime for each frame during stream

I am trying to move an Region of Interest (RoI) around a multi-camera tiled source (which will be too big to encode for smooth viewing), and stream this "live". The RoI is externally ...
leelio's user avatar
  • 1
0 votes
1 answer
768 views

ffmpeg to combine video + alpha video, transparency key with threshold

I have two corresponding video files. One is a regular video and the other is meant to be the alpha channel for that video. I wish to combine them, and use the alpha video to lay a transparency key ...
Stoopkid's user avatar
  • 101
0 votes
0 answers
30 views

Searching an Adjustable Distortion ' filter ' for video

Playing a 720p movie file by VLC-mediaplayer (working normally with all other videofiles), gave a peculiar distortion, intermittently showing rather interesting visually pleasing patternings. Tried ...
Han's user avatar
  • 1
0 votes
0 answers
235 views

Converting/filtering/deinterlacing VHS captures on Linux

I'm pretty much a novice video editor especially on Linux. I'm looking to take a bunch of old home videos I captured using ffmpeg and clean them up as painlessly/automatically as possible. At this ...
John Kuhns's user avatar
0 votes
0 answers
696 views

Sampling and using afftdn with ffmpeg - how with complex filters?

I'm merging together a bunch of videos (30 so far) into a "Brady Bunch" style amalgam using ffmpeg, and I've got that working reasonably well. The last big problem is the background noise. ...
Betty Crokker's user avatar
0 votes
0 answers
780 views

Changing FPS from 29.97 to 30 in ffpmeg creates short blank at end of video, audio is fine

I am trying to merge 5 parts of a continuous video using ffmpeg. For some reason, the 1st part is encoded at 29.97 FPS, while all the others are at 30 FPS. part #1 : 29.97 fps, 29.97 tbr, 19200 tbn, ...
mach128x's user avatar
  • 101
0 votes
0 answers
605 views

ffmpeg dynamic filter values from piped input

I need to run an audio filter on a piped input using its own lufs value as a variable, without writing to disk. I previously bounced the piped input to processedaudio.wav and the command works as: ...
BreadEagles's user avatar
0 votes
2 answers
314 views

How to apply different filters to different parts of a video using AviSynth?

I have a video file and want to post process it using AviSynth. Different parts of the movie require different filters to be used (noise reduction etc.). How can one use different filters for ...
Krisztián Balla's user avatar
-1 votes
1 answer
187 views

How can I remove unwanted object from a video and see what's behind it?

If for example I have a video and there is a person that moves but is always partially blocked by an object, can I remove it somehow to get a clear video footage? I tried Adobe content aware Filter, ...
Thomas's user avatar
  • 11
-1 votes
2 answers
29 views

What's the mac software or plugin for filters like those?

I was wondering what software do the professionals use to apply filters like THIS. Modern series like the ones Netflix is making are another example that use those kind of nice movie filters. So if ...
Henrique Nader's user avatar