September 6, 2011

borut123 borut123
Lab Rat
72 posts

Video element, how to get original video width and height

 

  1. Video {
  2.   id: video
  3.   source: Qt.resolvedUrl("rtsp://path.to.video.stream");
  4. }

Is it possible to get the video width and height from the QML Video component?
I thought it could be possible through video.metaData, but I’m getting “unresolved” value
for all metaData properties.

[EDIT: code formatting, please wrap in @-tags, Volker]

1 reply

December 20, 2011

borut123 borut123
Lab Rat
72 posts

Bug has been reported:
https://bugreports.qt.nokia.com/browse/QTMOBILITY-1952

 
  ‹‹ SoundEffect not playing sound.I put "fixed.wav" file on the same folder.      Unable to remove QT 4.07(3) from Nokia C5-03 ››

You must log in to post a reply. Not a member yet? Register here!