Questions tagged [filter]
The filter tag has no usage guidance.
115
questions
31
votes
1
answer
94k
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)
...
13
votes
1
answer
15k
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
...
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 ...
8
votes
2
answers
367
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, ...
7
votes
1
answer
12k
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=...
7
votes
2
answers
495
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 ...
6
votes
1
answer
4k
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 \
-...
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 ...
5
votes
1
answer
522
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 ...
5
votes
1
answer
218
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 ...
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 ...
5
votes
2
answers
157
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 ...
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 ...
4
votes
1
answer
259
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 ...
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 ...
4
votes
1
answer
2k
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 ...
4
votes
1
answer
15k
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 ...
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-...
3
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 ...
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',...
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)....
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, ...
3
votes
1
answer
2k
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 ...
2
votes
2
answers
17k
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:...
2
votes
1
answer
116
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 ...
2
votes
2
answers
6k
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
2
answers
9k
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, ...
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
-...
2
votes
5
answers
31k
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 ...
2
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/...
2
votes
1
answer
803
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)
...
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 ...
2
votes
1
answer
6k
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 ...
2
votes
0
answers
217
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 ...
2
votes
0
answers
297
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
2
answers
56
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 ...
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 ...
1
vote
2
answers
425
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 ...
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. ...
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 ...
1
vote
1
answer
202
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 ...
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
1
answer
1k
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 ...
1
vote
1
answer
30
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
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 ...
1
vote
1
answer
428
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
1
answer
764
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
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 ...
1
vote
1
answer
13k
views
"Video Filter missing" in Adobe Premiere
Adobe Premiere 5.5
OSX
I have a project I've been working on for a while, which has become huge
It has some Adobe After Effects embedded segments in it, as "Dynamic Links."
At some point I had a ...
1
vote
1
answer
2k
views
ffmpeg filter_complex problem
I'm trying to achieve complex effect with ffmpeg, but I seem to be failing the syntax of -filter_complex somewhere.
The goal is to capture part of the screen (with UScreenCapture direct show device) ...