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
arbitercoin has quit [Ping timeout: 260 seconds]
Tano has quit [Ping timeout: 264 seconds]
Suchiman has quit [Quit: Connection closed for inactivity]
Warcop has quit [Remote host closed the connection]
x_x has quit [Ping timeout: 260 seconds]
minimal has quit [Quit: Leaving]
Dagger has quit [Ping timeout: 246 seconds]
Dagger has joined #ffmpeg
upekkha has quit []
upekkha has joined #ffmpeg
travisghansen has joined #ffmpeg
<travisghansen> I have a pipeline where if I switch a v4l2 input format from yuv to mjpeg it fails with "Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scale_0'"...is it possible to avoid that somehow? I'm dealing with variable input based on user-provided details so I need to make the
<travisghansen> pipeline/filters/etc function in as broad of scenarios as possible :(
Tano has joined #ffmpeg
microchip__ has joined #ffmpeg
microchip_ has quit [Ping timeout: 264 seconds]
koi has quit [Read error: Connection reset by peer]
koi has joined #ffmpeg
<StephenLynx> travisghansen, what does auto_scaler_0 does? all I get on google are people having the same issue.
<StephenLynx> are you using auto_scaler_0 yourself or is that being added internally?
<travisghansen> I think it’s internal from putting text and boxes etc, I am not using it explicitly no
<travisghansen> I will send the fully command, sec
<travisghansen> it's relatively complex (it's all generated via some code essentially) so a bunch may be noise (I am nothing of an ffmpeg expert)
<StephenLynx> hm
<StephenLynx> yeah, i got no idea either.
<travisghansen> if I change -input_format mjpeg to -input_format yuyv422 then all is well (at least for this example)
<StephenLynx> wait, what is your input?
<StephenLynx> /dev/video0
<StephenLynx> I see.
<StephenLynx> you are capturing video directly.
<StephenLynx> yeah, this is out of my depth.
<travisghansen> Way out of my depth! I am just stringing things together from what I find on the internet lol
<travisghansen> The extremely dynamic nature of what I am trying to accomplish means I need to make the assumptions as robust as possible
intrac has quit [Quit: Konversation terminated!]
intrac has joined #ffmpeg
five6184803391 has quit [Remote host closed the connection]
five6184803391 has joined #ffmpeg
StephenLynx has quit [Quit: Leaving]
bitbinge has quit [Remote host closed the connection]
bitbinge has joined #ffmpeg
microchip__ has quit [Quit: There is no spoon!]
psykose has quit [Remote host closed the connection]
microchip_ has joined #ffmpeg
microchip_ has quit [Client Quit]
microchip_ has joined #ffmpeg
psykose has joined #ffmpeg
microchip_ has quit [Quit: There is no spoon!]
microchip_ has joined #ffmpeg
microchip_ has quit [Remote host closed the connection]
microchip_ has joined #ffmpeg
realies has joined #ffmpeg
microchip_ has quit [Client Quit]
microchip_ has joined #ffmpeg
microchip_ has quit [Client Quit]
microchip_ has joined #ffmpeg
microchip_ has quit [Client Quit]
m5zs7k has quit [Ping timeout: 276 seconds]
microchip_ has joined #ffmpeg
Marth64 has quit [Quit: Leaving]
rv1sr has joined #ffmpeg
m5zs7k has joined #ffmpeg
Forza has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Forza has joined #ffmpeg
rsx has joined #ffmpeg
microchip_ has quit [Remote host closed the connection]
microchip_ has joined #ffmpeg
rex has quit [Ping timeout: 252 seconds]
Forza has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Forza has joined #ffmpeg
rex has joined #ffmpeg
makidoll has quit [Quit: makidoll]
makidoll has joined #ffmpeg
Forza has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
coldfeet has joined #ffmpeg
lavaball has joined #ffmpeg
Forza has joined #ffmpeg
MisterMinister has quit [Remote host closed the connection]
MisterMinister has joined #ffmpeg
x_x has joined #ffmpeg
tokyovigilante has quit [Remote host closed the connection]
j45 has quit [Quit: ZNC 1.8.2 - https://znc.in]
j45 has joined #ffmpeg
MisterMinister has quit [Ping timeout: 246 seconds]
tokyovigilante has joined #ffmpeg
ndh has quit [Quit: Ping timeout (120 seconds)]
ndh has joined #ffmpeg
ndh has quit [Write error: Connection reset by peer]
ndh has joined #ffmpeg
Offspring has quit [Quit: ZNC - https://znc.in]
Offspring has joined #ffmpeg
Icedream has quit [Quit: A lol made me boom.]
Icedream has joined #ffmpeg
microlappy has joined #ffmpeg
Suchiman has joined #ffmpeg
microlappy has quit [Client Quit]
Tano has quit [Ping timeout: 252 seconds]
alexherbo2 has joined #ffmpeg
Some_Person has quit [Quit: ZNC 1.8.2 - https://znc.in]
ShadowJK has quit [Remote host closed the connection]
Some_Person has joined #ffmpeg
Unit640 has joined #ffmpeg
gioyik has joined #ffmpeg
<BtbN> -hwaccel_output_format vaapi and all that other stuff with v4l2 raw yuv doesn't make a whole lot of sense, and just does nothing
<BtbN> But if you then suddenly get mjpeg, vaapi can very much decode it, and will do so. Then you get hardware frames, and your software filter chain can't process those.
<BtbN> Also, the -vcodec option is long deprecated, please use -c:v and friends
evilscreww has joined #ffmpeg
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
johnjaye has quit [Ping timeout: 272 seconds]
johnjaye has joined #ffmpeg
gioyik has quit [Ping timeout: 260 seconds]
lavaball has quit [Quit: lavaball]
lavaball has joined #ffmpeg
StephenLynx has joined #ffmpeg
lavaball has quit [Quit: lavaball]
fling has joined #ffmpeg
gioyik has joined #ffmpeg
gioyik has quit [Ping timeout: 260 seconds]
gioyik has joined #ffmpeg
gioyik has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Remote host closed the connection]
gioyik has joined #ffmpeg
minimal has joined #ffmpeg
Icedream has quit [Quit: A lol made me boom.]
Icedream has joined #ffmpeg
Nact has joined #ffmpeg
evilscreww has quit [Ping timeout: 250 seconds]
fling has quit [Remote host closed the connection]
fling has joined #ffmpeg
delthas_ has quit [Remote host closed the connection]
delthas_ has joined #ffmpeg
Tano has joined #ffmpeg
delthas_ is now known as delthas
gioyik has quit [Ping timeout: 260 seconds]
MetaNova has quit [Ping timeout: 276 seconds]
MetaNova has joined #ffmpeg
fling has quit [Ping timeout: 260 seconds]
realies has quit [Ping timeout: 248 seconds]
<rv1sr> When using libsvtav1, I used to be able to specify options like -sc_detection 1
<rv1sr> Now they are not recognized, also passing them as -svtav1-params sc_detection=1 results in [libsvtav1 @ 0x55c29484ec00] Error parsing option sc_detection: 1.
<rv1sr> Anyone know about changes in the svt-av1 wrapper?
<BtbN> Options aren't ever just removed.
<rv1sr> Yes I'm curious why they are not recognozed
<rv1sr> "ffmpeg -h encoder=libsvtav1" only shows 4 encoder options
<rv1sr> Most config options vanished, missing most of those listed here https://ffmpeg.org/ffmpeg-all.html#Options-31
<BtbN> so if you used it, you have been ignoring deprecation warnings for the last two years
<BtbN> Both commits forgot to update the docs though
<rv1sr> I didn't use this command for years ;)
<rv1sr> So, hjow do I set those options now? As I understand both ways (the direct options as well as svtav1-params) have been removed
<BtbN> Via svtav1-params
<BtbN> no idea how to look up what it accepts in which format, I'd assume they have a documentation page about it somewhere
<rv1sr> The last line of the diff somehow suggests there must eb a way "+ #define FF_API_SVTAV1_OPTS"
<BtbN> no, that's just the deprecation guard
<rv1sr> The docs literally say "See the SVT-AV1 encoder user guide"
<rv1sr> #and sure I did
<rv1sr> but nothing documented there is recognized as an options
<rv1sr> eben the scene detection option is named completely different
<rv1sr> *even
<rv1sr> Not really in a usable state compred to two years ago, sad progression :/
<BtbN> ffmpeg just removed a pointless wrapper for countless options
<BtbN> parsing string -> option is now left to the library
<BtbN> so you need to look up its names with them, instead of talking shit about "sad progression" about ffmpeg
<StephenLynx> i jus stopped updating past 4.2 :)
<another|> I hope your joking
<rv1sr> I'm reading literal source code right now to find the correct options but they still don't work
<BtbN> Then you are affected by several dozen code execution vulnerabilities
<rv1sr> it ready to do some commitment
<BtbN> I just linked you to the correct option
<rv1sr> but I don't see how this could work for me
<rv1sr> "Unrecognized option 'scd'."
<BtbN> It's an svtav1-params one, not an ffmpeg option...
<rv1sr> I see, thanks
<BtbN> You literally said you were using that yourself initially...
<rv1sr> I was browsing this page and could find any reference to the "raw params" https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/Docs/Parameters.md
<rv1sr> Tried SceneChangeDetection instead of scd
<StephenLynx> another|, https://i.imgur.com/7L5zemT.png
elvis_a_presley has quit [Quit: smoke-bomb ; grapple-hook]
<rv1sr> No, I was using -sc_detection 1 and tried "-svtav1-params sc_detection=1"
elvis_a_presley has joined #ffmpeg
<rv1sr> no documentation I encountered mentioned "scd"
<BtbN> The "command line" from that parameters doc seems to map to the key=value keys
<rv1sr> Looks like thats true
<another|> SvtAv1EncApp --help | grep -i scene
<BtbN> granted, an "-svcav1-params help" would be nice, but it doesn't look like the library implements that
<another|> StephenLynx: dear god. you do know that rhel 7 is EOL, right?
<BtbN> and given the absolute ton of them, I can understand why wrapping them all individually in ffmpeg stinks
<another|> ah, no. it's just EOM, not EOL
<StephenLynx> :)
<BtbN> It's old enough that anyone will think you lost your mind if you use it though
<BtbN> I doubt RHEL managed to fix all the bugs in ffmpeg 4.2 as well
<StephenLynx> I stopped updating when a thunderbird update broke my right click button menu.
<another|> either way, the last release of the 4.2 branch is 4.2.10 from August
<StephenLynx> i compile from git.
<BtbN> Well, so now you are using an old thunderbird version with known wormable bugs. Great idea
<BtbN> Specially for a mail client
<StephenLynx> just don't get infect. ez.
<BtbN> Yes, tell that to spammers
<StephenLynx> besides, I can always count on herd immunity. if everyone else is on the update hamster wheel, I can take it easy.
<StephenLynx> (:
<another|> that's.. not how it works
<StephenLynx> running firefox 102 is annoying, though. can't use spotify anymore.
<BtbN> And you can also get drive by infected just by looking at the wrong picture
<StephenLynx> daijoubu, daijoubu.
<another|> also: what? you compile yourself from git? and use an old tag?
<StephenLynx> yeah, I forgot to update ffmpeg here.
<StephenLynx> i probably use a later tag from 4.2 on my VM.
<StephenLynx> I need to use a VM now to work on my stuff because node doesn't run anymore because of the std lib they require.
<BtbN> Yeah, wonder why
<StephenLynx> can't play factorio anymore either, that one was bummer.
<StephenLynx> it hangs up on that AND opengl drivers.
<BtbN> Almost like you're doing something very braindead stupid, and stuff refuses to cooperate with it
<StephenLynx> it's just too much work to update.
<StephenLynx> and then what if my hardware isn't supported anymore.
<BtbN> Then you don't use Windows 11
<StephenLynx> centos 7.
<StephenLynx> i havent used windows in 10 years or so.
fling has joined #ffmpeg
fling has quit [Ping timeout: 260 seconds]
Narrat has joined #ffmpeg
Marth64 has joined #ffmpeg
MisterMinister has joined #ffmpeg
<another|> you know what will be much more work? getting your systems compromised
TheSilentLink has quit [Quit: Good Bye! My bouncer has probably crashed or lost connection to the internet...]
<johnjaye> regretabbly we may all have to switch to windows if that is what the tech overlords decree
<johnjaye> at least my laptop will work for awhile
<StephenLynx> nothing ever happens.
<StephenLynx> they will write a malware that won't run because my gclib is too old :)
TheSilentLink has joined #ffmpeg
<johnjaye> ... but stanislav, the computer! The science!
rex has quit [Ping timeout: 252 seconds]
rex has joined #ffmpeg
<Marth64> disable JavaScript computer will live long healthy life
Unit640 has quit [Remote host closed the connection]
l4yer has quit [Ping timeout: 248 seconds]
Unit641 has joined #ffmpeg
FH_thecat has quit [Quit: Leaving]
lavaball has joined #ffmpeg
FH_thecat has joined #ffmpeg
rsx has quit [Quit: rsx]
ndh has quit [Quit: Ping timeout (120 seconds)]
JanC has quit [Ping timeout: 265 seconds]
ndh has joined #ffmpeg
JanC has joined #ffmpeg
ndh has quit [Quit: Ping timeout (120 seconds)]
ndh has joined #ffmpeg
Juest has quit [Ping timeout: 255 seconds]
Juest has joined #ffmpeg
Nact has quit [Quit: Konversation terminated!]
iive has joined #ffmpeg
Juest has quit [Ping timeout: 255 seconds]
<travisghansen> BtbN: hey sorry just saw your remarks..what doesn’t make sense with the options you mentioned?
<BtbN> There is no decoding happening, so hwaccel output format does nothing
<BtbN> that's why the commandline happens to work
Juest has joined #ffmpeg
<BtbN> but mjpeg can be hw decoded, so it kicks in, and then your software filter chain is presented with a vaapi frame, and the result is your error
vampirefrog has joined #ffmpeg
<noobaroo> Whats the cleanest way to fix timestamps in a partially downloaded file? Where its an hour long but only 00:00-08:00 works
rv1sr has quit [Ping timeout: 252 seconds]
Galisma has joined #ffmpeg
rv1sr has joined #ffmpeg
<travisghansen> BtbN: hmmm, ok, the input format is relatively unknown as I have pretty much any webcam at play..got a recommended way to approach it instead?
<BtbN> I don't think you can create a command that will handle both raw yuv and mjpeg the same
<travisghansen> fair enough, what are the fundamental things that need to change then (sorry, ffmpeg idiot here)? I have seen cameras support both raw and also h264..I *think* the h264 worked as well, just mjpeg that pukes but need to test that again
rv1sr has quit [Ping timeout: 244 seconds]
<travisghansen> I *am* building the command in code so have some limited amount of logic I can put in there..the other trick is I currently allow for both v4l2 and rtsp as input, so the rtsp I really have no idea what's actually in the source pre-emptively
<BtbN> h264 output from webcams is usually terrible quality
<travisghansen> I didn't notice that, but may be...some of them require that to do the higher resolutions at a sane framerate from what I've seen
<BtbN> ffmpeg.c doesn't really support logic at that level
<BtbN> Simplest solution would be to just remove the hwaccel_output_format, so it'll download the frames for you
<BtbN> or just don't use a hardware decoder
<travisghansen> ok, the trick is I am running this on an iot-like device (current alder lake n100 are my reference) so I fear I will kill the cpu if not using that?
coldfeet has quit [Remote host closed the connection]
rv1sr has joined #ffmpeg
foul_owl has joined #ffmpeg
Dagger has quit [Ping timeout: 248 seconds]
obb has joined #ffmpeg
Dagger has joined #ffmpeg
foul_owl has quit [Ping timeout: 264 seconds]
<BtbN> you'll need to craft different commandlines for mjpeg and raw yuv then
foul_owl has joined #ffmpeg
five6184803391 has quit [Remote host closed the connection]
five6184803391 has joined #ffmpeg
obb has quit [Ping timeout: 252 seconds]
<zayd> is there any way to get ffmpeg to create directories for the output path when they don't exist yet or do i have to do that separately with mkdir?
<DeHackEd> with the possible exception of formats that output many files as part of how they work, ffmpeg doesn't make directories and you'll have to do it yourself
<zayd> alright, i'll set that up with the script to make output directories
Icedream has quit [Quit: A lol made me boom.]
Icedream has joined #ffmpeg
minimal has quit [Quit: Leaving]
ShadowJK has joined #ffmpeg
jtgd has quit [Quit: WeeChat 4.4.2]
Juesto has joined #ffmpeg
Juest has quit [Ping timeout: 255 seconds]
Juesto is now known as Juest
<travisghansen> BtbN: that's generally fine, would you have a good example of an appropriate config for the mjpeg setup?
<BtbN> Like I said, either don't use hwdecoding, or remove the hardware format output. The bigger alternative would be to try and craft a full vaapi hardware based filter chain
<BtbN> not sure if that's possible though
<travisghansen> ok, thanks for the info
Icedream has quit [Quit: A lol made me boom.]
jtgd has joined #ffmpeg
Icedream has joined #ffmpeg
gvg_ has quit [Ping timeout: 252 seconds]
Icedream has quit [Quit: A lol made me boom.]
Icedream has joined #ffmpeg
SuicideShow has quit [Ping timeout: 248 seconds]
SuicideShow has joined #ffmpeg
iconoclasthero has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
iconoclasthero has joined #ffmpeg
Galisma has quit [Quit: Konversation terminated!]
Icedream has quit [Quit: A lol made me boom.]
Icedream has joined #ffmpeg
Juest has quit [Excess Flood]
Juest has joined #ffmpeg
Icedream has quit [Client Quit]
rv1sr has quit []
Icedream has joined #ffmpeg
Tano has quit [Quit: WeeChat 4.3.4]
echelon has quit [Remote host closed the connection]
echelon has joined #ffmpeg
gvg has joined #ffmpeg
Disavowed_ is now known as Disavowed
Juesto has joined #ffmpeg
Narrat has quit [Quit: They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.]
Juest has quit [Ping timeout: 265 seconds]
Juesto is now known as Juest