Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 17189

FFmpeg is a free software project that produces libraries and programs for handling multimedia data. The most notable parts of FFmpeg are libavcodec, an audio/video codec library used by several other projects, libavformat, an audio/video container mux and demux library, and the ffmpeg command line program for transcoding multimedia files.

2 votes
Accepted

ffplay - Live capture video gradually lags behind

So I solved this by simply adding an audio stream instead of having "none" selected. Doing this makes -framedrop (default) work properly. I left the master clock as default as well (audio) instead o …
HDL's user avatar
  • 81
2 votes
1 answer
2k views

ffplay - Live capture video gradually lags behind

I have a Magewell capture device that I'm trying to preview with ffplay. It works great, except over time the video will become choppy and lag behind the actual live feed. Right clicking on the ffpl …
HDL's user avatar
  • 81
0 votes
1 answer
3k views

ffplay - Is there a way to display a video and spectrogram in the same output?

I'm trying to analyze a spectrogram while simultaneously checking the video, without having to switch between them. Something like this, but with the video combined in the same output: The idea is …
HDL's user avatar
  • 81
1 vote
1 answer
2k views

Delaying video overlay in ffmpeg without frame drops

When I do this, ffmpeg complains about buffer overflow and the 2nd video drops tons of frames. How do I prevent the frame drops? … ffmpeg -y -loop 1 -i ~/Desktop/FP2.tiff -i ~/Desktop/fp.mov -itsoffset 2 -i ~/Desktop/fp.mov -lavfi \ "[0:v]fps=60[bg]; \ [bg][1:v]overlay=10:(main_h/2)-(overlay_h/2):format=rgb[v1]; \ [v1][2:v]overlay …
HDL's user avatar
  • 81
0 votes
1 answer
904 views

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

ffmpeg -y -framerate 60 -loop 1 -ss 0 -t 21 -i ~/Desktop/FP2.tiff -ss 0 -t 21 -i ~/Desktop/fp.mov -lavfi \ "[0]fade=t=in:st=0:d=1,fade=t=out:st=20:d=1,trim=end=21[bg]; \ [1:v]setpts=(PTS-STARTPTS)+1/TB …
HDL's user avatar
  • 81
1 vote
2 answers
290 views

Can ffmpeg downsample pixels perfectly?

I've tried all the swsflags options and figure the answer is no, but it can't hurt to ask just in case. For example: downsample from 1920x1080 to 960x540, then upsample back to 1080 using the neighbo …
HDL's user avatar
  • 81
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 ins …
HDL's user avatar
  • 81
0 votes
1 answer
612 views

Can you encode intra-frame videos from inter-frame without loss?

I'm aware of the differences between intra and inter, but I'm not the most savvy about reencoding them after the fact. Is encoding with intra from an inter-coded video the same as if you originally u …
HDL's user avatar
  • 81