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 747525 - dashdemux: playback failed when trying to play a content that has subtitles
dashdemux: playback failed when trying to play a content that has subtitles
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 747774
 
 
Reported: 2015-04-08 18:11 UTC by Yujin Lee
Modified: 2015-04-13 12:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
dashdemux: enable playback of content with text streams (1.11 KB, patch)
2015-04-08 19:11 UTC, Yujin Lee
rejected Details | Review
dashdemux: enable playback of content with text streams (1.11 KB, patch)
2015-04-10 00:50 UTC, Yujin Lee
committed Details | Review
Create pads for text streams (1.67 KB, patch)
2015-04-13 08:28 UTC, Chris Bass
needs-work Details | Review

Description Yujin Lee 2015-04-08 18:11:17 UTC
There is a playback error when trying to play following dash stream.

- http://dash.edgesuite.net/dash264/TestCases/4b/sony/SNE_DASH_CASE4B_SD_REVISED.mpd

$ GST_DEBUG=dashdemux:7 gst-launch-1.0 playbin uri=http://dash.edgesuite.net/dash264/TestCases/4b/sony/SNE_DASH_CASE4B_SD_REVISED.mpd
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.088260000 10108 0x7fdd6180a190 DEBUG              dashdemux gstdashdemux.c:648:gst_dash_demux_process_manifest:<dashdemux0> Fetched MPD file at URI: http://dash.edgesuite.net/dash264/TestCases/4b/sony/SNE_DASH_CASE4B_SD_REVISED.mpd (base: (NULL))
0:00:00.088312000 10108 0x7fdd6180a190 DEBUG              dashdemux gstmpdparser.c:2868:gst_mpd_parse: MPD file fully buffered, start parsing...
0:00:00.088554000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1851:gst_mpdparser_parse_root_node: namespaces of root MPD node:
0:00:00.088568000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:962:gst_mpdparser_get_xml_node_namespace:  - default namespace: urn:mpeg:dash:schema:mpd:2011
0:00:00.088579000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:970:gst_mpdparser_get_xml_node_namespace:  - xsi namespace: http://www.w3.org/2001/XMLSchema-instance
0:00:00.088587000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1857:gst_mpdparser_parse_root_node: attributes of root MPD node:
0:00:00.088593000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - schemaLocation: urn:mpeg:dash:schema:mpd:2011 DASH-MPD.xsd
0:00:00.088601000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - profiles: urn:mpeg:dash:profile:isoff-on-demand:2011
0:00:00.094628000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:405:gst_mpdparser_get_xml_prop_type:  - type: static
0:00:00.094668000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:808:gst_mpdparser_get_xml_prop_duration: duration: PT9M57S, len 7
0:00:00.094706000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:874:gst_mpdparser_get_xml_prop_duration: parsing substring 9M57S
0:00:00.094761000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:910:gst_mpdparser_get_xml_prop_duration: read number 9 type M
0:00:00.094779000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:874:gst_mpdparser_get_xml_prop_duration: parsing substring 57S
0:00:00.094792000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:910:gst_mpdparser_get_xml_prop_duration: read number 57 type S
0:00:00.094806000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:915:gst_mpdparser_get_xml_prop_duration: H:M:S.MS=0:9:57.000
0:00:00.094822000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:923:gst_mpdparser_get_xml_prop_duration:  - mediaPresentationDuration: 597000
0:00:00.094915000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:808:gst_mpdparser_get_xml_prop_duration: duration: PT5.0S, len 6
0:00:00.094965000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:874:gst_mpdparser_get_xml_prop_duration: parsing substring 5.0S
0:00:00.094978000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:910:gst_mpdparser_get_xml_prop_duration: read number 5 type .
0:00:00.094989000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:874:gst_mpdparser_get_xml_prop_duration: parsing substring 0S
0:00:00.094998000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:893:gst_mpdparser_get_xml_prop_duration: decimal number 0 (1 digits) -> 0 ms
0:00:00.095010000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:910:gst_mpdparser_get_xml_prop_duration: read number 0 type S
0:00:00.095144000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:915:gst_mpdparser_get_xml_prop_duration: H:M:S.MS=0:0:5.000
0:00:00.095221000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:923:gst_mpdparser_get_xml_prop_duration:  - minBufferTime: 5000
0:00:00.095262000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:808:gst_mpdparser_get_xml_prop_duration: duration: PT5.0S, len 6
0:00:00.095316000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:874:gst_mpdparser_get_xml_prop_duration: parsing substring 5.0S
0:00:00.095338000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:910:gst_mpdparser_get_xml_prop_duration: read number 5 type .
0:00:00.095356000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:874:gst_mpdparser_get_xml_prop_duration: parsing substring 0S
0:00:00.095372000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:893:gst_mpdparser_get_xml_prop_duration: decimal number 0 (1 digits) -> 0 ms
0:00:00.095386000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:910:gst_mpdparser_get_xml_prop_duration: read number 0 type S
0:00:00.095502000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:915:gst_mpdparser_get_xml_prop_duration: H:M:S.MS=0:0:5.000
0:00:00.095532000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:923:gst_mpdparser_get_xml_prop_duration:  - maxSubsegmentDuration: 5000
0:00:00.095543000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1710:gst_mpdparser_parse_period_node: attributes of Period node:
0:00:00.095562000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - id: P1
0:00:00.095570000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:808:gst_mpdparser_get_xml_prop_duration: duration: PT9M57S, len 7
0:00:00.095616000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:874:gst_mpdparser_get_xml_prop_duration: parsing substring 9M57S
0:00:00.095650000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:910:gst_mpdparser_get_xml_prop_duration: read number 9 type M
0:00:00.095664000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:874:gst_mpdparser_get_xml_prop_duration: parsing substring 57S
0:00:00.095675000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:910:gst_mpdparser_get_xml_prop_duration: read number 57 type S
0:00:00.095681000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:915:gst_mpdparser_get_xml_prop_duration: H:M:S.MS=0:9:57.000
0:00:00.095690000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:923:gst_mpdparser_get_xml_prop_duration:  - duration: 597000
0:00:00.095802000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1550:gst_mpdparser_parse_adaptation_set_node: attributes of AdaptationSet node:
0:00:00.095837000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - id: 38
0:00:00.095848000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - group: 3
0:00:00.095855000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - lang: en
0:00:00.095861000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - contentType: text
0:00:00.095871000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:518:gst_mpdparser_get_xml_prop_ratio: ratio: 16:9, len 4
0:00:00.095909000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:548:gst_mpdparser_get_xml_prop_ratio:  - par: 16:9
0:00:00.095933000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:628:gst_mpdparser_get_xml_prop_cond_uint: conditional uint: true
0:00:00.095941000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:653:gst_mpdparser_get_xml_prop_cond_uint:  - subsegmentAlignment: flag=true val=0
0:00:00.095950000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:435:gst_mpdparser_get_xml_prop_SAP_type:  - subsegmentStartsWithSAP: 1
0:00:00.095960000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1434:gst_mpdparser_parse_representation_base_type: attributes of RepresentationBaseType extension:
0:00:00.096092000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:518:gst_mpdparser_get_xml_prop_ratio: ratio: 1:1, len 3
0:00:00.096115000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:548:gst_mpdparser_get_xml_prop_ratio:  - sar: 1:1
0:00:00.096144000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - mimeType: application/mp4
0:00:00.096156000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - codecs: stpp
0:00:00.096166000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1013:gst_mpdparser_parse_descriptor_type_node: attributes of Role node:
0:00:00.096173000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - schemeIdUri: urn:mpeg:dash:role:2011
0:00:00.096274000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - value: subtitle
0:00:00.096292000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1496:gst_mpdparser_parse_representation_node: attributes of Representation node:
0:00:00.096299000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - id: 38_1
0:00:00.096308000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - bandwidth: 0
0:00:00.096315000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1434:gst_mpdparser_parse_representation_base_type: attributes of RepresentationBaseType extension:
0:00:00.096435000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - width: 854
0:00:00.096453000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - height: 480
0:00:00.096463000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:991:gst_mpdparser_parse_baseURL_node: content of BaseURL node:
0:00:00.096470000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:946:gst_mpdparser_get_xml_node_content:  - BaseURL: SNE_DASH_CASE4B_SD_subtitle_Track3.m4t
0:00:00.096478000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:994:gst_mpdparser_parse_baseURL_node: attributes of BaseURL node:
0:00:00.096484000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1550:gst_mpdparser_parse_adaptation_set_node: attributes of AdaptationSet node:
0:00:00.096590000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - id: 39
0:00:00.096607000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - group: 3
0:00:00.096616000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - lang: en
0:00:00.096623000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - contentType: text
0:00:00.096630000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:518:gst_mpdparser_get_xml_prop_ratio: ratio: 16:9, len 4
0:00:00.096638000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:548:gst_mpdparser_get_xml_prop_ratio:  - par: 16:9
0:00:00.096751000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1434:gst_mpdparser_parse_representation_base_type: attributes of RepresentationBaseType extension:
0:00:00.096764000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:518:gst_mpdparser_get_xml_prop_ratio: ratio: 1:1, len 3
0:00:00.096776000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:548:gst_mpdparser_get_xml_prop_ratio:  - sar: 1:1
0:00:00.096785000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - mimeType: application/mp4
0:00:00.096792000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - codecs: stpp
0:00:00.096913000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1013:gst_mpdparser_parse_descriptor_type_node: attributes of Role node:
0:00:00.096928000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - schemeIdUri: urn:mpeg:dash:role:2011
0:00:00.096938000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - value: subtitle
0:00:00.096946000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1496:gst_mpdparser_parse_representation_node: attributes of Representation node:
0:00:00.096951000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - id: 39_1
0:00:00.096959000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - bandwidth: 0
0:00:00.097066000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1434:gst_mpdparser_parse_representation_base_type: attributes of RepresentationBaseType extension:
0:00:00.097081000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - width: 854
0:00:00.097093000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - height: 480
0:00:00.097102000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:991:gst_mpdparser_parse_baseURL_node: content of BaseURL node:
0:00:00.097109000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:946:gst_mpdparser_get_xml_node_content:  - BaseURL: SNE_DASH_CASE4B_SD_subtitle_Track4.m4t
0:00:00.097223000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:994:gst_mpdparser_parse_baseURL_node: attributes of BaseURL node:
0:00:00.097238000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1550:gst_mpdparser_parse_adaptation_set_node: attributes of AdaptationSet node:
0:00:00.097246000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - id: 2
0:00:00.097256000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - group: 2
0:00:00.097263000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - lang: en
0:00:00.097270000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - contentType: audio
0:00:00.097377000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:628:gst_mpdparser_get_xml_prop_cond_uint: conditional uint: true
0:00:00.097393000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:653:gst_mpdparser_get_xml_prop_cond_uint:  - subsegmentAlignment: flag=true val=0
0:00:00.097405000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:435:gst_mpdparser_get_xml_prop_SAP_type:  - subsegmentStartsWithSAP: 1
0:00:00.097413000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1434:gst_mpdparser_parse_representation_base_type: attributes of RepresentationBaseType extension:
0:00:00.097420000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - audioSamplingRate: 48000
0:00:00.097533000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - mimeType: audio/mp4
0:00:00.097550000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - codecs: mp4a.40.5
0:00:00.097559000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1013:gst_mpdparser_parse_descriptor_type_node: attributes of AudioChannelConfiguration node:
0:00:00.097567000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - schemeIdUri: urn:mpeg:dash:23003:3:audio_channel_configuration:2011
0:00:00.097575000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - value: 2
0:00:00.097687000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1013:gst_mpdparser_parse_descriptor_type_node: attributes of Role node:
0:00:00.097704000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - schemeIdUri: urn:mpeg:dash:role:2011
0:00:00.097713000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - value: main
0:00:00.097721000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1496:gst_mpdparser_parse_representation_node: attributes of Representation node:
0:00:00.097727000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - id: 2_1
0:00:00.097735000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - bandwidth: 96000
0:00:00.097840000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1434:gst_mpdparser_parse_representation_base_type: attributes of RepresentationBaseType extension:
0:00:00.097854000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:991:gst_mpdparser_parse_baseURL_node: content of BaseURL node:
0:00:00.097862000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:946:gst_mpdparser_get_xml_node_content:  - BaseURL: SNE_DASH_CASE4B_SD_audio_Track1.m4a
0:00:00.097872000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:994:gst_mpdparser_parse_baseURL_node: attributes of BaseURL node:
0:00:00.097879000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1550:gst_mpdparser_parse_adaptation_set_node: attributes of AdaptationSet node:
0:00:00.097998000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - id: 1
0:00:00.098015000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - group: 1
0:00:00.098024000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - contentType: video
0:00:00.098032000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:518:gst_mpdparser_get_xml_prop_ratio: ratio: 16:9, len 4
0:00:00.098040000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:548:gst_mpdparser_get_xml_prop_ratio:  - par: 16:9
0:00:00.098048000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - minBandwidth: 1609728
0:00:00.098151000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - maxBandwidth: 1609728
0:00:00.098169000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - minWidth: 854
0:00:00.098177000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - maxWidth: 854
0:00:00.098184000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - minHeight: 480
0:00:00.098191000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - maxHeight: 480
0:00:00.098308000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:628:gst_mpdparser_get_xml_prop_cond_uint: conditional uint: true
0:00:00.098323000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:653:gst_mpdparser_get_xml_prop_cond_uint:  - subsegmentAlignment: flag=true val=0
0:00:00.098335000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:435:gst_mpdparser_get_xml_prop_SAP_type:  - subsegmentStartsWithSAP: 1
0:00:00.098343000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1434:gst_mpdparser_parse_representation_base_type: attributes of RepresentationBaseType extension:
0:00:00.098350000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:518:gst_mpdparser_get_xml_prop_ratio: ratio: 1:1, len 3
0:00:00.098358000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:548:gst_mpdparser_get_xml_prop_ratio:  - sar: 1:1
0:00:00.098462000 10108 0x7fdd6180a190 TRACE              dashdemux gstmpdparser.c:574:gst_mpdparser_get_xml_prop_framerate: framerate: 24, len 2
0:00:00.098480000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:601:gst_mpdparser_get_xml_prop_framerate:  - frameRate: 24
0:00:00.098490000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - mimeType: video/mp4
0:00:00.098497000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - codecs: avc1.4D401E
0:00:00.098506000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:351:gst_mpdparser_get_xml_prop_double:  - maximumSAPPeriod: 5.000000
0:00:00.098518000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - scanType: progressive
0:00:00.098619000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1013:gst_mpdparser_parse_descriptor_type_node: attributes of Role node:
0:00:00.098634000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - schemeIdUri: urn:mpeg:dash:role:2011
0:00:00.098643000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - value: main
0:00:00.098651000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1496:gst_mpdparser_parse_representation_node: attributes of Representation node:
0:00:00.098657000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:216:gst_mpdparser_get_xml_prop_string:  - id: 1_1
0:00:00.098779000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - bandwidth: 1609728
0:00:00.098798000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:237:gst_mpdparser_get_xml_prop_string_vector_type:  - mediaStreamStructureId:
0:00:00.098806000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:239:gst_mpdparser_get_xml_prop_string_vector_type:     1
0:00:00.098814000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:1434:gst_mpdparser_parse_representation_base_type: attributes of RepresentationBaseType extension:
0:00:00.098820000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - width: 854
0:00:00.098879000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:263:gst_mpdparser_get_xml_prop_unsigned_integer:  - height: 480
0:00:00.098892000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:991:gst_mpdparser_parse_baseURL_node: content of BaseURL node:
0:00:00.098899000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:946:gst_mpdparser_get_xml_node_content:  - BaseURL: SNE_DASH_CASE4B_SD_video_Track2.m4v
0:00:00.098906000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:994:gst_mpdparser_parse_baseURL_node: attributes of BaseURL node:
0:00:00.098963000 10108 0x7fdd6180a190 DEBUG              dashdemux gstmpdparser.c:2852:gst_mpd_client_check_profiles: Profiles: urn:mpeg:dash:profile:isoff-on-demand:2011
0:00:00.098973000 10108 0x7fdd6180a190 DEBUG              dashdemux gstmpdparser.c:2857:gst_mpd_client_check_profiles: Found ISOFF on demand profile (2011)
0:00:00.099016000 10108 0x7fdd6180a190 DEBUG              dashdemux gstmpdparser.c:3244:gst_mpd_client_setup_media_presentation: Building the list of Periods in the Media Presentation
0:00:00.099032000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:3310:gst_mpd_client_setup_media_presentation:  - added Period 1 start=0:00:00.000000000 duration=0:09:57.000000000
0:00:00.099050000 10108 0x7fdd6180a190 DEBUG              dashdemux gstmpdparser.c:3314:gst_mpd_client_setup_media_presentation: Found a total of 1 valid Periods in the Media Presentation
0:00:00.099071000 10108 0x7fdd6180a190 DEBUG              dashdemux gstdashdemux.c:466:gst_dash_demux_setup_all_streams:<dashdemux0> Setting up streams for period 0
0:00:00.099086000 10108 0x7fdd6180a190 DEBUG              dashdemux gstmpdparser.c:3379:gst_mpd_client_setup_streaming: 0. Current stream 0x7fdd610d31f0
0:00:00.099138000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:3036:gst_mpd_client_setup_representation: Building segment list for Period from 0:00:00.000000000 to 0:09:57.000000000
0:00:00.099163000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:2994:gst_mpd_client_add_media_segment: Added new segment: number 1, ts: 0:00:00.000000000, dur: 0:09:57.000000000 start time 0:00:00.000000000
0:00:00.099177000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:3220:gst_mpd_client_setup_representation: Built a list of 1 segments
0:00:00.099222000 10108 0x7fdd6180a190 DEBUG              dashdemux gstmpdparser.c:2752:gst_mpdparser_parse_baseURL: Current adaptation set id 38 (text)
0:00:00.099359000 10108 0x7fdd6180a190 INFO               dashdemux gstmpdparser.c:3418:gst_mpd_client_setup_streaming: Successfully setup the download pipeline for mimeType 3
0:00:00.099370000 10108 0x7fdd6180a190 DEBUG              dashdemux gstmpdparser.c:3379:gst_mpd_client_setup_streaming: 0. Current stream 0x7fdd610d2200
0:00:00.099378000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:3036:gst_mpd_client_setup_representation: Building segment list for Period from 0:00:00.000000000 to 0:09:57.000000000
0:00:00.099397000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:2994:gst_mpd_client_add_media_segment: Added new segment: number 1, ts: 0:00:00.000000000, dur: 0:09:57.000000000 start time 0:00:00.000000000
0:00:00.099414000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:3220:gst_mpd_client_setup_representation: Built a list of 1 segments
0:00:00.099470000 10108 0x7fdd6180a190 DEBUG              dashdemux gstmpdparser.c:2752:gst_mpdparser_parse_baseURL: Current adaptation set id 39 (text)
0:00:00.099506000 10108 0x7fdd6180a190 INFO               dashdemux gstmpdparser.c:3418:gst_mpd_client_setup_streaming: Successfully setup the download pipeline for mimeType 3
0:00:00.099515000 10108 0x7fdd6180a190 DEBUG              dashdemux gstmpdparser.c:3379:gst_mpd_client_setup_streaming: 0. Current stream 0x7fdd610d2270
0:00:00.099523000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:3036:gst_mpd_client_setup_representation: Building segment list for Period from 0:00:00.000000000 to 0:09:57.000000000
0:00:00.099537000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:2994:gst_mpd_client_add_media_segment: Added new segment: number 1, ts: 0:00:00.000000000, dur: 0:09:57.000000000 start time 0:00:00.000000000
0:00:00.099586000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:3220:gst_mpd_client_setup_representation: Built a list of 1 segments
0:00:00.099611000 10108 0x7fdd6180a190 DEBUG              dashdemux gstmpdparser.c:2752:gst_mpdparser_parse_baseURL: Current adaptation set id 2 (audio)
0:00:00.099638000 10108 0x7fdd6180a190 INFO               dashdemux gstmpdparser.c:3418:gst_mpd_client_setup_streaming: Successfully setup the download pipeline for mimeType 2
0:00:00.099645000 10108 0x7fdd6180a190 DEBUG              dashdemux gstmpdparser.c:3379:gst_mpd_client_setup_streaming: 0. Current stream 0x7fdd610a9240
0:00:00.099652000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:3036:gst_mpd_client_setup_representation: Building segment list for Period from 0:00:00.000000000 to 0:09:57.000000000
0:00:00.099779000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:2994:gst_mpd_client_add_media_segment: Added new segment: number 1, ts: 0:00:00.000000000, dur: 0:09:57.000000000 start time 0:00:00.000000000
0:00:00.099819000 10108 0x7fdd6180a190 LOG                dashdemux gstmpdparser.c:3220:gst_mpd_client_setup_representation: Built a list of 1 segments
0:00:00.099842000 10108 0x7fdd6180a190 DEBUG              dashdemux gstmpdparser.c:2752:gst_mpdparser_parse_baseURL: Current adaptation set id 1 (video)
0:00:00.099871000 10108 0x7fdd6180a190 INFO               dashdemux gstmpdparser.c:3418:gst_mpd_client_setup_streaming: Successfully setup the download pipeline for mimeType 1
0:00:00.099880000 10108 0x7fdd6180a190 DEBUG              dashdemux gstdashdemux.c:475:gst_dash_demux_setup_all_streams:<dashdemux0> Creating stream objects
**
ERROR:gstdashdemux.c:695:gst_dash_demux_create_pad: code should not be reached
Abort trap: 6
Comment 1 Yujin Lee 2015-04-08 19:11:20 UTC
Created attachment 301159 [details] [review]
dashdemux: enable playback of content with text streams

