Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-16 Thread Paul B Mahol
Will push soon. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-10 Thread Paul B Mahol
On Sun, Sep 10, 2023 at 3:13 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Paul B Mahol: > > On Sun, Sep 10, 2023 at 2:54 PM Andreas Rheinhardt < > > andreas.rheinha...@outlook.com> wrote: > > > >> Paul B Mahol: > >>> On Sun, Sep 10, 2023 at 2:18 PM Andreas Rheinhardt < > >>> an

Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-10 Thread Andreas Rheinhardt
Paul B Mahol: > On Sun, Sep 10, 2023 at 2:54 PM Andreas Rheinhardt < > andreas.rheinha...@outlook.com> wrote: > >> Paul B Mahol: >>> On Sun, Sep 10, 2023 at 2:18 PM Andreas Rheinhardt < >>> andreas.rheinha...@outlook.com> wrote: >>> Paul B Mahol: > On Sun, Sep 10, 2023 at 2:06 PM Andreas

Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-10 Thread Paul B Mahol
On Sun, Sep 10, 2023 at 2:54 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Paul B Mahol: > > On Sun, Sep 10, 2023 at 2:18 PM Andreas Rheinhardt < > > andreas.rheinha...@outlook.com> wrote: > > > >> Paul B Mahol: > >>> On Sun, Sep 10, 2023 at 2:06 PM Andreas Rheinhardt < > >>> an

Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-10 Thread Andreas Rheinhardt
Paul B Mahol: > On Sun, Sep 10, 2023 at 2:18 PM Andreas Rheinhardt < > andreas.rheinha...@outlook.com> wrote: > >> Paul B Mahol: >>> On Sun, Sep 10, 2023 at 2:06 PM Andreas Rheinhardt < >>> andreas.rheinha...@outlook.com> wrote: >>> Paul B Mahol: > On Sun, Sep 10, 2023 at 1:59 PM Andreas

Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-10 Thread Paul B Mahol
On Sun, Sep 10, 2023 at 2:18 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Paul B Mahol: > > On Sun, Sep 10, 2023 at 2:06 PM Andreas Rheinhardt < > > andreas.rheinha...@outlook.com> wrote: > > > >> Paul B Mahol: > >>> On Sun, Sep 10, 2023 at 1:59 PM Andreas Rheinhardt < > >>> an

Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-10 Thread Andreas Rheinhardt
Paul B Mahol: > On Sun, Sep 10, 2023 at 2:06 PM Andreas Rheinhardt < > andreas.rheinha...@outlook.com> wrote: > >> Paul B Mahol: >>> On Sun, Sep 10, 2023 at 1:59 PM Andreas Rheinhardt < >>> andreas.rheinha...@outlook.com> wrote: >>> Paul B Mahol: > On Wed, Sep 6, 2023 at 1:30 PM Andreas R

Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-10 Thread Paul B Mahol
On Sun, Sep 10, 2023 at 2:06 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Paul B Mahol: > > On Sun, Sep 10, 2023 at 1:59 PM Andreas Rheinhardt < > > andreas.rheinha...@outlook.com> wrote: > > > >> Paul B Mahol: > >>> On Wed, Sep 6, 2023 at 1:30 PM Andreas Rheinhardt < > >>> and

Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-10 Thread Andreas Rheinhardt
Paul B Mahol: > On Sun, Sep 10, 2023 at 1:59 PM Andreas Rheinhardt < > andreas.rheinha...@outlook.com> wrote: > >> Paul B Mahol: >>> On Wed, Sep 6, 2023 at 1:30 PM Andreas Rheinhardt < >>> andreas.rheinha...@outlook.com> wrote: >>> Paul B Mahol: > On Wed, Sep 6, 2023 at 11:26 AM Andreas R

Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-10 Thread Paul B Mahol
On Sun, Sep 10, 2023 at 1:59 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Paul B Mahol: > > On Wed, Sep 6, 2023 at 1:30 PM Andreas Rheinhardt < > > andreas.rheinha...@outlook.com> wrote: > > > >> Paul B Mahol: > >>> On Wed, Sep 6, 2023 at 11:26 AM Andreas Rheinhardt < > >>> and

Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-10 Thread Andreas Rheinhardt
Paul B Mahol: > On Wed, Sep 6, 2023 at 1:30 PM Andreas Rheinhardt < > andreas.rheinha...@outlook.com> wrote: > >> Paul B Mahol: >>> On Wed, Sep 6, 2023 at 11:26 AM Andreas Rheinhardt < >>> andreas.rheinha...@outlook.com> wrote: >>> Paul B Mahol: > > +chunk_type = avio_rb32(pb); >>

Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-10 Thread Paul B Mahol
New version attached: - fixed VP9 demuxing - added support for alpha streams - added support for subtitle streams - numerous fixes and improvements Can't get seeking to behave correctly with ADPCM_ADX audio streams. Once one seek to start of file audio is no longer demuxed and video packets ar

Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-06 Thread Paul B Mahol
On Wed, Sep 6, 2023 at 1:30 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Paul B Mahol: > > On Wed, Sep 6, 2023 at 11:26 AM Andreas Rheinhardt < > > andreas.rheinha...@outlook.com> wrote: > > > >> Paul B Mahol: > >>> > >>> +chunk_type = avio_rb32(pb); > >>> +chunk_size =

Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-06 Thread Andreas Rheinhardt
Paul B Mahol: > On Wed, Sep 6, 2023 at 11:26 AM Andreas Rheinhardt < > andreas.rheinha...@outlook.com> wrote: > >> Paul B Mahol: >>> >>> +chunk_type = avio_rb32(pb); >>> +chunk_size = avio_rb32(pb); >> >> You are not checking whether the chunk here exceeds its containing chunk. >> >>> >>>

Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-06 Thread Paul B Mahol
On Wed, Sep 6, 2023 at 11:26 AM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Paul B Mahol: > > > > +chunk_type = avio_rb32(pb); > > +chunk_size = avio_rb32(pb); > > You are not checking whether the chunk here exceeds its containing chunk. > > > > > +av_fast_malloc(&usm

Re: [FFmpeg-devel] [PATCH] avformat: add CRI USM demuxer

2023-09-06 Thread Andreas Rheinhardt
Paul B Mahol: > > +chunk_type = avio_rb32(pb); > +chunk_size = avio_rb32(pb); You are not checking whether the chunk here exceeds its containing chunk. > > +av_fast_malloc(&usm->header, &usm->header_size, > + chunk_size + AV_INPUT_BUFFER_PADDING_SIZE); > +if (!