A/V sync and stutter issue

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

A/V sync and stutter issue

jayasena s
Hi,
 I am having A/V Sync and stutter issues , when using totem player with gstreamer.
With gst-launch, audio and video are in sync and video is smooth ( no stutter issue).
 
Timestamps seem to be good, the stutter is more visible for the first 4 seconds of the playback.
 
Did anyone come across this issue, Could you suggest ways to debug these issues
 
Thanks,
Jai


------------------------------------------------------------------------------
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: A/V sync and stutter issue

jayasena s
 
Could someone help me in debugging and solving this issue.

Thanks,
Jai

--- On Wed, 9/9/09, jayasena s <[hidden email]> wrote:

From: jayasena s <[hidden email]>
Subject: [gst-devel] A/V sync and stutter issue
To: [hidden email]
Date: Wednesday, September 9, 2009, 5:43 AM

Hi,
 I am having A/V Sync and stutter issues , when using totem player with gstreamer.
With gst-launch, audio and video are in sync and video is smooth ( no stutter issue).
 
Timestamps seem to be good, the stutter is more visible for the first 4 seconds of the playback.
 
Did anyone come across this issue, Could you suggest ways to debug these issues
 
Thanks,
Jai


-----Inline Attachment Follows-----

------------------------------------------------------------------------------
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

-----Inline Attachment Follows-----

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@...
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
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: A/V sync and stutter issue

Jan Schmidt-6
On Thu, 2009-09-10 at 11:43 -0700, jayasena s wrote:

>  
> Could someone help me in debugging and solving this issue.
>
> Thanks,
> Jai
>
> --- On Wed, 9/9/09, jayasena s <[hidden email]> wrote:
>
>        
>         From: jayasena s <[hidden email]>
>         Subject: [gst-devel] A/V sync and stutter issue
>         To: [hidden email]
>         Date: Wednesday, September 9, 2009, 5:43 AM
>        
>         Hi,
>          I am having A/V Sync and stutter issues , when using totem
>         player with gstreamer.
>         With gst-launch, audio and video are in sync and video is
>         smooth ( no stutter issue).
>          
>         Timestamps seem to be good, the stutter is more visible for
>         the first 4 seconds of the playback.
>          
>         Did anyone come across this issue, Could you suggest ways to
>         debug these issues
>          
>         Thanks,
>         Jai
>        
>        
>        
>         -----Inline Attachment Follows-----
>        
>         ------------------------------------------------------------------------------
>         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
>        
>         -----Inline Attachment Follows-----
>        
>         _______________________________________________
>         gstreamer-devel mailing list
>         [hidden email]
>         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>        
>
> ------------------------------------------------------------------------------
> 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
--
Jan Schmidt <[hidden email]>


------------------------------------------------------------------------------
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: A/V sync and stutter issue

Jan Schmidt-6
Hi,

On Fri, 2009-09-11 at 11:22 +0100, Jan Schmidt wrote:

Hrmn, my initial reply was lacking somewhat in detail ;)

> On Thu, 2009-09-10 at 11:43 -0700, jayasena s wrote:
> >  
*snip*

> >         Hi,
> >          I am having A/V Sync and stutter issues , when using totem
> >         player with gstreamer.
> >         With gst-launch, audio and video are in sync and video is
> >         smooth ( no stutter issue).
> >          
> >         Timestamps seem to be good, the stutter is more visible for
> >         the first 4 seconds of the playback.
> >          
> >         Did anyone come across this issue, Could you suggest ways to
> >         debug these issues

I'd start by identifying the difference between the pipeline you're
giving gst-launch and what totem is using. Totem (depending on the
version) is using either playbin or playbin2, with the gconf audio and
video sinks.

Cheers,
Jan.

> >          
> >         Thanks,
> >         Jai
> >        
> >        
> >        
> >         -----Inline Attachment Follows-----
> >        
> >         ------------------------------------------------------------------------------
> >         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
> >        
> >         -----Inline Attachment Follows-----
> >        
> >         _______________________________________________
> >         gstreamer-devel mailing list
> >         [hidden email]
> >         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >        
> >
> > ------------------------------------------------------------------------------
> > 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
--
Jan Schmidt <[hidden email]>


------------------------------------------------------------------------------
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: A/V sync and stutter issue

jayasena s
Hi Jan,
Thanks for the suggestions.
 
I would start debugging the pipeline with gst-launch and totem.
 
Also, Would like to know,   When a buffer with decoded frame is sent using gst_pad_push() to downstream to the xvimagesink , is there any event notification sent back with gst_pad_push()  to the upstream elements, when the frame gets rendered at xvimagesink. If not with gst_pad_push(), is there any other API which can be used to send notification to the upstream element, after frame is rendered to the display from the xvimagesink.
 
Thanks,
Jayasena
 


--- On Fri, 9/11/09, Jan Schmidt <[hidden email]> wrote:

From: Jan Schmidt <[hidden email]>
Subject: Re: [gst-devel] A/V sync and stutter issue
To: "Discussion of the development of GStreamer" <[hidden email]>
Date: Friday, September 11, 2009, 11:02 PM

Hi,

On Fri, 2009-09-11 at 11:22 +0100, Jan Schmidt wrote:

Hrmn, my initial reply was lacking somewhat in detail ;)

> On Thu, 2009-09-10 at 11:43 -0700, jayasena s wrote:
> > 
*snip*

> >         Hi,
> >          I am having A/V Sync and stutter issues , when using totem
> >         player with gstreamer.
> >         With gst-launch, audio and video are in sync and video is
> >         smooth ( no stutter issue).
> >         
> >         Timestamps seem to be good, the stutter is more visible for
> >         the first 4 seconds of the playback.
> >         
> >         Did anyone come across this issue, Could you suggest ways to
> >         debug these issues

