playbin2 not able to play m2ts movies

Bug #924725 reported by jfauffret
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-omap4-extras-multimedia
Confirmed
Undecided
Xavier Boudet

Bug Description

Sample mpeg-ts movies are available here: http://www.demo-world.eu/trailers/high-definition-trailers.php

Tested on pandaboard 4430 on Oneiric: Linux omap4430 3.0.0-1206-omap4 and latest TI-OMAP4 packages

gst-launch playbin2 uri=file:///media/NANO/hd_dolby_countdown_1920x1080p_VBR.m2ts video-sink=pvrvideosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.332153334 1452 0x1445588 WARN codecparsers_h264 gsth264parser.c:622:gst_h264_parse_vui_parameters: failed to read UE
0:00:00.332458509 1452 0x1445588 WARN codecparsers_h264 gsth264parser.c:633:gst_h264_parse_vui_parameters: error parsing "VUI Parameters"
0:00:00.332611097 1452 0x1445588 WARN codecparsers_h264 gsth264parser.c:1504:gst_h264_parse_sps: error parsing "Sequence parameter set"
0:00:00.332763685 1452 0x1445588 WARN codecparsers_h264 gsth264parser.c:1539:gst_h264_parse_pps: couldn't find associated sequence parameter set with id: 0
0:00:00.332855238 1452 0x1445588 WARN codecparsers_h264 gsth264parser.c:960:gst_h264_parser_parse_buffering_period: couldn't find associated sequence parameter set with id: 0
0:00:00.333007826 1452 0x1445588 WARN codecparsers_h264 gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find associated picture parameter set with id: 0
0:00:00.333496107 1452 0x1445588 WARN codecparsers_h264 gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find associated picture parameter set with id: 0
0:00:00.333831800 1452 0x1445588 WARN codecparsers_h264 gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find associated picture parameter set with id: 0
0:00:00.333984388 1452 0x1445588 WARN codecparsers_h264 gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find associated picture parameter set with id: 0
0:00:00.334289564 1452 0x1445588 WARN mpegtsdemux gstmpegtsdemux.c:2865:gst_mpegts_demux_src_pad_query:<mpegtsdemux0> unsupported query format or no bitrate yet to approximate duration from bytes
0:00:00.388488782 1452 0xb4146540 WARN mpegtsdemux gstmpegtsdemux.c:2865:gst_mpegts_demux_src_pad_query:<mpegtsdemux0> unsupported query format or no bitrate yet to approximate duration from bytes
0:00:00.398254406 1452 0xb4146540 WARN mpegtsdemux gstmpegtsdemux.c:2865:gst_mpegts_demux_src_pad_query:<mpegtsdemux0> unsupported query format or no bitrate yet to approximate duration from bytes
0:00:00.707000745 1452 0x1445588 WARN ducati gstducatividdec.c:592:gst_ducati_viddec_sink_setcaps:<ducatih264dec0> missing required fields
0:00:00.714691175 1452 0x14326c8 WARN basesrc gstbasesrc.c:2582:gst_base_src_loop:<source> error: Internal data flow error.
0:00:00.715332044 1452 0x14326c8 WARN basesrc gstbasesrc.c:2582:gst_base_src_loop:<source> error: streaming task paused, reason not-negotiated (-4)
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstFileSrc:source: Internal data flow error.
Additional debug info:
gstbasesrc.c(2582): gst_base_src_loop (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstFileSrc:source:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

By setting caps manually in a custom pipeline in front of ducatih264dec, the same file is well played.

Xavier Boudet (x-boudet)
Changed in ubuntu-omap4-extras-multimedia:
assignee: nobody → Xavier Boudet (x-boudet)
Revision history for this message
Xavier Boudet (x-boudet) wrote :

Major SW update was done on February the 2nd.
I did a test based on this recent SW level using 2 samples
* hd_dolby_countdown_v1.m2ts from http://www.demo-world.eu/trailers/high-definition-trailers.php
* http://www.avchdclips.com/sample_1.zip
It works fine.

Can you please try to dist-upgrade your current environment and retry?
You might need to removed ~/.gstreamer-0.10 folder to ensure parsing is correct.

Revision history for this message
jfauffret (jfauffret) wrote :
Download full text (5.4 KiB)

Hi Xavier,

Following your recommendations I upgraded my env and retried a few mpegts movies after cleaning ~/.gstreamer-0.10 folder
Some mpeg-ts movies are well played but some others are not played for the same reason.

Here is the output of gst-discoverer-0.10 on a failing movie (caps width and height not computed by the parsers) :

$> GST_DEBUG=2 gst-discoverer-0.10 -v /media/NANO/ToyStory3_720P45M4_eng.mpg
Analyzing file:///media/NANO/ToyStory3_720P45M4_eng.mpg
0:00:00.393706954 3209 0x508f68 WARN codecparsers_h264 gsth264parser.c:622:gst_h264_parse_vui_parameters: failed to read UE
0:00:00.393981612 3209 0x508f68 WARN codecparsers_h264 gsth264parser.c:633:gst_h264_parse_vui_parameters: error parsing "VUI Parameters"
0:00:00.394073165 3209 0x508f68 WARN codecparsers_h264 gsth264parser.c:1504:gst_h264_parse_sps: error parsing "Sequence parameter set"
0:00:00.394164718 3209 0x508f68 WARN codecparsers_h264 gsth264parser.c:1539:gst_h264_parse_pps: couldn't find associated sequence parameter set with id: 0
0:00:00.394286788 3209 0x508f68 WARN codecparsers_h264 gsth264parser.c:960:gst_h264_parser_parse_buffering_period: couldn't find associated sequence parameter set with id: 0
0:00:00.394439376 3209 0x508f68 WARN codecparsers_h264 gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find associated picture parameter set with id: 0
0:00:00.394561446 3209 0x508f68 WARN codecparsers_h264 gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find associated picture parameter set with id: 0
0:00:00.394683516 3209 0x508f68 WARN codecparsers_h264 gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find associated picture parameter set with id: 0
0:00:00.394775069 3209 0x508f68 WARN codecparsers_h264 gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find associated picture parameter set with id: 0
0:00:00.395324386 3209 0x508f68 WARN mpegtsdemux gstmpegtsdemux.c:2865:gst_mpegts_demux_src_pad_query:<mpegtsdemux0> unsupported query format or no bitrate yet to approximate duration from bytes
0:00:00.410277999 3209 0x573940 WARN mpegtsdemux gstmpegtsdemux.c:2865:gst_mpegts_demux_src_pad_query:<mpegtsdemux0> unsupported query format or no bitrate yet to approximate duration from bytes
0:00:00.422820724 3209 0x573940 WARN mpegtsdemux gstmpegtsdemux.c:2865:gst_mpegts_demux_src_pad_query:<mpegtsdemux0> unsupported query format or no bitrate yet to approximate duration from bytes
0:00:00.516051925 3209 0x508f68 WARN ducati gstducatividdec.c:648:gst_ducati_viddec_sink_setcaps:<ducatih264dec0> missing required fields
0:00:00.518340743 3209 0x523d60 WARN basesrc gstbasesrc.c:2582:gst_base_src_loop:<source> error: Internal data flow error.
0:00:00.518493331 3209 0x523d60 WARN basesrc gstbasesrc.c:2582:gst_base_src_loop:<source> error: streaming task paused, reason not-negotiated (-4)
0:00:00.518829024 3209 0x3ce158 WARN discoverer gstdiscoverer.c:1055:handle_message:<source> Got an error [debug:gstbasesrc.c(2582): gst_ba...

Read more...

Revision history for this message
Xavier Boudet (x-boudet) wrote : Re: [Bug 924725] Re: playbin2 not able to play m2ts movies
Download full text (9.7 KiB)

The best for us would be to get the same video here.
Did you get this clip from any public place?
How can I have access to one of your failing clips?

*Xavier*

On Mon, Feb 13, 2012 at 4:03 PM, jfauffret <email address hidden> wrote:

> Hi Xavier,
>
> Following your recommendations I upgraded my env and retried a few mpegts
> movies after cleaning ~/.gstreamer-0.10 folder
> Some mpeg-ts movies are well played but some others are not played for the
> same reason.
>
> Here is the output of gst-discoverer-0.10 on a failing movie (caps width
> and height not computed by the parsers) :
>
> $> GST_DEBUG=2 gst-discoverer-0.10 -v
> /media/NANO/ToyStory3_720P45M4_eng.mpg
> Analyzing file:///media/NANO/ToyStory3_720P45M4_eng.mpg
> 0:00:00.393706954 3209 0x508f68 WARN codecparsers_h264
> gsth264parser.c:622:gst_h264_parse_vui_parameters: failed to read UE
> 0:00:00.393981612 3209 0x508f68 WARN codecparsers_h264
> gsth264parser.c:633:gst_h264_parse_vui_parameters: error parsing "VUI
> Parameters"
> 0:00:00.394073165 3209 0x508f68 WARN codecparsers_h264
> gsth264parser.c:1504:gst_h264_parse_sps: error parsing "Sequence parameter
> set"
> 0:00:00.394164718 3209 0x508f68 WARN codecparsers_h264
> gsth264parser.c:1539:gst_h264_parse_pps: couldn't find associated sequence
> parameter set with id: 0
> 0:00:00.394286788 3209 0x508f68 WARN codecparsers_h264
> gsth264parser.c:960:gst_h264_parser_parse_buffering_period: couldn't find
> associated sequence parameter set with id: 0
> 0:00:00.394439376 3209 0x508f68 WARN codecparsers_h264
> gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find
> associated picture parameter set with id: 0
> 0:00:00.394561446 3209 0x508f68 WARN codecparsers_h264
> gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find
> associated picture parameter set with id: 0
> 0:00:00.394683516 3209 0x508f68 WARN codecparsers_h264
> gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find
> associated picture parameter set with id: 0
> 0:00:00.394775069 3209 0x508f68 WARN codecparsers_h264
> gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find
> associated picture parameter set with id: 0
> 0:00:00.395324386 3209 0x508f68 WARN mpegtsdemux
> gstmpegtsdemux.c:2865:gst_mpegts_demux_src_pad_query:<mpegtsdemux0>
> unsupported query format or no bitrate yet to approximate duration from
> bytes
> 0:00:00.410277999 3209 0x573940 WARN mpegtsdemux
> gstmpegtsdemux.c:2865:gst_mpegts_demux_src_pad_query:<mpegtsdemux0>
> unsupported query format or no bitrate yet to approximate duration from
> bytes
> 0:00:00.422820724 3209 0x573940 WARN mpegtsdemux
> gstmpegtsdemux.c:2865:gst_mpegts_demux_src_pad_query:<mpegtsdemux0>
> unsupported query format or no bitrate yet to approximate duration from
> bytes
> 0:00:00.516051925 3209 0x508f68 WARN ducati
> gstducatividdec.c:648:gst_ducati_viddec_sink_setcaps:<ducatih264dec0>
> missing required fields
> 0:00:00.518340743 3209 0x523d60 WARN basesrc
> gstbasesrc.c:2582:gst_base_src_loop:<source> error: Interna...

Read more...

Revision history for this message
jfauffret (jfauffret) wrote :

You'll find a sample at this location: http://dl.free.fr/iueKgxXci
I was also able to reproduce this issue by trying to play split movies (from demo-world.eu) because I had concerns for a player joining digital broadcast sources at a random position.

Revision history for this message
Xavier Boudet (x-boudet) wrote :
Download full text (4.4 KiB)

We have the sample. I was able to reproduce the issue. Thanks.
A bug was entered with normal priority.
We shall start investigation on this bug next week.

*Xavier*

On Mon, Feb 13, 2012 at 5:57 PM, jfauffret <email address hidden> wrote:

> You'll find a sample at this location: http://dl.free.fr/iueKgxXci
> I was also able to reproduce this issue by trying to play split movies
> (from demo-world.eu) because I had concerns for a player joining digital
> broadcast sources at a random position.
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/924725
>
> Title:
> playbin2 not able to play m2ts movies
>
> Status in OMAP4 Ubuntu Multimedia addons:
> New
>
> Bug description:
> Sample mpeg-ts movies are available here: http://www.demo-
> world.eu/trailers/high-definition-trailers.php
>
> Tested on pandaboard 4430 on Oneiric: Linux omap4430 3.0.0-1206-omap4
> and latest TI-OMAP4 packages
>
> gst-launch playbin2
> uri=file:///media/NANO/hd_dolby_countdown_1920x1080p_VBR.m2ts
> video-sink=pvrvideosink
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> 0:00:00.332153334 1452 0x1445588 WARN codecparsers_h264
> gsth264parser.c:622:gst_h264_parse_vui_parameters: failed to read UE
> 0:00:00.332458509 1452 0x1445588 WARN codecparsers_h264
> gsth264parser.c:633:gst_h264_parse_vui_parameters: error parsing "VUI
> Parameters"
> 0:00:00.332611097 1452 0x1445588 WARN codecparsers_h264
> gsth264parser.c:1504:gst_h264_parse_sps: error parsing "Sequence parameter
> set"
> 0:00:00.332763685 1452 0x1445588 WARN codecparsers_h264
> gsth264parser.c:1539:gst_h264_parse_pps: couldn't find associated sequence
> parameter set with id: 0
> 0:00:00.332855238 1452 0x1445588 WARN codecparsers_h264
> gsth264parser.c:960:gst_h264_parser_parse_buffering_period: couldn't find
> associated sequence parameter set with id: 0
> 0:00:00.333007826 1452 0x1445588 WARN codecparsers_h264
> gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find
> associated picture parameter set with id: 0
> 0:00:00.333496107 1452 0x1445588 WARN codecparsers_h264
> gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find
> associated picture parameter set with id: 0
> 0:00:00.333831800 1452 0x1445588 WARN codecparsers_h264
> gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find
> associated picture parameter set with id: 0
> 0:00:00.333984388 1452 0x1445588 WARN codecparsers_h264
> gsth264parser.c:1704:gst_h264_parser_parse_slice_hdr: couldn't find
> associated picture parameter set with id: 0
> 0:00:00.334289564 1452 0x1445588 WARN mpegtsdemux
> gstmpegtsdemux.c:2865:gst_mpegts_demux_src_pad_query:<mpegtsdemux0>
> unsupported query format or no bitrate yet to approximate duration from
> bytes
> 0:00:00.388488782 1452 0xb4146540 WARN mpegtsdemux
> gstmpegtsdemux.c:2865:gst_mpegts_demux_src_pad_query:<mpegtsdemux0>
> unsupported query format or no bitrate yet to approximate duration from
> bytes
> 0:00:00.398254406 1452 0xb4146540 WARN mpegtsdemux
> gstmpegtsdemux....

Read more...

Xavier Boudet (x-boudet)
Changed in ubuntu-omap4-extras-multimedia:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.