Results 1 to 1 of 1

Thread: codec hint for MediaSource ( QIODevice * ioDevice )

  1. #1
    Join Date
    Nov 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default codec hint for MediaSource ( QIODevice * ioDevice )

    My application processes encrypted mp3 files.
    The files are decrypted in memory and passed as a QBuffer to MediaSource(QIODevice * ioDevice)
    That works most of the time, however some specific mp3 files causes the Phonon DS backend to select the wrong codec.
    Saving the decrypted content to a file named "xyz.mp3" and opening that using MediaSource ( const QString & fileName ) works, but that is not an acceptable option.

    Is there a way to pass a format/codec hint to the DS backend?
    Last edited by bitsflew; 10th December 2010 at 10:07.

Similar Threads

  1. How to create custom (streaming video) Phonon::MediaSource?
    By high_flyer in forum Qt Programming
    Replies: 2
    Last Post: 17th February 2017, 20:30
  2. Phonon::MediaSource
    By Lendamand in forum Qt Programming
    Replies: 2
    Last Post: 8th September 2010, 13:34
  3. Qt phonon and Codec
    By alexcuiCN in forum Qt Programming
    Replies: 2
    Last Post: 27th April 2010, 08:56
  4. Phonon MediaSource authentication
    By serenti in forum Qt Programming
    Replies: 0
    Last Post: 11th June 2009, 23:01
  5. Retrieve string codec
    By Raccoon29 in forum Newbie
    Replies: 3
    Last Post: 26th January 2009, 21:21

Tags for this Thread

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.