issues with mpeg{ts,ps} demux

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

issues with mpeg{ts,ps} demux

Sameer Naik
Hi,

On my fedora 12 pc i have i have installed,
gstreamer-0.10.27
gst-plugins-base-0.10.27
gst-fluendo-mpegdemux-0.10.23
(and the other gstreamer packages)

If i try to play an MPEG Program stream (H.264 BP Video and MPEG1
Layer 2 Audio) using the following pipeline
gst-launch filesrc location=file.mpg ! flupsdemux name=demux ! queue !
ffdec_h264 ! xvimagesink demux. ! queue ! mad ! alsasink

The pipeline goes into the playing state, but nothing ever gets
rendered on the screen.
Hoever if i specify queue limits on the queue before the ffdec_h264
plugin, the pipeline works correctly.

gst-launch filesrc location=file.mpg ! mpegpsdemux name=demux ! queue
max-size-buffers=0 max-size-time=0 max-size-bytes=5242800 ! ffdec_h264
! xvimagesink demux. ! queue ! mad ! alsasink

I don't know what the issue here is. I have never encountered this
behaviour with other pipelines, only with gst-fluendo-mpegdemux for
both program as well as transport streams.

Please find my test stream here:
http://download.damagehead.com/samples/the.robbie.williams.show.dvd.extra_h264bp.mpg

Regards
~Sameer

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: issues with mpeg{ts,ps} demux

Stefan Sauer
Sameer Naik wrote:

> Hi,
>
> On my fedora 12 pc i have i have installed,
> gstreamer-0.10.27
> gst-plugins-base-0.10.27
> gst-fluendo-mpegdemux-0.10.23
> (and the other gstreamer packages)
>
> If i try to play an MPEG Program stream (H.264 BP Video and MPEG1
> Layer 2 Audio) using the following pipeline
> gst-launch filesrc location=file.mpg ! flupsdemux name=demux ! queue !
> ffdec_h264 ! xvimagesink demux. ! queue ! mad ! alsasink
>
> The pipeline goes into the playing state, but nothing ever gets
> rendered on the screen.
> Hoever if i specify queue limits on the queue before the ffdec_h264
> plugin, the pipeline works correctly.
>
> gst-launch filesrc location=file.mpg ! mpegpsdemux name=demux ! queue
> max-size-buffers=0 max-size-time=0 max-size-bytes=5242800 ! ffdec_h264
> ! xvimagesink demux. ! queue ! mad ! alsasink
>
>  
Have you tried mpegpsdemux instead? Do you see anything when setting
sync=false on xvimagesink. If so the psdemuxer has a timestamp issue.

Stefan

> I don't know what the issue here is. I have never encountered this
> behaviour with other pipelines, only with gst-fluendo-mpegdemux for
> both program as well as transport streams.
>
> Please find my test stream here:
> http://download.damagehead.com/samples/the.robbie.williams.show.dvd.extra_h264bp.mpg
>
> Regards
> ~Sameer
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: issues with mpeg{ts,ps} demux

Sameer Naik
Hi,
Yes i have tested it with mpegpsdemux which is in
gst-plugins-bad-0.10.18 as well as flupsdemux.
Both yield the same behaviour.
Regards
~Sameer

On Sat, Mar 13, 2010 at 9:15 AM, Stefan Kost <[hidden email]> wrote:

