loosing sync mpegtsdemux

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

loosing sync mpegtsdemux

Miquel Àngel Farré
Hi,

I am working on an application that starts with this pipeline:

filesrc location = filename ! mpegtsparse ! mpegtsdemux

when mpegtsdemux have a new pad, it calls the function on_new_pad:
 in case of video it completes the pipeline with:
   queue ! mpeg2dec ! videoscale ! capsfilter ! glupload ! fakesink (with sync=true)

 in case of dsmcc content:
   queue ! appsink

The problem is that the video part plays faster than the usual, nevertheless if I comment all the dsmcc part on "on_pad_added" function, video part plays correctly.

I can't found where is the problem, but I think it is related with the dsmcc part pipeline, here you can found the link to "on_pad_added" function:
http://pastebin.ca/1550152

Thanks,

Miquel

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: loosing sync mpegtsdemux

Miquel Àngel Farré
It seems solved just adding the property of async = true on all appsink elements of dsmcc part..

El 1 / setembre / 2009 12:55, Miquel Àngel Farré <[hidden email]> ha escrit:
Hi,

I am working on an application that starts with this pipeline:

filesrc location = filename ! mpegtsparse ! mpegtsdemux

when mpegtsdemux have a new pad, it calls the function on_new_pad:
 in case of video it completes the pipeline with:
   queue ! mpeg2dec ! videoscale ! capsfilter ! glupload ! fakesink (with sync=true)

 in case of dsmcc content:
   queue ! appsink

The problem is that the video part plays faster than the usual, nevertheless if I comment all the dsmcc part on "on_pad_added" function, video part plays correctly.

I can't found where is the problem, but I think it is related with the dsmcc part pipeline, here you can found the link to "on_pad_added" function:
http://pastebin.ca/1550152

Thanks,

Miquel


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel