[gst-devel] MXF-wrapped JPEG2000 decoding

Florian Agez florian.agez at ymagis.com
Thu Dec 30 17:12:52 CET 2010


Hi,

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


 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. Adding to the confusion, when I try to 
rewrap the code stream into an MJ2 file, I also seem to get a corrupt file.

I don't really know where to look now... Any ideas?

Thanks!

-- 
Florian





More information about the gstreamer-devel mailing list