Hi all:
I write a simple player, but I found that it's always return false when I call the gst_element_duration(), so I cannot get the right duration of the media file . and anybody know why ?
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On 19.11.2010 11:23, michael young wrote:
> Hi all: > I write a simple player, but I found that it's always return false > when I call the gst_element_duration(), so I cannot get the > right duration of the media file . and anybody know why ? Maybe you could start providing more info. Is the source code for your project available somewhere. Are you using playbin2? Are you querying the duration from the pipeline? if not what element are you querying the duration from. When do you query (once it is playing?) Stefan > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today > http://p.sf.net/sfu/msIE9-sfdev2dev > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
When I run my app upon the gstreamer-0.10.25, I can get the right duration thought the gst_element_query_duration(), But I cannot get it
upon the gstreamer-0.10.30. and I am sure the code is the some one. and the code you can get from https://wraithmedia.svn.sourceforge.net/svnroot/wraithmedia . So anybody can help?
On Fri, Nov 19, 2010 at 6:29 PM, Stefan Kost <[hidden email]> wrote:
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Is the gst_element_query_duration() depend on some plugins? Today, I just install some more Gstreamer's base plugins and some ugly plugins , then the duration can be got successfully! plugins I install are:
alsa ogg pango theora
vorbis gconfelements so which one will effect the gst_element_query_duration(). On Sat, Nov 20, 2010 at 10:06 AM, michael young <[hidden email]> wrote: When I run my app upon the gstreamer-0.10.25, I can get the right duration thought the gst_element_query_duration(), But I cannot get it ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |