Re: [FFmpeg-devel] [PATCH] [RFC]avformat: introduce AVStreamGroup

2023-10-03 Thread Anton Khirnov
Quoting James Almer (2023-10-02 14:10:11) > > I figured it would be nice to have it for the sake of convenience. For > formats like HEIF, new streams should in theory be created once the > group they will belong to is known. > I have no strong attachment to this function, so it can go if you thi

Re: [FFmpeg-devel] [PATCH] [RFC]avformat: introduce AVStreamGroup

2023-10-02 Thread James Almer
On 10/2/2023 6:25 AM, Anton Khirnov wrote: Quoting Tomas Härdin (2023-09-28 13:27:53) Yes, a typed union like this should work nicely. This way we keep things related to each type of stream group separate. I agree that this seems like a better solution than repurposing AVCodecParameters, but t

Re: [FFmpeg-devel] [PATCH] [RFC]avformat: introduce AVStreamGroup

2023-10-02 Thread James Almer
On 10/2/2023 6:37 AM, Anton Khirnov wrote: Quoting James Almer (2023-09-06 16:38:32) Signed-off-by: James Almer --- This is an initial proof of concept for AVStream groups, something that's needed for quite a few existing and upcoming formats that lavf has no way to currently export. Said forma

Re: [FFmpeg-devel] [PATCH] [RFC]avformat: introduce AVStreamGroup

2023-10-02 Thread Anton Khirnov
Quoting James Almer (2023-09-06 16:38:32) > Signed-off-by: James Almer > --- > This is an initial proof of concept for AVStream groups, something that's > needed for quite a few existing and upcoming formats that lavf has no way to > currently export. Said formats define a single video or audio st

Re: [FFmpeg-devel] [PATCH] [RFC]avformat: introduce AVStreamGroup

2023-10-02 Thread Anton Khirnov
Quoting Tomas Härdin (2023-09-28 13:27:53) > Yes, a typed union like this should work nicely. This way we keep > things related to each type of stream group separate. I agree that this seems like a better solution than repurposing AVCodecParameters, but the union members probably need to be pointe

Re: [FFmpeg-devel] [PATCH] [RFC]avformat: introduce AVStreamGroup

2023-09-28 Thread Tomas Härdin
fre 2023-09-15 klockan 15:10 -0300 skrev James Almer: > On 9/13/2023 6:34 AM, Tomas Härdin wrote: > > ons 2023-09-06 klockan 16:16 -0300 skrev James Almer: > > > On 9/6/2023 2:53 PM, Tomas Härdin wrote: > > > > ons 2023-09-06 klockan 11:38 -0300 skrev James Almer: > > > > > Signed-off-by: James Alm

Re: [FFmpeg-devel] [PATCH] [RFC]avformat: introduce AVStreamGroup

2023-09-15 Thread James Almer
On 9/13/2023 6:34 AM, Tomas Härdin wrote: ons 2023-09-06 klockan 16:16 -0300 skrev James Almer: On 9/6/2023 2:53 PM, Tomas Härdin wrote: ons 2023-09-06 klockan 11:38 -0300 skrev James Almer: Signed-off-by: James Almer --- This is an initial proof of concept for AVStream groups, something that

Re: [FFmpeg-devel] [PATCH] [RFC]avformat: introduce AVStreamGroup

2023-09-13 Thread Tomas Härdin
ons 2023-09-06 klockan 16:16 -0300 skrev James Almer: > On 9/6/2023 2:53 PM, Tomas Härdin wrote: > > ons 2023-09-06 klockan 11:38 -0300 skrev James Almer: > > > Signed-off-by: James Almer > > > --- > > > This is an initial proof of concept for AVStream groups, > > > something > > > that's > > > ne

Re: [FFmpeg-devel] [PATCH] [RFC]avformat: introduce AVStreamGroup

2023-09-06 Thread James Almer
On 9/6/2023 2:53 PM, Tomas Härdin wrote: ons 2023-09-06 klockan 11:38 -0300 skrev James Almer: Signed-off-by: James Almer --- This is an initial proof of concept for AVStream groups, something that's needed for quite a few existing and upcoming formats that lavf has no way to currently export.

Re: [FFmpeg-devel] [PATCH] [RFC]avformat: introduce AVStreamGroup

2023-09-06 Thread Tomas Härdin
ons 2023-09-06 klockan 11:38 -0300 skrev James Almer: > Signed-off-by: James Almer > --- > This is an initial proof of concept for AVStream groups, something > that's > needed for quite a few existing and upcoming formats that lavf has no > way to > currently export. Said formats define a single v

[FFmpeg-devel] [PATCH] [RFC]avformat: introduce AVStreamGroup

2023-09-06 Thread James Almer
Signed-off-by: James Almer --- This is an initial proof of concept for AVStream groups, something that's needed for quite a few existing and upcoming formats that lavf has no way to currently export. Said formats define a single video or audio stream composed by merging several individualy multipl