michaelni changed the topic of #ffmpeg-devel to: Welcome to the FFmpeg development channel | Questions about using FFmpeg or developing with libav* libs should be asked in #ffmpeg | This channel is publicly logged | FFmpeg 7.0.1 has been released! | Please read ffmpeg.org/developer.html#Code-of-conduct
thilo has quit [Ping timeout: 268 seconds]
thilo has joined #ffmpeg-devel
thilo has quit [Changing host]
thilo has joined #ffmpeg-devel
Livio has quit [Ping timeout: 264 seconds]
rvalue has quit [Ping timeout: 240 seconds]
rvalue has joined #ffmpeg-devel
paulk-bis has joined #ffmpeg-devel
paulk has quit [Read error: Connection reset by peer]
Kei_N_ has joined #ffmpeg-devel
Kei_N has quit [Read error: Connection reset by peer]
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg-devel
arch1t3cht2 has joined #ffmpeg-devel
arch1t3cht has quit [Ping timeout: 268 seconds]
arch1t3cht2 is now known as arch1t3cht
sgm has quit [Remote host closed the connection]
sgm has joined #ffmpeg-devel
compn has quit [Read error: Connection reset by peer]
compn has joined #ffmpeg-devel
compnn has joined #ffmpeg-devel
compn has quit [Read error: Connection reset by peer]
compn has joined #ffmpeg-devel
compnn has quit [Read error: Connection reset by peer]
compn has quit [Ping timeout: 252 seconds]
compn has joined #ffmpeg-devel
sgm has quit [Remote host closed the connection]
sgm has joined #ffmpeg-devel
Martchus_ has joined #ffmpeg-devel
Martchus has quit [Ping timeout: 246 seconds]
HarshK23 has joined #ffmpeg-devel
paulk-bis has quit [Read error: Connection reset by peer]
paulk has joined #ffmpeg-devel
paulk has joined #ffmpeg-devel
paulk has quit [Changing host]
aphysically has joined #ffmpeg-devel
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
System_Error has quit [Remote host closed the connection]
tufei_ has quit [Remote host closed the connection]
tufei_ has joined #ffmpeg-devel
System_Error has joined #ffmpeg-devel
AbleBacon has quit [Read error: Connection reset by peer]
cone-422 has joined #ffmpeg-devel
<cone-422> ffmpeg Marton Balint master:0d5e3f5a4034: avutil/timestamp: avoid possible FPE when 0 is passed to av_ts_make_time_string2()
Livio has joined #ffmpeg-devel
<mkver> Ticket 11055 now at >200 comments.
<j-b> and how many useful?
<courmisch> -sqrt(pi) + i
<courmisch> h264_h_loop_filter_luma_8bpp_c: 66.5
<courmisch> h264_h_loop_filter_luma_8bpp_avx: 104.5
<courmisch> h264_h_loop_filter_luma_8bpp_sse2: 104.5
<courmisch> looks like the choice of "random" input is a little too random
tufei_ has quit [Remote host closed the connection]
tufei_ has joined #ffmpeg-devel
microchip__ has joined #ffmpeg-devel
microchip_ has quit [Ping timeout: 252 seconds]
microchip__ is now known as microchip_
<elenril> 0
<elenril> everyone participating should be banned, and the ticket purged
tufei_ has quit [Remote host closed the connection]
tufei_ has joined #ffmpeg-devel
compn has quit [Read error: Connection reset by peer]
compnn has joined #ffmpeg-devel
kepstin has quit [Remote host closed the connection]
kepstin has joined #ffmpeg-devel
<cone-422> ffmpeg Andreas Rheinhardt master:f26255962c1d: avcodec/aacsbr_template: Remove unused-but-set variable
<cone-422> ffmpeg Andreas Rheinhardt master:5a30b45c0fe4: avcodec/mpeg12dec: Don't adapt (last|next)_pic.linesize for field pics
<cone-422> ffmpeg Andreas Rheinhardt master:ba457e9adbd8: avfilter/textutils,vf_drawtext,qrencode: Constify function pointers
<cone-422> ffmpeg Andreas Rheinhardt master:2330e77c976f: avfilter/textutils: Constify ff_expand_text()
<cone-422> ffmpeg Andreas Rheinhardt master:2902ed25b58c: avcodec/iirfilter: Move ff_iir_filter() to lavc/tests/iirfilter.c
b50d has joined #ffmpeg-devel
<courmisch> so h264_loop_filter_strength not only has no checkasm, but it does not even have a C implementation
<courmisch> convenient
<courmisch> forcing me to decipher MMXEXT code has to be a human rights violation, for sure
b50d has quit [Remote host closed the connection]
compnn has quit [Ping timeout: 255 seconds]
compn has joined #ffmpeg-devel
<nevcairiel> what does the code do if i run it on arm
<nevcairiel> i see it has a different wrapper function if its not set
Livio has quit [Ping timeout: 272 seconds]
<courmisch> nevcairiel: there's a rather different bespoke code path if there's no arch optimisation
Livio has joined #ffmpeg-devel
compn has quit [Read error: Connection reset by peer]
compn has joined #ffmpeg-devel
AndrewSayers1 has quit [Quit: Leaving.]
AndrewSayers has joined #ffmpeg-devel
Krowl has joined #ffmpeg-devel
<Daemon404> opened 11055 to look
<Daemon404> > Balling
<Daemon404> closed
<nevcairiel> Hey I did just that a few hours ago
Livio has quit [Ping timeout: 240 seconds]
ccawley2011 has joined #ffmpeg-devel
cone-422 has quit [Quit: transmission timeout]
Krowl has quit [Read error: Connection reset by peer]
Krowl has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
<courmisch> well it's good that he's busy with some place I don't monitor
compnn has joined #ffmpeg-devel
compn has quit [Ping timeout: 240 seconds]
cone-442 has joined #ffmpeg-devel
<cone-442> ffmpeg Rémi Denis-Courmont master:2c900d4c1119: lavc/vc1dsp: factor R-V V inv_trans_8 code
<cone-442> ffmpeg Rémi Denis-Courmont master:b818dff8d8e1: lavc/vc1dsp: fix potential overflow in R-V V inv_trans_4
<cone-442> ffmpeg Rémi Denis-Courmont master:349c49fd1bc5: lavc/vc1dsp: fix overflow in R-V V inv_trans_8
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg-devel
Livio has joined #ffmpeg-devel
mkver has quit [Ping timeout: 256 seconds]
Livio has quit [Ping timeout: 246 seconds]
ccawley2011 has quit [Read error: Connection reset by peer]
ccawley2011 has joined #ffmpeg-devel
Livio has joined #ffmpeg-devel
iive has joined #ffmpeg-devel
YourNick99 has joined #ffmpeg-devel
<YourNick99> hello. I downloaded the latest FFMPEG Static build 7.0 and 6.1 on GITHUB https://github.com/BtbN/FFmpeg-Builds
<YourNick99> The problem is that all your builds don't contain ALSA Output device... I tested FFPLAY on many Debian 12 Based Distro... ALSA doesn't appear in the device list at all...
<YourNick99> Do you enabled libasound devel at your compile?
<YourNick99> Look at the ffplay output... there is no ALSA:
<YourNick99> Devices:
<YourNick99> D. = Demuxing supported
<YourNick99> .E = Muxing supported
<YourNick99> ---
<YourNick99> DE fbdev Linux framebuffer
<YourNick99> D kmsgrab KMS screen capture
<YourNick99> D lavfi Libavfilter virtual input device
<YourNick99> D openal OpenAL audio capture device
<YourNick99> DE oss OSS (Open Sound System) playback
<YourNick99> DE pulse Pulse audio output
<YourNick99> E sdl,sdl2 SDL2 output device
<YourNick99> DE video4linux2,v4l2 Video4Linux2 output device
<YourNick99> D x11grab X11 screen capture, using XCB
<YourNick99> E xv XV (XVideo) output device
<BtbN> alsa lib cannot be statically linked, use PA instead
<BtbN> And don't flood the channel
<YourNick99> OSS is working through... Is it because SDL2 is statically linked in the build?
<BtbN> It's because OSS is just dumping raw pcm into a file in /dev :D
<YourNick99> Anyway, i'm trying to make ALSA work even if PA is working. Is SDL2 statically linked?
AndrewSayers has quit [Quit: Leaving.]
<BtbN> Again, you cannot statically link alsas library
<BtbN> so it won't work with a static build
<YourNick99> that i know but is it because os SDL2?
<BtbN> I have no idea what SDL got to do with anything
<YourNick99> I've read that alsa is detected by SDL2, is that true?
<BtbN> ffmpeg does not use SDL for audio output
<BtbN> ffplay might, but that's about it
<BtbN> And again again: You cannot statically link alsas library
<BtbN> no matter if you put SDL in between it and ffmpeg or not
<YourNick99> that's the issue. I'm talking about ffplay. How is ffplay detecting alsa lib? Is it by SDL2?
<BtbN> It's not, since it cannot be statically linked.
Warcop has quit [Remote host closed the connection]
<YourNick99> ok so by logic, the shared build you make should make ALSA work?
<BtbN> no
<BtbN> For the fourth time: You cannot statically link alsas library
<BtbN> And if I would link it as a shared library, and the distro uses a different version, it'd fail to start at all or crash
<BtbN> So it's not feasible to include it in static builds.
<BtbN> I also just noticed that you're in the wrong channel. User-Questions go to #ffmpeg
AndrewSayers has joined #ffmpeg-devel
<YourNick99> yes i understand that. I was wondering if alsa lib could be a big issue... I will do some static build test on my side and see if i can find a way to make it works. I didn't look at the flags concerning alsa to be honest.
<BtbN> You cannot
<YourNick99> ok thanks BtbN and sorry for the flood :)
<BtbN> I spent significant time on it, trying to build a shim loader. Just not worth it.
Warcop has joined #ffmpeg-devel
YourNick99 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<Marth64> best example to start for serializing json (from a demuxer)? ffprobe?
<Marth64> context: want dvd demuxer to provide list and properties of of available titles, menus, etc
<BtbN> It's usually done the printf-way I think
<Marth64> should be fine, i have nothing to escape, all numbers and simple constant strings
YourNick99 has joined #ffmpeg-devel
<Marth64> was thinking usage in theory like ffmpeg -f dvdvideo -mode list -map 0:d -f data - --> json
<YourNick99> ya made it to work with the following command. FFPLAY is using SDL2 as output device. But we must specify ALSA backend that SDL2 wil use like this: env SDL_AUDIODRIVER=alsa AUDIODEV=hw:0 ffplay
<YourNick99> So i Can still use ALSA even if ALSA outpout device is not available.
HarshK23 has quit [Quit: Connection closed for inactivity]
YourNick99 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<BtbN> I doubt that works, given that SDL itself is also statically linked and thus has the exact same problem of needing a static alsa lib, which is impossible.
AbleBacon has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
cone-442 has quit [Quit: transmission timeout]
compnn has quit [Read error: Connection reset by peer]
compn has joined #ffmpeg-devel
Livio has quit [Quit: Reconnecting]
Livio has joined #ffmpeg-devel
compnn has joined #ffmpeg-devel
compn has quit [Ping timeout: 255 seconds]
Livio has quit [Ping timeout: 252 seconds]
jamrial has joined #ffmpeg-devel
ccawley2011 has quit [Read error: Connection reset by peer]
compnn has quit [Read error: Connection reset by peer]
compn has joined #ffmpeg-devel
AndrewSayers1 has joined #ffmpeg-devel
AndrewSayers has quit [Ping timeout: 246 seconds]
Guest35 has joined #ffmpeg-devel
<Guest35> Well BtbN, after looking at another Static project made by johnvansickle.com, ALSA Support is well compiled statically. So you should do the same. It will not break anything because he did it. Look at the compile options on his side: https://johnvansickle.com/ffmpeg/release-readme.txt
<Guest35> libalsa: 1.2.4 can be compiled statically without any problem. I also believe that alsa is not the kind of library that could cause regression or incompatibility problem on any "recent" platform
Guest35 has quit [Client Quit]
<BtbN> Well, my investigation into it looks vastly different
<BtbN> libalsa loads a lot of plugins at runtime, and those need to match the library _perfectly_
<BtbN> There is no guarantee for ABI between libalsa and its plugins
<BtbN> And there is no mechanism for linking those plugins statically
<BtbN> so linking the main lib statically will inevitably lead to crashes if the versions don't happen to line up
<psykose> which plugins
<BtbN> stuff like the PA one
<BtbN> And there's a whole set of other ones that come directly with libalsa
<iive> like dmix
<psykose> the ones that come from alsa-plugins?
<BtbN> That's where the PA one and friends live
<BtbN> but there's a whole bunch of first-party ones
<psykose> arent the alsa-lib ones already in the lib
<psykose> they're not separate files
<BtbN> nope, they're runtime-loaded
<psykose> i don't see anything in alsa-lib except the library and conf files
<psykose> there are no separate plugins
<psykose> the alsa-plugins ones are loaded but that's all optional and separate
<BtbN> Well, every time I tried it, it went badly
<BtbN> Despite alsa officially saying they support static linking even
<q66> anything that is in alsa-plugins is largely useless especially considering one should always be using a sound server anyway
<psykose> yeah there's no libasound_module_*.so in alsa-lib itself
<q66> so just the library is all one needs
<BtbN> Well, the PA plugin is kinda important
<BtbN> or the Pipewire at that
<psykose> if someone was using PA they would be connecting with libpulse already
<q66> yes those are loadable
<psykose> why would they use the alsa output for ffmpeg just to then connect to pa
<psykose> instead of pa directly
<q66> yea
<psykose> it's not like you'd only have alsa support that then needs a pa plugin
<BtbN> Cause you got no clue you're using PA/copied an invocation of Stackoverflow
<q66> the pa/pipewire plugins are pretty much only for scuffed applications that use alsa api directly
<psykose> user issue
<BtbN> I forgot what the exact issue was, it's been long ago
<BtbN> But statically linking that lib did not work out
<BtbN> it wanted to load stuff at runtime, and failed
<psykose> q66: they're useless there too because pa/pw support regular alsa clients and don't need alsa to load a pa plugin to talk to them
<q66> nah
<q66> the alsa client support is through the plugins
<q66> like, pa comes with an alsa plugin, pw comes with an alsa plugin
<psykose> ah
<q66> when an alsa client does audio, it talks to alsa, alsa loads the plugin, plugin talks to pipewire or whatever, pipewire talks back to alsa at low level
<psykose> yea makes sense then
<psykose> this is definitely abi compatible tho
<psykose> i guess it makes sense static alsa cant load it tho
<BtbN> These were the troublesome plugins
<q66> these "plugins" are not really plugins
<q66> you can select what you build but they get built in
<psykose> those are all =all by default and they are built into the lib, at least the .so one
<psykose> same for .a, all built in
<psykose> i guess it changed some time ago
<BtbN> Gotta try again at some point then
<BtbN> maybe they fixed it
compnn has joined #ffmpeg-devel
compn has quit [Read error: Connection reset by peer]
<psykose> id hope so
<psykose> i guess i'm just hoping dlopen of the pw/pa plugins later works anyway
<BtbN> Only if the ABI those plugins were built again matches
<q66> alsa lib does not break abi
mkver has quit [Ping timeout: 264 seconds]