[FFmpeg-devel] [RFC PATCH v2] libavcodec/jpeg2000_parser: Add jpeg2000 parser

Gautam Ramakrishnan gautamramk at gmail.com
Mon Apr 20 14:17:00 EEST 2020


On Mon, Apr 20, 2020 at 4:18 PM Kieran O Leary <kieran.o.leary at gmail.com> wrote:
>
> Hi,
>
> Forgive my ignorance ,but what is the difference between a parser and a
> decoder in this context? What does this parser add that wasn't covered in
> the decoder?
>
Quoting Carl from a previous thread:
Try the following:
$ cat 1.jpg 2.jpg | ffmpeg -i -f null -
(Is expected to decode two frames as can be seen in the console output,
also works for example with png)

$ cat 1.j2k 2.j2k | ffmpeg -i - -f null -
Will only decode one frame because there is no parser to split the
input.
> Best,
>
> Kieran O'Leary
> Irish Film Institute
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".



-- 
-------------
Gautam |


More information about the ffmpeg-devel mailing list