Questions tagged [filter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
Simon Jaquemet's user avatar
1 vote
0 answers
590 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....
John Contoso's user avatar
0 votes
1 answer
322 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 ...
user3450548's user avatar
  • 1,504
0 votes
2 answers
314 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 ...
Krisztián Balla's user avatar
1 vote
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
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 ...
Georgi Stoyanov's user avatar
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 ...
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
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 ...
Hug's user avatar
  • 143
0 votes
1 answer
3k 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 ...
Nick Weeden'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
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 ...
arminb's user avatar
  • 173
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 ...
TedGrassman's user avatar
0 votes
1 answer
4k 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=...
Wayne Chen's user avatar
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:...
Wayne Chen's user avatar
0 votes
1 answer
1k 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 ...
HDL's user avatar
  • 81
0 votes
1 answer
81 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 ...
msouth's user avatar
  • 103
1 vote
1 answer
837 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 -...
sjngm's user avatar
  • 113
0 votes
1 answer
13k 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 ...
Macindows's user avatar
  • 225
0 votes
1 answer
247 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 ...
user75648's user avatar
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 ?
Slobodan Vidovic'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
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, ...
Slobodan Vidovic's user avatar
0 votes
1 answer
1k views

mplayer/ffmpeg How to set caca filter's output size

I'm curious how different clips would look like in ASCII art. So I'm trying caca. To just play, I use mplayer -vo caca $FILE. But that creates an output of quite small size. How can I change that ...
Ondra Žižka's user avatar
1 vote
0 answers
770 views

Is it possible to increase video gamma or brightness at container level?

I would like to know if is it possible to increase the brightness or gamma of a video without full re-encoding. For example some versions of ffmpeg allow certain special bitstream filters described ...
Konstantin's user avatar
0 votes
1 answer
835 views

How do I remove excess video duration in ffmpeg when using lavfi?

My goal is to take clips that last over 40 seconds and overlay them on a background, then trim the total time once the clips and background fade out. It works great, except the seeking goes up to 24 ...
HDL's user avatar
  • 81
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 ...
Thomas's user avatar
  • 33
1 vote
1 answer
1k views

Delaying video overlay in ffmpeg without frame drops

I'm trying to play 2 videos overlaid against a static background, with the 2nd video (and its audio) delayed by a couple seconds. When I do this, ffmpeg complains about buffer overflow and the 2nd ...
HDL's user avatar
  • 81
0 votes
1 answer
774 views

FFmpeg: afade plugin, how to specify time 1:55 if colon separates filter parameters? Escape

I want to make a fade out in a video, using the afade audio filter. Here's my command: ffmpeg -i VIDEO06.mp4 -c:v copy -af afade=t=out:curve=hsin:st=00:0:30:duration=00:00:10 VIDEO06-faded.mp4 But ...
Ondra Žižka's user avatar
-1 votes
2 answers
29 views

What's the mac software or plugin for filters like those?

I was wondering what software do the professionals use to apply filters like THIS. Modern series like the ones Netflix is making are another example that use those kind of nice movie filters. So if ...
Henrique Nader's user avatar
1 vote
0 answers
695 views

If I limit the color spectrum of a video, will it compress to a smaller file size?

I know that in exporting images, if I use an indexed color format when I save (such as GIF or PNG with indexed color mode), I can dramatically reduce the file size of the resulting export. My ...
David Rhoderick's user avatar
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 \ -...
awidgery's user avatar
  • 217
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
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) ...
ᴜsᴇʀ's user avatar
  • 413
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 ...
drukepple's user avatar
  • 123
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
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
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=...
SilverShadow's user avatar
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
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
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 ...
romeovs's user avatar
  • 151
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 ...
Mike Pennington's user avatar
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 ...
MonkeyWidget's user avatar
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 ...
Grzegorz Adam Hankiewicz's user avatar
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) ...
Nuno Estanqueiro'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
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
0 votes
1 answer
106 views

"A Must have" ND filter stops for filming with Canon 5D Mk2?

The question is - which stops (ND 0.6, ND 0.9.....) are the most frequently used? I am currently choosing Tiffen ones and since there are plenty of different stops to choose from and I have nearly no ...
Mironius's user avatar
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
0 votes
2 answers
4k views

Are there any red filters that fit an SJ4000

Are there any red filters to fit the SJ4000 camera? Is is possible to use one compatible with a gopro hero 3?
connersz's user avatar
  • 167