ChanServ changed the topic of #ffmpeg to: Welcome to the FFmpeg USER support channel | Development channel: #ffmpeg-devel | Bug reports: https://ffmpeg.org/bugreports.html | Wiki: https://trac.ffmpeg.org/ | This channel is publically logged | FFmpeg 7.1.1 is released
abdu5 has joined #ffmpeg
flotwig has quit [Read error: Connection reset by peer]
abdu98 has quit [Ping timeout: 240 seconds]
flotwig has joined #ffmpeg
flotwig has joined #ffmpeg
flotwig has quit [Read error: Connection reset by peer]
abdu5 has quit [Ping timeout: 240 seconds]
flotwig has joined #ffmpeg
YUiNA has joined #ffmpeg
vincejv has quit [Remote host closed the connection]
YUiNA_ has quit [Ping timeout: 268 seconds]
System_Error has joined #ffmpeg
YUiNA_ has joined #ffmpeg
YUiNA has quit [Ping timeout: 265 seconds]
minimal has quit [Quit: Leaving]
MyTDT_ has joined #ffmpeg
MyTDT_ has quit [Ping timeout: 268 seconds]
vincejv has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
\\Mr_C\\ has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
XZDX has joined #ffmpeg
XZDX has quit [Changing host]
XZDX has joined #ffmpeg
maxim_d33 has quit [Ping timeout: 265 seconds]
^Neo has quit [Ping timeout: 252 seconds]
maxim_d33 has joined #ffmpeg
Shuriko has quit [Read error: Connection reset by peer]
cantelope has quit [Quit: Connection closed for inactivity]
MyTDT has joined #ffmpeg
MyTDT has quit [Ping timeout: 245 seconds]
jmcantrell has quit [Quit: WeeChat 4.6.0]
jmcantrell_ is now known as jmcantrell
Vonter has quit [Ping timeout: 245 seconds]
Vonter has joined #ffmpeg
user_oreloznog has joined #ffmpeg
aaabbb has quit [Ping timeout: 260 seconds]
JanC has joined #ffmpeg
JanC has quit [Killed (tantalum.libera.chat (Nickname regained by services))]
System_Error has quit [Remote host closed the connection]
Vonter has quit [Ping timeout: 268 seconds]
Vonter has joined #ffmpeg
fling has quit [Remote host closed the connection]
fling has joined #ffmpeg
aaabbb has joined #ffmpeg
System_Error has joined #ffmpeg
emmanuelux has quit [Quit: au revoir]
FH_thecat has quit [Quit: Leaving]
FH_thecat has joined #ffmpeg
de-facto has quit [Remote host closed the connection]
de-facto has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 260 seconds]
Vonter has quit [Ping timeout: 252 seconds]
Vonter has joined #ffmpeg
<linkmauve>
Oh uh, I sent some patches to the mailing list after registering, two weeks ago, but it seems the archive doesn’t contain them. Could someone check in the moderation queue (if there is any) for the messages 20250322161301.1453186-1-linkmauve@linkmauve.fr and 20250322161504.1453246-1-linkmauve@linkmauve.fr please?
<linkmauve>
I was wondering why they got ignored, but that’s probably why. ^^'
<JEEB>
probably more visibility on -devel for this :)
<linkmauve>
Oops, forgot there were two channels.
xx has joined #ffmpeg
emanuele6 has quit [Quit: WeeChat 4.4.3]
nitrix has joined #ffmpeg
JanC has joined #ffmpeg
JanC has quit [Killed (iridium.libera.chat (Nickname regained by services))]
Vonter has quit [Ping timeout: 246 seconds]
Vonter has joined #ffmpeg
rsx has joined #ffmpeg
xobust has joined #ffmpeg
xobust has quit [Ping timeout: 240 seconds]
Guest57 has joined #ffmpeg
Guest27 has joined #ffmpeg
Guest27 has left #ffmpeg [#ffmpeg]
Guest57 has quit [Quit: Client closed]
rsx has quit [Ping timeout: 244 seconds]
five618480339176 has quit [Remote host closed the connection]
five618480339176 has joined #ffmpeg
usagi_mimi has quit [Quit: WeeChat 4.5.2]
SuicideShow has quit [Ping timeout: 260 seconds]
SuicideShow has joined #ffmpeg
Sketch has quit [Remote host closed the connection]
Sketch has joined #ffmpeg
Shine_ has joined #ffmpeg
kasper93 has joined #ffmpeg
kasper93 has quit [Read error: Connection reset by peer]
kasper93 has joined #ffmpeg
paulk has joined #ffmpeg
paulk has quit [Changing host]
paulk has joined #ffmpeg
emanuele6 has joined #ffmpeg
xx has quit [Remote host closed the connection]
xx has joined #ffmpeg
moxie has quit [Quit: WeeChat 3.8]
moxie has joined #ffmpeg
user_oreloznog has quit [Ping timeout: 248 seconds]
user_oreloznog has joined #ffmpeg
xx has quit [Killed (NickServ (Forcing logout xx -> xx))]
xx has joined #ffmpeg
emanuele6 has quit [Quit: x_x]
^Neo has joined #ffmpeg
^Neo has quit [Changing host]
^Neo has joined #ffmpeg
Blacker47 has joined #ffmpeg
lavaball has joined #ffmpeg
MoC has joined #ffmpeg
tranzistor has joined #ffmpeg
rsx has joined #ffmpeg
moxie has quit [Quit: WeeChat 3.8]
moxie has joined #ffmpeg
usagi_mimi has joined #ffmpeg
moxie has quit [Quit: WeeChat 3.8]
moxie has joined #ffmpeg
moxie has quit [Quit: WeeChat 4.6.0]
moxie has joined #ffmpeg
\\Mr_C\\ has joined #ffmpeg
moxie has quit [Remote host closed the connection]
moxie has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
moxie has quit [Quit: WeeChat 4.6.0]
moxie has joined #ffmpeg
marcj has quit [Ping timeout: 268 seconds]
marcj has joined #ffmpeg
MyTDT has joined #ffmpeg
MyTDT has quit [Ping timeout: 276 seconds]
moxie has quit [Quit: WeeChat 4.6.0]
moxie has joined #ffmpeg
moxie has quit [Remote host closed the connection]
moxie has joined #ffmpeg
f0x_3033691271 has joined #ffmpeg
f0x_3033691271 has quit [Read error: Connection reset by peer]
f0x_3033691271 has joined #ffmpeg
yans has joined #ffmpeg
f0x_3033691271 has quit [Read error: Connection reset by peer]
f0x_3033691271 has joined #ffmpeg
moxie has quit [Remote host closed the connection]
moxie has quit [Remote host closed the connection]
Offspring has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
moxie has joined #ffmpeg
f0x_3033691271 has quit [Ping timeout: 252 seconds]
moxie has quit [Client Quit]
moxie has joined #ffmpeg
f0x_3033691271 has joined #ffmpeg
f0x_3033691271 has quit [Read error: Connection reset by peer]
f0x_3033691271 has joined #ffmpeg
usagi_mimi has quit [Quit: WeeChat 4.5.2]
__jmcantrell__ has joined #ffmpeg
usagi_mimi has joined #ffmpeg
usagi_mimi has quit [Client Quit]
kshitijrajgude has joined #ffmpeg
Polochon_street has joined #ffmpeg
gebra has quit [Remote host closed the connection]
Polochon_street_ has quit [Ping timeout: 252 seconds]
kshitijrajgude is now known as newbie
gebra has joined #ffmpeg
MyTDT has joined #ffmpeg
f0x_3033691271 has quit [Read error: Connection reset by peer]
MyTDT has quit [Ping timeout: 244 seconds]
f0x_3033691271 has joined #ffmpeg
rsx has quit [Quit: rsx]
yans has quit [Remote host closed the connection]
f0x_3033691271 has quit [Read error: Connection reset by peer]
f0x_3033691271 has joined #ffmpeg
lavaball has joined #ffmpeg
usagi_mimi has joined #ffmpeg
damian101 has joined #ffmpeg
derpydoo has joined #ffmpeg
f0x_3033691271 has quit [Read error: Connection reset by peer]
rvalue has quit [Read error: Connection reset by peer]
vlm has joined #ffmpeg
f0x_3033691271 has joined #ffmpeg
rvalue has joined #ffmpeg
JanC is now known as Guest8514
JanC has joined #ffmpeg
Guest8514 has quit [Killed (zirconium.libera.chat (Nickname regained by services))]
fling has quit [Ping timeout: 264 seconds]
flyingtoaster has joined #ffmpeg
<flyingtoaster>
Hi everyone. I'm streaming video from a webcam on Windows using the C API. Everything is working well, however it seems to read the frames into an internal buffer. In our case, we're performing image operations on the input which could take some time. This causes FFmpeg to spew out warnings about buffers being filled, and the latency is horrible.
<flyingtoaster>
Is there a way to tell FFmpeg to simply drop old frames that haven't been consumed yet? The only thing I could think of would be to set the size of the buffer to be only large enough to fit one frame.
<flyingtoaster>
The other option would be to have a separate thread that consumes every frame as it comes in and copies the raster to a single variable that is overwritten every frame. The main thread would then just grab whatever raster is stored in that variable.
<flyingtoaster>
There is AVIO_FLAG_NONBLOCK, but I'm not sure if that applies to things such as webcams.
<BtbN>
If you're doing slow processing, you absolutely want to move that to a different thread
<BtbN>
ffmpegs API is inherently single threaded and blocking
<flyingtoaster>
I see. So setting rtbufsize to something small isn't a great choice then?
<BtbN>
Not regularily polling the driver could lead to all kinda of issues
lolok has joined #ffmpeg
<BtbN>
You could also just configure it to a really low framerate. But not all devices let you do that.
<BtbN>
If you put your processing into threads, you can probably even do it in real-time, since you can do it many times in parallel
<flyingtoaster>
The processing is actually happening on the GPU, but even then, it takes quite a while.
<BtbN>
what are you doing oO
<flyingtoaster>
Image compositing. Some frames can take minutes to process.
lavaball has quit [Remote host closed the connection]
<flyingtoaster>
I use FFmpeg to load in videos for this task, but some users also wanted to use a live source.
f0x_3033691271 has quit [Read error: Connection reset by peer]
<flyingtoaster>
For instance, they could be using a webcam feed to interact with a fluid simulation.
f0x_3033691271 has joined #ffmpeg
microlappy has joined #ffmpeg
microlappy has quit [Client Quit]
___nick___ has joined #ffmpeg
___nick___ has quit [Client Quit]
___nick___ has joined #ffmpeg
<BtbN>
one frame per x minutes isn't exactly live :D
f0x_3033691271 has quit [Read error: Connection reset by peer]
f0x_3033691271 has joined #ffmpeg
newbie is now known as atgordg
atgordg has quit [Changing host]
atgordg has joined #ffmpeg
Peetz0r has left #ffmpeg [User left]
MyTDT has joined #ffmpeg
manwithluck has joined #ffmpeg
MyTDT has quit [Ping timeout: 244 seconds]
<flyingtoaster>
Nope, but you never know what a user is going to do ;)
f0x_3033691271 has quit [Read error: Connection reset by peer]
lavaball has joined #ffmpeg
f0x_3033691271 has joined #ffmpeg
wobbol has joined #ffmpeg
Flat_ has joined #ffmpeg
Flat has quit [Read error: Connection reset by peer]
usagi_mimi has quit [Quit: WeeChat 4.5.2]
MoC has quit [Quit: Konversation terminated!]
f0x_3033691271 has quit [Read error: Connection reset by peer]
f0x_3033691271 has joined #ffmpeg
minimal has joined #ffmpeg
derpydoo has quit [Ping timeout: 276 seconds]
iive has joined #ffmpeg
flyingtoaster has quit [Quit: Client closed]
f0x_3033691271 has quit [Read error: Connection reset by peer]
f0x_3033691271 has joined #ffmpeg
Shine_ has quit [Read error: Connection reset by peer]
fling has joined #ffmpeg
f0x_3033691271 has quit [Read error: Connection reset by peer]
atgordg has quit [Ping timeout: 240 seconds]
f0x_3033691271 has joined #ffmpeg
kshitijrajgude has joined #ffmpeg
kshitijrajgude has quit [Client Quit]
atgordg has joined #ffmpeg
atgordg has quit [Changing host]
atgordg has joined #ffmpeg
atgordg is now known as kshitijrajgude
kshitijrajgude is now known as atgordg
atgordg has quit [Changing host]
atgordg has joined #ffmpeg
atgordg has quit [Quit: Client closed]
atgordg has joined #ffmpeg
fling_ has joined #ffmpeg
fling has quit [Read error: Connection reset by peer]
atgordg has quit [Changing host]
atgordg has joined #ffmpeg
f0x_3033691271 has quit [Read error: Connection reset by peer]
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
f0x_3033691271 has joined #ffmpeg
fling_ is now known as fling
atgordg has quit [Quit: Client closed]
___nick___ has quit [Ping timeout: 252 seconds]
kasper93 has quit [Read error: Connection reset by peer]
f0x_3033691271 has quit [Read error: Connection reset by peer]
kasper93 has joined #ffmpeg
f0x_3033691271 has joined #ffmpeg
user_oreloznog has quit [Read error: Connection reset by peer]
user_oreloznog has joined #ffmpeg
twelve has joined #ffmpeg
twelve has left #ffmpeg [#ffmpeg]
f0x_3033691271 has quit [Read error: Connection reset by peer]
f0x_3033691271 has joined #ffmpeg
twelve has joined #ffmpeg
twelve has quit [Remote host closed the connection]
jmcantrell is now known as Guest2956
Guest2956 has quit [Killed (zinc.libera.chat (Nickname regained by services))]