[Bug 756288] avenc_jpeg2000 and avdec_jpeg2000 can't negotiate caps
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Oct 11 01:31:54 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=756288
--- Comment #5 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
(In reply to Amomum from comment #2)
> Thiago, I believe you are wrong.
>
> Bug you marked as duplicate is said to be fixed in libav commit
> cbc808d726afdf53d866264722785c1304c17390.
>
> The only change I can see there is in file jpeg2000dec.c:
> if (ncomponents > 3) {
>
> became
>
> if (ncomponents > 4) {
>
> in function static int get_siz(Jpeg2000DecoderContext *s).
>
> That was in 2014; that fix is present in libav 10.7 and in
> gst-libav-1.6.0.tar.xz from which I built gst-libav plugins.
>
> And I honestly don't understand how that fix can be related to gstreamer
> caps.
>
> Please, correct me if I'm wrong; my understanding of gstreamer and libav
> source structure is very poor.
The fix in libav was for some issue in JPEG2000 decoding, there is a patch in
the bug I mentioned that adds the proper mapping of caps to gst-libav (that is
the gstreamer plugin for libav/ffmpeg) and that makes your pipeline work. You
can try applying it and checking if it works for you.
--
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