> Sameer Naik wrote:
>> Hi,
>>
>> On my fedora 12 pc i have i have installed,
>> gstreamer-0.10.27
>> gst-plugins-base-0.10.27
>> gst-fluendo-mpegdemux-0.10.23
>> (and the other gstreamer packages)
>>
>> If i try to play an MPEG Program stream (H.264 BP Video and MPEG1
>> Layer 2 Audio) using the following pipeline
>> gst-launch filesrc location=file.mpg ! flupsdemux name=demux ! queue !
>> ffdec_h264 ! xvimagesink demux. ! queue ! mad ! alsasink
>>
>> The pipeline goes into the playing state, but nothing ever gets
>> rendered on the screen.
>> Hoever if i specify queue limits on the queue before the ffdec_h264
>> plugin, the pipeline works correctly.
>>
>> gst-launch filesrc location=file.mpg ! mpegpsdemux name=demux ! queue
>> max-size-buffers=0 max-size-time=0 max-size-bytes=5242800 ! ffdec_h264
>> ! xvimagesink demux. ! queue ! mad ! alsasink
>>
>>
> Have you tried mpegpsdemux instead? Do you see anything when setting
> sync=false on xvimagesink. If so the psdemuxer has a timestamp issue.
>
> Stefan
>
>> I don't know what the issue here is. I have never encountered this
>> behaviour with other pipelines, only with gst-fluendo-mpegdemux for
>> both program as well as transport streams.
>>
>> Please find my test stream here:
>> http://download.damagehead.com/samples/the.robbie.williams.show.dvd.extra_h264bp.mpg
>>
>> Regards
>> ~Sameer
>>
>> ------------------------------------------------------------------------------
>> Download Intel&#174; Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: issues with mpeg{ts,ps} demux

Arne Caspari-2
Hello,

I believe the issue comes up when there is an Audio/Video delay of more
than 1 second.

I had this issue also with some certain video streams. My explanation
was that the default queue size is 1 second and when there is a delay
between the audio and video data of more than one second, the video
queue overruns and blocks the demuxer.

/Arne

Am Samstag, den 13.03.2010, 11:57 +0530 schrieb Sameer Naik:

> Hi,
> Yes i have tested it with mpegpsdemux which is in
> gst-plugins-bad-0.10.18 as well as flupsdemux.
> Both yield the same behaviour.
> Regards
> ~Sameer
>
> On Sat, Mar 13, 2010 at 9:15 AM, Stefan Kost <[hidden email]> wrote:
> > Sameer Naik wrote:
> >> Hi,
> >>
> >> On my fedora 12 pc i have i have installed,
> >> gstreamer-0.10.27
> >> gst-plugins-base-0.10.27
> >> gst-fluendo-mpegdemux-0.10.23
> >> (and the other gstreamer packages)
> >>
> >> If i try to play an MPEG Program stream (H.264 BP Video and MPEG1
> >> Layer 2 Audio) using the following pipeline
> >> gst-launch filesrc location=file.mpg ! flupsdemux name=demux ! queue !
> >> ffdec_h264 ! xvimagesink demux. ! queue ! mad ! alsasink
> >>
> >> The pipeline goes into the playing state, but nothing ever gets
> >> rendered on the screen.
> >> Hoever if i specify queue limits on the queue before the ffdec_h264
> >> plugin, the pipeline works correctly.
> >>
> >> gst-launch filesrc location=file.mpg ! mpegpsdemux name=demux ! queue
> >> max-size-buffers=0 max-size-time=0 max-size-bytes=5242800 ! ffdec_h264
> >> ! xvimagesink demux. ! queue ! mad ! alsasink
> >>
> >>
> > Have you tried mpegpsdemux instead? Do you see anything when setting
> > sync=false on xvimagesink. If so the psdemuxer has a timestamp issue.
> >
> > Stefan
> >
> >> I don't know what the issue here is. I have never encountered this
> >> behaviour with other pipelines, only with gst-fluendo-mpegdemux for
> >> both program as well as transport streams.
> >>
> >> Please find my test stream here:
> >> http://download.damagehead.com/samples/the.robbie.williams.show.dvd.extra_h264bp.mpg
> >>
> >> Regards
> >> ~Sameer
> >>
> >> ------------------------------------------------------------------------------
> >> Download Intel&#174; Parallel Studio Eval
> >> Try the new software tools for yourself. Speed compiling, find bugs
> >> proactively, and fine-tune applications for parallel performance.
> >> See why Intel Parallel Studio got high marks during beta.
> >> http://p.sf.net/sfu/intel-sw-dev
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >>
> >
> >
> > ------------------------------------------------------------------------------
> > Download Intel&#174; Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel