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.1 has been released! | Please read ffmpeg.org/developer.html#Code-of-conduct
<BtbN> And we can also see which part it hated: the -tag:s:s:0 part
iive has quit [Quit: They came for me...]
Kei_N_ has joined #ffmpeg-devel
<fflogger> [editedticket] MasterQuestionable: Ticket #11386 ([avformat] Subtitles and MOV are not working anymore) updated https://trac.ffmpeg.org/ticket/11386#comment:2
mkver has quit [Ping timeout: 246 seconds]
Kei_N has quit [Ping timeout: 248 seconds]
<fflogger> [editedticket] MasterQuestionable: Ticket #11399 ([trac] https://trac.ffmpeg.org/ticket/11386) updated https://trac.ffmpeg.org/ticket/11399#comment:2
<fflogger> [editedticket] jamrial: Ticket #11399 ([trac] https://trac.ffmpeg.org/ticket/11386) updated https://trac.ffmpeg.org/ticket/11399#comment:3
<fflogger> [editedticket] MasterQuestionable: Ticket #11399 ([trac] https://trac.ffmpeg.org/ticket/11386) updated https://trac.ffmpeg.org/ticket/11399#comment:4
System_Error has quit [Ping timeout: 264 seconds]
thilo has quit [Ping timeout: 252 seconds]
thilo has joined #ffmpeg-devel
^Neo has joined #ffmpeg-devel
^Neo has quit [Changing host]
^Neo has joined #ffmpeg-devel
realies has quit [Quit: Ping timeout (120 seconds)]
realies has joined #ffmpeg-devel
System_Error has joined #ffmpeg-devel
cone-065 has quit [Quit: transmission timeout]
Mirarora has quit [Remote host closed the connection]
Mirarora has joined #ffmpeg-devel
Mirarora has quit [Client Quit]
Mirarora has joined #ffmpeg-devel
Mirarora has quit [Quit: Mirarora encountered a fatal error and needs to close]
Mirarora has joined #ffmpeg-devel
^Neo has quit [Ping timeout: 252 seconds]
<fflogger> [editedticket] MasterQuestionable: Ticket #11398 ([avdevice] "avfoundation" audio capture had missing samples randomly) updated https://trac.ffmpeg.org/ticket/11398#comment:3
jamrial has quit []
<Compn> BtbN, yea i figured it was the -tag:s:s:0 :D
Martchus has joined #ffmpeg-devel
Martchus_ has quit [Ping timeout: 245 seconds]
<fflogger> [editedticket] compn: Ticket #11399 ([trac] https://trac.ffmpeg.org/ticket/11386) updated https://trac.ffmpeg.org/ticket/11399#comment:5
<Compn> thanks for fixing it
HarshK23 has joined #ffmpeg-devel
abdo has joined #ffmpeg-devel
abdu has joined #ffmpeg-devel
<fflogger> [editedticket] MasterQuestionable: Ticket #11399 ([trac] https://trac.ffmpeg.org/ticket/11386) updated https://trac.ffmpeg.org/ticket/11399#comment:6
ngaullier has joined #ffmpeg-devel
ngaullie has joined #ffmpeg-devel
ngaullier has quit [Ping timeout: 276 seconds]
j45 has quit [Ping timeout: 276 seconds]
mkver has joined #ffmpeg-devel
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
j45 has joined #ffmpeg-devel
averne has quit [Ping timeout: 272 seconds]
abdu has quit [Ping timeout: 240 seconds]
abdo has quit [Ping timeout: 244 seconds]
abdo has joined #ffmpeg-devel
^Neo has joined #ffmpeg-devel
^Neo has quit [Changing host]
^Neo has joined #ffmpeg-devel
abdu has joined #ffmpeg-devel
ccawley2011_ has joined #ffmpeg-devel
^Neo has quit [Ping timeout: 245 seconds]
osvein has joined #ffmpeg-devel
ccawley2011_ has quit [Ping timeout: 265 seconds]
^Neo has joined #ffmpeg-devel
^Neo has joined #ffmpeg-devel
^Neo has quit [Changing host]
cubicibo has joined #ffmpeg-devel
HonestLeader has joined #ffmpeg-devel
jamrial has joined #ffmpeg-devel
abdo has quit [Ping timeout: 252 seconds]
abdu has quit [Ping timeout: 240 seconds]
abdu has joined #ffmpeg-devel
abdo has joined #ffmpeg-devel
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg-devel
ccawley2011_ has joined #ffmpeg-devel
Raz- has joined #ffmpeg-devel
<HonestLeader> when is final release?
cubicibo has quit [Quit: Ping timeout (120 seconds)]
ccawley2011_ has quit [Ping timeout: 252 seconds]
<jamrial> even without valgrind, fate-enhanced-flv-multitrack sometimes fails
<BtbN> nevcairiel also observed it, but it makes no sense. It _sometimes_ fails to probe
<jamrial> valgrind reports use of uninitialized variables
<BtbN> The probe function wasn't even touched though, so it's super odd
<BtbN> Where? I only see it point at an .err file, which fate does not seem to capture?
<jamrial> ==1678617== Conditional jump or move depends on uninitialised value(s)
<jamrial> ==1678617== at 0x78B67E: flv_read_packet (flvdec.c:1809)
<jamrial> it's ret
<BtbN> Where is that log?
<jamrial> in the link i pasted above, expand stderr for enhanced-flv-multitrack
<BtbN> oh you can click that
<BtbN> I'm quite confused how a complete pass of flv_read_packet() can happen with ret still being uninitialized
<jamrial> one of the goto leave; doesn't set ret
<jamrial> it may be that
<BtbN> yeah, though that sample should not have multi channel info
<BtbN> still an issue
<jamrial> just to be sure, you could also initialize ret to AVERROR_BUG
<jamrial> so at least the failure is reproducible
<BtbN> I mean, the obvious fix would be to initialize it, but that'd kinda only hide stuff
<jamrial> it will not hide anything if you set it to AVERROR_BUG :p
<BtbN> I'll need to investigate this when I get home
<fflogger> [editedticket] dericed: Ticket #11338 ([ffmpeg] Error transcoding from dv source - fps 60000 is too large) updated https://trac.ffmpeg.org/ticket/11338#comment:1
<jamrial> BtbN: just tried, and it's that multichannel path goto after all
<BtbN> probably just needs a ret = 0 before to goto
<jamrial> 0, or REDO?
<BtbN> maybe the whole goto is just there by error, and it can just go on
<BtbN> Need to re-read the spec
<jamrial> ok
<BtbN> I don't immedaltely see why it'd need to leave after multichannel data
<BtbN> I guess cause there's no actual packet?
<HonestLeader> hacks with goto
<jamrial> BtbN: size is 0 at that point, so no more data indeed
<BtbN> Well, but it could be a multitrack packet
<BtbN> It's just that nothing so far muxes those
averne has joined #ffmpeg-devel
averne has quit [Client Quit]
averne has joined #ffmpeg-devel
ccawley2011_ has joined #ffmpeg-devel
zsoltiv has quit [Ping timeout: 252 seconds]
zsoltiv_ has quit [Ping timeout: 244 seconds]
pross has quit [Ping timeout: 252 seconds]
System_Error has quit [Remote host closed the connection]
abdu has quit [Ping timeout: 240 seconds]
ccawley2011_ has quit [Read error: Connection reset by peer]
ccawley2011_ has joined #ffmpeg-devel
^Neo has quit [Ping timeout: 260 seconds]
abdu has joined #ffmpeg-devel
kasper93_ has joined #ffmpeg-devel
kasper93 has quit [Ping timeout: 272 seconds]
kasper93_ is now known as kasper93
kasper93 has quit [Ping timeout: 248 seconds]
kasper93 has joined #ffmpeg-devel
<beastd> BtbN: You maybe already found out, but IIRC for trac tickets the tags are what is in the keywords attribute
<BtbN> no, that's keywords, not tags
<BtbN> the tags system simply doesn't care about tickets
<BtbN> But it'll still try to format them with the wiki-formater
<beastd> hmm, that's strange. it should care about tickets
<BtbN> There are no tags linking to tickets in the database. All tags in there reference wiki pages
<beastd> yes, but the tractags plugin uses both the tags linked to wiki pages and the keywords in the ticket attributes
<BtbN> possible, but unrelated to the issue anyway
<BtbN> it was simply trying to parse wiki-formating in an ffmpeg output log, found it saying tag:, and then exploded
<beastd> BtbN: alright, then it's true but unrelated *shrug*
<beastd> "it was simply trying to parse wiki-formating in an ffmpeg output log, found it saying tag:, and then exploded" ← wow! that sounds bogus, but i sure believe you it was the case.
abdo_ has joined #ffmpeg-devel
ccawley2011_ has quit [Ping timeout: 252 seconds]
<BtbN> jamrial: yeah, the next_track label needs to move up a bit, since there can be more Multichannel-Info in the same packet
<HonestLeader> which next decoder to do?
ccawley2011_ has joined #ffmpeg-devel
<jamrial> alpha support in hevc
<HonestLeader> patch for that already exist
<BtbN> jamrial: I think in the end, initializing ret to 0 is correct
<BtbN> there is simply nothing in that entire code path that'd set it
<BtbN> and nothing setting it to error should equate success here
<HonestLeader> ldac ? bink2 ? something else?
<BtbN> Also just randomly found that muxing mpeg4 into flv only works cause ff_isom_write_avcc just writes the raw extradata to the avio context if it doesn't find a startcode.
cone-874 has joined #ffmpeg-devel
<cone-874> ffmpeg Timo Rothenpieler master:4c2b769e5332: avformat/flvdec: clean up variable initialization spacing
<cone-874> ffmpeg Timo Rothenpieler master:0ed34467382a: avformat/flvdec: fix potential premature return on audio MultichannelConfig
<cone-874> ffmpeg Timo Rothenpieler master:e9de794d7fb0: avformat/flvdec: add missing track_size decrement
<cone-874> ffmpeg Timo Rothenpieler master:b32a1a69a4db: avformat/flvenc: properly handle writing mpeg4 extradata
<cone-874> ffmpeg Alessandro Ros master:9fe66c7fcbbb: avformat/flvenc: fix missing sequence start with MP3 tracks
<jamrial> BtbN: so we should let it keep going after that point since there could be more data in the packet?
<BtbN> yes, there could be more AudioPacketTypeMultichannelConfig data in the same packet
ngaullie has quit [Remote host closed the connection]
<BtbN> so far no known muxer for enhanced flv produces those packets, but it's possible as per the spec
<jamrial> cool
<jamrial> does b32a1a69a4db fix the leak?
<BtbN> leak?
<jamrial> there was a memleak too in the valgrind output
<jamrial> guess it doesn't then :p
<BtbN> b32a1a69a4db should make zero functional difference
<jamrial> yeah
<BtbN> it's what it'd have done so far anyway, just inside of ff_isom_write_avcc, which is dirty
<jamrial> this one shows only the memleak and skips the ubsan stuff
<BtbN> not sure what kind of leak it's seeing there. The code looks fine at first glance
<jamrial> ah, you need to use a tmp variable for av_realloc
<BtbN> It should probably just be using av_reallocp_array
<HonestLeader> av_realloc_f
<BtbN> av_reallocp_array uses that internally
<BtbN> not entirely sure what the difference between the two is
<jamrial> err, one mistake in the last line, but you get the idea
<BtbN> flv->mt_extradata is also never freed, is it?
<BtbN> So that pointer is just a clean leak
<BtbN> Only mt_extradata_sz is
<jamrial> yeah
___nick___ has joined #ffmpeg-devel
___nick___ has quit [Client Quit]
<jamrial> also http://pastie.org/p/0YJuKKv7g27DjKzJtSN6yX this should ensure future changes that introduce a goto leave; with no ret being set don't silently return 0 when they might have meant to return something else
___nick___ has joined #ffmpeg-devel
<BtbN> hm, using av_reallocp_array is not good. It'd leak all the extradata already in there on failure.
<BtbN> same for av_realloc_f
<HonestLeader> wt?
<HonestLeader> realloc_f never leaks!
<HonestLeader> read header docs
<BtbN> It's an array to more allocations
<BtbN> and realloc_f will free the array on failure, so no chance to iterate it to free those
<HonestLeader> off course
<HonestLeader> if array already have pointers. you need to do manual house keeping
<HonestLeader> switch to C++/Rust
<HonestLeader> can AI already rewrite all FFmpeg code (except asm) to Rust?
mkver has quit [Ping timeout: 252 seconds]
<cone-874> ffmpeg Timo Rothenpieler master:9201f872b1c4: avformat/flvdec: properly free mt_extradata
<cone-874> ffmpeg Timo Rothenpieler master:af74fe7139f4: avformat/flvdec: don't leak extradata pointer on realloc failure
<BtbN> That should fix both leaks. I think valgrind actually saw the simple one, and not the realloc-special-case
courmisch has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
<BtbN> jamrial: feel free to push the patch for the AVERROR_BUG, it looks sensible to me and passes fate. Or I can just push it if you prefer
<HonestLeader> ffmpeg become political entity
<thardin> it has been for quite a while
darkapex has quit [Remote host closed the connection]
darkapex has joined #ffmpeg-devel
bencoh has quit [Ping timeout: 246 seconds]
<cone-874> ffmpeg James Almer master:692ce2503e80: avformat/flvdec: initialize ret in flv_read_packet() to AVERROR_BUG
bencoh has joined #ffmpeg-devel
<jamrial> BtbN: done
<BtbN> Ah, 6 months are over it seems https://github.com/FFmpeg/FFmpeg/pull/391
<HonestLeader> direct that to my project
<Traneptora> what's AV_FRAME_FLAG_LOSSLESS for? iirc decoding is usually done losslessly (i.e. fully specified)
<Traneptora> as in, missing that flag is an exception, not a rule
<jamrial> "When renaming the entire repo to peg instead of ffmpeg" lol
<HonestLeader> freepeg
<HonestLeader> pegocracy
SexyLeader has joined #ffmpeg-devel
<HonestLeader> no
<SexyLeader> yes. ffmpreg.
SexyLeader has quit [Client Quit]
<HonestLeader> who was that?
<HonestLeader> someone got ip address?
<Marth64[m]> lol wut
abdu91 has joined #ffmpeg-devel
abdo has quit [Ping timeout: 248 seconds]
abdo_ is now known as abdo
abdu has quit [Ping timeout: 240 seconds]
abdo_ has joined #ffmpeg-devel
<fflogger> [editedticket] brycechesternewman: Ticket #11217 ([ffmpeg] Output "-ss" memory consumption regression) updated https://trac.ffmpeg.org/ticket/11217#comment:11
___nick___ has quit [Ping timeout: 260 seconds]
___nick___ has joined #ffmpeg-devel
___nick___ has quit [Ping timeout: 260 seconds]
<BBB> Traneptora: I believe it means the codec supports lossless and this frame used the lossless feature
<BBB> so it's lossless compared to the source input to the encoder
<BBB> (for this frame)
System_Error has joined #ffmpeg-devel
<Traneptora> BBB: so like, "when the original was encoded, it was done so losslessly, and the decoder is able to tell that this is the case"
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg-devel
<cone-874> ffmpeg Bin Peng release/7.1:89bc70ddd81b: lavc/aarch64: Fix ff_pred8x8_plane_neon_10
<cone-874> ffmpeg Bin Peng release/7.1:54331d430590: lavc/aarch64: Fix ff_pred16x16_plane_neon_10
<cone-874> ffmpeg Bin Peng release/7.0:50c4fad6c8bd: lavc/aarch64: Fix ff_pred8x8_plane_neon_10
<cone-874> ffmpeg Bin Peng release/7.0:e2a60e532f3f: lavc/aarch64: Fix ff_pred16x16_plane_neon_10
<BBB> Traneptora: I believe so, yes
<cone-874> ffmpeg Bin Peng release/6.1:d0c887017a57: lavc/aarch64: Fix ff_pred8x8_plane_neon_10
<cone-874> ffmpeg Bin Peng release/6.1:ac60bc2bb0f6: lavc/aarch64: Fix ff_pred16x16_plane_neon_10
<cone-874> ffmpeg Bin Peng release/5.1:941b05ab56e0: lavc/aarch64: Fix ff_pred8x8_plane_neon_10
<cone-874> ffmpeg Bin Peng release/5.1:6e63e4949619: lavc/aarch64: Fix ff_pred16x16_plane_neon_10
<wbs> there, backported that one as far back as the bug existed (using the same list of branches as for other recent backports)
pross has joined #ffmpeg-devel
Teukka has quit [Read error: Connection reset by peer]
Teukka has joined #ffmpeg-devel
Teukka has quit [Changing host]
Teukka has joined #ffmpeg-devel
<beastd> wbs: Nice!
<beastd> It's kind of cool that back ports all in all seem to work so good in ffmpeg across a broad range of releases. At least that's my impression of it.
abdu91 has quit [Ping timeout: 240 seconds]
<fflogger> [newticket] superded: Ticket #11403 ([undetermined] Recording with kmsgrab can't be stopped properly) created https://trac.ffmpeg.org/ticket/11403
<beastd> Traneptora, BBB: That's also my understanding. If it's unclear. We should maybe improve the doc?
<beastd> "A flag to mark frames which were encoded losslessly from the input." <-- i would assume "encoded" makes it clear what is meant, but maybe it is too subtle?
abdu has joined #ffmpeg-devel
HarshK23 has quit [Quit: Connection closed for inactivity]
<frankplow> Anyone happen to know a workaround for "geninfo: ERROR: (inconsistent) mismatched end line for..." when trying to produce a coverage report for a templated .c file?
HonestLeader has quit [Quit: Client closed]
<Traneptora> ye, since frames are generally decoded from packets, not encoded
<Traneptora> perhaps "a flag to mark frames that a decoder has determined were originally encoded losslessly"
<Traneptora> or something
<beastd> Sounds good to me. Being more explicit, it's less easy to read and interprete it the wrong way.
<BBB> frankplow: is that on windows?
<frankplow> BBB: No, Linux
<beastd> Traneptora: Think the term input in the current version is also what can lead to a wrong conclusion. So thumbs up for omiting it in your suggestion.
<BBB> frankplow: hm, ok. strange. I've done coverage and haven't seen that before
<Traneptora> thanks. I can send a patch to update the documentation
<Traneptora> unless someone else wishes to
<frankplow> BBB: I ended up working around it by inserting some —ignore-errors in a Makefile as required, but obviously that’s not ideal.
<beastd> Traneptora: Yes, please send a patch. Could also do it, but it would probably take longer because I have a little of queue already and not so much time to process it.
<cone-874> ffmpeg NyanMaths master:1215fefcb8ad: avformat/ipfsgateway: fix capitalizaton mistake
<Traneptora> beastd: lmk if this is too verbose https://0x0.st/8iRA.patch
<abdu> As a beginner, I wish every function and every flag had a verbose documentation :]
mkver has quit [Quit: Leaving]
abdu has quit [Quit: Client closed]
ccawley2011_ has quit [Read error: Connection reset by peer]
abdu has joined #ffmpeg-devel
abdo_ has quit [Quit: Lost terminal]
abdu has quit [Client Quit]
Marth64[m] has quit [Quit: Leaving]
mkver has joined #ffmpeg-devel