Videos are not played when using phonon-vlc backend. The sound works fine. The videos play correctly in VLC, and in other phonon applications (eg. digikam) The terminal shows errors like [0x7f8298003428] stream_out_transcode stream out error: cannot find video encoder (module:any fourcc:none). Take a look few lines earlier to see possible reason. [0x7f8298003428] stream_out_transcode stream out error: cannot create video chain Reproducible: Always
full log please thank you
dragonplayer(14921)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-antonioWt9mma/ksycoca4" Warning: option --plugin-path no longer exists. Warning: option --plugin-path no longer exists. [0x19105a8] main services discovery error: no suitable services discovery module dragonplayer(14921) Phonon::KdePlatformPlugin::createBackend: using backend: "VLC" Object::connect: No such signal Phonon::VLC::MediaObject::angleChanged(int) Object::connect: No such signal Phonon::VLC::MediaObject::availableAnglesChanged(int) Object::connect: No such signal Phonon::VLC::MediaObject::angleChanged(int) Object::connect: No such signal Phonon::VLC::MediaObject::availableAnglesChanged(int) QPainter::begin: Paint device returned engine == 0, type: 2 QPainter::begin: Paint device returned engine == 0, type: 2 dragonplayer(14921) RootDbusHandler::RootDbusHandler: registering root? true dragonplayer(14921) Dragon::MainWindow::engineStateChanged: Stopped state dragonplayer(14921) Dragon::MainWindow::engineStateChanged: updated actions dragonplayer(14921) Dragon::MainWindow::engineStateChanged: updated menus dragonplayer(14921) Dragon::MainWindow::updateTitleBarText: set titles dragonplayer(14921) Dragon::MainWindow::engineSeekableChanged: seekable changed to false dragonplayer(14921) Dragon::MainWindow::open: KUrl("file:///home/antonio/Dropbox/Public/Trial.flv") dragonplayer(14921)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x1d91790) dragonplayer(14921)/kio (Scheduler) KIO::SchedulerPrivate::protoQ: creating ProtoQueue instance for "file" dragonplayer(14921)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: m_maxConnectionsTotal: 5 m_maxConnectionsPerHost: 5 QPainter::begin: Paint device returned engine == 0, type: 2 dragonplayer(14921)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///home/antonio/Dropbox/Public/Trial.flv") dragonplayer(14921)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on "local:/tmp/ksocket-antonio/dragonplayerj14921.slave-socket" dragonplayer(14921)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::StatJob(0x1d91790) KIO::Slave(0x1b7a560) dragonplayer(14921) Dragon::VideoWindow::load: detected mimetype: "video/x-flv" dragonplayer(14921) Dragon::VideoWindow::play: Does this media have Video stream? false dragonplayer(14921) Dragon::MainWindow::open: Initial offset is 1400 dragonplayer(14921) Dragon::VideoWindow::setAudioChannel: using index: -1 returned desc has index: -1 dragonplayer(14921) Dragon::VideoWindow::setSubtitle: using index: -1 returned desc has index: -1 dragonplayer(14921) Dragon::VideoWindow::play: Does this media have Video stream? false QPainter::begin: Paint device returned engine == 0, type: 2 dragonplayer(14921) Dragon::AudioView::resizeEvent: QRectF(0,0 435x285) QRectF(0,0 435x285) dragonplayer(14921) Dragon::VideoWindow::stateChanged: chapters: 0 titles: 0 dragonplayer(14921) Dragon::VideoWindow::stateChanged: going from "Stopped" to "Loading" dragonplayer(14921) Dragon::MainWindow::engineStateChanged: Loading state dragonplayer(14921) Dragon::MainWindow::engineStateChanged: updated actions dragonplayer(14921) Dragon::MainWindow::engineStateChanged: updated menus dragonplayer(14921) Dragon::MainWindow::updateTitleBarText: set titles dragonplayer(14921) Dragon::VideoWindow::stateChanged: chapters: 0 titles: 0 dragonplayer(14921) Dragon::VideoWindow::stateChanged: going from "Loading" to "Stopped" dragonplayer(14921) Dragon::MainWindow::engineStateChanged: Stopped state dragonplayer(14921) Dragon::MainWindow::engineStateChanged: updated actions dragonplayer(14921) Dragon::MainWindow::engineStateChanged: updated menus dragonplayer(14921) Dragon::MainWindow::updateTitleBarText: set titles dragonplayer(14921) Dragon::TheStream::metaData: () dragonplayer(14921) Dragon::AudioView::updateText: its being set: "" QRectF(0,0 435x285) dragonplayer(14921) Dragon::TheStream::metaData: () dragonplayer(14921) Dragon::TheStream::metaData: () dragonplayer(14921) Dragon::TheStream::metaData: () dragonplayer(14921) Dragon::MainWindow::engineMediaChanged: update recent files list [0x7f35ec003428] stream_out_transcode stream out error: cannot find video encoder (module:any fourcc:none). Take a look few lines earlier to see possible reason. [0x7f35ec003428] stream_out_transcode stream out error: cannot create video chain QPainter::begin: Paint device returned engine == 0, type: 2 dragonplayer(14921) Dragon::AudioView::resizeEvent: QRectF(0,0 450x300) QRectF(0,0 450x306) QPainter::begin: Paint device returned engine == 0, type: 2 dragonplayer(14921) Dragon::VideoWindow::stateChanged: chapters: 0 titles: 0 dragonplayer(14921) Dragon::VideoWindow::stateChanged: going from "Stopped" to "Loading" dragonplayer(14921) Dragon::MainWindow::engineStateChanged: Loading state dragonplayer(14921) Dragon::MainWindow::engineStateChanged: updated actions dragonplayer(14921) Dragon::MainWindow::engineStateChanged: updated menus dragonplayer(14921) Dragon::MainWindow::updateTitleBarText: set titles dragonplayer(14921) Dragon::MainWindow::engineMetaDataChanged: metaDataChanged dragonplayer(14921) Dragon::MainWindow::updateTitleBarText: set titles dragonplayer(14921) Dragon::TheStream::metaData: ("") dragonplayer(14921) Dragon::AudioView::updateText: its being set: "" QRectF(0,0 450x300) dragonplayer(14921) Dragon::TheStream::metaData: ("") dragonplayer(14921) Dragon::TheStream::metaData: ("Trial.flv") dragonplayer(14921) Dragon::TheStream::metaData: ("") dragonplayer(14921) Dragon::MainWindow::engineSeekableChanged: seekable changed to true dragonplayer(14921) Dragon::VideoWindow::stateChanged: chapters: 0 titles: 0 dragonplayer(14921) Dragon::VideoWindow::stateChanged: going from "Loading" to "Playing" dragonplayer(14921) Dragon::MainWindow::engineStateChanged: Playing state dragonplayer(14921) Dragon::MainWindow::engineStateChanged: updated actions dragonplayer(14921) Dragon::MainWindow::engineStateChanged: updated menus dragonplayer(14921)/kdeui (KNotificationRestrictions) KNotificationRestrictions::Private::startScreenSaverPrevention: dragonplayer(14921) Dragon::MainWindow::updateTitleBarText: set titles QPainter::begin: Paint device returned engine == 0, type: 2 dragonplayer(14921)/kio (Slave) KIO::Slave::kill: killing slave pid 14927 ( "file://" ) antonio:~/Dropbox/Public >
Hm, ok that is not sufficient unfortunately, please try to get a more excessive output by setting the PHONON_VLC_DEBUG envrionment variable. http://techbase.kde.org/Development/Tutorials/Debugging/Phonon Also, what version of Phonon do you use? Seems to me it is using KIO to access a file:// URL which would be utterly wrong.
Created attachment 71507 [details] dragon log
I'm using phonon 4.6.0, phonon-vlc 0.5.0, vlc 2.0.1
Was phonon vlc actually built against VLC2? [0x7f9b04000af8] main stream output debug: using sout chain=`duplicate{dst=display,dst='transcode{{vcodec=none,acodec=s16l`}'}:smem{audio-prerender-callback=140303964143328,audio-postrender-callback=140303964144944,audio-data=28292656,time-sync=true}' That comes from the AudioDataOutput feature which is defunct with VLC2 and should have been turned off in 0.5
Code reference: https://projects.kde.org/projects/kdesupport/phonon/phonon-vlc/repository/revisions/v0.5.0/entry/src/backend.cpp#L142
That was it. Works fine after rebuilding against VLC 2.0. Will report downstream, thanks
Thank you.
*** Bug 301996 has been marked as a duplicate of this bug. ***