Problem in -ve play back

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

Problem in -ve play back

Sumanth V
Hi All,

     I am written an application for performing both FORWARD n REVERSE operation on a TS file. I am able to perform a FORWARD operation. But when i try to perform the -ve play back i.e REWIND operation, The frame is getting Freezed.  The seek event i am pasing to the pipeline is

gst_element_seek(pipeline,-2.0,GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH , GST_SEEK_TYPE_NONE,0,GST_SEEK_TYPE_END,-1);

Where am i going wrong in performing the -ve playback?? Are all the parameter passed to the pipeline for performing -ve playback is correct?
I am passing the same seek event for performing the FORWARD operation with the playback rate set to positive, and its working fine.

Thanks all,
Sumanth



------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem in -ve play back

Wim Taymans
On Mon, 2009-06-01 at 15:09 +0530, Sumanth V wrote:

> Hi All,
>
>      I am written an application for performing both FORWARD n REVERSE
> operation on a TS file. I am able to perform a FORWARD operation. But
> when i try to perform the -ve play back i.e REWIND operation, The
> frame is getting Freezed.  The seek event i am pasing to the pipeline
> is
>
> gst_element_seek(pipeline,-2.0,GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH ,
> GST_SEEK_TYPE_NONE,0,GST_SEEK_TYPE_END,-1);
>
> Where am i going wrong in performing the -ve playback?? Are all the
> parameter passed to the pipeline for performing -ve playback is
> correct?

Reverse playback in mpeg TS streams is not yet implemented. Not very
trivial but patches are welcome.

Wim

> I am passing the same seek event for performing the FORWARD operation
> with the playback rate set to positive, and its working fine.
>
> Thanks all,
> Sumanth
>
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem in -ve play back

Sumanth V
hi,
         Even with the latest release of gst-plugins-bad?

Thanks
Sumanth

On Mon, Jun 1, 2009 at 3:23 PM, Wim Taymans <[hidden email]> wrote:
On Mon, 2009-06-01 at 15:09 +0530, Sumanth V wrote:
> Hi All,
>
>      I am written an application for performing both FORWARD n REVERSE
> operation on a TS file. I am able to perform a FORWARD operation. But
> when i try to perform the -ve play back i.e REWIND operation, The
> frame is getting Freezed.  The seek event i am pasing to the pipeline
> is
>
> gst_element_seek(pipeline,-2.0,GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH ,
> GST_SEEK_TYPE_NONE,0,GST_SEEK_TYPE_END,-1);
>
> Where am i going wrong in performing the -ve playback?? Are all the
> parameter passed to the pipeline for performing -ve playback is
> correct?

Reverse playback in mpeg TS streams is not yet implemented. Not very
trivial but patches are welcome.

Wim

> I am passing the same seek event for performing the FORWARD operation
> with the playback rate set to positive, and its working fine.
>
> Thanks all,
> Sumanth
>
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem in -ve play back

Wim Taymans
On Mon, 2009-06-01 at 15:46 +0530, Sumanth V wrote:
> hi,
>          Even with the latest release of gst-plugins-bad?

Yes and even with latest git

Wim

>
> Thanks
> Sumanth
>
> On Mon, Jun 1, 2009 at 3:23 PM, Wim Taymans <[hidden email]>
> wrote:
>         On Mon, 2009-06-01 at 15:09 +0530, Sumanth V wrote:
>         > Hi All,
>         >
>         >      I am written an application for performing both FORWARD
>         n REVERSE
>         > operation on a TS file. I am able to perform a FORWARD
>         operation. But
>         > when i try to perform the -ve play back i.e REWIND
>         operation, The
>         > frame is getting Freezed.  The seek event i am pasing to the
>         pipeline
>         > is
>         >
>         > gst_element_seek(pipeline,-2.0,GST_FORMAT_TIME,
>         GST_SEEK_FLAG_FLUSH ,
>         > GST_SEEK_TYPE_NONE,0,GST_SEEK_TYPE_END,-1);
>         >
>         > Where am i going wrong in performing the -ve playback?? Are
>         all the
>         > parameter passed to the pipeline for performing -ve playback
>         is
>         > correct?
>        
>        
>         Reverse playback in mpeg TS streams is not yet implemented.
>         Not very
>         trivial but patches are welcome.
>        
>         Wim
>        
>         > I am passing the same seek event for performing the FORWARD
>         operation
>         > with the playback rate set to positive, and its working
>         fine.
>         >
>         > Thanks all,
>         > Sumanth
>         >
>         >
>        
>         >
>         ------------------------------------------------------------------------------
>         > Register Now for Creativity and Technology (CaT), June 3rd,
>         NYC. CaT
>         > is a gathering of tech-side developers & brand creativity
>         professionals. Meet
>         > the minds behind Google Creative Lab, Visual Complexity,
>         Processing, &
>         > iPhoneDevCamp as they present alongside digital heavyweights
>         like Barbarian
>         > Group, R/GA, & Big Spaceship.
>         http://p.sf.net/sfu/creativitycat-com
>         > _______________________________________________
>         gstreamer-devel mailing list
>         [hidden email]
>         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>        
>        
>         ------------------------------------------------------------------------------
>         Register Now for Creativity and Technology (CaT), June 3rd,
>         NYC. CaT
>         is a gathering of tech-side developers & brand creativity
>         professionals. Meet
>         the minds behind Google Creative Lab, Visual Complexity,
>         Processing, &
>         iPhoneDevCamp as they present alongside digital heavyweights
>         like Barbarian
>         Group, R/GA, & Big Spaceship.
>         http://p.sf.net/sfu/creativitycat-com
>         _______________________________________________
>         gstreamer-devel mailing list
>         [hidden email]
>         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem in -ve play back

