Re: [FFmpeg-devel] [PATCH 2/4 v8] avformat/mov: add support for tile HEIF still images

2024-02-16 Thread Anton Khirnov
Quoting James Almer (2024-02-16 17:35:13) > > > > And since we're running out of easily usable disposition bits, we > > shouldn't waste them. How about AV_DISPOSITION_SUBSTREAM? > > Maybe we could redefine and reuse AV_DISPOSITION_DEPENDENT for this? Works for me. -- Anton Khirnov

Re: [FFmpeg-devel] [PATCH 2/4 v8] avformat/mov: add support for tile HEIF still images

2024-02-16 Thread James Almer
On 2/16/2024 9:50 AM, Anton Khirnov wrote: Quoting James Almer (2024-02-11 19:56:59) +/** + * The video stream is intended to be merged with another stream before + * presentation. + * Used for example to signal the stream contains a tile from a HEIF grid. + */ +#define AV_DISPOSITION_TILE

Re: [FFmpeg-devel] [PATCH 2/4 v8] avformat/mov: add support for tile HEIF still images

2024-02-16 Thread Anton Khirnov
Quoting James Almer (2024-02-11 19:56:59) > +/** > + * The video stream is intended to be merged with another stream before > + * presentation. > + * Used for example to signal the stream contains a tile from a HEIF grid. > + */ > +#define AV_DISPOSITION_TILE (1 << 21) The notion

Re: [FFmpeg-devel] [PATCH 2/4 v8] avformat/mov: add support for tile HEIF still images

2024-02-11 Thread Michael Niedermayer
On Sun, Feb 11, 2024 at 06:10:06PM -0300, James Almer wrote: > On 2/11/2024 6:08 PM, James Almer wrote: > > On 2/11/2024 5:41 PM, Michael Niedermayer wrote: > > > On Sun, Feb 11, 2024 at 03:56:59PM -0300, James Almer wrote: > > > > Export tiles as streams, and the grid information as a Stream > >

Re: [FFmpeg-devel] [PATCH 2/4 v8] avformat/mov: add support for tile HEIF still images

2024-02-11 Thread James Almer
On 2/11/2024 6:08 PM, James Almer wrote: On 2/11/2024 5:41 PM, Michael Niedermayer wrote: On Sun, Feb 11, 2024 at 03:56:59PM -0300, James Almer wrote: Export tiles as streams, and the grid information as a Stream Group of type TILE_GRID. This also enables exporting other stream items like

Re: [FFmpeg-devel] [PATCH 2/4 v8] avformat/mov: add support for tile HEIF still images

2024-02-11 Thread James Almer
On 2/11/2024 5:41 PM, Michael Niedermayer wrote: On Sun, Feb 11, 2024 at 03:56:59PM -0300, James Almer wrote: Export tiles as streams, and the grid information as a Stream Group of type TILE_GRID. This also enables exporting other stream items like thumbnails, which may be present in non tiled

Re: [FFmpeg-devel] [PATCH 2/4 v8] avformat/mov: add support for tile HEIF still images

2024-02-11 Thread Michael Niedermayer
On Sun, Feb 11, 2024 at 03:56:59PM -0300, James Almer wrote: > Export tiles as streams, and the grid information as a Stream Group of type > TILE_GRID. > This also enables exporting other stream items like thumbnails, which may be > present in non tiled HEIF images too. > > Based on a patch by

[FFmpeg-devel] [PATCH 2/4 v8] avformat/mov: add support for tile HEIF still images

2024-02-11 Thread James Almer
Export tiles as streams, and the grid information as a Stream Group of type TILE_GRID. This also enables exporting other stream items like thumbnails, which may be present in non tiled HEIF images too. Based on a patch by Swaraj Hota Signed-off-by: James Almer --- libavformat/avformat.c | 8