Discussion Board

Results 1 to 3 of 3

Threaded View

  1. #1
    Registered User
    Join Date
    Oct 2011

    QML Video element regression in Belle FP1

    I have a landscape-locked application which plays 480x320 video scaled to common Symbian full-screen (640x360) which used to work fine on both pre-FP1 Belle/Anna and simulator. Now with FP1 video gets rendered either off-screen or is badly cropped and I'm running out of workarounds.

    In short: it starts to look like a regression bug in FP1, or even multiple.

    I have isolated the problem to a small test application below (removing the orientation locking as it seems to be another problem) which works as expected on simulator and previous Belles.

    A sample mp4 is available e.g. from http://www.mediafire.com/?3mrwyjgaovd

    1) First option: use PreserveAspectCrop and fill results in small video in bottom left corner (in landscape). It looks like the scaling factor comes somehow from portrait mode(?). When you tilt to portrait, it looks actually fine but once you tilt back, now only half of the screen is rendered tilted 90 deg clockwise and video is cropped badly.
    2) Second option: use scale 1.33 and anchors.centerIn: parent shows nothing when started in landscape (audio is ok) and again looks ok when tilted to portrait and returning to landscape gives the same result as in 1) -- scale itself seems be work ok, though
    3) muted and volume do not seem to work either
    4) if I use orientationLock for page, video might not render at all

    Do you come up with any tricks to solve this or should I just give up?

    EDIT: also a 640x360 video acts the same way...

    main.cpp (from standard template)
    QmlApplicationViewer viewer;

    import QtQuick 1.1
    import com.nokia.symbian 1.1
    Window {
        id: window
        PageStack {
            id: pageStack
        Component.onCompleted: {
    and MainPage.qml
    import QtQuick 1.1
    import com.nokia.symbian 1.1
    import QtMultimediaKit 1.1
    Page {
        id: mainPage
        //orientationLock: PageOrientation.LockLandscape
        Video {
            id: testVid
            fillMode: Video.PreserveAspectCrop
            anchors.fill: parent
            // alternatively:
            //anchors.centerIn: parent
            //scale: 1.33
            source: "file:///E:/Videos/sample.mp4";
        Component.onCompleted: {
            console.log("Play " + width + "x" + height)
    Last edited by mikajk; 2012-05-21 at 13:09. Reason: More info added

Similar Threads

  1. Symbian Belle Video Player APN Settings to None
    By aficianado_001 in forum General Development Questions
    Replies: 1
    Last Post: 2012-02-23, 09:21
  2. QML Video element on Harmattan
    By lostdev in forum Nokia N9
    Replies: 26
    Last Post: 2012-01-21, 16:40
  3. video streaming with Video element
    By FreeUser in forum [Archived] Qt Quick
    Replies: 13
    Last Post: 2011-07-19, 13:09
  4. QML QtMultimediaKit Video Element
    By Onddo in forum [Archived] Qt Mobility Project
    Replies: 0
    Last Post: 2010-12-23, 19:07
  5. Replies: 7
    Last Post: 2005-07-31, 16:54

Posting Permissions

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