I'd start by identifying the difference between the pipeline you're
giving gst-launch and what totem is using. Totem (depending on the
version) is using either playbin or playbin2, with the gconf audio and
video sinks.

Cheers,
Jan.

> >         
> >         Thanks,
> >         Jai
> >         
> >         
> >         
> >         -----Inline Attachment Follows-----
> >         
> >         ------------------------------------------------------------------------------
> >         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
> >         
> >         -----Inline Attachment Follows-----
> >         
> >         _______________________________________________
> >         gstreamer-devel mailing list
> >         gstreamer-devel@...
> >         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >         
> >
> > ------------------------------------------------------------------------------
> > 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 gstreamer-devel@... https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
--
Jan Schmidt <thaytan@...>


------------------------------------------------------------------------------
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
gstreamer-devel@...
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
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
|

how to generate a custom event

jayasena s
Hi Jan,
 How I can send a custom event at xvimagesink and send it an element in the pipeline.
Thanks,
Jayasena

--- On Sat, 9/12/09, jayasena s <[hidden email]> wrote:

From: jayasena s <[hidden email]>
Subject: Re: [gst-devel] A/V sync and stutter issue
To: "Discussion of the development of GStreamer" <[hidden email]>
Date: Saturday, September 12, 2009, 8:05 PM

Hi Jan,
Thanks for the suggestions.
 
I would start debugging the pipeline with gst-launch and totem.
 
Also, Would like to know,   When a buffer with decoded frame is sent using gst_pad_push() to downstream to the xvimagesink , is there any event notification sent back with gst_pad_push()  to the upstream elements, when the frame gets rendered at xvimagesink. If not with gst_pad_push(), is there any other API which can be used to send notification to the upstream element, after frame is rendered to the display from the xvimagesink.
 
Thanks,
Jayasena
 


--- On Fri, 9/11/09, Jan Schmidt <[hidden email]> wrote:

From: Jan Schmidt <[hidden email]>
Subject: Re: [gst-devel] A/V sync and stutter issue
To: "Discussion of the development of GStreamer" <[hidden email]>
Date: Friday, September 11, 2009, 11:02 PM

Hi,

On Fri, 2009-09-11 at 11:22 +0100, Jan Schmidt wrote:

Hrmn, my initial reply was lacking somewhat in detail ;)

> On Thu, 2009-09-10 at 11:43 -0700, jayasena s wrote:
> > 
*snip*

> >         Hi,
> >          I am having A/V Sync and stutter issues , when using totem
> >         player with gstreamer.
> >         With gst-launch, audio and video are in sync and video is
> >         smooth ( no stutter issue).
> >         
> >         Timestamps seem to be good, the stutter is more visible for
> >         the first 4 seconds of the playback.
> >         
> >         Did anyone come across this issue, Could you suggest ways to
> >         debug these issues

I'd start by identifying the difference between the pipeline you're
giving gst-launch and what totem is using. Totem (depending on the
version) is using either playbin or playbin2, with the gconf audio and
video sinks.

Cheers,
Jan.

> >         
> >         Thanks,
> >         Jai
> >         
> >         
> >         
> >         -----Inline Attachment Follows-----
> >         
> >         ------------------------------------------------------------------------------
> >         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
> >         
> >         -----Inline Attachment Follows-----
> >         
> >         _______________________________________________
> >         gstreamer-devel mailing list
> >         gstreamer-devel@...
> >         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >         
> >
> > ------------------------------------------------------------------------------
> > 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 gstreamer-devel@... https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
--
Jan Schmidt <thaytan@...>


------------------------------------------------------------------------------
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
gstreamer-devel@...
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-----Inline Attachment Follows-----

------------------------------------------------------------------------------
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

-----Inline Attachment Follows-----

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@...
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: A/V sync and stutter issue

Tim-Philipp Müller-2
In reply to this post by jayasena s
On Sat, 2009-09-12 at 12:05 -0700, jayasena s wrote:

> Also, Would like to know,   When a buffer with decoded frame is sent
> using gst_pad_push() to downstream to the xvimagesink , is there any
> event notification sent back with gst_pad_push()  to the upstream
> elements, when the frame gets rendered at xvimagesink. If not with
> gst_pad_push(), is there any other API which can be used to send
> notification to the upstream element, after frame is rendered to the
> display from the xvimagesink.

A QoS event is usually sent upstream whenever a frame is rendered. Not
sure how that helps you here though.

Cheers
 -Tim


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: A/V sync and stutter issue

jayasena s
Hi Tim,
 Thanks for the suggestion. I looked into the QOS events and  also found a way to send the event upstream using GST_EVENT_CUSTOM_UPSTREAM.
THanks,
Jayasena

--- On Thu, 9/17/09, Tim-Philipp Müller <[hidden email]> wrote:

From: Tim-Philipp Müller <[hidden email]>
Subject: Re: [gst-devel] A/V sync and stutter issue
To: [hidden email]
Date: Thursday, September 17, 2009, 10:41 AM

On Sat, 2009-09-12 at 12:05 -0700, jayasena s wrote:

> Also, Would like to know,   When a buffer with decoded frame is sent
> using gst_pad_push() to downstream to the xvimagesink , is there any
> event notification sent back with gst_pad_push()  to the upstream
> elements, when the frame gets rendered at xvimagesink. If not with
> gst_pad_push(), is there any other API which can be used to send
> notification to the upstream element, after frame is rendered to the
> display from the xvimagesink.

A QoS event is usually sent upstream whenever a frame is rendered. Not
sure how that helps you here though.

Cheers
-Tim


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@...
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel