avoiding showing the first frame of the video when in paused state

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

avoiding showing the first frame of the video when in paused state

Jyoti-2
Hi all,

During video playback of some files I see the first frame of the video
before actually setting the pipeline to playing. I would like to avoid this
behavior.

Is it possible to avoid this. If yes can someone on the list please suggest me any method to avoid the same?

Regards,
Jyoti


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [gst-devel] avoiding showing the first frame of the video when in paused state

Tim-Philipp Müller-2
On Wed, 2010-01-27 at 12:34 +0530, Jyoti wrote:

Hi,

> During video playback of some files I see the first frame of the video
> before actually setting the pipeline to playing. I would like to avoid
> this behavior.
>
> Is it possible to avoid this. If yes can someone on the list please
> suggest me any method to avoid the same?

The GstVideoSink baseclass recently (in -base 0.10.25) had a
"show-preroll-frame" property added to it, which will do what you want
if the videosink you're using has been updated to use the new show_frame
vfunc that was added along with it.

Cheers
 -Tim



------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [gst-devel] avoiding showing the first frame of the video when in paused state

Jyoti-2
Thanks for the reply Tim.
I will look for the same

On Wed, Jan 27, 2010 at 3:43 PM, Tim-Philipp Müller <[hidden email]> wrote:
On Wed, 2010-01-27 at 12:34 +0530, Jyoti wrote:

Hi,

> During video playback of some files I see the first frame of the video
> before actually setting the pipeline to playing. I would like to avoid
> this behavior.
>
> Is it possible to avoid this. If yes can someone on the list please
> suggest me any method to avoid the same?

The GstVideoSink baseclass recently (in -base 0.10.25) had a
"show-preroll-frame" property added to it, which will do what you want
if the videosink you're using has been updated to use the new show_frame
vfunc that was added along with it.

Cheers
 -Tim



------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel