Questions tagged [filter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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) ...
ᴜsᴇʀ's user avatar
  • 443
13 votes
1 answer
16k 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
8 votes
2 answers
372 views

Why doesn't an FFT pitch filter fully 'mute' the selected pitch range?

While editing a song, I tried to cut out the bass drum by applying a high-pass FFT filter, i.e. filtering out the low pitch of the bass drum. This resulted in the drum sound being severely quieted, ...
Matthew Read's user avatar
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=...
SilverShadow's user avatar
7 votes
2 answers
502 views

Convolution matrix for converting 1080i to DVD?

It's pretty common to shoot in HD but deliver on DVD. This requires a reduction in resolution from 1920x1080 to 720x480 (for NTSC). If you just interpolate and throw away pixels, you get bad aliasing ...
gauss256's user avatar
  • 256
6 votes
1 answer
5k views

ffmpeg: can I crop using vf while also using filter_complex at the same time?

I have an ffmpeg command using -vf to square crop a video: ffmpeg -i input.mp4 -vf \ "crop='if(gte(iw,ih),ih,iw):if(gte(ih,iw),iw,ih)', scale=720x720" \ -an -c:v libx264 -profile:v high -level 4.1 \ -...
awidgery's user avatar
  • 217
5 votes
2 answers
1k views

How to achieve "Acid Burn" saturation?

The TV show 'Utopia' has become renowned for its stylized visuals, including a type of saturation that is frequently described by reviews as "Acid Burned"... Director Marc Munden, who shot the ...
John Smith Optional's user avatar
5 votes
1 answer
6k 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 ...
TedGrassman's user avatar
5 votes
1 answer
530 views

Search mpeg / avi frames in linux

I might have an unusual problem for this site; among other duties, I manage the wireless network for a large corporate campus. As part of an upgrade to our wireless access-points, I used a metal ...
Mike Pennington's user avatar
5 votes
1 answer
244 views

Add noise to video while maintaining compressibility

I'm creating a promotion video that has to be uploaded to YouTube and Vimeo. In post-production (using Final Cut), I've added a noise for aesthetic purposes. This noise looks really bad on YouTube ...
romeovs's user avatar
  • 151
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
5 votes
2 answers
159 views

How can I accurately immitate this Picasa filter with Premiere's color correction filters?

I'm trying to color-correct a video I'm working on. This is an example frame from the footage: Since I'm a newbie and pretty clueless about good-looking color correction, I've tried playing around ...
Roy's user avatar
  • 307
4 votes
6 answers
10k views

How do I filter a voice recording to sound like a NES game sample?

The style that I am shooting for can be heard on this video: http://www.youtube.com/watch?v=nZlPiehYpVM at 2:18 ("Blades of Steel") I have tried playing with equalization, hi-pass/low-pass, and ...
Jake's user avatar
  • 141
4 votes
1 answer
285 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 ...
arminb's user avatar
  • 173
4 votes
1 answer
14k views

FFmpeg overlaying and blending videos

I am trying to use FFmpeg to overlay one video on top of the other using an additive blend. One video is the actual video I want to transcode, the other is a ~10 second long video I want to put into ...
Manny's user avatar
  • 211
4 votes
1 answer
3k 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
4 votes
1 answer
17k views

Can I get Handbrake to apply additional filters such as brightness/contrast?

I have some scripts which pass video into Handbrake to transcode it for the web. What's the easiest way to apply additional filters for things like brightness/contrast? (ie. things not covered by the ...
Simon East's user avatar
3 votes
2 answers
18k 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
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-...
Mark Gerolimatos's user avatar
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',...
Slobodan Vidovic's user avatar
3 votes
2 answers
5k views

FFMPEG duplicates the first frame when encoding

Using ffprobe shows that both videos have the same framecount, still if I extract the frames as images the compressed one has an extra frame at the beginning (which is just the duplicated first frame)....
StepTNT's user avatar
  • 133
3 votes
2 answers
76 views

How to check video, AB test, on different screens: balancing colors, etc

Is there a standard way of checking a render as it would be seen on different screens (iPads, monitors, tvs, whatever) for colors etc.. Maybe AB/Testing software? (Wanted to add the tag ab-testing, ...
Yves Schelpe's user avatar
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/...
David Tran's user avatar
3 votes
1 answer
3k views

Stack images with "hstack"-filter from video or image sequence in ffmpeg

Is it possible to input a video and extract images every second while simultaneously stack them horizontally or vertically with the "hstack" filter to create one jpg image? The only way I can figure ...
Thomas's user avatar
  • 33
2 votes
1 answer
124 views

White Balance/ Filters

I have a silly question: Do I have to the WB before or after choosing a Color filter? If I do it after, then the camera will "see" white and the filter wouldn't make sense. If I do it before, why just ...
user17252's user avatar
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 ?
Slobodan Vidovic's user avatar
2 votes
2 answers
10k views

"ffmpeg" set fontsize and font

Im trying to set font and font size but i can use only one of the filters not both here is mine command ffmpeg -i movie.avi -strict -2 -vf subtitles=subtile.srt:force_style='FontName=ubuntu, ...
Slobodan Vidovic's user avatar
2 votes
1 answer
5k views

ffmpeg concat with or without audio

I'm splitting and merging a single video clip using this ffmpeg command: -ss 0 -t 1 -i C:\source.mp4 -ss 3 -t 1 -i C:\source.mp4 -ss 6 -t 1 -i C:\source.mp4 -ss 9 -t 1 -i C:\source.mp4 -...
Nooneelse's user avatar
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 ...
justSaid's user avatar
  • 121
2 votes
1 answer
958 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
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 ...
Pingger Shikkoken's user avatar
2 votes
1 answer
2k 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 ...
USIKPA's user avatar
  • 21
2 votes
1 answer
7k views

ffmpeg: pillarbox 4:3 to 16:9

I'm confusing myself over how the video filters work, particularly how they work together, I think. I have two MKVs, pulled from DVD, that are respectively 16:9 and 4:3. What I would like to do is ...
drukepple's user avatar
  • 123
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 ...
Adam Honeybell's user avatar
2 votes
0 answers
347 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
2 answers
59 views

Which ND filter should I use?

I have a Tiffen variable ND filter. I was wondering if the quality is good enough for video, since I'm pretty new to this. I've heard people using other filters but they are way too expensive for me ...
zzzbbx's user avatar
  • 309
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 ...
Alex's user avatar
  • 41
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
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 ...
Cyxo's user avatar
  • 145
1 vote
1 answer
1k views

Accurate audio selection

How do I select the audio corresponding to a set of filter-selected videoframes? E.g. at the moment I am sampling 1 in every 100 frames of a video (running at 15fps) using the FFMpeg select filter. ...
jiggunjer's user avatar
  • 177
1 vote
1 answer
3k views

Kung Fury VHS effect

I hope everybody seen this amazing trailer of upcoming Swedish masterpiece: FULL HD TRAILER So, I wonder, how to achieve this cool video effect. Please, pay attention on the edges: The image some ...
orkenstein's user avatar
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 ...
mattze_frisch's user avatar
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]...
Estatistics's user avatar
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 ...
gman's user avatar
  • 153
1 vote
1 answer
14 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 ...
Ricardo Magallanes's user avatar
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 ...
Krisztián Balla's user avatar
1 vote
1 answer
438 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 ...
Georgi Stoyanov's user avatar
1 vote
1 answer
813 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 ...
user10024395's user avatar
1 vote
4 answers
4k 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 ...
AJudge's user avatar
  • 11