Questions tagged [filter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
36 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 ...
0
votes
2answers
35 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.
0
votes
1answer
49 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 ...
0
votes
1answer
104 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
votes
1answer
18 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
0answers
38 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, ...
0
votes
0answers
37 views

How do you use gamma_weight?

I'm trying to convert HEVCbt2020 clips into HEVCbt709 with ffmpeg, and I've made my own filters to do that. -vf zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,...
1
vote
0answers
50 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 -...
0
votes
0answers
79 views

perspective correction example

I have some videos taken of a display, with the camera not perfectly oriented, so that the result shows a strong trapezoidal effect. I know that there is a perspective filter in ffmpeg https://ffmpeg....
0
votes
1answer
127 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
1answer
28 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
0answers
167 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: ...
0
votes
1answer
101 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 ...
0
votes
1answer
447 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
1answer
34 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
1answer
23 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 ...
1
vote
3answers
459 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 ...
0
votes
1answer
79 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 ...
0
votes
1answer
467 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 ...
0
votes
2answers
494 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 ...
0
votes
1answer
37 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 ...
0
votes
0answers
165 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 ...
2
votes
1answer
298 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
1answer
90 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 ...
1
vote
0answers
190 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
0answers
2k 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 ...
1
vote
1answer
12 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 ...
0
votes
1answer
340 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:...
2
votes
0answers
67 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 ...
1
vote
0answers
298 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....
0
votes
1answer
185 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 ...
0
votes
2answers
121 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 ...
1
vote
1answer
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 ...
1
vote
1answer
294 views

FFMPEG frame extraction

I have couple of video files with sudden transition from black frame to blue frame, both frames have burned-in frame numbers, I would like to use ffmpeg to define the timestamp of this transition in ...
1
vote
1answer
509 views

Why when I overlay a logo on top of the video, the white color part of the logo is transparent?

I overlay using the following command: ffmpeg -i video.mp4 -i logo.png -filter_complex "[1]geq=r='r(X,Y)':a=0.1[a];[0][a] overlay=x='if(gte(t,2), -w+(t-2)*20, NAN)':y=0" out.mp4 I tried adjusting ...
1
vote
4answers
2k views

Premiere: Make music sound like it's coming from huge speakers?

The problem with my clip: It was recorded on a fashion show and my recording for some reason stopped, but I quickly restarted it, so approximately 2 seconds are missing. On the visuals, not much was ...
2
votes
1answer
1k 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 ...
0
votes
1answer
1k views

FFMPEG, Extract first frame and hold for 5 seconds

I'm trying to overlay a 15 second video transition on the beginning of an image sequence (png sequence with an alpha to reveal the image below), which I can do fine with the overlay filter. But I ...
2
votes
1answer
1k views

How to use ffmpeg to fade in/out a veriable frame rate video clip with unknown duration

I have been looking for a way to use ffmpeg to downscale some MPEG-4 (Base Media / Version 2) video files recorded with a variable frame rate, adding fade in/out effects at the head and tail of each ...
3
votes
1answer
123 views

Correct “stripes” in VHS record

Recently I recorded my old VHS tapes to my hard disk. There is one thing bothering me concerning the video quality. Whenever the camera moves, the motion produces visible "stripes" in the picture: It ...
1
vote
1answer
4k views

How to concatenate multiple videos with fades (from- and to-black) in-between?

I recently had the following problem: I wanted, using ffmpeg, to concatenate several videos (with audio), adding black clips (with null audio) between them , and lastly fade the videos from those ...
0
votes
1answer
2k views

ffmpeg error “Error initializing complex filters”

I use ffmpeg like this: ffmpeg -i MyOwnSwordsman01.avi -filter_complex "drawtext=fontfile=c:/Windows/Fonts/simsun.ttc: text='第01回 %{pts\:gmtime\:0\:%M:%S}/43:20': x=5: y=466: fontsize=16: fontcolor=...
1
vote
2answers
9k 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:...
0
votes
1answer
629 views

ffmpeg fade to specific color values over time

I have a background image that I'm trying to fade to specific color values using this filter: lutrgb=enable='gte(t,3)':'r=0.3*val:g=0.3*val:b=0.3*val' This almost works, but it changes the values ...
0
votes
1answer
47 views

Is there an inexpensive way to decompose a video into frames and apply a snapchat-like filter to each frame?

I have a friend who has been taking stop-motion pictures, applying a snapchat "art" filter to each picture, then composing them into video (with pretty awesome results). He is interested in ...
1
vote
1answer
612 views

ffmpeg: concat Results in “Buffer queue overflow” and Short Audio

I have this video file that at one point introduces an async of ~1 second. So I tried to make it work by duplicating a short segment at that point as it's silent there: $ ffmpeg -i DFW.mp4.mkv -...
0
votes
1answer
5k views

How to improve quality of a WebCam video?

So I started making videos for my vlog on YouTube. It's still a new venture and I'm aware that I need to get myself a good video camera for high quality recordings. But for now all I have is my ...
0
votes
1answer
220 views

How to load 3D LUTs on Dslr?

There are few film emulation LUTs (LookUp Tables) that I would like to use on my DSLR in real-time (live) because shooting live with LUT applied gives very accurate results and cuts down time on post ...
1
vote
2answers
4k 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 ?
2
votes
1answer
2k 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',...