Problem in Seeking

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

Problem in Seeking

Sumanth V
Hi All,

      I  am trying to perform a seeking operation on a TS file,  but it just shows only one frame and its freezing. I am trying to perform a  random seek operation, i.e I want to play from a different offset positon. After a PAUSE operation. The Pipeline i am using is

filesrc location=file.ts ! decodebin ! ffmpegcolorspace ! ximagesink.

The following seek event i am sending to the pipeline to perform the seek operation.

gst_element_seek( pipeline,1.0,GST_FORMAT_BYTES, GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT ,GST_SEEK_TYPE_SET, 6560312,GST_SEEK_TYPE_END,-1);

It just shows the only one frame and freezs. Where am i going wrong in seeking? What is the correct method of seeking?


Thanks All,


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

Andoni Morales
2009/5/27 Sumanth V <[hidden email]>:

> Hi All,
>
>       I  am trying to perform a seeking operation on a TS file,  but it just
> shows only one frame and its freezing. I am trying to perform a  random seek
> operation, i.e I want to play from a different offset positon. After a PAUSE
> operation. The Pipeline i am using is
>
> filesrc location=file.ts ! decodebin ! ffmpegcolorspace ! ximagesink.
>
> The following seek event i am sending to the pipeline to perform the seek
> operation.
>
> gst_element_seek( pipeline,1.0,GST_FORMAT_BYTES, GST_SEEK_FLAG_FLUSH
> | GST_SEEK_FLAG_KEY_UNIT ,GST_SEEK_TYPE_SET, 6560312,GST_SEEK_TYPE_END,-1);
>
> It just shows the only one frame and freezs. Where am i going wrong in
> seeking? What is the correct method of seeking?

Do you send the seek event after pausing the pipeline?
If so, you will have to set the pipeline to PLAYING state after the
seek. You can also perform a seek with the pipeline in PLAYING state,
and after the seek the pipeline will be setted to PLAYING state again.

Andoni

>
>
> Thanks All,
>
>
> ------------------------------------------------------------------------------
> 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 Seeking

Sumanth V
Hi,

         Yes I send the seek event after the pipeline is PAUSED and then i set the pipeline to PLAYING. I tried sending the seek event while the pipeline is PLAYNIG, in both case it shows only a single frame and then the screen is freezed. Seek is happening correctly , but its not playing. Is the seek event what i am sending is correct?

Thanks,

On Wed, May 27, 2009 at 6:58 PM, Andoni Morales <[hidden email]> wrote:
2009/5/27 Sumanth V <[hidden email]>:
> Hi All,
>
>       I  am trying to perform a seeking operation on a TS file,  but it just
> shows only one frame and its freezing. I am trying to perform a  random seek
> operation, i.e I want to play from a different offset positon. After a PAUSE
> operation. The Pipeline i am using is
>
> filesrc location=file.ts ! decodebin ! ffmpegcolorspace ! ximagesink.
>
> The following seek event i am sending to the pipeline to perform the seek
> operation.
>
> gst_element_seek( pipeline,1.0,GST_FORMAT_BYTES, GST_SEEK_FLAG_FLUSH
> | GST_SEEK_FLAG_KEY_UNIT ,GST_SEEK_TYPE_SET, 6560312,GST_SEEK_TYPE_END,-1);
>
> It just shows the only one frame and freezs. Where am i going wrong in
> seeking? What is the correct method of seeking?

Do you send the seek event after pausing the pipeline?
If so, you will have to set the pipeline to PLAYING state after the
seek. You can also perform a seek with the pipeline in PLAYING state,
and after the seek the pipeline will be setted to PLAYING state again.

Andoni

>
>
> Thanks All,
>
>
> ------------------------------------------------------------------------------
> 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 Seeking

Albert Costa
In reply to this post by Sumanth V
Hi, I have encountered the same problem, and unfortunately it is an issue with the mpegts demuxer, as described by the following bug:


De : Sumanth V <[hidden email]>
À : Discussion of the development of GStreamer <[hidden email]>
Envoyé le : Mercredi, 27 Mai 2009, 11h57mn 50s
Objet : [gst-devel] Problem in Seeking

Hi All,

      I  am trying to perform a seeking operation on a TS file,  but it just shows only one frame and its freezing. I am trying to perform a  random seek operation, i.e I want to play from a different offset positon. After a PAUSE operation. The Pipeline i am using is

filesrc location=file.ts ! decodebin ! ffmpegcolorspace ! ximagesink.

The following seek event i am sending to the pipeline to perform the seek operation.

gst_element_seek( pipeline,1.0,GST_FORMAT_BYTES, GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT ,GST_SEEK_TYPE_SET, 6560312,GST_SEEK_TYPE_END,-1);

It just shows the only one frame and freezs. Where am i going wrong in seeking? What is the correct method of seeking?


Thanks All,



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

Albert Costa
In reply to this post by Sumanth V

Hi, I have encountered the same problem, and unfortunately it is an issue with the mpegts demuxer, as described by the following bug:

Bug 550634 – [mpeg ts demuxer] Doesn't support seeking and duration reporting

