Results 1 to 4 of 4

Thread: Phonon stuff

  1. #1
    Join Date
    Mar 2006
    Posts
    140
    Thanks
    8
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Phonon stuff

    I was just wondering if anyone has any idea how to customise phonon neatly. I'm trying to determine an approach for integrating a licencing system within a suite of tools which provides video training for clients. The video content needs to be encrypted in some fashion requiring an "key" in order to playback the content.

    I'd like to extend phonon to essentially playback a new file type, which would perform the decryption. Can this be done? I've been having trouble identifying what can be subclassed to achieve the goal.

    Thanks,

    Steve

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Phonon stuff

    Isn't it enough to provide a media object that takes a QIODevice as input? You can then implement your own QIODevice and do the decryption there.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Mar 2006
    Posts
    140
    Thanks
    8
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Phonon stuff

    Isn't it enough to provide a media object that takes a QIODevice as input?
    Well I'm asking because I don't know. I know nothing about phonon and had trouble finding info on where to turn.

    You can then implement your own QIODevice and do the decryption there.
    So, do I need to create my MediaObject as well, or will just doing a QIODevice suffice?
    I don't see anything abstract in Phonon::MediaObject.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Phonon stuff

    Quote Originally Posted by stevey View Post
    Well I'm asking because I don't know. I know nothing about phonon and had trouble finding info on where to turn.
    Take a look at MediaSource constructors.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. I cannot run the phonon demos in the PXA270!Can someone help me?
    By Justin_W in forum Qt for Embedded and Mobile
    Replies: 8
    Last Post: 19th February 2010, 10:14
  2. Replies: 2
    Last Post: 24th April 2009, 12:13
  3. Problem with compiling qt on windows xp with phonon
    By junky in forum Installation and Deployment
    Replies: 3
    Last Post: 13th April 2009, 08:13
  4. adding PHONON and stuff
    By baray98 in forum Installation and Deployment
    Replies: 1
    Last Post: 18th August 2008, 17:37

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.