Questions tagged [filter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 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 &...
user avatar
0 votes
0 answers
6 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 ...
user avatar
0 votes
0 answers
12 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 ...
user avatar
  • 1
0 votes
1 answer
28 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 ...
user avatar
  • 101
0 votes
1 answer
14 views

Trying to identify specific VHS filters used here

A slightly blurry VHS filter: And a screenshot from a puppetcombo game called murderhouse. They seem to have blue-yellow accents and are slightly blurry. Thanks
user avatar
  • 1
0 votes
0 answers
86 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 ...
user avatar
0 votes
0 answers
27 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 ...
user avatar
  • 1
0 votes
0 answers
19 views

Compression artifacts after applying lutrgb?

I'm trying to replace each color other than white with black in an attempt to extract subtitles from a video. I'm using the following command: ffmpeg -ss 60 -t 10 -i Day\ 17\ 手把手教你在中文网站上预定酒店\ \ \ A\ ...
user avatar
  • 101
0 votes
1 answer
46 views

ffmpeg volumedetect filter doesn't work on 32bit float audio?

Here is a test file with peaks at +200 dBFS (it's an extreme example, but the same holds for a file with peaks a +1 dBFS). When running the "volumedetect" filter on this file, ffmpeg appears ...
user avatar
0 votes
0 answers
14 views

How to apply BOTH audio and video filter at the same time? [duplicate]

If I use just a video filter (-vf only), I do not get any warning in the cmd line; But as soon as I add an audio filter (both -vf and -af used as shown below), I get a WARNING IN RED on the cmd line: ...
user avatar
  • 115
0 votes
0 answers
63 views

how to change image overlay color using ffmpeg like instagram image filter

i have use colorchannelmixer but it showing error. I'm trying this matrix = '0.39,0.769,0.189,0.0,0.349,0.686,0.168,0.0,0.272,0.534,0.131,0.0,0.0,0.0,0.0,1.0'; ffmpeg -i input....
user avatar
0 votes
0 answers
36 views

Need working example for FFMPEG Filters

Can you please share the code to use ffmpeg filter say blackdetect or freezedetect. I have tried with filtering_video.c example but there I am not getting how to add these filters. I have already ...
user avatar
0 votes
0 answers
62 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 ...
user avatar
0 votes
1 answer
42 views

Can I crop and overlay at same time when useing ffmpeg?

I have two command: ffmpeg -i in.mp4 -vf crop='1280:720:0:0' -acodec copy croped.mp4 ffmpeg -loop 1 -i 1.jpg -i croped.mp4 -filter_complex 'overlay=(W-w)/2:(H-h)/2:shortest=1,format=yuv420p' -c:a ...
user avatar
0 votes
0 answers
37 views

Turbulent displace effect on every 8th frame using FFmpeg

I'm trying to apply a turbulent displacement effect that changes distortion every 8th frame in a 24 fps video. If this article is accurate, turbulent displacement is created by using a displace and ...
user avatar
0 votes
0 answers
19 views

Virtualdub deshaker filter text output?

As deshaker filter can't manage 360 videos, I am trying to create my own video stabilizer for my 360 videos, following a suggestion I read around: analyze a small area of the whole equirectangular ...
user avatar
  • 101
1 vote
0 answers
10 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 - ...
user avatar
  • 111
0 votes
0 answers
142 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 ...
user avatar
0 votes
0 answers
463 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. ...
user avatar
2 votes
0 answers
124 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 ...
user avatar
-1 votes
2 answers
165 views

Can I increase the scrolling speed of the showspectrum ffmpeg filter? [closed]

The way it is the spectrogram doesn't even reach through my screen after two minutes of playback. I want 30 seconds at most.
user avatar
  • 1
0 votes
1 answer
518 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 ...
user avatar
1 vote
1 answer
770 views

Too many arguments in ffmpeg, concat, filter_complex command, what I am doing wrong?

I am using the following ffmpeg command with filter_complex: ffmpeg -i GOPR0013.MP4 -i GOPR0013.MP4 -filter_complex "[0:v:0]fps=32,scale=1920:1080[v1],[v1]vflip[vF1],[vF1]hflip[clip1], [clip1] [1:v:0]...
user avatar
-1 votes
1 answer
128 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, ...
user avatar
  • 11
0 votes
0 answers
483 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, ...
user avatar
  • 101
1 vote
0 answers
173 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 -...
user avatar
  • 111
0 votes
1 answer
344 views

FFMPEG - Scroll filter on filter_complex applies on under layer

I apply filter_complex to put objects on coordinates using overlay. Sometime, I need to use the scroll filter. Here is the code ffmpeg -vsync 0 -i /tmp/2SN92agDIG.png -i /tmp/TogmpB9etD.png -i /tmp/...
user avatar
0 votes
1 answer
169 views

blend filter and color

Trying to debug blending images over video led to this observation: ffmpeg -i https://lh3.googleusercontent.com/vt1VzlKCpjJjxRGBd3oAVgOHau22m2257fDBaW3KfHsNbhOcw1--...
user avatar
  • 1
0 votes
0 answers
484 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: ...
user avatar
0 votes
1 answer
563 views

ffmpeg blend mode multiply results in green overlay

i'm trying to overlap two video clips using FFMpeg. I'm using the following command: ffmpeg -i a.mp4 -i b.mp4 -filter_complex "blend=all_mode='multiply'" c.mp4 I was expecting to get something like ...
user avatar
  • 1
1 vote
1 answer
2k views

Combine -vf yadif,format=yuv420p and -filter_complex for watermark

I have an ffmpeg command using -vf to deinterlace videos and produce pixel format with 4:2:0 chroma subsampling: ffmpeg -i input.mp4 -vf yadif,format=yuv420p \ -force_key_frames expr:gte(t\,n_forced/...
user avatar
1 vote
2 answers
141 views

Remove deadair periods in video

I am doing a video recording for a powerpoint presentation, and sometimes I have some seconds of (idleness) during the recording (where there is no change in the presentation nor speaking audio). For ...
user avatar
1 vote
1 answer
27 views

Fixing flickring old video

I have a bunch video that looks like it's flickering. The video started as Super8 (70s), was converted to VHS some years ago (90s?), and was recently converted to AVI. It looks something like this ...
user avatar
  • 153
1 vote
3 answers
1k 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 ...
user avatar
1 vote
2 answers
261 views

ffmpeg - Make a white line look thicker

I've been actively playing around with ffmpeg for the past few days, and now I want to make an audio visualiser, just with the showwaves filter (I made it white using p2p mode, and I don't want to use ...
user avatar
  • 145
0 votes
1 answer
1k views

ffmpeg - get green overlay instead of red when using multiply?

multiply should result in a darker image according to this website. However every multiply options with input that I'm using resulted in darker green videos instead of layering it with colour that I ...
user avatar
0 votes
2 answers
886 views

Is there a high-pass filter for videos in Adobe Premiere Pro?

What I want to do is putting in high-pass filter effect on each image constituting a video by using Adobe Premiere Pro 13.1.2. Premiere Pro has a high-pass filter for audios but it does not have a ...
user avatar
1 vote
2 answers
73 views

Video player with motion blur or frame averaging

I here would be a good place to ask, I apologize if Im mistaken. I am looking for a video player that can add motion blur to videos or that can insert an average frame in between two frames. The ...
user avatar
1 vote
0 answers
332 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 ...
user avatar
  • 11
2 votes
1 answer
642 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) ...
user avatar
  • 23
0 votes
1 answer
179 views

How to lower number of parameters passed to ffmpeg

I am processing video with FFmpeg. I am trying to add image overlays at certain times. I have command something like this: ffmpeg -i video.mp4 -i img_a.png -i img_xx.png -i some_third_image.png -i ...
user avatar
  • 111
1 vote
0 answers
243 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 '...
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 ...
user avatar
1 vote
1 answer
13 views

What do I need to take into consideration to take video of molten glass which I will later postprocess?

I want to take video of one part of the of production process of glass pressing: gob delivery. I want to assess the shape of the gob, dimensions, and position in the mold. I do not know much about ...
user avatar
0 votes
1 answer
521 views

Color leakage effects with ffmpeg blend=all_expr

I generate two test videos (the first a test pattern, the second solid red) with ffmpeg -f lavfi -i testsrc=duration=5:size=1280x720:rate=30 pattern.mp4 ffmpeg -f lavfi -i color=c=red@0.2:duration=5:...
user avatar
2 votes
0 answers
252 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 ...
user avatar
1 vote
0 answers
519 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....
user avatar
0 votes
1 answer
288 views

If I use a normal build of ffmpeg how take advantage of video acceleration for scale?

I generally use ffmpeg for encode in h264 and also resize media My common command is something like: ffmpeg -i in.mov -c:v libx264 -preset ultrafast -b:v 5000k -s:v 1280x720 out.mov I have an ...
user avatar
  • 1,404
0 votes
2 answers
244 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 ...
user avatar
1 vote
1 answer
1k views

How to overlay 2 videos using depth layers

I'm trying to overlay 2 videos which both have depth layers (e.g. how far a pixel is away from the camera) using ffmpeg filters. (I have a few hundred of those videos so I'd like to do batch job out ...
user avatar