(sorry for the double mail sending, I hit the 'send' key by mistake)


Regards,
Al.

De : Sumanth V <[hidden email]>
À : Discussion of the development of GStreamer <[hidden email]>
Envoyé le : Mercredi, 27 Mai 2009, 11h57mn 50s
Objet : [gst-devel] Problem in Seeking

Hi All,

      I  am trying to perform a seeking operation on a TS file,  but it just shows only one frame and its freezing. I am trying to perform a  random seek operation, i.e I want to play from a different offset positon. After a PAUSE operation. The Pipeline i am using is

filesrc location=file.ts ! decodebin ! ffmpegcolorspace ! ximagesink.

The following seek event i am sending to the pipeline to perform the seek operation.

gst_element_seek( pipeline,1.0,GST_FORMAT_BYTES, GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT ,GST_SEEK_TYPE_SET, 6560312,GST_SEEK_TYPE_END,-1);

It just shows the only one frame and freezs. Where am i going wrong in seeking? What is the correct method of seeking?


Thanks All,



------------------------------------------------------------------------------
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: Re : Problem in Seeking

Sumanth V
Hi,

     Thanks Albert, Is there any other Plugin or method of performing seek on TS file???




On Wed, May 27, 2009 at 7:35 PM, Albert Costa <[hidden email]> wrote:

Hi, I have encountered the same problem, and unfortunately it is an issue with the mpegts demuxer, as described by the following bug:

Bug 550634 – [mpeg ts demuxer] Doesn't support seeking and duration reporting

(sorry for the double mail sending, I hit the 'send' key by mistake)


Regards,
Al.

De : Sumanth V <[hidden email]>
À : Discussion of the development of GStreamer <[hidden email]>
Envoyé le : Mercredi, 27 Mai 2009, 11h57mn 50s
Objet : [gst-devel] Problem in Seeking

Hi All,

      I  am trying to perform a seeking operation on a TS file,  but it just shows only one frame and its freezing. I am trying to perform a  random seek operation, i.e I want to play from a different offset positon. After a PAUSE operation. The Pipeline i am using is

filesrc location=file.ts ! decodebin ! ffmpegcolorspace ! ximagesink.

The following seek event i am sending to the pipeline to perform the seek operation.

gst_element_seek( pipeline,1.0,GST_FORMAT_BYTES, GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT ,GST_SEEK_TYPE_SET, 6560312,GST_SEEK_TYPE_END,-1);

It just shows the only one frame and freezs. Where am i going wrong in seeking? What is the correct method of seeking?


Thanks All,



------------------------------------------------------------------------------
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 : Re : Problem in Seeking

Albert Costa
Hi,
unfortunately, I haven't found any. I've tried with ffdemux_mpegts & flutsdemux, with no chance. 
I would also be interested if anyone has found a solution to this problem, or is working on it...
Regards,
Al


De : Sumanth V <[hidden email]>
À : Discussion of the development of GStreamer <[hidden email]>
Envoyé le : Mercredi, 27 Mai 2009, 16h34mn 26s
Objet : Re: [gst-devel] Re : Problem in Seeking

Hi,

     Thanks Albert, Is there any other Plugin or method of performing seek on TS file???




On Wed, May 27, 2009 at 7:35 PM, Albert Costa <[hidden email]> wrote:

Hi, I have encountered the same problem, and unfortunately it is an issue with the mpegts demuxer, as described by the following bug:

Bug 550634 – [mpeg ts demuxer] Doesn't support seeking and duration reporting

(sorry for the double mail sending, I hit the 'send' key by mistake)


Regards,
Al.

De : Sumanth V <[hidden email]>
À : Discussion of the development of GStreamer <[hidden email]>
Envoyé le : Mercredi, 27 Mai 2009, 11h57mn 50s
Objet : [gst-devel] Problem in Seeking

Hi All,

      I  am trying to perform a seeking operation on a TS file,  but it just shows only one frame and its freezing. I am trying to perform a  random seek operation, i.e I want to play from a different offset positon. After a PAUSE operation. The Pipeline i am using is

filesrc location=file.ts ! decodebin ! ffmpegcolorspace ! ximagesink.

The following seek event i am sending to the pipeline to perform the seek operation.

gst_element_seek( pipeline,1.0,GST_FORMAT_BYTES, GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT ,GST_SEEK_TYPE_SET, 6560312,GST_SEEK_TYPE_END,-1);

It just shows the only one frame and freezs. Where am i going wrong in seeking? What is the correct method of seeking?


Thanks All,



------------------------------------------------------------------------------
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: Re : Problem in Seeking

Stefan Sauer
In reply to this post by Sumanth V
Sumanth V schrieb:
> Hi,
>
>      Thanks Albert, Is there any other Plugin or method of performing
> seek on TS file???
>
this is the wrong course of action. You use the right plugin, its open source
and you can send a patch that implements the missing parts.

Stefan

