Getting native video file framerate & muting alsasink

Gottfried Haider gottfried.haider at gmail.com
Tue Mar 15 18:59:32 UTC 2016


Thanks Andy & Nicolas - this did indeed the trick.

Best
Gottfried

On Tue, Mar 15, 2016 at 6:33 PM, Nicolas Dufresne <
nicolas.dufresne at gmail.com> wrote:

> Le mardi 15 mars 2016 à 13:23 +0000, Andy Robinson a écrit :
> > > Le mardi 15 mars 2016 à 01:12 +0100, Gottfried Haider a écrit :
> > >> Is there a straightforward way to get the native framerate of a
> > >> video-file, which is playing via playbin? I found a code snippet
> > >> online that looked for a double named "framerate" in the caps, but
> > >> this doesn't seem to work for me [1].
> >
> > Isn't it a fraction? (not a double).
>
> It is, didn't notice the error while reading this message. Gottfried,
> that's probably the why it does not work for you.
>
> Nicolas
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160315/576dfc37/attachment.html>


More information about the gstreamer-devel mailing list