ChanServ 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.1 is released
JanC is now known as Guest3552
Guest3552 has quit [Killed (iridium.libera.chat (Nickname regained by services))]
JanC has joined #ffmpeg
galad has joined #ffmpeg
iive has quit [Quit: They came for me...]
Shine_ has joined #ffmpeg
lolok has quit [Quit: lolok]
minimal has quit [Quit: Leaving]
Shine_ has quit [Read error: Connection reset by peer]
damian101 has joined #ffmpeg
Br0k3nD00RKn0b has joined #ffmpeg
damian101_ has quit [Ping timeout: 272 seconds]
pastelowl has quit [Ping timeout: 252 seconds]
pastelowl has joined #ffmpeg
mtoy has quit [Read error: Connection reset by peer]
mtoy has joined #ffmpeg
Shuriko has quit [Read error: Connection reset by peer]
damian101_ has joined #ffmpeg
damian101 has quit [Ping timeout: 276 seconds]
acidbunny has joined #ffmpeg
tokyovigilante has quit [Remote host closed the connection]
tokyovigilante has joined #ffmpeg
damian101 has joined #ffmpeg
damian101_ has quit [Ping timeout: 260 seconds]
Shuriko has joined #ffmpeg
damian101_ has joined #ffmpeg
damian101 has quit [Ping timeout: 272 seconds]
maxim_d33 has quit [Ping timeout: 245 seconds]
damian101 has joined #ffmpeg
damian101_ has quit [Ping timeout: 260 seconds]
maxim_d33 has joined #ffmpeg
damian101_ has joined #ffmpeg
damian101 has quit [Ping timeout: 276 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
_whitelogger has joined #ffmpeg
damian101_ has quit [Ping timeout: 260 seconds]
pastelowl has quit [Quit: WeeChat 4.6.3]
_whitelogger has joined #ffmpeg
Fiji_ has quit [Ping timeout: 260 seconds]
cantelope has quit [Quit: Connection closed for inactivity]
jarthur has quit [Ping timeout: 276 seconds]
jmcantrell has quit [Ping timeout: 252 seconds]
YuGiOhJCJ has joined #ffmpeg
damian101_ has joined #ffmpeg
Vonter has quit [Ping timeout: 276 seconds]
hussein1 has quit [Remote host closed the connection]
hussein1 has joined #ffmpeg
damian101 has quit [Ping timeout: 252 seconds]
Vonter has joined #ffmpeg
Flat has quit [Quit: Rip internet]
xx has joined #ffmpeg
chiselfuse has quit [Remote host closed the connection]
System_Error has quit [Remote host closed the connection]
chiselfuse has joined #ffmpeg
nrg has quit [Ping timeout: 252 seconds]
nrg has joined #ffmpeg
System_Error has joined #ffmpeg
lusciouslover has quit [Read error: Connection reset by peer]
lusciouslover has joined #ffmpeg
lavaball has joined #ffmpeg
qqe has joined #ffmpeg
Flat has joined #ffmpeg
damian101 has joined #ffmpeg
damian101_ has quit [Ping timeout: 260 seconds]
lavaball has quit [Remote host closed the connection]
lavaball has joined #ffmpeg
damian101_ has joined #ffmpeg
damian101 has quit [Ping timeout: 272 seconds]
Br0k3nD00RKn0b has quit [Quit: Br0k3nD00RKn0b]
Br0k3nD00RKn0b has joined #ffmpeg
xx has quit [Remote host closed the connection]
xx has joined #ffmpeg
martylake has quit [Ping timeout: 252 seconds]
internatetional has joined #ffmpeg
internatetional has quit [Client Quit]
MisterMinister has quit [Ping timeout: 248 seconds]
Rena has quit [Ping timeout: 252 seconds]
martylake has joined #ffmpeg
microlappy has joined #ffmpeg
microlappy has quit [Client Quit]
martylake has quit [Ping timeout: 272 seconds]
coldfeet has joined #ffmpeg
martylake has joined #ffmpeg
bsFFFFFF has joined #ffmpeg
bsFFFFFF has quit [Ping timeout: 260 seconds]
bsFFFFFF has joined #ffmpeg
rvalue- has joined #ffmpeg
Br0k3nD00RKn0b has quit [Quit: Br0k3nD00RKn0b]
rvalue has quit [Ping timeout: 265 seconds]
qqe has quit [Read error: Connection reset by peer]
coldfeet has quit [Quit: Lost terminal]
lolok has joined #ffmpeg
FH_thecat has quit [Quit: Leaving]
JanC is now known as Guest9828
Guest9828 has quit [Killed (mercury.libera.chat (Nickname regained by services))]
JanC has joined #ffmpeg
rvalue- is now known as rvalue
coldfeet has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
FH_thecat has joined #ffmpeg
qqe has joined #ffmpeg
SuicideShow has quit [Ping timeout: 260 seconds]
pikapika_lunar_a has quit [Read error: Connection reset by peer]
SuicideShow has joined #ffmpeg
pikapika_lunar has joined #ffmpeg
rsx has joined #ffmpeg
Shine_ has joined #ffmpeg
Sketch has quit [Remote host closed the connection]
Sakura`Kinomoto has quit [Ping timeout: 248 seconds]
Sakura`Kinomoto has joined #ffmpeg
Rena has joined #ffmpeg
hussein1 has quit [Remote host closed the connection]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
rsx has quit [Quit: rsx]
<sam113101>
often ffmpeg refuses to terminate
<sam113101>
then I close it forcefully, and I'm missing a big chunk of the video…
beneth has quit [Server closed connection]
Fiji_ has joined #ffmpeg
cantelope has joined #ffmpeg
pikapika_lunar is now known as militantorc
user_oreloznog has joined #ffmpeg
Mister_Magister has quit [Quit: bye]
Mister_Magister has joined #ffmpeg
treefrob has quit [Server closed connection]
treefrob has joined #ffmpeg
HarshK23 has joined #ffmpeg
qqe has quit [Quit: Lost terminal]
MisterMinister has joined #ffmpeg
bsFFFFFF has quit [Read error: Connection reset by peer]
bsFFFFFF has joined #ffmpeg
artichoke42 has joined #ffmpeg
<artichoke42>
i'm encoding a bunch of video content with various audio codecs and converting them into AC3 2 channel 192kbps stereo. when downconverting mutlichannel to 2 channel stereo i want to add +2dB gain to the center channel before the downmix. Suggestions on doing that correctly? i've googled but most of the stuff refers to filters such as loudnorm which
<artichoke42>
just compresses the entire audio stream or changes the entire stream absolute volume. The goal is more clear dialgoue from multichannel to 2 channel. thanks
tel3 has quit [Ping timeout: 272 seconds]
bsFFFFFF has quit [Ping timeout: 265 seconds]
SuicideShow has quit [Quit: ...gone]
HarshK23 has quit [Quit: Connection closed for inactivity]
<cantelope>
um. 2 channel IS multichannel
<cantelope>
center channel?
<cantelope>
what are you smoking?
SuicideShow has joined #ffmpeg
<artichoke42>
sorry, wrong verbiave
<artichoke42>
verbiage
<artichoke42>
5, 6, and 7+ channel audio down to 2 ch stereo
<artichoke42>
on my current playback software there is a setting to raise center channel gain if down conversion to 2 channel stereo is required on device playback
<artichoke42>
it helps with dialogue
<artichoke42>
i want to replicate that when encoding 5+ channel surround to 2.0
de-facto has quit [Ping timeout: 244 seconds]
lavaball has quit [Remote host closed the connection]
<artichoke42>
so the audio filter should allow gain adjustment per channel *before* down conversion to 2 channel stereo
pastelowl has joined #ffmpeg
de-facto has joined #ffmpeg
<BtbN>
I don't think there is a universal way to do that
<BtbN>
you'd at the very least need two command lines, based on the presence or absence of a center channel
bsFFFFFF has joined #ffmpeg
lavaball has joined #ffmpeg
beneth has joined #ffmpeg
relue has quit [Ping timeout: 245 seconds]
<artichoke42>
i saw suggestions such as this "pan=stereo|FL=FC+0.30*FL+0.30*FLC+0.30*BL+0.30*SL+0.60*LFE|FR=FC+0.30*FR+0.30*FRC+0.30*BR+0.30*SR+0.60*LFE"
relue has joined #ffmpeg
olspookishmagus has quit [Server closed connection]
olspookishmagus has joined #ffmpeg
<BtbN>
Yeah, but you will have to craft something like that for every input layout you got
<artichoke42>
true
<artichoke42>
i'm still evolving the idea, so i appreciate everyone
<artichoke42>
....everyone's input.
<BtbN>
I don't think there is a simple solution to this
<BtbN>
you could patch the conversion tables, and make center more pronounced for all layout you care about
tel3 has joined #ffmpeg
<artichoke42>
BtbN i appreciate the ideas, thanks. research will continue....
artichoke42 has quit [Quit: Client closed]
artichoke42 has joined #ffmpeg
user_oreloznog_ has joined #ffmpeg
user_oreloznog has quit [Ping timeout: 260 seconds]
Narrat has joined #ffmpeg
pastelowl has quit [Quit: WeeChat 4.6.3]
System_Error has quit [Remote host closed the connection]
jmcantrell has joined #ffmpeg
lavaball has quit [Quit: lavaball]
lavaball has joined #ffmpeg
System_Error has joined #ffmpeg
pastelowl has joined #ffmpeg
artichoke42 has quit [Ping timeout: 272 seconds]
artichoke42 has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
JanC has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
JanC has joined #ffmpeg
artichoke42 has quit [Quit: Client closed]
artichoke42 has joined #ffmpeg
Fiji_ has quit [Ping timeout: 252 seconds]
hussein1 has joined #ffmpeg
Shine_ has quit [Read error: Connection reset by peer]
artichoke42 has quit [Quit: Client closed]
bsFFFFFF has quit [Ping timeout: 245 seconds]
bsFFFFFF has joined #ffmpeg
minimal has joined #ffmpeg
iive has joined #ffmpeg
Sonak has joined #ffmpeg
<Sonak>
I'm trying to encode a video using libsvtav1, but if I try to do it with 10-bit color depth, ffmpeg fails on an assert that seems to be AVX-512 related.
<iive>
the assertion requires the destination buffer/block to be aligned to 32 bytes (probably). I don't know if the library requests the buffer from ffmpeg.
<iive>
just a moment...
<Sonak>
In the terminal output, there is so info on memory allocation from SVT
<iive>
the library driver seems to use av_frame_alloc, so it's likely allocated by ffmpeg.
<Sonak>
Here's a paste of the terminal output, if that helps: https://bpa.st/EE7A
lusciouslover has quit [Quit: \]
<iive>
Sonak, does gentoo keep the build directory after compilation/installation?
<iive>
if ffmpeg is compiled with simd, it would use 32 or 64 alignment for everything... including data structures.
lusciouslover has joined #ffmpeg
<iive>
but I see -disable-optimizations in the configure flags, and if this turns off asm optimization, it would turn off simd too.
<Sonak>
No, the build directory is ephemeral.
<iive>
ok, i'll take a look of the configure, or config a new build.
<iive>
nah, looks like only gcc flag optimizations... let's check
<iive>
I don't think I'll be able to find a quick workaround... you might want to start a build and pause it (ctrl+z) and check the 'config.h' file in the ffmpeg source directory. It should contain "#defined HAVE_SIMD_ALIGN_64 1"
<iive>
if that's "1" then all mallocs are aligned to 64 bytes.
<iive>
in ffmpeg.
<iive>
the library might allocate it's own buffers and have an bug...
<iive>
one workaround could be disabling avx512 optimizations in ffmpeg and libsvtav1 and recompiling. depending on the bug, it might trigger at avx256 too.
xx has quit [Ping timeout: 244 seconds]
<Sonak>
Disabling optimizations isn't so simple. There's a global build configuration that passes in -march=native. I think there's also another var somewhere that has a list of supported cpu capabilities that are used by applications that do hand-tuned assembly to know which optimizations can be utilized. Those aren't things that are typically changed on a per-package basis.
<Sonak>
Anyways, I'm less concerned with a work-around and more making sure I'm not doing something wrong, and if I've hit a bug, I guess make sure it's known.
<Sonak>
I'll look into trying to get a proper config
Some_Person has joined #ffmpeg
<iive>
it's definitely a bug :)
<iive>
but I don't have avx512 so I won't be able to reproduce it locally.
<iive>
i guess the library is av1 encoder.
<iive>
you might want to create the smallest input file that can reproduce the issue (with -c copy )
<Sonak>
Always AVX-512 doing this to me. First it was valgrind, which was particularly bad on gentoo because the "workaround" for that is to build your applications without avx-512... but if your libc was built with avx-512...
<iive>
valgrind is literally CPU emulator, so if it doesn't support your instructions, you can't run your programs...
<iive>
in it.
<iive>
I also think that there are a number of different subsets of axv512 to make life more complicated...
<Sonak>
I think the valgrind problem was that Intel stopped paying people to add support for avx512 to valgrind after AMD beat them at their own game and Intel removed the instruction from subsequent CPUs.
<iive>
intel...
<iive>
I also heard that the recent cuts fired opensource video card driver developers... and they just got their cards to a usable state.
<Sonak>
Oh no. Intel's codec support was supposed to be the best.
<Sonak>
Looks like I've got my `#define HAVE_SIMD_ALIGN_64 1`
<iive>
yep... report the bug first to the library developers.
Some_Person has quit [Ping timeout: 260 seconds]
Some_Person has joined #ffmpeg
<Sonak>
Well in positive news, I did find an easy workaround. libsvtav1 has a parameter to limit the avx assembly instructions. set it to asm=avx2 and it's not dying. No rebuilding necessary.
<iive>
nice
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.]
EmleyMoor has quit [Ping timeout: 265 seconds]
lusciouslover has quit [Remote host closed the connection]
lusciouslover has joined #ffmpeg
EmleyMoor has joined #ffmpeg
<Ingvix>
how do I tell lavfi that my amovie stream has 2 channels?