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
Marth64 has quit [Ping timeout: 260 seconds]
Shuriko has joined #ffmpeg
five618480339176 has quit [Quit: The Lounge - https://thelounge.chat]
five618480339176 has joined #ffmpeg
Mister_Magister has quit [Quit: bye]
Mister_Magister has joined #ffmpeg
iive has quit [Quit: They came for me...]
zenstoic has joined #ffmpeg
wobbol has joined #ffmpeg
lusciouslover has joined #ffmpeg
xx has quit [Ping timeout: 264 seconds]
pyre has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
pyre has joined #ffmpeg
five618480339176 has quit [Quit: The Lounge - https://thelounge.chat]
YUiNA has quit [Ping timeout: 245 seconds]
upekkha has quit []
upekkha has joined #ffmpeg
five618480339176 has joined #ffmpeg
<aaabbb> why is yuvtestsrc so much faster than testsrc (which does rgb24)? it's a bit more than 10x faster
Marth64[m] is now known as Marth64
nasso has quit [Quit: ZNC 1.8.2 - https://znc.in]
<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
<Marth64> uh oh
<aaabbb> ffmpeg -f lavfi -i yuvtestsrc,scale=dst_format=rgb24,format=pix_fmts=bgr8 -f null -
<aaabbb> lots of libc errors, sometimes segfaults
<aaabbb> going to check it on the btbn build in a bit to make sure it's not an old bug
<Marth64> hmmm..I'm running on latest master and don't see any such issues. just valgrinded it too
<Marth64> mind sharing your configuration options? (near the top of the version banner)
<aaabbb> this is debian stable so it may just be an issue with its age
<aaabbb> configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig
<aaabbb> --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1
<aaabbb> --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394
<Marth64> ah yeah it could be age
<aaabbb> --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
<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]
minimal has joined #ffmpeg
srikanth has joined #ffmpeg
Shine has quit [Ping timeout: 252 seconds]
lusciouslover has joined #ffmpeg
elChippo has quit [Quit: There is no spoon!]
microchip_ has joined #ffmpeg
coldfeet has joined #ffmpeg
lec_thege8042726 has joined #ffmpeg
abdu11 has quit [Quit: Client closed]
abdu11 has joined #ffmpeg
luser1 has quit [Quit: The Lounge - https://thelounge.chat]
HarshK23 has joined #ffmpeg
acryo has quit [Ping timeout: 265 seconds]
luser1 has joined #ffmpeg
acryo has joined #ffmpeg
acryo has joined #ffmpeg
acryo has quit [Changing host]
YUiNA has joined #ffmpeg
srikanth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rsx has quit [Quit: rsx]
srikanth has joined #ffmpeg
coldfeet has quit [Quit: Lost terminal]
someuser has joined #ffmpeg
Muimi_ has quit [Read error: Connection reset by peer]
Muimi_ has joined #ffmpeg
occivink has quit [Ping timeout: 248 seconds]
abdu11 has quit [Quit: Client closed]
occivink has joined #ffmpeg
abdu11 has joined #ffmpeg
someuser has quit [Ping timeout: 246 seconds]
psykose has quit [Remote host closed the connection]
psykose has joined #ffmpeg
srikanth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
srikanth has joined #ffmpeg
someuser has joined #ffmpeg
srikanth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
someuser has quit [Ping timeout: 244 seconds]
iive has joined #ffmpeg
someuser has joined #ffmpeg
someuser has quit [Ping timeout: 252 seconds]
someuser has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
srikanth has joined #ffmpeg
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
abdu50 has joined #ffmpeg
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #ffmpeg
abdu11 has quit [Ping timeout: 240 seconds]
lindylex has joined #ffmpeg
lindylex has quit [Client Quit]
abdu50 has quit [Quit: Client closed]
abdu50 has joined #ffmpeg
bray90820 has joined #ffmpeg
<bray90820> So I'm having an issie I inpoirted a bluray and I can't seem to convert it to H.265 correctly
<bray90820> the end of that pastevin is what maters most I believe
<another|> >[mp4 @ 0x6334225304c0] truehd in MP4 support is experimental, add '-strict -2' if you want to use it.
<another|> seems pretty clear
<JEEB> that would be `-strict experimental`
<bray90820> So add -strict experimental to the code and I should be good?
<JEEB> and the only reason it is experimental is because no-one's been able to verify that the writing is correct with something else than FFmpeg
<JEEB> on the output side yes, if you need to utilize truehd in mp4
<bray90820> Ok thanks
<JEEB> also I recommend you poke at Btbn's master builds from https://github.com/BtbN/FFmpeg-Builds/releases/tag/latest
<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> Oh Well that works
<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…]
iive has quit [Quit: They came for me...]