Summary: | AppImage Video playback issues - no sound | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Andrius <aegoreev> |
Component: | Preview-Video | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, metzpinguin |
Priority: | NOR | ||
Version: | 5.4.0 | ||
Target Milestone: | --- | ||
Platform: | Appimage | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 5.5.0 | |
Sentry Crash Report: | |||
Attachments: | terminal output |
Description
Andrius
2017-02-26 14:30:47 UTC
*** This bug has been marked as a duplicate of bug 375651 *** (In reply to Maik Qualmann from comment #1) > > *** This bug has been marked as a duplicate of bug 375651 *** Please note that I am not on Windows anymore. I am on Mint KDE and the bug exists there too Do you use the AppImage? If not, please post the console messages of the start from digiKam. Maik Created attachment 104238 [details]
terminal output
(In reply to Maik Qualmann from comment #3) > Do you use the AppImage? If not, please post the console messages of the > start from digiKam. > > Maik I bet this is the line you are looking for: digikam.general: AudioOutput backends: ("null") Yes, that is the line I'm looking for. Yes, in the AppImage QtAV does not find any audio backends. There may be a lack of sound support in the CentOS version to create the AppImage. Gilles wants to see what it could be. Maik Maik, I checked. CentOS 6.8 audio work fine. I tested with another video player than QtAV, and it work. QtAV still do not generate audio even if i see this message on the console : "QtAV 1.11.0(Mar 2 2017, 12:06:14)\nMultimedia framework base on Qt and FFmpeg.\nDistributed under the terms of LGPLv2.1 or later.\nShanghai University->S3 Graphics->Deepin, Shanghai, ChinaCopyright (C) 2012-2016 Wang Bin (aka. Lucas Wang) wbsecg1@gmail.com\nDonate: http://qtav.org/donate.html\nSource: https://github.com/wang-bin/QtAV\nHome page: http://qtav.org" QT_XCB_GL_INTEGRATION: "xcb_glx" ("./Player") set log file: "/home/gilles/devel/QtAV/build/bin/log-Player.txt" Logger Debug: vo: gl SubtitleProcessor::id("LibASS") Not found Unknown id SubtitleProcessor::id("FFmpeg") SubtitleProcessor::id("FFmpeg") VideoDecoder::id("FFmpeg") VideoDecoder::id("FFmpeg") VideoDecoder::id("FFmpeg") Debug: QHash(("probesize", QVariant(uint, 5000000))("analyzeduration", QVariant(int, 5000000))) Debug: status changed "Loaded" AudioDecoder::id("FFmpeg") <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<!!! Singleton 0x2704b20 created... So i'm lost for the moment... Gilles I compiled the current QtAV implementation from git/master which is not yet released. Same problem... Gilles Caulier I reported this problem as UPSTREAM to QtAV bugzilla : https://github.com/wang-bin/QtAV/issues/834 Gilles Caulier Gilles, which soundsystem does support CentOS 6.8? Pulse? OpenAL? Maik Git commit d9cc6f1a5069a9b98ca782bb97aeb68279950c61 by Gilles Caulier. Committed on 06/03/2017 at 05:13. Pushed by cgilles into branch 'master'. add openal Centos package for Audio support with QtAV while playin video under AppImage bundle M +2 -1 project/bundles/appimage/01-build-centos6.sh https://commits.kde.org/digikam-software-compilation/d9cc6f1a5069a9b98ca782bb97aeb68279950c61 Maik, For info, CentoOS 6.8 support both : OpenAL and Pulse. As QtAV team said, only OpenAL is enough for AppImage. See Upstream report on github. Gilles The AppImage 64bits with OpenAL support will be uploaded on GDrive today. If somebody can test and report if video with audio is played fine under Linux. Thanks in advance Gilles Caulier GDrive repository for test AppImage : https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM Gilles Caulier (In reply to caulier.gilles from comment #13) > The AppImage 64bits with OpenAL support will be uploaded on GDrive today. > > If somebody can test and report if video with audio is played fine under > Linux. > Thanks in advance > > Gilles Caulier Problem not resolved. Terminal does show an audiodecoder though: AudioDecoder::id("FFmpeg") I fixed the problem using current QtAv implementation in digiKam AppImage. I just recompiled quickly the 64 bits bundle for testing without translations. The audio from video is played well now under Linux. Please test and give me a feedback. File is at usual place : https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM PS : i will recompile a complete bundle with translations later today, if time permit, else tomorrow. Gilles Caulier AppImage isn't working for me now. --- -- digiKam AppImage Bundle -- Use 'help' as CLI argument to know all available options Starting digiKam into GDB... Use 'bt' command on debugger prompt to get a crash backtrace. Use 'q' command to quit debugger session. GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from digikam...done. Catchpoint 1 (throw) Starting program: /tmp/.mount_q8UWsJ/usr/bin/digikam [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe2ef8700 (LWP 5582)] digikam.widgets: Breeze icons ressource file found digikam.general: AlbumWatch use QFileSystemWatcher [New Thread 0x7fffe167d700 (LWP 5583)] [New Thread 0x7fffe0e7c700 (LWP 5584)] digikam.general: Database Parameters: Type: "QSQLITE" DB Core Name: "/media/data/FamilyPictures/digikam4.db" DB Thumbs Name: "/media/data/FamilyPictures/thumbnails-digikam.db" DB Face Name: "/media/data/FamilyPictures/recognition.db" Connect Options: "" Host Name: "" Host port: -1 Internal Server: false Internal Server Path: "" Internal Server Serv Cmd: "" Internal Server Init Cmd: "" Username: "" Password: "" [New Thread 0x7fffd3fff700 (LWP 5585)] [Thread 0x7fffd3fff700 (LWP 5585) exited] digikam.dbengine: Loading SQL code from config file "/tmp/.mount_q8UWsJ/usr/share/digikam/database/dbconfig.xml" digikam.dbengine: Checking XML version ID => expected: 3 found: 3 digikam.coredb: Core database: running schema update digikam.coredb: Core database: have a structure version 8 digikam.coredb: Core database: makeUpdates 8 to 8 digikam.database: Creating new Location "/FamilyPictures" uuid "volumeid:?uuid=e0deb5d0deb59eea" digikam.database: location for "/media/data/FamilyPictures" is available true KMemoryInfo: Platform identified : "LINUX" KMemoryInfo: TotalRam: 8244797440 digikam.general: Allowing a cache size of 200 MB digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret = 0 digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret = 0 digikam.thumbsdb: Thumbs database: have a structure version "3" digikam.general: Thumbnails database ready for use digikam.general: Switch to widget style: "Fusion" digikam.dimg: ("/usr/share/color/icc", "/home/andrey/.local/share/icc") [New Thread 0x7fffd3fff700 (LWP 5586)] digikam.general: Camera XML data: "/home/andrey/.local/share/digikam/cameras.xml" [New Thread 0x7fffd1610700 (LWP 5587)] [New Thread 0x7fffd0e0f700 (LWP 5588)] [New Thread 0x7fffc3fff700 (LWP 5589)] digikam.facedb: FaceDB SelectFaceSetting val ret = 0 digikam.facedb: FaceDB SelectFaceSetting val ret = 0 digikam.facedb: Face database: have a structure version "2" digikam.facesengine: Face database ready for use [New Thread 0x7fffc37fe700 (LWP 5590)] [New Thread 0x7fffc2ffd700 (LWP 5591)] digikam.general: Face PipeLine: add database writer digikam.general: Face PipeLine: add faces trainer [New Thread 0x7fffc27fc700 (LWP 5592)] [New Thread 0x7fffc1ffb700 (LWP 5593)] [New Thread 0x7fffc17fa700 (LWP 5594)] [New Thread 0x7fffc0ff9700 (LWP 5595)] [New Thread 0x7fffa3fff700 (LWP 5596)] digikam.facesengine: Face database ready for use [New Thread 0x7fffa37fe700 (LWP 5597)] [New Thread 0x7fffa2ffd700 (LWP 5598)] digikam.general: Face PipeLine: add database writer digikam.general: Face PipeLine: add faces trainer [New Thread 0x7fffa27fc700 (LWP 5599)] [New Thread 0x7fffa1ffb700 (LWP 5604)] [New Thread 0x7fffa17fa700 (LWP 5605)] [New Thread 0x7fffa0ff9700 (LWP 5606)] digikam.geoiface: "setting backend marble" QtAV 1.11.0(Mar 9 2017, 09:49:02) Multimedia framework base on Qt and FFmpeg. Distributed under the terms of LGPLv2.1 or later. Shanghai University->S3 Graphics->Deepin, Shanghai, ChinaCopyright (C) 2012-2016 Wang Bin (aka. Lucas Wang) wbsecg1@gmail.com Donate: http://qtav.org/donate.html Source: https://github.com/wang-bin/QtAV Home page: http://qtav.org capi::version: 0.6.0 ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file ././/share/alsa/alsa.conf ALSA lib control.c:954:(snd_ctl_open_noupdate) Invalid CTL hw:0 AL lib: alsa.c:257: control open (0): No such file or directory ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file ././/share/alsa/alsa.conf ALSA lib control.c:954:(snd_ctl_open_noupdate) Invalid CTL hw:0 digikam: src/hostapi/alsa/pa_linux_alsa.c:1454: BuildDeviceList: Assertion `devIdx < numDeviceNames' failed. Thread 1 "digikam" received signal SIGABRT, Aborted. 0x00007fffed790428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007fffed790428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 #1 0x00007fffed79202a in __GI_abort () at abort.c:89 #2 0x00007fffed788bd7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x7fffd01b9689 "devIdx < numDeviceNames", file=file@entry=0x7fffd01b3058 "src/hostapi/alsa/pa_linux_alsa.c", line=line@entry=1454, function=function@entry=0x7fffd01b9870 "BuildDeviceList") at assert.c:92 #3 0x00007fffed788c82 in __GI___assert_fail (assertion=0x7fffd01b9689 "devIdx < numDeviceNames", file=0x7fffd01b3058 "src/hostapi/alsa/pa_linux_alsa.c", line=1454, function=0x7fffd01b9870 "BuildDeviceList") at assert.c:101 #4 0x00007fffd01a7a03 in ?? () from /usr/lib/x86_64-linux-gnu/libportaudio.so.2 #5 0x00007fffd01aa0e9 in PaAlsa_Initialize () from /usr/lib/x86_64-linux-gnu/libportaudio.so.2 #6 0x00007fffd019d763 in Pa_Initialize () from /usr/lib/x86_64-linux-gnu/libportaudio.so.2 #7 0x00007fffe74056e5 in ?? () from /tmp/.mount_q8UWsJ/usr/lib/libopenal.so.1 #8 0x00007fffe7405978 in ?? () from /tmp/.mount_q8UWsJ/usr/lib/libopenal.so.1 #9 0x00007fffe73e3137 in ?? () from /tmp/.mount_q8UWsJ/usr/lib/libopenal.so.1 #10 0x00007fffe73e3637 in alcGetString () from /tmp/.mount_q8UWsJ/usr/lib/libopenal.so.1 #11 0x00007ffff4ab87dc in QtAV::AudioOutputOpenAL::AudioOutputOpenAL(QObject*) () from /tmp/.mount_q8UWsJ/usr/lib/libQtAV.so.1 #12 0x00007ffff4aba36d in QtAV::AudioOutputBackend* QtAV::AudioOutputBackend::create<QtAV::AudioOutputOpenAL>() () from /tmp/.mount_q8UWsJ/usr/lib/libQtAV.so.1 #13 0x00007ffff4b6eaf0 in QtAV::AudioOutput::setBackends(QStringList const&) () from /tmp/.mount_q8UWsJ/usr/lib/libQtAV.so.1 #14 0x00007ffff4b70375 in QtAV::AudioOutput::AudioOutput(QObject*) () from /tmp/.mount_q8UWsJ/usr/lib/libQtAV.so.1 #15 0x00007ffff4b5ecd8 in QtAV::AVPlayer::Private::Private() () from /tmp/.mount_q8UWsJ/usr/lib/libQtAV.so.1 #16 0x00007ffff4b511d6 in QtAV::AVPlayer::AVPlayer(QObject*) () from /tmp/.mount_q8UWsJ/usr/lib/libQtAV.so.1 #17 0x00007ffff75f5590 in Digikam::MediaPlayerView::MediaPlayerView (this=0xccfb20, parent=<optimized out>) at /b/dktemp/digikam-master/core/app/views/mediaplayerview.cpp:220 #18 0x00007ffff75f3556 in Digikam::StackedView::StackedView (this=0xadd890, parent=<optimized out>) at /b/dktemp/digikam-master/core/app/views/stackedview.cpp:147 #19 0x00007ffff75ee0e2 in Digikam::DigikamView::DigikamView (this=0x9d1940, parent=0x853520, modelCollection=0x9e66e0) at /b/dktemp/digikam-master/core/app/views/digikamview.cpp:268 #20 0x00007ffff75348d5 in Digikam::DigikamApp::setupView (this=this@entry=0x853520) at /b/dktemp/digikam-master/core/app/main/digikamapp.cpp:546 #21 0x00007ffff754c2e3 in Digikam::DigikamApp::DigikamApp (this=0x853520, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /b/dktemp/digikam-master/core/app/main/digikamapp.cpp:236 #22 0x0000000000404eab in main (argc=1, argv=<optimized out>) at /b/dktemp/digikam-master/core/app/main/main.cpp:201 (gdb) (In reply to caulier.gilles from comment #16) > I fixed the problem using current QtAv implementation in digiKam AppImage. I > just recompiled quickly the 64 bits bundle for testing without translations. > > The audio from video is played well now under Linux. > > Please test and give me a feedback. File is at usual place : > > https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM > > PS : i will recompile a complete bundle with translations later today, if > time permit, else tomorrow. > > Gilles Caulier (In reply to caulier.gilles from comment #16) > I fixed the problem using current QtAv implementation in digiKam AppImage. I > just recompiled quickly the 64 bits bundle for testing without translations. > > The audio from video is played well now under Linux. Gilles. Do you have a chance to put the previous version back to the GDrive? I overwrote mine .... > > Please test and give me a feedback. File is at usual place : > > https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM > > PS : i will recompile a complete bundle with translations later today, if > time permit, else tomorrow. > > Gilles Caulier AppImage works here under openSUSE with sound. OpenAl is found as audio backend. Wildcowboy please look where in your system is the alsa.conf file is located (/usr/share/alsa/alsa.conf). Maik (In reply to Maik Qualmann from comment #19) > AppImage works here under openSUSE with sound. OpenAl is found as audio > backend. Wildcowboy please look where in your system is the alsa.conf file > is located (/usr/share/alsa/alsa.conf). > > Maik /usr/share/alsa Maik, The problem is reproducible under Mageia 5 (but not Mageia 6) : QtAV 1.11.0(Mar 9 2017, 11:27:18) Multimedia framework base on Qt and FFmpeg. Distributed under the terms of LGPLv2.1 or later. Shanghai University->S3 Graphics->Deepin, Shanghai, ChinaCopyright (C) 2012-2016 Wang Bin (aka. Lucas Wang) wbsecg1@gmail.com Donate: http://qtav.org/donate.html Source: https://github.com/wang-bin/QtAV Home page: http://qtav.org capi::version: 0.6.0 ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file ././/share/alsa/alsa.conf ALSA lib control.c:954:(snd_ctl_open_noupdate) Invalid CTL hw:0 AL lib: alsa.c:257: control open (0): No such file or directory ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file ././/share/alsa/alsa.conf ALSA lib control.c:954:(snd_ctl_open_noupdate) Invalid CTL hw:1 AL lib: alsa.c:257: control open (1): No such file or directory ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file ././/share/alsa/alsa.conf ALSA lib control.c:954:(snd_ctl_open_noupdate) Invalid CTL hw:0 ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file ././/share/alsa/alsa.conf ALSA lib control.c:954:(snd_ctl_open_noupdate) Invalid CTL hw:1 digikam: src/hostapi/alsa/pa_linux_alsa.c:1453: BuildDeviceList: Assertion `devIdx < numDeviceNames' failed. /tmp/.mount_9CD7mN/AppRun: line 73: 31049 Aborted digikam.wrapper $@ I suspect that libopenal.so must be dropped from the bundle in favor than system based library. Gilles Confirmed. I extracted all bundle content in local, removed openal library, and now digiKAm start properly. sound is also played with video. I regenerate AppImage files now. Gilles Caulier Gilles, I have a small try in the current master branch to fix Unity menu problem. Please create a AppImage from current master branch for testing. Maik Git commit a1ea8082fdaf9cd4b9d70727ec892c0b7f4b4d2a by Gilles Caulier. Committed on 09/03/2017 at 21:47. Pushed by cgilles into branch 'master'. remove openal.so from linux bundle M +1 -0 project/bundles/appimage/04-build-appimage.sh https://commits.kde.org/digikam-software-compilation/a1ea8082fdaf9cd4b9d70727ec892c0b7f4b4d2a Maik, ok i will do it tomorrow morning. recompiling all digiKam will take one hour and it's late. Gilles wildcowboy, The new AppImage 64 bits is now available for testing : https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM Gilles Caulier (In reply to caulier.gilles from comment #26) > wildcowboy, > > The new AppImage 64 bits is now available for testing : > > https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM > > Gilles Caulier AppImage's now working and the video preview's with the sound on! Woo-Hoo! Great. Thanks for the feedback. Gilles Caulier |