← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1424109] Re: Fails to play media files contained in Qt resource packs

 

Are all Qt components/apps supposed to be able to handle qrc: URIs (if
you can even call it that, it seems to be missing a '/')? I've never
seen this before. What's the prefix supposed to be since that path
doesn't start at root '/'?

** Changed in: qtubuntu-media (Ubuntu)
       Status: New => Opinion

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtubuntu-media in Ubuntu.
https://bugs.launchpad.net/bugs/1424109

Title:
  Fails to play media files contained in Qt resource packs

Status in qtubuntu-media package in Ubuntu:
  Opinion

Bug description:
  Attempting to play any media files contained within Qt resource packs
  through a QML Audio element fails silently without producing any
  error. This can be worked around if using wave files by using
  SoundEffect element (which presumably doesn't try to use media-hub),
  but this isn't appropriate for anything other than very small sound
  clips.

  Here's the output from the AAL plugin:

  virtual void AalMediaPlayerControl::stop()

  PlaybackStatusChanged signal arrived via the bus.
  virtual void AalMediaPlayerControl::setMedia(const QMediaContent&, QIODevice*) 

  virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus()
  const

  virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus()
  const

  virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus()
  const

  Remote stream URI:   QUrl( "qrc:/gcompris/src/activities/canal_lock/resource/water_fill.wav" ) 
  Setting media to:   QUrl( "qrc:/gcompris/src/activities/canal_lock/resource/water_fill.wav" ) 
  void AalVideoRendererControl::setupSurface()
  m_surface is NULL, can't update video texture 

  virtual void AalMediaPlayerControl::play()

  virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus()
  const

  virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus()
  const

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtubuntu-media/+bug/1424109/+subscriptions


References