<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3573870775606428240.post8904063195040279462..comments</id><updated>2008-05-29T13:47:50.742-05:00</updated><category term='rendering'/><category term='composite'/><category term='edit'/><category term='glade'/><category term='support'/><category term='freshmeat'/><category term='project update'/><category term='python'/><category term='mix'/><category term='ohloh'/><category term='audio mixing'/><category term='auto generate code'/><category term='gtk'/><category term='tracks'/><category term='mlt'/><category term='screenshots'/><category term='frame by frame'/><title type='text'>Comments on OpenShot Video Editor | Blog: Find Position &amp; Duration Using Python</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.openshotvideo.com/feeds/8904063195040279462/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3573870775606428240/8904063195040279462/comments/default'/><link rel='alternate' type='text/html' href='http://www.openshotvideo.com/2008/05/determine-position-duration-using.html'/><author><name>Jonathan Thomas</name><uri>http://www.blogger.com/profile/16385261268721516168</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_AuTEvUYi4Ms/TJvX4ZhWMZI/AAAAAAAABKA/W6RgR2sAKj8/S220/Jonathan_Thomas_OpenShot.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3573870775606428240.post-2655206314931686126</id><published>2008-05-29T13:47:00.000-05:00</published><updated>2008-05-29T13:47:00.000-05:00</updated><title type='text'>Thanks for the info jonathan. Actually I don't nee...</title><content type='html'>Thanks for the info jonathan. Actually I don't need to play the video itself. All I need is to find out the duration of the video file. and reading about the gst-discover module, does this exactly. I'm actually creating a video converter for my psp. im currently using python, pygtk, gst, and ffmpeg for it.&lt;BR/&gt;&lt;BR/&gt;thanks again. I'll be your newest blog reader.&lt;BR/&gt;&lt;BR/&gt;cheers!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3573870775606428240/8904063195040279462/comments/default/2655206314931686126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3573870775606428240/8904063195040279462/comments/default/2655206314931686126'/><link rel='alternate' type='text/html' href='http://www.openshotvideo.com/2008/05/determine-position-duration-using.html?showComment=1212086820000#c2655206314931686126' title=''/><author><name>b3rx</name><uri>http://www.blogger.com/profile/09117812483011818569</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.openshotvideo.com/2008/05/determine-position-duration-using.html' ref='tag:blogger.com,1999:blog-3573870775606428240.post-8904063195040279462' source='http://www.blogger.com/feeds/3573870775606428240/posts/default/8904063195040279462' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1901013740'/></entry><entry><id>tag:blogger.com,1999:blog-3573870775606428240.post-6029317538563058530</id><published>2008-05-29T13:41:00.000-05:00</published><updated>2008-05-29T13:41:00.000-05:00</updated><title type='text'>To query duration without showing a video widget, ...</title><content type='html'>To query duration without showing a video widget, I believe you need to use a fakesink (http://gstreamer.freedesktop.org/data/doc/gstreamer/0.10.1/gstreamer-plugins/html/gstreamer-plugins-fakesink.html).  I'll give this a try tonight and see if it works.&lt;BR/&gt;&lt;BR/&gt;If you are getting a -1 as the duration, it sounds like the stream was not set to PAUSED or PLAY.  You might try putting that query in a timer, and continuously querying the pipeline (just to see if it's always -1).</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3573870775606428240/8904063195040279462/comments/default/6029317538563058530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3573870775606428240/8904063195040279462/comments/default/6029317538563058530'/><link rel='alternate' type='text/html' href='http://www.openshotvideo.com/2008/05/determine-position-duration-using.html?showComment=1212086460000#c6029317538563058530' title=''/><author><name>Jonathan Thomas</name><uri>http://www.blogger.com/profile/16385261268721516168</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='15' src='http://www.oomphdiet.com/OomphDiet/Images/OomphDietLogo.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.openshotvideo.com/2008/05/determine-position-duration-using.html' ref='tag:blogger.com,1999:blog-3573870775606428240.post-8904063195040279462' source='http://www.blogger.com/feeds/3573870775606428240/posts/default/8904063195040279462' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-444638334'/></entry><entry><id>tag:blogger.com,1999:blog-3573870775606428240.post-1666735656925750280</id><published>2008-05-29T10:43:00.000-05:00</published><updated>2008-05-29T10:43:00.000-05:00</updated><title type='text'>I'm currently using the playbin element. do you kn...</title><content type='html'>I'm currently using the playbin element. do you know how to get the duration using filesrc? because when i try to use it, it gives me -1.&lt;BR/&gt;&lt;BR/&gt;please advice.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3573870775606428240/8904063195040279462/comments/default/1666735656925750280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3573870775606428240/8904063195040279462/comments/default/1666735656925750280'/><link rel='alternate' type='text/html' href='http://www.openshotvideo.com/2008/05/determine-position-duration-using.html?showComment=1212075780000#c1666735656925750280' title=''/><author><name>b3rx</name><uri>http://www.blogger.com/profile/09117812483011818569</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.openshotvideo.com/2008/05/determine-position-duration-using.html' ref='tag:blogger.com,1999:blog-3573870775606428240.post-8904063195040279462' source='http://www.blogger.com/feeds/3573870775606428240/posts/default/8904063195040279462' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1901013740'/></entry><entry><id>tag:blogger.com,1999:blog-3573870775606428240.post-6967161206054202032</id><published>2008-05-29T09:43:00.000-05:00</published><updated>2008-05-29T09:43:00.000-05:00</updated><title type='text'>Thanks for a nice post. I've been looking for such...</title><content type='html'>Thanks for a nice post. I've been looking for such an information. I was wondering is there a way to query the duration of a certain file without showing the video widget? even if i pause it the video widget still pops up.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3573870775606428240/8904063195040279462/comments/default/6967161206054202032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3573870775606428240/8904063195040279462/comments/default/6967161206054202032'/><link rel='alternate' type='text/html' href='http://www.openshotvideo.com/2008/05/determine-position-duration-using.html?showComment=1212072180000#c6967161206054202032' title=''/><author><name>Bertrand Son Kintanar</name><uri>http://www.b3rx.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.openshotvideo.com/2008/05/determine-position-duration-using.html' ref='tag:blogger.com,1999:blog-3573870775606428240.post-8904063195040279462' source='http://www.blogger.com/feeds/3573870775606428240/posts/default/8904063195040279462' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-298168480'/></entry></feed>
