[Bug 753323] mpegts: add support for JPEG 2000 to mpegtsmux and tsdemux

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 27 09:09:50 UTC 2016


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

Milos Seleceni <milos.seleceni at comprimato.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |milos.seleceni at comprimato.c
                   |                            |om

--- Comment #13 from Milos Seleceni <milos.seleceni at comprimato.com> ---
Hi, I'm trying add support for Jpeg2000 according to standard you provide. I
also look at Opus support and ACC but it doesn't help me much. I follow Opus
implementation and I'm bit confused what this peace of code do:

      if (stream->is_opus) {
        descriptor = gst_mpegts_descriptor_from_registration ("Opus", NULL, 0);
        g_ptr_array_add (pmt_stream->descriptors, descriptor);

        descriptor =
            gst_mpegts_descriptor_from_custom_with_extension
            (GST_MTS_DESC_DVB_EXTENSION, 0x80,
            &stream->opus_channel_config_code, 1);

        g_ptr_array_add (pmt_stream->descriptors, descriptor);

It registers Opus as descriptor with 1B opus_channel_config_code value in
descriptor->data pointer. But I found GST_MTS_DESC_J2K_VIDEO descriptor tag in
(gstmpegtsdescriptor.h). Should I use
st_mpegts_descriptor_from_custom(GST_MTS_DESC_J2K_VIDEO,...) instread ?

And How can I pass my custom header data that I can access It in function
similar to  mpegtsmux_prepare_opus{jpeg2000} (it is ts_data->prepare_func
callback) so I can set proper header values for elementary stream.

-- 
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