<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Thank you Rov. I have similar results in that ogg files work with backward seek, but no luck with mpeg1/mpeg2/wmv/mp3. Any idea what the problem is? Is it just not developed yet?<BR><BR>> From: rovjuvano@users.sourceforge.net<BR>> To: gstreamer-devel@lists.sourceforge.net<BR>> Date: Sat, 26 Jul 2008 10:55:24 -0400<BR>> Subject: Re: [gst-devel] backward seeking<BR>> <BR>> On Fri, Jul 25, 2008 at 08:08:49PM +0000, Ash wrote:<BR>> > Has any developer out there gotten backward seek (negative rate) to work with GST_FORMAT_TIME?<BR>> <BR>> Yep.<BR>> <BR>> gint64 start_pos, stop_pos;<BR>> if (rate > 0) {<BR>> start_pos = new_pos;<BR>> stop_pos = -1; // or whatever > new_pos<BR>> } else {<BR>> start_pos = 0; // or whatever < new_pos<BR>> stop_pos = new_pos;<BR>> }<BR>> if (!gst_element_seek (pipeline, rate,<BR>> GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH,<BR>> GST_SEEK_TYPE_SET, start_pos,<BR>> GST_SEEK_TYPE_SET, stop_pos)) {<BR>> g_message ("Seek failed");<BR>> }<BR>> <BR>> I've only had luck with ogg-vorbis and ogg-theora.<BR>> <BR>> <BR>> -------------------------------------------------------------------------<BR>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR>> Build the coolest Linux based applications with Moblin SDK & win great prizes<BR>> Grand prize is a trip for two to an Open Source event anywhere in the world<BR>> http://moblin-contest.org/redirect.php?banner_id=100&url=/<BR>> _______________________________________________<BR>> gstreamer-devel mailing list<BR>> gstreamer-devel@lists.sourceforge.net<BR>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<BR><br /><hr />Use video conversation to talk face-to-face with Windows Live Messenger. <a href='http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008' target='_new'>Get started.</a></body>
</html>