Questions tagged [filter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k 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 ...
0 votes
0 answers
17 views

Integration of FFMPEG filters into Adobe Premiere?

As Premiere allows to integrate third party plug-ins I wonder if there is an integration of free filters used in ffmpeg / libavfilter?
0 votes
0 answers
28 views

New ffmpeg build will not concat, gives no error message

At the risk of this being a bug, and not something I'm doing wrong, I'm posting here mostly because I don't even know where to report ffmpeg bugs. It looks like the newest version of ffmpeg ffmpeg ...
0 votes
1 answer
269 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?
1 vote
1 answer
325 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 '...
1 vote
1 answer
744 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 ...
1 vote
3 answers
366 views

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

I have a video file and I 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 ...
0 votes
0 answers
18 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: ...
1 vote
0 answers
285 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 -...
1 vote
0 answers
149 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 ...
0 votes
0 answers
94 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 ...
0 votes
1 answer
120 views

A video tool or ffmpeg filter to fix slightly shaky films from the 70s and 80s?

Lots of high-grossing older films including some that were released in the 90s have an almost imperceptible shake that is maybe due to the conversion from film to digital. You can only see it in ...
1 vote
0 answers
11 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-(...
7 votes
1 answer
13k views

Removing / Overlaying logo on mp4 video format with ffmpeg on linux

I'm trying to remove a logo from an .MP4 video format with ffmpeg on a Linux machine without re-encoding (for preserving the same quality) with the following command: ffmpeg -i input.mp4 -vf delogo=x=...
1 vote
2 answers
215 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 ...
3 votes
1 answer
3k views

Add semi-transparent box around subtitle

Hey guys how can I add box around subtitle like on picture with ffmpeg here is mi current command ffmpeg -i movie.mkv -strict -2 -vf "subtitles=subtitle.srt:force_style='FontName=ubuntu,fontsize=30',...
0 votes
0 answers
197 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 ...
1 vote
1 answer
316 views

Cryptic FFmpeg + Python error: "Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_crop_1"

I want to use ffmpeg with Python in a Jupyter notebook to create a video from 2000 PNG image files generated by matplotlib. I'm on a Windows 7 machine. The frames are very narrow and high, so I'd like ...
0 votes
0 answers
893 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 ...
0 votes
0 answers
126 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 ...
-1 votes
1 answer
357 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, ...
0 votes
1 answer
250 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 ...
0 votes
1 answer
87 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
1 vote
0 answers
704 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 ...
0 votes
0 answers
33 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 ...
0 votes
1 answer
214 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 ...
1 vote
0 answers
128 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 ...
1 vote
1 answer
1k 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]...
1 vote
2 answers
215 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 ...
1 vote
4 answers
12k views

Looking to intentionally distort video

I am looking to intentionally distort a video file. Filters and effects are not really doing it for me, they are simply too generic or predictable over the course of a 2-3 minute video. I am looking ...
1 vote
2 answers
555 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 ...
3 votes
1 answer
5k views

FFMPEG: Why does the concat filter cause loss of a/v sync/lipsync?

I am doing some tests with the FFMPEG concat filter (DASH experiments), and am seeing that I start losing lipsync after a few concatenations. Is it expected that one can concatenate independent MP4-...
2 votes
1 answer
959 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) ...
0 votes
0 answers
890 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. ...
1 vote
0 answers
17 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 - ...
0 votes
0 answers
396 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 ...
2 votes
5 answers
33k views

Fastest way to add a timestamp to a video

Is there any script or application that would add a timestamp to a video (avi or mov)? Does for example mencoder support this function ? I'm using it to join avi files together. I would be happy for ...
0 votes
2 answers
1k 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 ...
2 votes
0 answers
289 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 ...
-1 votes
2 answers
353 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.
34 votes
1 answer
103k views

How to deinterlacing with ffmpeg?

I have the following VOB file: → ffmpeg -i input.vob output: ffmpeg version N-77455-g4707497 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04) ...
0 votes
0 answers
914 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, ...
2 votes
1 answer
2k 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 ...
0 votes
1 answer
527 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/...
0 votes
1 answer
499 views

blend filter and color

Trying to debug blending images over video led to this observation: ffmpeg -i https://lh3.googleusercontent.com/vt1VzlKCpjJjxRGBd3oAVgOHau22m2257fDBaW3KfHsNbhOcw1--...
0 votes
0 answers
730 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: ...
1 vote
1 answer
2k 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 ...
3 votes
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/...
1 vote
1 answer
32 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 ...
2 votes
2 answers
7k views

What -preset medium stand for in ffmpeg

Here i found -preset medium I was wondering for what it stand for is it for video quality ?