BtbN 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.0 is released
MrZeus has quit [Read error: Connection reset by peer]
MrZeus has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
xx has quit [Ping timeout: 260 seconds]
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
minimal has quit [Quit: Leaving]
<aruns> Thanks furq
lmat has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
aruns has quit [Ping timeout: 272 seconds]
nitrix has quit [Quit: ZNC 1.8.2 - https://znc.in]
nitrix has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
kuba-orlik0397 has joined #ffmpeg
Rena has quit [Ping timeout: 252 seconds]
Rena has joined #ffmpeg
lemourin has joined #ffmpeg
aphysically has joined #ffmpeg
<aphysically> haasn: hey, long time. got my hands on a windows machine finally and was sad my old libplacebo scaler wasn't working with BtbN's static gpl builds
<aphysically> something about no vkGetINstanceProcAddr function and libplacebo built without linking against this function (4090)
<aphysically> guess I'm gonna have to give up and build it myself....I was hoping maybe vulkan loader just wasn't installed or something but it looks like that's not it
<aphysically> looks like its statically built with v7.349.0
lmat has quit [Ping timeout: 252 seconds]
sgm has quit [Remote host closed the connection]
sgm has joined #ffmpeg
function1 has quit [Ping timeout: 264 seconds]
function1 has joined #ffmpeg
HarshK23 has joined #ffmpeg
Kei_N_ has joined #ffmpeg
Kei_N has quit [Ping timeout: 252 seconds]
Suchiman has quit [Quit: Connection closed for inactivity]
KDDLB has quit [Quit: The Lounge - https://thelounge.chat]
KDDLB has joined #ffmpeg
MrZeus has quit [Ping timeout: 252 seconds]
wallacer has quit [Ping timeout: 268 seconds]
wallacer has joined #ffmpeg
lucasta has quit [Remote host closed the connection]
lullerhaus has quit []
lullerhaus has joined #ffmpeg
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ffmpeg
vlm has joined #ffmpeg
jagannatharjun has joined #ffmpeg
Kei_N has joined #ffmpeg
Kei_N_ has quit [Ping timeout: 268 seconds]
AbleBacon has quit [Read error: Connection reset by peer]
iliv has quit [Ping timeout: 246 seconds]
<aphysically> oooo, looks like it works for when I'm doing libx264, so it's the windows cuda transfer that's screwing me somehow
vincejv has quit [Read error: Connection reset by peer]
lavaball has joined #ffmpeg
rv1sr has joined #ffmpeg
<aphysically> http://pastie.org/p/5VilcC0uKHFjXL5IBq3jU8/raw <- managed to cut back reproducer of what i'm doing so I can try narrowing it down
aruns has joined #ffmpeg
<aphysically> looks like it works if I change the hardware device on windows to the vulkan device and also I add disable_mutliplane=1 (found randomly on internet) lol what's going on haasn
kts has joined #ffmpeg
BUSY has quit [Ping timeout: 252 seconds]
BUSY has joined #ffmpeg
xx has joined #ffmpeg
darkapex has joined #ffmpeg
waleee has joined #ffmpeg
BUSY has quit [Ping timeout: 264 seconds]
lavaball has quit [Remote host closed the connection]
BUSY has joined #ffmpeg
coldfeet has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
rvalue- has joined #ffmpeg
rvalue has quit [Ping timeout: 268 seconds]
vampirefrog has quit [Remote host closed the connection]
rvalue- is now known as rvalue
aruns has quit [Ping timeout: 264 seconds]
Nixkernal has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
Livio has joined #ffmpeg
coldfeet has joined #ffmpeg
<BtbN> Use latest master, not some old release.
aruns has joined #ffmpeg
Tinos has joined #ffmpeg
waleee has quit [Ping timeout: 246 seconds]
HerbY_NL has joined #ffmpeg
<echelon> hi, can you use -var_stream_map more than once?
<echelon> i'm having trouble wrapping the args in double quotes
<echelon> it interprets the ending quote as literal
<echelon> -var_stream_map "v:0,name:small v:1,name:full" returns: Error opening output file v:1,name:full".
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
iliv has joined #ffmpeg
thomas_D8 has quit [Quit: Ping timeout (120 seconds)]
thomas_D8 has joined #ffmpeg
Livio has quit [Ping timeout: 268 seconds]
HerbY_NL has quit [Ping timeout: 252 seconds]
Dagger has quit [Ping timeout: 256 seconds]
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
Dagger has joined #ffmpeg
kts has quit [Quit: Konversation terminated!]
kts has joined #ffmpeg
KaitoDaumoto has joined #ffmpeg
HarshK23 has quit [Quit: Connection closed for inactivity]
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
Some_Person has quit [Quit: ZNC 1.8.2 - https://znc.in]
Some_Person has joined #ffmpeg
kts has quit [Quit: Konversation terminated!]
lavaball has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
Vonter has quit [Ping timeout: 256 seconds]
vincejv has joined #ffmpeg
Vonter has joined #ffmpeg
vampirefrog has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
BUSY has quit [Ping timeout: 240 seconds]
BUSY has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
minimal has joined #ffmpeg
sgm has quit [Quit: sgm]
sgm has joined #ffmpeg
sgm has quit [Remote host closed the connection]
sgm has joined #ffmpeg
dreamon has joined #ffmpeg
dreamon has quit [Client Quit]
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
ttys000 has quit [Read error: Connection reset by peer]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
waleee has joined #ffmpeg
sentriz has quit [Ping timeout: 246 seconds]
sentriz has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
Livio has joined #ffmpeg
<ta71> I have a hdmi capture card and I am on m1 mac. how do i capture so that i break up the entire thing in chunks (video and audio) and compress later after all the capture is done?
Suchiman has joined #ffmpeg
Livio has quit [Ping timeout: 252 seconds]
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
Livio has joined #ffmpeg
<ePirat> ta71, just do two steps, capture with raw-ish codecs and then later re-encode to whatever you actually want
<ePirat> but you will have huge file sizes
<ePirat> something like: ffmpeg -i <input> -c:v ffvhuff -c:a pcm_s16le output.mkv
anon8697 has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
meltq has quit [Quit: Connection closed for inactivity]
lmat has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
elvis_a_presley has quit [Quit: smoke-bomb ; grapple-hook]
elvis_a_presley has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
lavaball has joined #ffmpeg
lmat has quit [Ping timeout: 255 seconds]
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
waleee has quit [Ping timeout: 268 seconds]
ManDay has joined #ffmpeg
<ManDay> Good evening, is there a way to transform a video V into a PIP view: Start off with V in full view and then shrink it into a defined subarea in N seconds?
<ManDay> Or is ffmpeg not designed for time dependend trafos?
mccobsta has quit [Quit: The Lounge - https://thelounge.chat]
mccobsta has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
lmat has joined #ffmpeg
Dagger has quit [Quit: Quit]
Dagger has joined #ffmpeg
mrelcee has quit [Quit: I want Waffles!]
treefrob has joined #ffmpeg
mrelcee has joined #ffmpeg
beaver has quit [Remote host closed the connection]
beaver has joined #ffmpeg
Dagger has quit [Quit: Quit]
Dagger has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
Dagger has quit [Quit: Quit]
Dagger has joined #ffmpeg
tomaw has quit [Remote host closed the connection]
xx has quit [Ping timeout: 260 seconds]
xx has joined #ffmpeg
tomaw_ has joined #ffmpeg
Dagger has quit [Quit: Quit]
Dagger has joined #ffmpeg
tomaw_ is now known as tomaw
iliv has quit [Ping timeout: 255 seconds]
Dagger has quit [Client Quit]
Dagger has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
Dagger has quit [Quit: Quit]
kuba-orlik0397 has joined #ffmpeg
Dagger has joined #ffmpeg
<another|> You could maybe write a time based evaluation for the overlay filter
<ManDay> another|: ty. I suppose there is generic concept to have expressions (like math expressions) in the filter's parameters then, right?
aphysically has quit [Ping timeout: 246 seconds]
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
alexherbo2 has joined #ffmpeg
dreamon has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
function1 has quit [Ping timeout: 246 seconds]
Livio has quit [Ping timeout: 252 seconds]
function1 has joined #ffmpeg
Livio has joined #ffmpeg
theobjectivedad has quit [Ping timeout: 260 seconds]
kus has quit [Read error: Connection reset by peer]
chiselfuse has quit [Ping timeout: 260 seconds]
hussein1 has quit [Ping timeout: 260 seconds]
chiselfuse has joined #ffmpeg
hussein1 has joined #ffmpeg
theobjectivedad has joined #ffmpeg
darkapex has quit [Remote host closed the connection]
darkapex has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
aruns has quit [Ping timeout: 256 seconds]
rv1sr has quit []
minimal has quit [Quit: Leaving]
ManDay has quit [Read error: Connection reset by peer]
aruns has joined #ffmpeg
microchip__ has joined #ffmpeg
microchip_ has quit [Ping timeout: 268 seconds]
microchip__ is now known as microchip_
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
halvut has joined #ffmpeg
function1 has quit [Ping timeout: 240 seconds]
coldfeet has joined #ffmpeg
function1 has joined #ffmpeg
iconoclasthero has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
rv1sr has joined #ffmpeg
beaver has quit [Quit: mieux : https://termbin.com/pnfp, test …]
beaver has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
halvut has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kus has joined #ffmpeg
Livio has quit [Quit: Reconnecting]
Vonter has quit [Ping timeout: 268 seconds]
Livio has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
AbleBacon has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
pmarg has joined #ffmpeg
pmarg has quit [Client Quit]
JanC_ has joined #ffmpeg
JanC is now known as Guest737
Guest737 has quit [Killed (copper.libera.chat (Nickname regained by services))]
JanC_ is now known as JanC
xx has quit [Ping timeout: 260 seconds]
kuba-orlik0397 has quit [Remote host closed the connection]
coldfeet has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
vlm has quit [Quit: Leaving]
TheSilentLink has quit [Quit: Good Bye! My bouncer has probably crashed or lost connection to the internet...]
TheSilentLink has joined #ffmpeg
jagannatharjun has quit [Quit: Connection closed for inactivity]
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
SuicideShow has quit [Ping timeout: 268 seconds]
SuicideShow has joined #ffmpeg
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
YuGiOhJCJ has joined #ffmpeg
<wyatt8740> Hi, i'm having a weird issue, wondering if something in ffmpeg changed to cause it. I've got a script for streaming/recording my desktop that's worked fine for a year or two, but now suddenly every time there's an alsa buffer xrun the framerate for the video seemingly halves (maybe frames get duplicated) and the framerate stays halved for the remainder of the video until i stop and restart the stream.
<wyatt8740> This effect is cumulative, so each xrun makes the framerate even worse
<wyatt8740> the command's a long one but i'll get it
<wyatt8740> guessing those messages didn't go through, ethernet cable got unplugged
<wyatt8740> "Hi, i'm having a weird issue, wondering if something in ffmpeg changed to cause it. I've got a script for streaming/recording my desktop that's worked fine for a year or two, but now suddenly every time there's an alsa buffer xrun the framerate for the video seemingly halves (maybe frames get duplicated) and the framerate stays halved for the remainder of the video until i stop and restart the stream."
<wyatt8740> "This effect is cumulative, so each xrun makes the framerate even worse. the command's a long one but I'll get it"
kuba-orlik0397 has quit [Remote host closed the connection]
kuba-orlik0397 has joined #ffmpeg
<wyatt8740> ffmpeg -fflags +genpts+igndts -thread_queue_size 128 -f x11grab -video_size 1920x1200 -draw_mouse 1 -framerate 30 -i ':0.0+0,720' -thread_queue_size 128 -f alsa -fflags +igndts+genpts -itsoffset 2 -i 'dsnoop:CARD=Audigy2,DEV=0' -pix_fmt yuv420p -c:v h264_nvenc -r 30 -preset:v fast -profile:v high -rc-lookahead:v 1 -delay:v 16 -qp 8 -b:v 800k -minrate:v 800k -maxrate:v 800k -vf scale=1440:900,format=yuv420p,setpts=P
<wyatt8740> TS-STARTPTS -af "asetpts=N/SR/TB,volume=""$AMPLEVEL" -c:a libmp3lame -b:a 160k -f rtsp rtsp://0.0.0.0:57966/a
<wyatt8740> ($AMPLEVEL is 2)
<wyatt8740> this also happens with other codecs and for local recordings
<wyatt8740> but only started happening in the last couple months
waleee has joined #ffmpeg
<wyatt8740> eventually things get ridiculous, like 'dup=13337 drop=447 speed= 1x'
<wyatt8740> this feels like it must be some change in ffmpeg but i can't nail down what i need to do to get the old behaviour
rv1sr has quit []
<wyatt8740> i just made a 2 hour long video and only found out after making it that it was completely garbage on account of this
<wyatt8740> (i'm encoding it to upload now by the way in case it helps)
aruns has quit [Ping timeout: 264 seconds]
<wyatt8740> btw i have also tried with '-fps_mode passthrough' and it still happens
<echelon> i thought it was possible to pass multiple filters if you want multiple outputs.. https://paste.ee/r/HPjRe
<echelon> > Multiple -filter, -af or -vf options specified for stream 0, only the last option '-filter:v:0 scale=w=682:h=530' will be used
<echelon> > Unable to map stream at v:1
<another|> No.
<another|> can only have one filter graph
<echelon> this says otherwise.. https://stackoverflow.com/a/71985380 how is it working for them
<wyatt8740> if i'm doing something clearly wrong please tell me by the way. This is driving me crazy
<another|> hmm.. I guess you can use stream specifiers for individual streams
<another|> but still only one graph per stream
<echelon> so what am i doing wrong
<another|> the error message is pretty direct
<another|> `-vf format=yuv420p -filter:v:0 scale=w=682:h=530`
<another|> these collide
<echelon> oh, i need to specify it for each stream?
<echelon> or filter, rather
<another|> define "it"
<echelon> format=yuv420p
<another|> -pix_fmt yuv420p
<another|> or add the format filter to every filter chains
<wyatt8740> -vf 'scale=w=682:h=530,format=yuv420p'
<echelon> ooh
<wyatt8740> maybe that's what you want
<echelon> yes
<wyatt8740> or format and then scale (swap order around comma)
<wyatt8740> some scaling algos might be faster on yuv420p maybe, idk
alexherbo2 has quit [Remote host closed the connection]
<echelon> no
<echelon> let me try pix_fmt
kuba-orlik0397 has quit [Remote host closed the connection]
<another|> i'd subsample after scaling
<echelon> but appending it to scale didn't work
Sketch has quit [Remote host closed the connection]
<wyatt8740> another| - fair point but if you're downscaling subsampling first might be fine
squeaktoy has quit [Ping timeout: 268 seconds]
kuba-orlik0397 has joined #ffmpeg
<wyatt8740> if upscaling definitely do that first
<wyatt8740> (do scaling first)
squeaktoy has joined #ffmpeg
<wyatt8740> this issue i'm having is going to drive me mad. i haven't changed my hardware i think
<another|> wyatt8740: what changed?
<another|> which version?
<wyatt8740> oh, did my messages not go through?
<wyatt8740> also it's git master as of yesterday right now but it was happening last week too
<wyatt8740> before that i hadn't upgraded since last year maybe
<wyatt8740> (last week i was on last week's git master)
<wyatt8740> i also updated my kernel and nvidia drivers but i don't think x11grab is suddenly dropping frames every time there's an audio xrun
<wyatt8740> unless something the video drivers are doing is causing the xrun
<wyatt8740> somehow
<wyatt8740> another| - did you see my command line? or was my network flaking out
<another|> no, i've seen it
<wyatt8740> i'm on debian sid btw
<wyatt8740> devuan ceres actually
<wyatt8740> but basically debian sid
<another|> so not debian
<wyatt8740> but ffmpeg is built by me
<wyatt8740> it's practically debian. I have actual debian installs using the same setups, just easier to dodge systemd this way
<wyatt8740> but yes
<another|> wild stab in the dark: multithread regression?
<wyatt8740> *could* be, possibly.
<wyatt8740> i have noticed that some codecs like libxvid seem to take longer to start causing issues
<wyatt8740> (low intensity stuff)
<wyatt8740> still not sure what would make it start duplicating frames like this where they compound on each other
<wyatt8740> once my video finally finishes re-encoding and i can upload it somewhere it might make more sense
<wyatt8740> this is old hardware, btw, i5-3470 (ivy bridge) and a gtx 750 ti
<wyatt8740> but it's done just fine for this for ages so i don't know what would have changed
<wyatt8740> it's also my most powerful computer so i can't test on something else
<wyatt8740> i was wondering earlier if it could be bus contention or something causing my video capture USB and my sound interface USB to fight
<wyatt8740> but this seems to happen when the captureusb isn't plugged in too
<wyatt8740> and when i'm using my internal pci card
<wyatt8740> (for sound)
Sketch has joined #ffmpeg
<wyatt8740> and anyway i'd think the genpts and stuff i'm doing would sidestep underrun issues, or at least just make them desync instead of frame duplicating