There is a playback error when trying to play a content that has 'application' mimeType. This commit prevents an exception from setup text streams.

This patch only enables playback of content with text streams. But it will be need to process the text streams in the near future.

Thank you.
Comment 2 Thiago Sousa Santos 2015-04-09 19:40:19 UTC
Review of attachment 301159 [details] [review]:

Could you provide another patch with a proper name in the author field?

Also, are you interested in enabling subtitles for this stream or you just want to have it working and not failing?
Comment 3 Yujin Lee 2015-04-10 00:50:34 UTC
Created attachment 301247 [details] [review]
dashdemux: enable playback of content with text streams

Thank you for your comment.
I changed the name in the author field to my name.

And I am also interested in enabling subtitles for this stream. After make not failing, I would like to work for that additionally.
Comment 4 Chris Bass 2015-04-13 08:28:54 UTC
Created attachment 301444 [details] [review]
Create pads for text streams

I've been using this patch for some DASH subtitling development work. It works correctly when playing the test streams here:

http://rdmedia.bbc.co.uk/dash/ondemand/elephants_dream/

(These test DASH streams contain an EBU-TT-D subtitle AdaptationSet.)
Comment 5 Thiago Sousa Santos 2015-04-13 12:37:08 UTC
Review of attachment 301247 [details] [review]:

Thanks for the update, merged.

commit 218a89fcd9bd661b8976d9993bb02a2a5b223782
Author: Yujin Lee <saddopop@gmail.com>
Date:   Fri Apr 10 09:34:01 2015 +0900

    dashdemux: enable playback of content with text streams
    
    There is a playback error when trying to play a content that
    has 'application' mimeType. This commit prevents an exception from
    setup text streams.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=747525
Comment 6 Thiago Sousa Santos 2015-04-13 12:39:39 UTC
Review of attachment 301444 [details] [review]:

::: ext/dash/gstdashdemux.c
@@ +695,3 @@
       tmpl = gst_static_pad_template_get (&gst_dash_demux_videosrc_template);
       break;
+    case GST_STREAM_APPLICATION:

I think we need to make our mpdparser smarter to be able to detect which 'application' streams are actually text ones. Assuming all application streams are text might not be always true.
Comment 7 Thiago Sousa Santos 2015-04-13 12:40:34 UTC
Closing this one and it doesn't fail anymore. We can continue discussing proper text streams support in this new bug:
https://bugzilla.gnome.org/show_bug.cgi?id=747774