Bug 301005 - Dragon doesn't play videos with phonon-vlc backend
Summary: Dragon doesn't play videos with phonon-vlc backend
Status: RESOLVED DOWNSTREAM
Alias: None
Product: phonon-backend-vlc
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
: 301996 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-01 17:26 UTC by Antonio Rojas
Modified: 2012-06-16 11:08 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
dragon log (56.32 KB, application/octet-stream)
2012-06-02 06:54 UTC, Antonio Rojas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2012-06-01 17:26:10 UTC
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
Comment 1 Harald Sitter 2012-06-01 18:06:20 UTC
full log please
thank you
Comment 2 Antonio Rojas 2012-06-01 18:08:05 UTC
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 >
Comment 3 Harald Sitter 2012-06-01 22:29:05 UTC
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.
Comment 4 Antonio Rojas 2012-06-02 06:54:46 UTC
Created attachment 71507 [details]
dragon log
Comment 5 Antonio Rojas 2012-06-02 06:55:29 UTC
I'm using phonon 4.6.0, phonon-vlc 0.5.0, vlc 2.0.1
Comment 6 Harald Sitter 2012-06-02 17:06:27 UTC
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
Comment 8 Antonio Rojas 2012-06-02 17:10:53 UTC
That was it. Works fine after rebuilding against VLC 2.0. Will report downstream, thanks
Comment 9 Harald Sitter 2012-06-02 17:20:45 UTC
Thank you.
Comment 10 Harald Sitter 2012-06-16 11:08:15 UTC
*** Bug 301996 has been marked as a duplicate of this bug. ***