[Bug 697892] mpegtsdemux: Add support for DigiCipher II stream type.
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Apr 15 09:18:23 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=697892
GStreamer | gst-plugins-bad | 1.0.6
--- Comment #3 from Greg Rutz <greg at gsr-tek.com> 2013-04-15 16:18:17 UTC ---
Here is how both vlc and libav handle stream types in BluRay m2ts and standard
MPEG2 TS. They identify the stream as being BluRay by looking for the
"registration_descriptor" in the PMT. In the case of BluRay, it seems that
this descriptor's "format_identifier" field always contains a FOURCC value of
"HDMV". Then, they both come to the same conclusion when interpreting the
stream_type field of the PMT for the 0x80 value, but in different orders.
In VLC:
The codec type is first set as MPEG2 video if the stream_type is 0x1, 0x2, or
0x80. Later, if the PMT registration_descriptor contains the "HDMV" value, the
codec type is modified to be the BluRay LPCM audio type.
In libav:
If the PMT registration_descriptor contains the "HDMV" value, the codec type is
set to the BluRay LPCM audio type. If a codec type has not yet been set after
executing the HDMV-specific code, the stream_type is checked again for other
non-BluRay types, which leads to the proper setting of MPEG2 video for the 0x80
stream_type.
In both libraries, all of the BluRay-specific stream types are handled this
way. We could do the same thing in GStreamer -- handle BluRay stream types
separately. If you all agree, I could put together another patch that tries to
solve the problem this way.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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