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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 20 13:57:54 UTC 2017


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

--- Comment #133 from Aaron Boxer <boxerab at gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #123)
> (In reply to Aaron Boxer from comment #122)
> 
> > 1) When the j2k codestream exceed the 65Kb, the buffer after adding the ELSM
> > header is later split into two PES packets instead of one which produces
> > invalid Mpeg-TS stream.
> 
> Why is it wrong to split the packets? What should be done instead according
> to the spec? Or should they be combined differently again?


Thanks. According to spec:

Each J2K video access unit shall include a PES header with PTS and each PES
packet shall contain
exactly one J2K video access unit.

Each J2K access unit shall contain an elementary stream header (elsm) defined
in Table S.1 (as specified
in Rec. ITU-T T.800 (2002)/Amd.3 | ISO/IEC 15444-1:2004/Amd.3) followed by one
or two
codestream(s).


In other words, each PES packet must contain exactly one ELSM stream header,
and one or two code streams.












> 
> > 2) tsmux doesn't support null packets, which is needed for constant bitrate
> > streams
> 
> That's a known limitation of tsmux, and for constant bitrate streams more
> than just that is needed

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