[gst-devel] MXF-wrapped JPEG2000 decoding
Tim-Philipp Müller
t.i.m at zen.co.uk
Sun Jan 2 12:54:14 CET 2011
On Thu, 2010-12-30 at 17:12 +0100, Florian Agez wrote:
> I'm currently trying to make a very simple pipeline that would take an
> MXF file with JPEG2000 video essence as input and display it. For now,
> the pipeline looks something like this:
>
> gst-launch filesrc location="source.mxf" ! mxfdemux name=d d. !
> jp2kdec ! autovideosink
>
> But that won't take me anywhere, I only get this error message:
>
> ERROR : element /GstPipeline:pipeline0/GstMXFDemux:d : Internal
> data stream error.
> Additional debug info:
> mxfdemux.c(2797): gst_mxf_demux_loop ():
> /GstPipeline:pipeline0/GstMXFDemux:d:
> stream stopped, reason not-negotiated
First thing to try in such cases is: does it work with playbin?
gst-launch-0.10 -v playbin2 uri=file:///path/to/foo.mxf
If not, the output of that might already tell us something.
> From what I've experimented so far, it looks like mxfdemux has no
> problem at all unwrapping the JPEG2000 code stream (if I just link the
> demuxer to a filesink, I get a nice concatenation of valid JPEG2000 code
> streams), but I can't think of a reason why jp2kdec would refuse to
> handle this raw code stream.
You might need an ffmpegcolorspace ! videoscale in front of the
autovideosink as well.
Cheers
-Tim
More information about the gstreamer-devel
mailing list