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
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
<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