2024-09-30 09:44
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
00:00
<
BtbN >
the array index is just the n-th bit that was 1, and the value its index
00:01
<
BtbN >
So that paste just means the 11th mask flag was 1
00:01
<
BtbN >
And I'm not sure if it even makes sense for so many of the bits to be 1
00:02
<
jamrial >
not possible, the samples created by nvenc with alpha should only have the fourth bit set
00:02
<
jamrial >
meaning, idx 3
00:03
<
jamrial >
rest should be 0
00:03
<
BtbN >
Yeah, something is wrong then
00:04
<
jamrial >
you can check a reduced implementation in lavc/hevc/ps.c
00:04
<
jamrial >
it makes a lot of assumptions and only works for multiview, but it at least parses that part
00:08
<
BtbN >
I think my issue must be somewhere before that
00:09
<
BtbN >
Like, the reader must be completely misaligned from the get-go
00:10
<
Thul >
BBB: Forgejo is a fork of Gitea, in case that does ring a bell for you.
00:10
Thul is now known as Thulinma
00:13
<
BtbN >
What makes me think that I can't be totally off is that disabling the alpha flag to nvenc swaps the vps_extension_flag to 0
00:14
<
jamrial >
can you push your current code to your github?
00:19
<
jamrial >
for 64 bits you need skip_bits_long i think
00:20
<
BtbN >
ah. Though that shouldn't matter. There is no timing info
00:27
MrZeus__ has joined #ffmpeg-devel
00:29
<
BtbN >
There's always the chance that nvenc generates bogous data
00:34
<
BtbN >
jamrial: I've done something silly, and now the correct data comes out. align_get_bits(gb); skip_bits(gb, 1); align_get_bits(gb);
00:35
<
BtbN >
So the parser must be missing at least two bits before it gets to the align_get_bits part
00:35
<
BtbN >
(based on the positions I logged)
00:50
Martchus_ has joined #ffmpeg-devel
00:51
Martchus has quit [Ping timeout: 260 seconds]
01:00
witchymary has joined #ffmpeg-devel
01:03
MisterMinister has quit [Ping timeout: 244 seconds]
01:04
<
jamrial >
it was not calling hvcc_parse_ptl() because of the condition being wrong
01:05
<
BtbN >
funny that it perfectly aligned with aligning again
01:05
<
BtbN >
I was currently double-checking the ptl parse function itself against the spec...
01:07
witchymary has quit [Remote host closed the connection]
01:08
arch1t3cht4 has joined #ffmpeg-devel
01:08
Marth64 has joined #ffmpeg-devel
01:10
arch1t3cht has quit [Ping timeout: 245 seconds]
01:10
arch1t3cht4 is now known as arch1t3cht
01:11
witchymary has joined #ffmpeg-devel
01:16
iive has quit [Quit: They came for me...]
01:24
witchymary has quit [Remote host closed the connection]
01:27
witchymary has joined #ffmpeg-devel
01:29
<
BtbN >
It's too late to try and understand the splitting_flag case. That's for tomorrow.
01:31
MrZeus__ has quit [Read error: Connection reset by peer]
01:31
MrZeus__ has joined #ffmpeg-devel
01:39
MrZeus__ has quit [Read error: Connection reset by peer]
01:40
thilo has quit [Ping timeout: 272 seconds]
01:41
thilo has joined #ffmpeg-devel
01:41
thilo has quit [Changing host]
01:41
thilo has joined #ffmpeg-devel
01:54
MrZeus has joined #ffmpeg-devel
01:58
MrZeus has quit [Ping timeout: 252 seconds]
02:04
Martchus has joined #ffmpeg-devel
02:05
Martchus_ has quit [Ping timeout: 260 seconds]
02:11
Marth64 has quit [Quit: Leaving]
02:12
Mirarora has quit [Quit: Mirarora encountered a fatal error and needs to close]
02:13
Martchus_ has joined #ffmpeg-devel
02:13
Martchus has quit [Ping timeout: 246 seconds]
02:15
Mirarora has joined #ffmpeg-devel
02:25
System_Error has joined #ffmpeg-devel
02:34
Marth64 has joined #ffmpeg-devel
02:35
MisterMinister has joined #ffmpeg-devel
02:42
System_Error has quit [Remote host closed the connection]
02:43
MrZeus has joined #ffmpeg-devel
02:47
Martchus has joined #ffmpeg-devel
02:47
Martchus_ has quit [Ping timeout: 246 seconds]
02:48
System_Error has joined #ffmpeg-devel
02:48
MrZeus has quit [Ping timeout: 252 seconds]
02:53
Martchus_ has joined #ffmpeg-devel
02:54
Martchus has quit [Ping timeout: 248 seconds]
02:57
Martchus has joined #ffmpeg-devel
02:57
Martchus_ has quit [Ping timeout: 246 seconds]
03:19
Martchus_ has joined #ffmpeg-devel
03:20
Martchus has quit [Ping timeout: 244 seconds]
03:20
System_Error has quit [Remote host closed the connection]
03:24
jamrial has quit []
03:27
System_Error has joined #ffmpeg-devel
03:38
HarshK23 has quit [Quit: Connection closed for inactivity]
03:49
Martchus_ has quit [Ping timeout: 260 seconds]
03:51
Martchus has joined #ffmpeg-devel
04:07
Martchus has quit [Ping timeout: 246 seconds]
04:08
Martchus has joined #ffmpeg-devel
04:37
Martchus has quit [Ping timeout: 260 seconds]
04:38
cone-431 has joined #ffmpeg-devel
04:38
<
cone-431 >
ffmpeg Gyan Doshi master:914f89dbc617: avformat/movenc: log stream index for invalid pkt duration
04:40
Martchus has joined #ffmpeg-devel
04:46
Martchus_ has joined #ffmpeg-devel
04:47
Martchus has quit [Ping timeout: 252 seconds]
05:44
Marth64 has quit [Quit: Leaving]
06:22
Sean_McG has quit [Quit: Lost terminal]
06:37
Martchus_ has quit [Read error: Connection reset by peer]
06:38
Martchus has joined #ffmpeg-devel
07:03
Martchus_ has joined #ffmpeg-devel
07:03
HarshK23 has joined #ffmpeg-devel
07:04
Martchus has quit [Ping timeout: 265 seconds]
07:24
Martchus has joined #ffmpeg-devel
07:24
<
nevcairiel >
(also fmpeg-error-rate-fail keeps failing)
07:25
Martchus_ has quit [Ping timeout: 244 seconds]
07:29
Martchus has quit [Ping timeout: 246 seconds]
07:34
Martchus has joined #ffmpeg-devel
07:38
cone-431 has quit [Quit: transmission timeout]
07:50
cone-343 has joined #ffmpeg-devel
07:50
<
cone-343 >
ffmpeg Rémi Denis-Courmont release/6.1:30cd0d7bd060: riscv: test for assembler support
08:03
Martchus has quit [Ping timeout: 276 seconds]
08:07
Martchus has joined #ffmpeg-devel
08:13
Martchus has quit [Ping timeout: 265 seconds]
08:27
Martchus has joined #ffmpeg-devel
08:33
Martchus_ has joined #ffmpeg-devel
08:34
Martchus has quit [Ping timeout: 252 seconds]
09:01
rvalue has quit [Read error: Connection reset by peer]
09:02
rvalue has joined #ffmpeg-devel
09:40
<
cone-343 >
ffmpeg Frank Plowman master:34c6ad0a077a: lavc/vvc: Use a bitfield to store MIP information
09:54
klaxa has quit [Remote host closed the connection]
09:58
klaxa has joined #ffmpeg-devel
10:05
<
nevcairiel >
lowering the fail threshold in the color_utils trc test to 1e-7 instead of 1e-8 makes it pass, its such a minute error that its not even printed, and the test data is specified only to 6 digits in this test .. seems like an acceptable change?
10:06
<
nevcairiel >
haasn: ^^ ? :)
10:06
___nick___ has joined #ffmpeg-devel
10:07
___nick___ has quit [Client Quit]
10:09
___nick___ has joined #ffmpeg-devel
10:43
<
haasn >
Oh yes, that patch LGTM
10:46
Martchus has joined #ffmpeg-devel
10:47
Martchus_ has quit [Ping timeout: 252 seconds]
10:57
Martchus_ has joined #ffmpeg-devel
10:58
Martchus has quit [Ping timeout: 265 seconds]
11:12
j45_ has joined #ffmpeg-devel
11:14
j45 has quit [Ping timeout: 276 seconds]
11:14
j45_ is now known as j45
11:14
j45 has quit [Changing host]
11:14
j45 has joined #ffmpeg-devel
11:24
Martchus_ has quit [Ping timeout: 244 seconds]
11:32
Martchus has joined #ffmpeg-devel
12:25
jamrial has joined #ffmpeg-devel
12:40
cone-343 has quit [Quit: transmission timeout]
13:23
MyNetAz has quit [Read error: Connection reset by peer]
13:27
MyNetAz has joined #ffmpeg-devel
13:45
<
BtbN >
Good god, what were they thinking with that splitting_flag stuff. "Let's save 10 bits, and introduce the most arcane magic to achieve it"
14:02
<
BBB >
courmisch: re: your comment about backporting the rv40dsp riscv asm patch, I think you're in the best position to suggest a course of action
14:02
<
BBB >
courmisch: if you want to merge it as-is and then later change it to use the macros, I'm fine with that, if you think that's best
14:03
cone-096 has joined #ffmpeg-devel
14:03
<
cone-096 >
ffmpeg Hendrik Leppkes master:5215ec677c55: avutil/tests/color_utils: reduce accuracy threshold to pass to 1e-7
14:06
<
jamrial >
BtbN: i recommend you for your sanity to just bail out if vps_base_layer_internal_flag == 0
14:07
<
BtbN >
Why that flag? Doesn't that just skip parsing the profile stuff?
14:10
<
BtbN >
I didn't plan to parse any further than the dimension_id[ i ][ j ] fields. They contain all the info that's needed to find the alpha layer
14:16
<
jamrial >
BtbN: i think it signals that the base layer and upper layers are in separate bitstreams or so
14:17
mkver has joined #ffmpeg-devel
14:43
Martchus_ has joined #ffmpeg-devel
14:44
Martchus has quit [Ping timeout: 252 seconds]
15:37
witchymary has quit [Remote host closed the connection]
15:39
witchymary has joined #ffmpeg-devel
15:55
lexano has quit [Quit: Leaving]
16:02
elvis_a_presley has quit [Quit: smoke-bomb ; grapple-hook]
16:02
elvis_a_presley has joined #ffmpeg-devel
16:27
iive has joined #ffmpeg-devel
16:32
<
Traneptora >
kasper93: do you have commit access to ffmpeg? if not, pong me when you have an updated commit message (re: af_ashowinfo) and I can push
16:38
lexano has joined #ffmpeg-devel
17:02
<
Traneptora >
I lied, I missed v2
17:02
<
Traneptora >
thanks
17:03
cone-096 has quit [Quit: transmission timeout]
17:04
cone-688 has joined #ffmpeg-devel
17:04
<
cone-688 >
ffmpeg Kacper Michajłow master:790270276225: avfilter/af_ashowinfo: fix scaling factor of replaygain peak values
17:06
<
Traneptora >
is it possible to change trac's username?
17:06
<
Traneptora >
trac is still using my old thebombzen username, but I'm using Traneptora now
17:07
Martchus_ has quit [Ping timeout: 264 seconds]
17:07
Martchus has joined #ffmpeg-devel
17:12
witchymary has quit [Remote host closed the connection]
17:14
<
thardin >
good question. I might be inclined to change username as well
17:15
Marth64 has joined #ffmpeg-devel
17:21
<
BtbN >
not really, no
17:44
witchymary has joined #ffmpeg-devel
17:44
Martchus_ has joined #ffmpeg-devel
17:45
Martchus has quit [Ping timeout: 252 seconds]
17:56
zenmov has quit [Ping timeout: 245 seconds]
18:01
zenmov has joined #ffmpeg-devel
19:21
<
jamrial >
BtbN: seems to work with the output of nvenc (after forcing it to not bother with nvEncGetSequenceParams and just export the PS in the first packet)
19:22
<
BtbN >
I need to verify if it really just works for me now
19:22
<
BtbN >
It looks like it just works, but I got nothing to check with
19:42
<
BtbN >
In theory vps_max_layer_id and vps_num_layer_sets_minus1 aren't even needed
19:43
<
BtbN >
but I'm not sure how reliable execution order is when writing an equation that calls functions
19:46
<
BtbN >
apparently it's implementation defined. So can't do that.
19:50
Everything has joined #ffmpeg-devel
19:58
<
jamrial >
BtbN: the alpha parameter sets are not in hvcC because nvEncGetSequenceParams() still wont output them
19:58
<
jamrial >
so they are added to the first packet, and the muxer should extract them from it
20:02
<
BtbN >
hm, so now it's on Nvidia to fix that I guess
20:03
<
BtbN >
But it does emit
_some_ alpha info
20:03
<
BtbN >
otherwise the muxer wouldn't find the alpha layer
20:04
cone-688 has quit [Quit: transmission timeout]
20:13
___nick___ has quit [Ping timeout: 244 seconds]
20:44
kasper93_ has joined #ffmpeg-devel
20:44
kasper93 has quit [Ping timeout: 272 seconds]
20:45
<
BtbN >
If I add that hack, all my browsers refuse to play the file completely. Which I guess means success?
21:02
<
jamrial >
BtbN: yeah, that one has all the PS in hvcC and alpha slices in packets
21:03
<
jamrial >
so now it's up to nvidia
21:03
<
BtbN >
they said they're all leaving for christmas holiday already
21:03
<
BtbN >
so not before next year
21:06
<
BtbN >
I'd say I'll try to figure out how to do it with x265 in the mean time. But my god their code is such a mess
21:14
PAUL007 has joined #ffmpeg-devel
21:31
TheSashmo has joined #ffmpeg-devel
21:59
PAUL007 has quit [Quit: Client closed]
22:38
cone-768 has joined #ffmpeg-devel
22:38
<
cone-768 >
ffmpeg Paul B Mahol master:8050a7955e37: avformat/mm: fix packets pts generation and add seek support
23:30
darkapex has quit [Remote host closed the connection]
23:31
darkapex has joined #ffmpeg-devel
23:45
<
cone-768 >
ffmpeg Osamu Watanabe master:c893dcce312a: avcodec/jpeg2000: Fix undefined behaviour in left shift operations