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
wziko has quit [Ping timeout: 265 seconds]
<ops> could someone confirm if this is correct syntax? https://paste.ee/r/MXH29
<ops> do -f, -i need to immediately precede the corresponding -map?
<furq> no
<ops> cool!
<furq> they can't, they have to be output options
<furq> you will need to quote the argument to var_stream_map though
<ops> huh i thought i did that correct initially, thanks
<ops> it's being generated by a script basically
<ops> what does %s represent btw?
<ops> nvm, i think i copied it from a printf statement
wziko has joined #ffmpeg
wziko has quit [Max SendQ exceeded]
wziko has joined #ffmpeg
iconoclasthero has quit [Ping timeout: 276 seconds]
iconoclasthero has joined #ffmpeg
wziko has quit [Ping timeout: 252 seconds]
hightower3 has joined #ffmpeg
CruxOfTheB has joined #ffmpeg
mw1144 has joined #ffmpeg
<furq> "v:0,name:screen0-small v:1,name:screen0-full" "v:2,name:screen1-small v:3,name:screen1-full" should all be one argument
<ops> oh!
LainExperiments4 has quit [Quit: Client closed]
<ops> furq: thank you!
BSaboia has quit [Quit: ZNC - https://znc.in]
BSaboia has joined #ffmpeg
rex has quit [Ping timeout: 244 seconds]
rex has joined #ffmpeg
minimal has quit [Quit: Leaving]
Unit640 has quit [Quit: Leaving]
Traneptora has joined #ffmpeg
LainExperiments has joined #ffmpeg
xx has quit [Ping timeout: 264 seconds]
coldfeet has quit [Quit: Lost terminal]
anticw has quit [Remote host closed the connection]
hightower3 has quit [Read error: Connection reset by peer]
hightower3 has joined #ffmpeg
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #ffmpeg
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #ffmpeg
anticw has joined #ffmpeg
CruxOfTheB has quit [Ping timeout: 272 seconds]
LainExperiments has quit [Quit: Client closed]
bencoh has quit [Ping timeout: 272 seconds]
bencoh has joined #ffmpeg
StephenLynx has quit [Quit: Leaving]
System_Error has joined #ffmpeg
Traneptora_ has joined #ffmpeg
Traneptora has quit [Ping timeout: 260 seconds]
BSaboia has quit [Quit: ZNC - https://znc.in]
BSaboia has joined #ffmpeg
swamp_ has quit [Read error: Connection reset by peer]
swamp_ has joined #ffmpeg
zsoltiv_ has quit [Ping timeout: 244 seconds]
wziko has joined #ffmpeg
wziko has quit [Ping timeout: 244 seconds]
rvalue has quit [Ping timeout: 252 seconds]
Marth64 has quit [Quit: Leaving]
Marth64 has joined #ffmpeg
javabean has quit [Ping timeout: 246 seconds]
yans has joined #ffmpeg
javabean has joined #ffmpeg
wziko has joined #ffmpeg
wziko has quit [Ping timeout: 265 seconds]
rv1sr has joined #ffmpeg
bitbinge has quit [Quit: bitbinge]
Magissia has quit [Quit: On the hunt]
rvalue has joined #ffmpeg
rvalue has quit [Ping timeout: 244 seconds]
rvalue has joined #ffmpeg
alexherbo2 has joined #ffmpeg
rsx has joined #ffmpeg
Sketch has quit [Remote host closed the connection]
Sketch has joined #ffmpeg
xx has joined #ffmpeg
j45 has quit [Ping timeout: 248 seconds]
j45 has joined #ffmpeg
Blacker47 has joined #ffmpeg
hackkitten has quit [Ping timeout: 252 seconds]
rvalue has quit [Ping timeout: 265 seconds]
Jhonny2x4 has quit [Quit: Jhonny2x4]
Jhonny2x4 has joined #ffmpeg
hackkitten has joined #ffmpeg
rvalue has joined #ffmpeg
LainExperiments has joined #ffmpeg
gvg has quit [Ping timeout: 276 seconds]
Krusher has joined #ffmpeg
lavaball has joined #ffmpeg
luva has quit [Quit: Byebye]
luva has joined #ffmpeg
pinnen has joined #ffmpeg
gvg has joined #ffmpeg
CruxOfTheB has joined #ffmpeg
wondiws has joined #ffmpeg
StephenLynx has joined #ffmpeg
wziko has joined #ffmpeg
LainExperiments has quit [Quit: Client closed]
wziko has quit [Ping timeout: 248 seconds]
crossby1004 has joined #ffmpeg
crossby1004 has quit [Max SendQ exceeded]
crossby1004 has joined #ffmpeg
crossby1004 has quit [Remote host closed the connection]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
turlando has quit [Quit: No Ping reply in 180 seconds.]
turlando has joined #ffmpeg
LainExperiments has joined #ffmpeg
LainExperiments has quit [Client Quit]
wondiws has quit [Ping timeout: 252 seconds]
iconoclasthero has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
minimal has joined #ffmpeg
iconoclast_hero has joined #ffmpeg
crossby1004 has joined #ffmpeg
<sonicrules1234> So I did another test of lossless encoding. This time with rgb input. This time x264rgb beat out libaom-av1
Traneptora_ has quit [Quit: Quit]
Traneptora has joined #ffmpeg
stolen has joined #ffmpeg
<sonicrules1234> I've been upscaling episodes of Ranma 1/2, and the software I'm using to upscale wants rgb8 pixels
<sonicrules1234> I'm uspcaling them to 960x720 from 480x360
<Lynne> what are you targetting?
<Thurmond> generic question: is the point of upscaling to increase the native resolution in a way that uses more processing time than is reasonable during playback but provides better results (in addition to doing that computation once instead of "every playback")
<Thurmond> ?
<sonicrules1234> Lynne: What do you mean?
<sonicrules1234> Thurmond: Upscaling so I can watch it full screen. It's done beforehand. It uses ai
hightower4 has joined #ffmpeg
hightower3 has quit [Ping timeout: 265 seconds]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ffmpeg
hightower4 has quit [Remote host closed the connection]
hightower4 has joined #ffmpeg
<Lynne> no, with lossless encoding
<sonicrules1234> Running the ai locally though, so it takes about 6 and a half hours per episode
<sonicrules1234> As for lossless encoding, trying to get the smallest file, but still lossless. I know I can do visually lossless with a much smaller filesize though
<sonicrules1234> I mean, when you uspcale, the result is technically lossless, so why not?
ops has quit [Remote host closed the connection]
echelon has joined #ffmpeg
echelon is now known as ops
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ffmpeg
<sonicrules1234> I ended up modifying https://github.com/joeyballentine/ESRGAN-candle-rs to do the upscaling
<putacho> sonicrules1234: why upscale and not let the renderer do it? IMO upscale encoding is useless. You can't magically create out of nowhere detail, AI or not
alexherbo2 has quit [Remote host closed the connection]
minimal has quit [Quit: Leaving]
<sonicrules1234> The ai literally create the details out of nowhere. Well, it does it based on it's model
<sonicrules1234> *creates
<putacho> I doubt that
hightower4 has quit [Remote host closed the connection]
<sonicrules1234> You can try it if you want
hightower4 has joined #ffmpeg
<putacho> you're basically upscaling twice. 1. during encoding and 2. when watching on TV which pulls it up to native resolution
<sonicrules1234> I'm watching on my steam deck, which is 800p
wziko has joined #ffmpeg
<putacho> ah
<sonicrules1234> :P
<putacho> still worhtless, AI or not
<putacho> but it's your content, so go ahead
<sonicrules1234> Well, I'm just doing it for fun, 1080p ranma already exists
<putacho> I got an AI upscaler on my high-end TCL TV. Trust me, it's not that smart :)
wziko has quit [Ping timeout: 265 seconds]
<sonicrules1234> AI can do a lot of cool things, and has come a long way from when it first started
<furq> you absolutely can magically create detail from nowhere
<furq> whether it's accurate or horrible artifacts is another question
<sonicrules1234> Yeah, the detail from nowhere is just it's best guess
<sonicrules1234> But it can be pretty good at guessing
<furq> i've seen some really impressive results and some really awful results
<furq> which is par for the course for this sort of thing
<furq> but the state of the art is definitely better than what a tv can offer
<sonicrules1234> Yeah, plus a tv has to do it in realtime
<furq> well even for realtime upscaling
<furq> but that also makes a huge difference
<furq> not just realtime but without the tv going on fire
<sonicrules1234> xD
<sonicrules1234> My gpu has been heating up my room during the upscaling
<Thurmond> <sonicrules1234> I mean, when you uspcale, the result is technically lossless, so why not? <-- this is an assumption
<furq> it is a bit of a shame all this stuff gets lumped in under "ai" now
<furq> the machine learning guys must be furious that everyone thinks their job is chatgpt
<sonicrules1234> Well, since it's going from bitmap to bitmap in my case, it is indeed lossless
zsw has quit [Remote host closed the connection]
<sonicrules1234> The loss would be any colorspace converting
<Thurmond> whether it uses ai or machine learning only goes to the quality of the results. i guess what i'm asking is: is the point to reduce the load on the renderer and/or provide better results than the renderer can provide *in real time* ?
<sonicrules1234> Neither
<Thurmond> are those things not true, or just don't apply to you?
<Thurmond> because i'm not asking about you in particular
<furq> that is broadly what it's for yes
<furq> the very intensive upscalers will use more resources than encoding the video
<sonicrules1234> Yeah
<Thurmond> i have noticed, for example, that VLC sometimes consumes much more battery power when expanding certain streams, but not when they just play at their native resolution, which means that at least in some cases, the real-time processing load is non-trivial
<Thurmond> i have no way of knowing how generally true that is. it just made logical sense to me in THIS case.
<furq> that sounds unusual
<furq> i guess it depends what upscaler vlc is using
<Thurmond> and it's more noticable on this old machine, which means that the effect is sort of magnified (using the term loosely), which doesn't make it not true, but may be exaggerating the scale (har har) of the cost.
<Thurmond> i hope that makes sense. i'm not being super precise
StephenLynx has quit [Ping timeout: 272 seconds]
zsw has joined #ffmpeg
StephenLynx has joined #ffmpeg
yans has quit [Remote host closed the connection]
coldfeet has joined #ffmpeg
yans has joined #ffmpeg
Krusher has quit [Quit: Leaving]
billchenchina has joined #ffmpeg
billchenchina has quit [Remote host closed the connection]
Thurmond has quit [Ping timeout: 252 seconds]
fristed has quit [Quit: system restarting]
wziko has joined #ffmpeg
zeromind has quit [Quit: *pooof*]
darkapex has quit [Ping timeout: 252 seconds]
darkapex has joined #ffmpeg
Thurmond has joined #ffmpeg
luva has quit [Ping timeout: 244 seconds]
JanC has quit [Read error: Connection reset by peer]
<welder> I submitted a ticket #11330 some time ago, about that audio being cut, is it a bug or expected behavior?
iive has joined #ffmpeg
JanC has joined #ffmpeg
fristed has joined #ffmpeg
CruxOfTheB has quit [Ping timeout: 265 seconds]
mw1144 has quit [Quit: Client closed]
luva has joined #ffmpeg
hightower4 has quit [Remote host closed the connection]
hightower4 has joined #ffmpeg
<redeeman> is it possible I can take 1 input file, run filter to denoise, then encode one output in original resolution, and also scale down the denoised to 720p, and then encode another output of that ?
<ePirat> you can do this with -filter_complex
<ePirat> use output labels for the filters respectively and map them for the outputs the way you want
<redeeman> nice, thanks. do you happen to have a link to some examples or something similar?
hightower4 has quit [Quit: Leaving]
stolen has quit [Quit: Connection closed for inactivity]
relue has joined #ffmpeg
rsx has quit [Quit: rsx]
rsx has joined #ffmpeg
krjst has quit [Ping timeout: 252 seconds]
krjst has joined #ffmpeg
zeromind has joined #ffmpeg
lolok has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
coldfeet has quit [Quit: Lost terminal]
Thurmond has quit [Read error: Connection reset by peer]
System_Error has quit [Remote host closed the connection]
Thurmond has joined #ffmpeg
ops has quit [Remote host closed the connection]
echelon has joined #ffmpeg
echelon is now known as ops
anticw has quit [Remote host closed the connection]
anticw has joined #ffmpeg
System_Error has joined #ffmpeg
tomb^ has joined #ffmpeg
<tomb^> hi, i'm trying to list decklink devices (ffmpeg -f decklink -list_devices 1 -i dummy) however it returns "unknown input format 'decklink'", I understand I need to compile it with decklink support, i'm not sure I know how to do that, is there a precompiled version I could somehow download?
<ePirat> you need to download the decklink sdk and pass the relevant configure parameters
<ePirat> there are no prebuilts with ffmpeg enabled
<ePirat> *with decklink enabled
rex has quit [Ping timeout: 248 seconds]
<tomb^> oh shoot... copy that, not sure I'll be able to compile it on my own, will look into it, thank you!
Galisma has joined #ffmpeg
Galisma has quit [Client Quit]
<ePirat> tomb^ , which OS are you on?
<tomb^> I'd rather not say... windows
<ePirat> oh yeah thats a bit… non-trivial then
<furq> yeah it kind of sucks on windows
<furq> imagine that
<furq> msys2 is probably the easiest way
<ePirat> not so much for building ffmpeg even, thats doable, but decklink SDK is not provided as headers for windows but need to be generated from idl files
<tomb^> my goal is to extract the audio stream from a decklink card and stream it to google for speech to text, thought ffmpeg could help with that..
<furq> it can help but the decklink sdk license is incompatible with ffmpeg's license, so you can't distribute binaries with them linked together
<tomb^> it's not for distribution, it's for private use, gonna try it now, thanks furq!
<furq> right, just saying that's why there's no binary downloads
<furq> not sure how up to date this is
<tomb^> https://superuser.com/a/1260130 I'm trying compiling through wsl, I've installed ubuntu 18.04 but when trying to cross compile i'm getting "your meson version is too old 0.45.1 wanted 0.49.2", is there a different ubuntu version you guys recommend trying?
<furq> ideally one that's not six years old
<furq> not sure what depends on meson though unless you're using one of those build helper scripts
<tomb^> I'm using the "/cross_compile_ffmpeg.sh –disable-nonfree=n"
<tomb^> woohoo, something's happening! (ubuntu 22.04.5) it's compiling
System_Error has quit [Remote host closed the connection]
rsx has quit [Quit: rsx]
sajmon170 has joined #ffmpeg
Dagger has quit [Ping timeout: 252 seconds]
sajmon170 has quit [Client Quit]
sajmon170 has joined #ffmpeg
<sajmon170> Hi!
Dagger has joined #ffmpeg
<sajmon170> I need to download an MPEG-DASH live stream
<sajmon170> if I do something like
<sajmon170> ffmpeg -i stream.mpd -c copy out.mp4
SuicideShow has quit [Ping timeout: 252 seconds]
<sajmon170> Does this download the stream with an adaptive bitrate?
<sajmon170> or does ffmpeg select only one of available bitrate streams?
lavaball has quit [Remote host closed the connection]
SuicideShow has joined #ffmpeg
crossby1004 has quit [Quit: leaving]
lucasta has joined #ffmpeg
lucasta has quit [Remote host closed the connection]
lucasta has joined #ffmpeg
lucasta has quit [Remote host closed the connection]
haasn has quit [Quit: Connection closed for inactivity]
rv1sr has quit []
lucasta has joined #ffmpeg
lucasta has quit [Remote host closed the connection]
Mister_Magister_ has joined #ffmpeg
Mister_Magister has quit [Ping timeout: 244 seconds]
rex has joined #ffmpeg
Mister_Magister_ is now known as Mister_Magister
sajmon170 has quit [Ping timeout: 240 seconds]
<tomb^> furq, wel lthat didn't work (https://superuser.com/questions/1259866/ffmpeg-decklink-windows/1260130#1260130) it's compiled but ffmpeg -formats still shows nothing regarding decklink
lucasta has joined #ffmpeg