×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2012
    Posts
    4

    QML Camera issue

    Hello All,

    While I develop app for Meego, I can force the app to use openGL to accelerate the graphic including some code in a cpp file, but the code does not work for Symbian.

    My app plays videos. Before I open the video, the app work as fine as should be, but it becomes lag after I play videos. It seems like the acceleration down after using multimedia module, so it has to start acceleration again or force it does not close.

    Please help to solve.
    Thank you very much,

    Vincent

  2. #2
    Registered User
    Join Date
    Jul 2008
    Posts
    90

    Re: QML Camera issue

    I have no idea how to solve this, but still some ideas to help you to help others to help you...
    * You might want to describe what this video player problem has to do with "QML Camera issue" in the title - now the architecture of things is not clear...
    * There is no generic "Symbian", there are many flavors of it with many different bugs -- describe the Symbian versio and the device. But first: test with another device to see if the problem is device-specific
    * As always, post you code that shows how you use or misuse QML and what Qt classes you use and how
    * Etc...

  3. #3
    Registered User
    Join Date
    Jul 2012
    Posts
    4

    Re: QML Camera issue

    Thanks for your advise mvuori.

    I sorry to make confuse of the title. Why I mention Camera and Video in a case because they both cause the issue I held above.

    The devices I use are N950, 3 of N8s, E7 and a C7. And I'm sorry to just said "Symbian" there but I'm on Symbian^3 only.

    My code is simple as below:

    MultimediaHolder.qml

    Code:
    ...
    Loader {
       id: videoLoader
       anchors.fill: parent
    }
    
    ListModel {
       id: mediaModel
       //Some content
      ...
    }
    
    Compoent {
       id: mediaDelegate
       //some composing
       ...
    }
    
    ListView {
       model: mediaModel
       delegate: mediaDelegate
       ...
    }
    ...
    videoLoader.source = "VideoPage.qml";
    videoLoader.item.showPage();
    VideoLoader.qml (Copy from "help")
    Code:
    import Qt 4.7
    import QtMultimediaKit 1.1
    
     Video {
         id: video
         width : 800
         height : 600
         source: "video.avi"
    
         MouseArea {
             anchors.fill: parent
             onClicked: {
                 video.play()
             }
         }
    
         focus: true
         Keys.onSpacePressed: video.paused = !video.paused
         Keys.onLeftPressed: video.position -= 5000
         Keys.onRightPressed: video.position += 5000
     }
    Before loader was loaded, the listview works smoothly, but it becomes lag while the loader was launched. If I did not force to use openGL acceleration in Meego(N950), the case happen. It seems that while the qml video is loaded, the system will autometically close the acceleration by "hardware" but in "software" mode. So, I'm looking for a way for Symbian^3 devices to force to use openGL.

    I'm sorry if I still not state clearly, but I'm trying my best. If any not clear, please let me know. My goal is to solve the problem and share the experience.

    Thank you All!

Similar Threads

  1. Camera API Issue
    By kdurga in forum Symbian Media (Closed)
    Replies: 5
    Last Post: 2009-04-27, 12:53
  2. Camera Issue in N78
    By rabeehkm in forum Mobile Java General
    Replies: 9
    Last Post: 2008-12-06, 02:08
  3. camera issue
    By sandy_zeng in forum Symbian
    Replies: 1
    Last Post: 2007-12-29, 11:52
  4. N95 Camera issue
    By sandy_zeng in forum Symbian
    Replies: 13
    Last Post: 2007-09-08, 15:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •