Marth64 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 is released
<grib>
aaabbb: is it actually the source itself that's faster/slower, or are you comparing two different ways of getting to (generation in rgb + conversion to yuv) vs (generation in yuv)?
<aaabbb>
grib: it's the source, but i was just stupid. yuvtestsrc shows a static image, but testsrc uses an animated image
<aaabbb>
when i compare yuvtestsrc and rgbtestsrc they are the same, my bad
vincejv has quit [Remote host closed the connection]
vincejv has joined #ffmpeg
<aaabbb>
one more question i have: how do i set the dither method when i have format= in a filter chain? there is still an unfixed bug where -sws_dither on its own does not do anything, and the format filter does not support a flags argument like scale does
^Neo has quit [Ping timeout: 244 seconds]
Shuriko has quit [Remote host closed the connection]
Shuriko has joined #ffmpeg
<aaabbb>
it seems i can use the api-only dst_format with scale=s=640x480:dst_format=rgb8:sws_dither=bayer but i have to follow it with format=rgb8 so that the following filters know what format to expect?
Muimi has joined #ffmpeg
DPA has quit [Ping timeout: 252 seconds]
<aaabbb>
oh think i just found a memory corruption bug
<aaabbb>
oh, sorry that was more lines than i expected... i should have used paste
<Marth64>
but there's also a ton of stuff crammed in that build
<Marth64>
lol its ok...you've helped countless people here
<aaabbb>
i reported a similar bug a while ago that was reproducible on btbn, which also had to do with scale. i forget what the issue turned out to be, though
<aaabbb>
but it got a lot of similar things, like 'malloc_consolidate(): invalid chunk size' etc
<aaabbb>
just generic memory corruption
<Marth64>
appreciate the digging please definitely write a trac if its not fixed in the tree of that release version (assuming its not too ancient a version :))
<aaabbb>
5.1.6 (with debian specific backports) lol
tm512` has joined #ffmpeg
irwiss has quit [Quit: Ping timeout (120 seconds)]
irwiss has joined #ffmpeg
tm512` has quit [Changing host]
tm512` has joined #ffmpeg
<Marth64>
5.1 was pushed to last month so i would wager it might be worth fixing if its a small fix
<aaabbb>
might be, but it does require using a flag that has an "api only" warning. but since it's exposed to the swscale filter, i suppose it does count
<Marth64>
yeah just risk vs. reward for backporting the fi
<Marth64>
+x
<Marth64>
just depends on *
Warcop has quit [Remote host closed the connection]
paulk-bis has joined #ffmpeg
paulk has quit [Ping timeout: 248 seconds]
<aaabbb>
when replacing dst_format=rgb24 with dst_format=yuv444p, the error changes to an internal swscale error: 'bad dst image pointers'
<aaabbb>
and it does not work on btbn, just tested
<aaabbb>
i mean, it does not occur on btbn (it is fixed on that build)
<Marth64>
yeah must be an older issue, master lgtm as well
minimal has quit [Quit: Leaving]
<aaabbb>
alright
Marth64 has quit [Remote host closed the connection]
<aaabbb>
then part of the question that led me here in the first place: how can i most efficiently truncate bit depth to 8bpp? there is no accelerated yuv422p -> rgb8, so what i do now is yuv422p -> yuv444p -> rgb8 -> yuv422p but surely there is a better way?
DPA has joined #ffmpeg
Marth64 has joined #ffmpeg
grib has quit [Ping timeout: 248 seconds]
<aaabbb>
i could probably do it with geq but i'm *sure* that would be slower lol
j45 has quit [Ping timeout: 276 seconds]
j45 has joined #ffmpeg
j45 has quit [Changing host]
j45 has joined #ffmpeg
vincejv has quit [Remote host closed the connection]
vincejv has joined #ffmpeg
zenstoic has quit [Quit: Connection closed for inactivity]
jarthur has joined #ffmpeg
Shine has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
luva has quit [Quit: Ping timeout (120 seconds)]
luva has joined #ffmpeg
grib has joined #ffmpeg
Shine has quit [Read error: Connection reset by peer]
vincejv has quit [Remote host closed the connection]
Jan\ has quit [Ping timeout: 252 seconds]
vincejv has joined #ffmpeg
HarshK23 has quit [Quit: Connection closed for inactivity]
Jan\ has joined #ffmpeg
Shuriko has quit [Ping timeout: 260 seconds]
jarthur has quit [Quit: jarthur]
xx has joined #ffmpeg
SuicideShow has quit [Ping timeout: 260 seconds]
SuicideShow has joined #ffmpeg
EmleyMoor has joined #ffmpeg
abdu has joined #ffmpeg
emanuele6 has quit [Read error: Connection reset by peer]
lavaball has joined #ffmpeg
Sketch has quit [Remote host closed the connection]
Muimi_ has joined #ffmpeg
Sketch has joined #ffmpeg
Muimi has quit [Ping timeout: 260 seconds]
Guest82 has joined #ffmpeg
Blacker47 has joined #ffmpeg
Shine has joined #ffmpeg
Guest82 has quit [Ping timeout: 240 seconds]
Sakura`Kinomoto has quit [Remote host closed the connection]
makidoll has joined #ffmpeg
Shine has quit [Read error: Connection reset by peer]
Sakura`Kinomoto has joined #ffmpeg
Sakura`Kinomoto has quit [Remote host closed the connection]
Sakura`Kinomoto has joined #ffmpeg
five618480339176 has quit [Remote host closed the connection]
coldfeet has joined #ffmpeg
five618480339176 has joined #ffmpeg
Shine has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
emanuele6 has joined #ffmpeg
coldfeet has quit [Quit: Lost terminal]
System_Error has joined #ffmpeg
damian101 has joined #ffmpeg
wobbol has quit [Ping timeout: 268 seconds]
Marth64[m] has joined #ffmpeg
Marth64 has quit [Ping timeout: 252 seconds]
^Neo has joined #ffmpeg
^Neo has joined #ffmpeg
manwithluck` has quit [Remote host closed the connection]
manwithluck` has joined #ffmpeg
rsx has joined #ffmpeg
emanuele6 has quit [Quit: moo you later]
srikanth has joined #ffmpeg
srikanth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
srikanth has joined #ffmpeg
makidoll has quit [Quit: Ping timeout (120 seconds)]
abdu11 has joined #ffmpeg
abdu has quit [Ping timeout: 240 seconds]
beastd|2 has joined #ffmpeg
beastd|2 is now known as beastd
Marth64[m] is now known as Marth64
low-key has quit [Ping timeout: 245 seconds]
low-key has joined #ffmpeg
srikanth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
olndrxyz has joined #ffmpeg
olndrxyz has quit [Quit: Quit]
JanC has joined #ffmpeg
JanC is now known as Guest8638
Guest8638 has quit [Killed (erbium.libera.chat (Nickname regained by services))]
blb has quit [Quit: brb]
blb has joined #ffmpeg
lusciouslover has quit [Ping timeout: 276 seconds]
five618480339176 has quit [Ping timeout: 252 seconds]
<JEEB>
you can download, extract to a directory and utilize the full path, no installation required
<bray90820>
Wat's different about it?
<JEEB>
that ubuntu version is on the 7.0 branch. since then there's been the 7.1 branch, and master is the current development state
<JEEB>
https://fate.ffmpeg.org/ tells you whether master works for the kind of OS and architecture you're interested in
<bray90820>
IsJEEB: Is tehre a PPD or something like that for it?
<another|>
a... printer driver?
<bray90820>
Sorry let me resay all of that it was messed up
<JEEB>
no need for a PPA or so, just grab the latest every now and then from Btbn's automated builds after checking that FATE is green for your arch/OS
<JEEB>
you can literally download, extract under your home directory and just use the full path
<bray90820>
But what about when ther's updates
<bray90820>
I like to automate everything
<JEEB>
there will be builds every night or so
<JEEB>
and you want to check FATE when updating just in case
<bray90820>
Oh it's a nightly build
<another|>
IIRC x265 had some nasty bugs fixed recently
srikanth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bray90820>
Should I uninstall my current ffmpeg first tho?
<JEEB>
no
<JEEB>
as I said, just download and extract somewhere under your home, so that you don't touch any system packages
<bray90820>
Wont it pick the global path first?
<furq>
if you're on ubuntu then ~/bin is already in your PATH and it takes priority
<bray90820>
That's a script to download/install it?
<furq>
yeah
lavaball has quit [Remote host closed the connection]
<bray90820>
ubuntu doesn't have ~/bin
<bray90820>
Should I just do a mkdir
<bray90820>
Not sure if it will be in my PATH tho if I do it that way
<Riviera>
try it
<JEEB>
PATH is unrelated to whether a dir exists or not
srikanth has joined #ffmpeg
<JEEB>
echo $PATH and friends
<Riviera>
bray90820: maybe your shell startup files check if the directory exists and then include it
<Riviera>
bray90820: so, create it, then start a new shell, then echo "$PATH"
<Riviera>
should then be a login shell, but damn, needlessly complicated :)
<JEEB>
since inexistant paths don't affect PATH
<JEEB>
I don't think pretty much anything adds such checks
<Riviera>
i think pretty much everything does
<Riviera>
but here we are
<Riviera>
# set PATH so it includes user's private bin if it exists
<Riviera>
if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH"
<Riviera>
fi
<Riviera>
from a Debian ~/.profile
<bray90820>
It apperently is not in $PATH
<Riviera>
bray90820: have you started a new shell?
<JEEB>
heh, if it indeed checks like that, I stand corrected
<Riviera>
brb
<bray90820>
I have opened a new shell ye
<bray90820>
*Yea
<Riviera>
bray90820: you do use Linux, yes?
<bray90820>
Corrently on ubuntu 24.10
<Riviera>
I don't even really know how to add stuff on Linux, because it's probably a desktop environment that should set the environment variables :/
<Riviera>
bray90820: what you can try is adding this line into your ~/.profile
<Riviera>
bray90820: test -d "$HOME/bin" && PATH=$HOME/bin:$PATH
<Riviera>
bray90820: for this to be executed you need to have started a "login shell," e.g. with: bash -l
<Riviera>
bray90820: i sadly don't know enough about Linux / Ubuntu to know if this is active when you restart your desktop environment. If it does not you might have to ask somebody who knows Ubuntu :)
<bray90820>
Sp apperently that added /snap/bin which was already there so now it's twice
<Riviera>
i wouldn't know how this code could have added /snap/bin except if $HOME is /snap
<Riviera>
yeah sorry bray90820, i shut up, not knowing ubuntu and all that, sorry for the confusion.
Marth64 has quit [Remote host closed the connection]
System_Error has quit [Ping timeout: 264 seconds]
xx has quit [Ping timeout: 264 seconds]
<bray90820>
Riviera: Can you at least tell me how to remove what I just added?
fling has quit [Ping timeout: 264 seconds]
<Riviera>
bray90820: well, just as you said, remove what you just added?
<Riviera>
bray90820: remove the code
<Riviera>
ah
<Riviera>
bray90820: actually wait,
<Riviera>
bray90820: did you execute "bash -l" or something like that?
xx has joined #ffmpeg
<Riviera>
bray90820: I assume that something there simply adds /snap/bin
<bray90820>
Well I'm using bash I did not enter a spesific command to exacute it tho
<Riviera>
bray90820: because with bash -l you executed some code twice. that's not big deal and would not be there in the future (once you re-login or start another shell / terminal).
<bray90820>
No I did not use bash -l
<Riviera>
ok
<Riviera>
bray90820: so what did you do?
<Riviera>
bray90820: i don't really see anything we discussed that would add /snap/bin twice to your PATH.
<Riviera>
bray90820: even if HOME were set to /snap it'd only add it once.
abdu50 has quit [Quit: Client closed]
<bray90820>
I opened the terminal and entered this command "test -d "$HOME/bin" && PATH=$HOME/bin:$PATH" cled the terminal and reopened it then exicuted $PATH and saw that /snap/bin was there twice
<bray90820>
It was previously there before I entered that command tho
<Riviera>
bray90820: yeah that's unrelated.
<Riviera>
bray90820: i told you to add that command to ~/.profile not to execute it.
<bray90820>
Oh oops my bad
<Riviera>
bray90820: if you merely executed it it has absolutely no effect on another other terminal you reopened.
<Riviera>
bray90820: no worries, but please understand: the command does not change anything for any other terminal or shell.
<bray90820>
So that add rhat to the bottom of ~/.profile
<Riviera>
bray90820: let's perhaps take that to a query via /msg because it's not really on-topic here?
EmleyMoor has quit [Ping timeout: 268 seconds]
EmleyMoor has joined #ffmpeg
System_Error has joined #ffmpeg
Shuriko has joined #ffmpeg
srikanth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]