← Back to team overview

touch-packages team mailing list archive

[Bug 1365497] Re: Inform user when a video format is not supported

 

I have implemented error handling on app level, is working fine on
Desktop but fails on device.

When I try to run a webm video I get this log:

 mediaplayer-app file:///home/phablet/Videos/Tears_of_Steel-Trailer.webm  --desktop_file_hint=/usr/share/applications/mediaplayer-app.desktop 
unity::action::ActionManager::ActionManager(QObject*):
	Could not determine application identifier. HUD will not work properly.
	Provide your application identifier in $APP_ID environment variable.
UCUriHandler: Empty "APP_ID" environment variable, ignoring.
Initializing AalServicePlugin
Creating a new static Service instance
virtual int AalMediaPlayerControl::volume() const 

virtual QMediaPlayer::State AalMediaPlayerControl::state() const

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

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

virtual int AalMediaPlayerControl::volume() const

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

Setting media to:   QUrl( "file:///home/phablet/Videos/Tears_of_Steel-Trailer.webm" ) 
void AalVideoRendererControl::setupSurface()
virtual bool AalMediaPlayerControl::isMuted() const 

virtual int AalMediaPlayerControl::volume() const

virtual bool AalMediaPlayerControl::isMuted() const

virtual int AalMediaPlayerControl::volume() const

virtual bool AalMediaPlayerControl::isMuted() const

virtual int AalMediaPlayerControl::volume() const

virtual void AalMediaPlayerControl::setMuted(bool)

virtual void AalMediaPlayerControl::setVolume(int)

virtual int AalMediaPlayerControl::volume() const

virtual void AalMediaPlayerControl::play()

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

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

UbuntuWindow - fullscreen geometry
virtual QSGVideoNode* ShaderVideoNodePlugin::createNode(const QVideoSurfaceFormat&)
void AalVideoRendererControl::onTextureCreated(unsigned int) : textureId:  1
Creating video sink
** Setting GLConsumer instance
UbuntuWindow::handleSurfaceFocusChange(focused=true)
void AalVideoRendererControl::onGLConsumerSet()
virtual void core::ubuntu::media::ServiceStub::pause_other_sessions(core::ubuntu::media::Player::PlayerKey)
Actually calling m_hubPlayerSession->play()
Failed to start playback:  org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
Failed to get current playback position:  org.freedesktop.DBus.Error.ServiceUnknown: The name core.ubuntu.media.Service was not provided by any .service files
Failed to get current playback position:  org.freedesktop.DBus.Error.ServiceUnknown: The name core.ubuntu.media.Service was not provided by any .service files

** (process:551): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID
Failed to get current playback position:  org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist

Failed to get current playback position:
org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature
"ss" on interface "org.freedesktop.DBus.Properties" doesn't exist

Failed to get current playback position:
org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature
"ss" on interface "org.freedesktop.DBus.Properties" doesn't exist

Failed to get current playback position:
org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature
"ss" on interface "org.freedesktop.DBus.Properties" doesn't exist

Failed to get current playback position:
org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature
"ss" on interface "org.freedesktop.DBus.Properties" doesn't exist

Failed to get current playback position:
org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature
"ss" on interface "org.freedesktop.DBus.Properties" doesn't exist

^C
phablet@ubuntu-phablet:~$

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mediaplayer-app in Ubuntu.
https://bugs.launchpad.net/bugs/1365497

Title:
  Inform user when a video format is not supported

Status in Media Hub:
  New
Status in Media Player App:
  Triaged
Status in “mediaplayer-app” package in Ubuntu:
  Confirmed

Bug description:
  When a video format is not supported the result is at best a black or green screen, a black video with audio, or worst case a crash.
  Instead of this the player shouldn't try playing the video and inform the user that the format is not supported.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: mediaplayer-app 0.20.5+14.10.20140820-0ubuntu1 [origin: Ubuntu RTM]
  Uname: Linux 3.4.67 armv7l
  ApportVersion: 2.14.7-0ubuntu1
  Architecture: armhf
  Date: Thu Sep  4 15:07:06 2014
  InstallationDate: Installed on 2014-09-04 (0 days ago)
  InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140904-030254)
  SourcePackage: mediaplayer-app
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/media-hub/+bug/1365497/+subscriptions


References