[Ffmpeg-devel-irc] ffmpeg-devel.log.20190203
burek
burek021 at gmail.com
Mon Feb 4 03:05:03 EET 2019
[04:52:58 CET] <agrecascino> is there any way to tell if a track is non-indexed in like an mp4 file without reading the entirety of it
[05:26:35 CET] <agrecascino> is adding something to a struct a big nono
[15:57:25 CET] <JEEB> roflcopter bbq
[15:57:42 CET] <JEEB> someone checked my colors against another implementation and I did the most classic mistake with ASS colors
[15:57:51 CET] <JEEB> forgot the order was > BGR
[16:07:48 CET] <JEEB> ok, vf_subtitles seems to have some helper macros for this
[16:15:44 CET] <JEEB> except they're the other way
[16:26:10 CET] <JEEB> #define RGB_TO_BGR(c) (c & 0xff) << 16 | (c & 0xff00) | ((c >> 16) & 0xff)
[16:26:14 CET] <JEEB> well, this shall do it
[16:35:30 CET] <JEEB> fixed version sent out
[17:04:32 CET] <agrecascino> JEEB, is adding stuff to structs bad
[17:04:36 CET] <agrecascino> also is there any way to see how many tracks are indexed
[17:05:20 CET] <JEEB> internal structs can be added to
[17:05:30 CET] <JEEB> usually to the end of them
[17:06:17 CET] <agrecascino> is MOVContext internal
[17:06:19 CET] <JEEB> agrecascino: see mov_read_header for example regarding how it iterates over the added AVStreams
[17:06:22 CET] <JEEB> yes
[17:06:37 CET] <agrecascino> ok
[17:06:59 CET] <agrecascino> i'm trying to come up with the lowest effort way of accurately counting sidx boxes
[17:07:23 CET] <agrecascino> because the current method fails if there's more than one stream
[17:08:02 CET] <JEEB> of course the way the header reading thing does it is clearly after reading the found streams and registering them
[17:08:10 CET] <JEEB> so if your thing is before that you have an issue
[17:11:36 CET] <agrecascino> yeah uhm
[17:11:49 CET] <agrecascino> this is is an issue in the sense that
[17:12:21 CET] <agrecascino> i can't really count using the parser since it runs through every box in order
[17:13:21 CET] <agrecascino> is any avstream going to indexable
[23:20:52 CET] <cone-126> ffmpeg 03Michael Niedermayer 07master:e35c3d887b3e: avcodec/pgssubdec: Check for duplicate display segments
[00:00:00 CET] --- Mon Feb 4 2019
More information about the Ffmpeg-devel-irc
mailing list