After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 729244 - tsdemux: Adds support for ARIB subtitles
tsdemux: Adds support for ARIB subtitles
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-30 08:25 UTC by Andreea Fulger
Modified: 2018-11-03 13:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adds support for ARIB subtitles (2.77 KB, patch)
2014-04-30 08:25 UTC, Andreea Fulger
none Details | Review
Adds support for ARIB subtitles (2.77 KB, patch)
2014-04-30 13:42 UTC, Andreea Fulger
none Details | Review
Adds support for the ISDB Data component type parsing - branch 1.2 (5.57 KB, patch)
2014-06-19 17:02 UTC, Andreea Fulger
rejected Details | Review
Adds support for the ISDB Data component type parsing - branch MASTER (5.46 KB, patch)
2014-06-19 17:03 UTC, Andreea Fulger
none Details | Review
Adds support for the ISDB Data component type parsing (5.49 KB, patch)
2014-06-20 09:23 UTC, Andreea Fulger
none Details | Review
tsdemux:Adds support for ARIB subtitles (1.47 KB, patch)
2014-06-20 09:24 UTC, Andreea Fulger
none Details | Review
Adds support for the ISDB Data component type parsing (5.53 KB, patch)
2014-06-27 14:01 UTC, Andreea Fulger
none Details | Review
Adds support for ARIB subtitles (1.47 KB, patch)
2014-06-27 14:02 UTC, Andreea Fulger
none Details | Review

Description Andreea Fulger 2014-04-30 08:25:15 UTC
Created attachment 275469 [details] [review]
Adds support for ARIB subtitles

In ISDB streams, subtitles are sent as private data and according to ISDB ARIB B10 v4.6 the corresponding descriptor is 0xfd (Data Component descriptor), which has been omitted in GstMpegTsISDBDescriptorType.

Here is a patch that adds the support for ARIB subtitles only (described in ARIB STD-B24 v5.2) - once the stream corresponding to the ISDB Data Component Descriptor is identified, we must see in the descriptor's data if the data component id is either 0x0008 - ARIB-Subtitle & teletext coding or 0X0012 - Subtitle coding for digital terrestrial broadcasting (C profile).

I thus added a new mime-type "application/x-arib".
Comment 1 Andreea Fulger 2014-04-30 13:42:06 UTC
Created attachment 275489 [details] [review]
Adds support for ARIB subtitles
Comment 2 Edward Hervey 2014-05-29 10:02:53 UTC
Hi,

  Can you split this into two parts:
  * Add support for ARIB subtitle descriptor parsing in the mpegts-lib (along with support in tests/examples/mpegts/)
  * Use it in demuxer
Comment 3 Andreea Fulger 2014-06-04 08:17:29 UTC
Hi,

What do you mean by support in tests/examples/mpegts/? Do you want the analysis to go on, once the Data Component Descriptor (0xfd) is identified, in order to distinguish the different types of streams (0x0008 ARIB-Subtitle & teletext coding or 0X0012 -Subtitle coding for digital terrestrial broadcasting etc)? In order to keep the tests/examples/mpegts/ts-parser.c generic, I don't see exactly how should I proceed.
Comment 4 Edward Hervey 2014-06-04 08:51:23 UTC
Your ISDB Data Component Descriptor should have a parsing function in mpeg-ts lib.

Something like:
enum ISDBDataComponentType {
  ISDB_DATA_COMPONENT_ARIB_XML_BASE_MULTIMEDIA_CODING = 0x0007,
  ISDB_DATA_COMPONENT_ARIB_SUBTITLE_TELETEXT_CODING   = 0x0008,
  ....
};

gboolean
gst_mpegts_descriptor_parse_isdb_data_component (const GstMpegTsDescriptor *descriptor,
                                                 ISDBDataComponentType *data_component_id);

And that parsing function should be exposed in the ts-parser example.
Comment 5 Andreea Fulger 2014-06-19 17:02:11 UTC
Created attachment 278782 [details] [review]
Adds support for the ISDB Data component type parsing - branch 1.2

Hi,

Here are the patches for the MASTER /1.2 branches for the first part:
  * Add support for ARIB subtitle descriptor parsing in the mpegts-lib (along
with support in tests/examples/mpegts/)
Comment 6 Andreea Fulger 2014-06-19 17:03:02 UTC
Created attachment 278783 [details] [review]
Adds support for the ISDB Data component type parsing - branch MASTER
Comment 7 Tim-Philipp Müller 2014-06-19 17:23:03 UTC
Comment on attachment 278782 [details] [review]
Adds support for the ISDB Data component type parsing - branch 1.2

This is new API, so won't be added to the existing stable branch. It's enough to supply patches against master, thanks.
Comment 8 Andreea Fulger 2014-06-20 09:23:38 UTC
Created attachment 278822 [details] [review]
Adds support for the ISDB Data component type parsing
Comment 9 Andreea Fulger 2014-06-20 09:24:38 UTC
Created attachment 278823 [details] [review]
tsdemux:Adds support for ARIB subtitles

Here is the patch for the second part:

  * Use it in demuxer
Comment 10 Andreea Fulger 2014-06-27 14:01:57 UTC
Created attachment 279396 [details] [review]
Adds support for the ISDB Data component type parsing

Updated patch to be conform with the last modifications on MPEGTS.
Comment 11 Andreea Fulger 2014-06-27 14:02:38 UTC
Created attachment 279397 [details] [review]
Adds support for ARIB subtitles

Same as above.
Comment 12 GStreamer system administrator 2018-11-03 13:23:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/145.