[Interest] QML Video Element Error Query

Akshay Ratan akshayratan at gmail.com
Tue Jul 23 13:49:20 CEST 2013


Hello,

Thanks for the reply !

On Tue, Jul 23, 2013 at 3:53 PM, Lopes Yoann <Yoann.Lopes at digia.com> wrote:

>  Hi,
>
>  Metadata properties are not always available depending on the underlying
> multimedia backend. I'm guessing you are using the GStreamer backend since
> you are working on KDE Plasma. Unfortunately the videoFrameRate property is
> not available with that backend.
>

It would be great if you can tell me which backend supports metaData
properties. Also, is there any other way by which I can get videoFrameRate
in GStreamer backend using qml ?

Thanks ! :)

Regards,
Akshay Ratan



> On Jul 22, 2013, at 9:38 PM, Akshay Ratan wrote:
>
> Hello,
>
>  Currently I am working with *KDE* *Community *on my *Google Summer of
> Code 2013* project on *Improvements and Enhancements of Plasma Media
> Center Application*.
>
>  I was working on a task of subtitle enhancement in the Plasma Video
> Player, where I was using *QML's Video Element Property::
> metaData.videoFrameRate* (
> http://doc-snapshot.qt-project.org/qt-mobility/qml-video.html#metaData.videoFrameRate-prop)
> in my concerned qml code. Since this property was not returning anything
> desired ( though there was nothing wrong in bindings also) , after the
> discussions with my mentors , I decided to make a small qml Video Player to
> make sure that QML Video Element Properties work fine.
>
> So, I made a small qml video player , and wished to ascertain
> videoFrameRate property of QML VideoElement . This is the concerned patch::
> *http://pastebin.kde.org/p99b18cd5/ *   Video plays fine(it starts on
> clicking the player) , but unfortunately *videoFrameRate property shows
> the output as "undefined" repeatedly . *For the matter of fact other
> properties of video element also shows console output as undefined.
>
>  Following is the error output for reference :: *
> http://pastebin.kde.org/p282f0967/*
>
> It would be great if anybody could suggest something regarding this
> problem of QML Video Element in my code . Please suggest me a way as to how
> can I successfully get the frame Rate value from Video Element of QML.
>
>
>  Best Regards,
> *Akshay Ratan*
> *
> *
> GSoC 2013 Student, KDE
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
>


-- 
Akshay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130723/e322532c/attachment.html>


More information about the Interest mailing list