Video Player for Symbian^3



  • Hi everyone,

    I would like to develop a video player for N8, but i couldn't found an example. any suggestion?



  • This might help you getting started: "http://doc.qt.nokia.com/qtmobility-1.1/player.html":http://doc.qt.nokia.com/qtmobility-1.1/player.html

    You might also need some permissions to be able to play video, search on "forum.nokia.com":http://forum.nokia.com



  • Thanks.
    but just to be able to play video, why i should need some permissons? i tried to search in the forum, but i find nothing
    [quote author="mario" date="1302525527"]This might help you getting started: "http://doc.qt.nokia.com/qtmobility-1.1/player.html":http://doc.qt.nokia.com/qtmobility-1.1/player.html

    You might also need some permissions to be able to play video, search on "forum.nokia.com":http://forum.nokia.com[/quote]



  • It just that sometimes you need to add "symbian capabilities" to be able to use resources. I don't know if you need that for playing video.



  • Thanks,

    I using linux and latest Qt SDK, i tested the example.

    but i can't bulid the projet, i add

    @symbian:TARGET.CAPABILITY += NetworkServices ReadUserData WriteUserData@
    and
    @CONFIG += mobility
    MOBILITY +=multimedia@

    to the projet file

    is there any thing i need plus?

    [quote author="mario" date="1302527404"]It just that sometimes you need to add "symbian capabilities" to be able to use resources. I don't know if you need that for playing video.[/quote]



  • You can't build for symbian on Linux (not without hacking a lot). You should try using "Remote Compile" which should be available as a plugin in the SDK. You also need to register at forum nokia to be able to use the feature.



  • thanks

    i know that, but i can test examples in simulator? no? or i can build for desktop?
    [quote author="mario" date="1302529359"]You can't build for symbian on Linux (not without hacking a lot). You should try using "Remote Compile" which should be available as a plugin in the SDK. You also need to register at forum nokia to be able to use the feature.[/quote]



  • Yes, simulator and desktop should work most of the time. I'm not sure if the QtMobility is available for the "Desktop" version. You should be able to compile and install them your self. If you're running, for example, Kubuntu you can install the mobility packages and use "Qt in PATH" when compiling.



  • thanks very much Mario,

    yes this problem bothers me for a long time.

    Now i have some quetions, thank you in advance to reply

    i just want to use qtmobility multimedia, and i install the lastest version of Qt SDK on my linux(ubuntu). My objectif is to develop an application for Symbian 3.

    1. can i test my application on simulator or desktop? if yes , then i have to install qt mobility or not? qt moblility is not included in Qt SDK? you got a link that explains how to install qt mobility for linux or not?

    2. there are 2 ways to develop a video player, in my opinion. one is using Qt/C++ (as the link you posted), another is using QML video element. I prefer to using QML, because it is much simpler and my application is not complex. I have tried QML video element, but there is always a problem of library(building error). you got some tutroials for this or not?

    [quote author="mario" date="1302529698"]Yes, simulator and desktop should work most of the time. I'm not sure if the QtMobility is available for the "Desktop" version. You should be able to compile and install them your self. If you're running, for example, Kubuntu you can install the mobility packages and use "Qt in PATH" when compiling.[/quote]



  • You can check if the Mobility is installed with the bundles version of Qt for desktop and simulator.

    In your QtSDK path you'll find following folders (valid for Linux):

    Desktop

    Simulator

    In Desktop you'll only find Qt but in Simulator you'll find both Qt and QtMobility. I think the chances increases that things work for Symbian if you build for the simulator.

    But keep in mind that all features might not be implemented for the simulator.

    To install QtMobility for the desktop, see the instruction "here":http://doc.qt.nokia.com/qtmobility-1.1.0/installation.html

    Qt is about cross-platform so why not installed mobility for the desktop to and enjoy running your app there too.

    I would also go for the QML-version, much funnier


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.