>
>
>
> On Wed, May 27, 2009 at 7:35 PM, Albert Costa <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>
>       Hi, I have encountered the same problem, and unfortunately it is
>       an issue with the mpegts demuxer, as described by the following bug:
>
>
>       Bug 550634 – [mpeg ts demuxer] Doesn't support seeking and
>       duration reporting
>
>
>       (sorry for the double mail sending, I hit the 'send' key by mistake)
>
>
>     Regards,
>     Al.
>     ------------------------------------------------------------------------
>     *De :* Sumanth V <[hidden email]
>     <mailto:[hidden email]>>
>     *À :* Discussion of the development of GStreamer
>     <[hidden email]
>     <mailto:[hidden email]>>
>     *Envoyé le :* Mercredi, 27 Mai 2009, 11h57mn 50s
>     *Objet :* [gst-devel] Problem in Seeking
>
>     Hi All,
>
>           I  am trying to perform a seeking operation on a TS file,  but
>     it just shows only one frame and its freezing. I am trying to
>     perform a  random seek operation, i.e I want to play from a
>     different offset positon. After a PAUSE operation. The Pipeline i am
>     using is
>
>     filesrc location=file.ts ! decodebin ! ffmpegcolorspace ! ximagesink.
>
>     The following seek event i am sending to the pipeline to perform the
>     seek operation.
>
>     gst_element_seek( pipeline,1.0,GST_FORMAT_BYTES, GST_SEEK_FLAG_FLUSH
>     || |GST_SEEK_FLAG_KEY_UNIT ,GST_SEEK_TYPE_SET,
>     6560312,GST_SEEK_TYPE_END,-1);
>
>     ||It just shows the only one frame and freezs. Where am i going
>     wrong in seeking? What is the correct method of seeking?
>
>
>     Thanks All,
>
>
>
>     ------------------------------------------------------------------------------
>     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: Re : Problem in Seeking

Zaheer Merali-2
On Fri, May 29, 2009 at 9:56 PM, Stefan Kost <[hidden email]> wrote:

> Sumanth V schrieb:
>> Hi,
>>
>>      Thanks Albert, Is there any other Plugin or method of performing
>> seek on TS file???
>>
> this is the wrong course of action. You use the right plugin, its open source
> and you can send a patch that implements the missing parts.
>
> Stefan

Last git version (and release also) of gst-plugins-bad has naive
duration and seek support. Please try it.

Zaheer

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

Problem with audio communication over a network

zelalem
Hi all, I was trying to send and receive audio using alsasrc and alsasink together with updsrc and udpsink as follows:
for sending:
gst-launch-0.10 -v alsasrc ! queue ! audio/x-raw-int,rate=8000,channels=1,depth=8 ! audioconvert ! speexenc ! queue ! udpsink port=5002

for receiving:
gst-launch-0.10 -v udpsrc port=5002 ! queue ! speexdec ! audioconvert ! queue !  alsasink sync=false

The problem is that I have to start the receiving thread first in order to get the audio streaming through the network to work. Otherwise, I would get the following error:
ERROR: from element /GstPipeline:pipeline0/GstSpeexDec:speexdec0: Could not decode stream.

In other word, if I start teh reciving thread first and then start the sending thread it will work. I also tried vorbis encoder/decoder and the result is the same. BTW, I tried the same thing for video, and it works even if i start the source thread first. I mean in the case of video, the order doesn't matter, but for audio it gives me a problem. However, I think for audio also the order shouldn't matter. Does anyone know the reason? And if i have to correct what should I do? Please help me.

Thank you,

- Zelalem S.



check out the rest of the Windows Live™. More than mail–Windows Live™ goes way beyond your inbox. More than messages
------------------------------------------------------------------------------
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: Re : Problem in Seeking

Sumanth V
In reply to this post by Zaheer Merali-2
Hi,

             Thanks a lot Zaheer, it worked. Now i am able to perform the FORWARD operation correctly. But when i try to do REWIND operation the the video is getting freezed. The seek event wat i am sending is

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

Is this the correct seek event?


regards,
Sumanth





On Sat, May 30, 2009 at 1:12 AM, Zaheer Merali <[hidden email]> wrote:
On Fri, May 29, 2009 at 9:56 PM, Stefan Kost <[hidden email]> wrote:
> Sumanth V schrieb:
>> Hi,
>>
>>      Thanks Albert, Is there any other Plugin or method of performing
>> seek on TS file???
>>
> this is the wrong course of action. You use the right plugin, its open source
> and you can send a patch that implements the missing parts.
>
> Stefan

Last git version (and release also) of gst-plugins-bad has naive
duration and seek support. Please try it.

Zaheer

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

Martin.cheng
In reply to this post by Andoni Morales
Andoni Morales wrote
>
> gst_element_seek( pipeline,1.0,GST_FORMAT_BYTES, GST_SEEK_FLAG_FLUSH
> | GST_SEEK_FLAG_KEY_UNIT ,GST_SEEK_TYPE_SET, 6560312,GST_SEEK_TYPE_END,-1);
>
> It just shows the only one frame and freezs. Where am i going wrong in
> seeking? What is the correct method of seeking?
When I suppose to use GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT, There is some wrong about it
It can not convert from int to GstSeekFlags, Even I am not sure what 's your problem is. I hope it is helpful