Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-23 Thread Michael Niedermayer
On Mon, May 22, 2023 at 06:19:09PM +0200, Paul B Mahol wrote: > On 5/21/23, Paul B Mahol wrote: > > Attached patches. > > > > This finally removes giant hacks in gif demuxer and allows using gif > > files via pipe reliably. > > > > Hopefully final version. [...] > libavcodec/gifdec.c |

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-22 Thread James Almer
On 5/22/2023 1:19 PM, Paul B Mahol wrote: On 5/21/23, Paul B Mahol wrote: Attached patches. This finally removes giant hacks in gif demuxer and allows using gif files via pipe reliably. Hopefully final version. Should be ok. ___ ffmpeg-devel mai

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-22 Thread Paul B Mahol
On 5/21/23, Paul B Mahol wrote: > Attached patches. > > This finally removes giant hacks in gif demuxer and allows using gif > files via pipe reliably. > Hopefully final version. From 4dee724ff112967b8aa2e8ca5a45ec2726a7f409 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 21 May 2023 02:1

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-22 Thread Anton Khirnov
Quoting James Almer (2023-05-22 18:07:50) > On 5/22/2023 12:49 PM, Paul B Mahol wrote: > > On 5/21/23, Paul B Mahol wrote: > >> Attached patches. > >> > >> This finally removes giant hacks in gif demuxer and allows using gif > >> files via pipe reliably. > >> > > > > Now with smaller diff. > > [

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-22 Thread James Almer
On 5/22/2023 12:49 PM, Paul B Mahol wrote: On 5/21/23, Paul B Mahol wrote: Attached patches. This finally removes giant hacks in gif demuxer and allows using gif files via pipe reliably. Now with smaller diff. [...] From f3d6eea43df686b4211601b194fac81f032eb273 Mon Sep 17 00:00:00 2001

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-22 Thread James Almer
On 5/22/2023 12:49 PM, Paul B Mahol wrote: On 5/21/23, Paul B Mahol wrote: Attached patches. This finally removes giant hacks in gif demuxer and allows using gif files via pipe reliably. Now with smaller diff. [...] From 208d1e83ae9aef8e9b37007df16569cdd4cf25d2 Mon Sep 17 00:00:00 2001

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-22 Thread Paul B Mahol
On 5/21/23, Paul B Mahol wrote: > Attached patches. > > This finally removes giant hacks in gif demuxer and allows using gif > files via pipe reliably. > Now with smaller diff. From f3d6eea43df686b4211601b194fac81f032eb273 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 21 May 2023 02:15:

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-21 Thread Paul B Mahol
On 5/21/23, James Almer wrote: > On 5/21/2023 5:02 PM, Paul B Mahol wrote: >> On 5/21/23, James Almer wrote: >>> On 5/21/2023 4:25 PM, Paul B Mahol wrote: On 5/21/23, Paul B Mahol wrote: > Attached patches. > > This finally removes giant hacks in gif demuxer and allows using gif

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-21 Thread James Almer
On 5/21/2023 5:02 PM, Paul B Mahol wrote: On 5/21/23, James Almer wrote: On 5/21/2023 4:25 PM, Paul B Mahol wrote: On 5/21/23, Paul B Mahol wrote: Attached patches. This finally removes giant hacks in gif demuxer and allows using gif files via pipe reliably. Better patches attached, no m

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-21 Thread Paul B Mahol
On 5/21/23, James Almer wrote: > On 5/21/2023 4:25 PM, Paul B Mahol wrote: >> On 5/21/23, Paul B Mahol wrote: >>> Attached patches. >>> >>> This finally removes giant hacks in gif demuxer and allows using gif >>> files via pipe reliably. >>> >> >> Better patches attached, no more sets time_base i

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-21 Thread James Almer
On 5/21/2023 4:25 PM, Paul B Mahol wrote: On 5/21/23, Paul B Mahol wrote: Attached patches. This finally removes giant hacks in gif demuxer and allows using gif files via pipe reliably. Better patches attached, no more sets time_base in gif parser. Samples report 100fps now. _

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-21 Thread Paul B Mahol
On 5/21/23, Michael Niedermayer wrote: > On Sun, May 21, 2023 at 01:24:06PM +0200, Paul B Mahol wrote: >> libavcodec/gifdec.c| 11 - >> libavformat/gifdec.c | 245 +-- >> tests/ref/fate/gif-color | 348 >>

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-21 Thread Michael Niedermayer
On Sun, May 21, 2023 at 01:24:06PM +0200, Paul B Mahol wrote: > libavcodec/gifdec.c| 11 - > libavformat/gifdec.c | 245 +-- > tests/ref/fate/gif-color | 348 > - > tests/ref/fate/gif-deal

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-21 Thread Anton Khirnov
Quoting Paul B Mahol (2023-05-21 11:38:09) > From cbc9c6ea4df153caece779b9052761f23d6d31a1 Mon Sep 17 00:00:00 2001 > From: Paul B Mahol > Date: Sun, 21 May 2023 02:14:35 +0200 > Subject: [PATCH 2/3] avcodec/gifdec: set frame time_base > > Signed-off-by: Paul B Mahol > --- > libavcodec/gifdec.c