Stefan Sauer
In reply to this post by Sumanth V
Sumanth V schrieb:
> hi,
>          Even with the latest release of gst-plugins-bad?

Please note, that you can seek forward and backwards. What you are doing
is playing in reverse and that is not implemented for mpeg-ts. For you
just want to see to a previous position:
gst_element_seek(pipeline,1.0,GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH ,
   GST_SEEK_TYPE_SET,new_pos,GST_SEEK_TYPE_NONE,GST_CLOCK_TIME_NONE);

Stefan

>
> Thanks
> Sumanth
>
> On Mon, Jun 1, 2009 at 3:23 PM, Wim Taymans <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     On Mon, 2009-06-01 at 15:09 +0530, Sumanth V wrote:
>     > Hi All,
>     >
>     >      I am written an application for performing both FORWARD n
>     REVERSE
>     > operation on a TS file. I am able to perform a FORWARD
>     operation. But
>     > when i try to perform the -ve play back i.e REWIND operation, The
>     > frame is getting Freezed.  The seek event i am pasing to the
>     pipeline
>     > is
>     >
>     > gst_element_seek(pipeline,-2.0,GST_FORMAT_TIME,
>     GST_SEEK_FLAG_FLUSH ,
>     > GST_SEEK_TYPE_NONE,0,GST_SEEK_TYPE_END,-1);
>     >
>     > Where am i going wrong in performing the -ve playback?? Are all the
>     > parameter passed to the pipeline for performing -ve playback is
>     > correct?
>
>     Reverse playback in mpeg TS streams is not yet implemented. Not very
>     trivial but patches are welcome.
>
>     Wim
>
>     > I am passing the same seek event for performing the FORWARD
>     operation
>     > with the playback rate set to positive, and its working fine.
>     >
>     > Thanks all,
>     > Sumanth
>     >
>     >
>     >
>     ------------------------------------------------------------------------------
>     > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
>     > is a gathering of tech-side developers & brand creativity
>     professionals. Meet
>     > the minds behind Google Creative Lab, Visual Complexity,
>     Processing, &
>     > iPhoneDevCamp as they present alongside digital heavyweights
>     like Barbarian
>     > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
>     > _______________________________________________ gstreamer-devel
>     mailing list [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>     ------------------------------------------------------------------------------
>     Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
>     is a gathering of tech-side developers & brand creativity
>     professionals. Meet
>     the minds behind Google Creative Lab, Visual Complexity, Processing, &
>     iPhoneDevCamp as they present alongside digital heavyweights like
>     Barbarian
>     Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
>     _______________________________________________
>     gstreamer-devel mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem in -ve play back

Sumanth V
Hi,

     Thanks Stefan. I was able to implement the reverse operation by seeking backwards...:-)

regards,
Sumanth



On Mon, Jun 1, 2009 at 4:38 PM, Stefan Kost <[hidden email]> wrote:
Sumanth V schrieb:
> hi,
>          Even with the latest release of gst-plugins-bad?

Please note, that you can seek forward and backwards. What you are doing
is playing in reverse and that is not implemented for mpeg-ts. For you
just want to see to a previous position:
gst_element_seek(pipeline,1.0,GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH ,
  GST_SEEK_TYPE_SET,new_pos,GST_SEEK_TYPE_NONE,GST_CLOCK_TIME_NONE);

Stefan
>
> Thanks
> Sumanth
>
> On Mon, Jun 1, 2009 at 3:23 PM, Wim Taymans <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     On Mon, 2009-06-01 at 15:09 +0530, Sumanth V wrote:
>     > Hi All,
>     >
>     >      I am written an application for performing both FORWARD n
>     REVERSE
>     > operation on a TS file. I am able to perform a FORWARD
>     operation. But
>     > when i try to perform the -ve play back i.e REWIND operation, The
>     > frame is getting Freezed.  The seek event i am pasing to the
>     pipeline
>     > is
>     >
>     > gst_element_seek(pipeline,-2.0,GST_FORMAT_TIME,
>     GST_SEEK_FLAG_FLUSH ,
>     > GST_SEEK_TYPE_NONE,0,GST_SEEK_TYPE_END,-1);
>     >
>     > Where am i going wrong in performing the -ve playback?? Are all the
>     > parameter passed to the pipeline for performing -ve playback is
>     > correct?
>
>     Reverse playback in mpeg TS streams is not yet implemented. Not very
>     trivial but patches are welcome.
>
>     Wim
>
>     > I am passing the same seek event for performing the FORWARD
>     operation
>     > with the playback rate set to positive, and its working fine.
>     >
>     > Thanks all,
>     > Sumanth
>     >
>     >
>     >
>     ------------------------------------------------------------------------------
>     > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
>     > is a gathering of tech-side developers & brand creativity
>     professionals. Meet
>     > the minds behind Google Creative Lab, Visual Complexity,
>     Processing, &
>     > iPhoneDevCamp as they present alongside digital heavyweights
>     like Barbarian
>     > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
>     > _______________________________________________ gstreamer-devel
>     mailing list [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>     ------------------------------------------------------------------------------
>     Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
>     is a gathering of tech-side developers & brand creativity
>     professionals. Meet
>     the minds behind Google Creative Lab, Visual Complexity, Processing, &
>     iPhoneDevCamp as they present alongside digital heavyweights like
>     Barbarian
>     Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
>     _______________________________________________
>     gstreamer-devel mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel