hi,
I'm trying to add frame stepping support to my video player and I'm having some troubles on Windows using the directshowvideosink. On linux, even with the pipeline in paused state, when I seek to the next frame, this one is drawn without even calling the gst_x_overlay_expose() method. Instead on Windows I need to set the the pipeline into playing state before sending the seek event and then reset the pipeline to paused state to get the next frame displayed, which doesn't always work as some times the seek is done before returning to the paused state. Why, using the Direct Show video sink, the current frame isn't not drawn when the pipeline is in paused state? I would like to use the XOverlay "expose" function for this but it's not implemented on the Direct Show video sink. Regards, Andoni Morales ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Wed, Apr 22, 2009 at 3:38 AM, Andoni Morales <[hidden email]> wrote:
> hi, > > I'm trying to add frame stepping support to my video player and I'm > having some troubles on Windows using the directshowvideosink. > > On linux, even with the pipeline in paused state, when I seek to the > next frame, this one is drawn without even calling the > gst_x_overlay_expose() method. > > Instead on Windows I need to set the the pipeline into playing state > before sending the seek event and then reset the pipeline to paused > state to get the next frame displayed, which doesn't always work as > some times the seek is done before returning to the paused state. > > Why, using the Direct Show video sink, the current frame isn't not > drawn when the pipeline is in paused state? I guess it's a bug - please report it in bugzilla. Mike ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
2009/4/22 Michael Smith <[hidden email]>:
> On Wed, Apr 22, 2009 at 3:38 AM, Andoni Morales <[hidden email]> wrote: >> hi, >> >> I'm trying to add frame stepping support to my video player and I'm >> having some troubles on Windows using the directshowvideosink. >> >> On linux, even with the pipeline in paused state, when I seek to the >> next frame, this one is drawn without even calling the >> gst_x_overlay_expose() method. >> >> Instead on Windows I need to set the the pipeline into playing state >> before sending the seek event and then reset the pipeline to paused >> state to get the next frame displayed, which doesn't always work as >> some times the seek is done before returning to the paused state. >> >> Why, using the Direct Show video sink, the current frame isn't not >> drawn when the pipeline is in paused state? > > I guess it's a bug - please report it in bugzilla. I have switched to "glimagesink", and it solves the problem! It also reduces considerably the CPU usage,from 7% playing an mpeg2 encoded video, to almost 0%... Is it stable enough to use for production purpose? Andoni > > Mike > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |