[Bug 783625] typefinding: add support for jpc

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Jun 24 13:49:37 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=783625

--- Comment #31 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Aaron Boxer from comment #18)
> Thanks. So, for the pipeline
> 
> gst-launch-1.0 -v filesrc location-Bretagne2.j2k ! decodebin ! imagefreeze !
> autovideosink
> 
> I don't think jpeg2000parse should be involved, just openjpegdec.

openjpegdec wants a whole JPEG2000 frame per buffer. So jpeg2000parse should be
involved.

(In reply to Aaron Boxer from comment #22)
> can decodebin require that the parser be inserted in the pipeline ?

See my earlier comment about that. Rank of the parser needs to be high enough
and caps fitting, then decodebin will first put parser before decoder.

(In reply to Aaron Boxer from comment #30)
> One solution is to separate out the parser code that calculates the
> sampling, and use it in both the parser and the decoder - put it in one
> static method, and use it from both elements.

Can't we just always require the parser? This is exactly the point of a parser.
It should extract information from the stream so that not every decoder has to
do it again (or muxer, or ...).

And you need the parser anyway if you want to directly read from filesrc.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list