Hello,<div><br></div><div>Currently I am working with <b>KDE</b> <b>Community </b>on my <b>Google Summer of Code 2013</b> project on <b>Improvements and Enhancements of Plasma Media Center Application</b>.</div><div><br></div>
<div>I was working on a task of subtitle enhancement in the Plasma Video Player, where I was using <b>QML's Video Element Property:: metaData.videoFrameRate</b> ( <a href="http://doc-snapshot.qt-project.org/qt-mobility/qml-video.html#metaData.videoFrameRate-prop">http://doc-snapshot.qt-project.org/qt-mobility/qml-video.html#metaData.videoFrameRate-prop</a>) 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.</div>
<div><br clear="all"><div>So, I made a small qml video player , and wished to ascertain videoFrameRate property of QML VideoElement . This is the concerned patch:: <b><a href="http://pastebin.kde.org/p99b18cd5/">http://pastebin.kde.org/p99b18cd5/</a> </b> Video plays fine(it starts on clicking the player) , but unfortunately <b>videoFrameRate property shows the output as "undefined" repeatedly . </b>For the matter of fact other properties of video element also shows console output as undefined.</div>
<div><br></div><div>Following is the error output for reference :: <b><a href="http://pastebin.kde.org/p282f0967/">http://pastebin.kde.org/p282f0967/</a></b></div><div> </div><div>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.</div>
<div><br></div><div><br></div>Best Regards, <br><b>Akshay Ratan</b></div><div><b><br></b></div><div>GSoC 2013 Student, KDE</div>