See http://trac.macports.org/ticket/47749 (Same issue, fixed by compiling Digikam using Macports directly and inserting the mentioned dependancies manually).. Thank you! Reproducible: Always Steps to Reproduce: 1. install digikam-4.11.pkg 2. try to preview video file 3. watch digikam fail Actual Results: Player starts, but Play controls are disabled and no video is shown. Expected Results: Video should play back. Also see http://trac.macports.org/ticket/47749 - same issue, fixed by adding dependancies to two additional MacPorts packages.
Addendum: This applies to the packaged *.pkg file that you provide - not to the actual Macports port (where it can be fixed manually). Thank you!
"gstreamer1-gst-libav" and "gstreamer1-gst-plugins-good" Macports package are installed while PKG compilation. See list of port processed here : https://projects.kde.org/projects/extragear/graphics/digikam/digikam-software-compilation/repository/revisions/master/entry/project/macosx/common/common.sh#L259 So, i don't know where is the problem exactly Gilles Caulier
OK thanks - how can I help debug this? Does anybody else have this problem? Unfortunately there is no debug output when starting /Applications/digiKam/digikam.app/Contents/MacOS/applet from the console.
It's possible that missing dylib objects are not populated in PKG file. After all, it's an automated script which do the job. Perhaps a dir of GStreamer shared object is not compiled into PKG file. As loading these GStreamer plugins is done at run time, this do not crash digiKam, but video playback don't start. The PKG installer copy all digiKam relevant file into /opt/digiKam. I suppose that GStreamer files are installed somewhere in /opt/digiKam/usr. A grep of gstream* can help to hack. Gilles Caulier
/opt/digikam$ find . -iname "gstre*"|grep -v share/locale does not return anything. So it seems only the *.mo files from gstreamer are copied, nothing else.
In my bundle dir used to make PKG, i can see this : bash-3.2$ ls -al total 38656 drwxr-xr-x 92 root wheel 3128 16 jui 05:20 . drwxr-xr-x 1746 root wheel 59364 18 jui 16:15 .. -rwxr-xr-x 1 root wheel 32528 16 jui 05:20 libgstaasink.so -rwxr-xr-x 1 root wheel 75288 16 jui 05:10 libgstadder.so -rwxr-xr-x 1 root wheel 33412 16 jui 05:20 libgstalaw.so -rwxr-xr-x 1 root wheel 60680 16 jui 05:20 libgstalpha.so -rwxr-xr-x 1 root wheel 27724 16 jui 05:20 libgstalphacolor.so -rwxr-xr-x 1 root wheel 30004 16 jui 05:20 libgstapetag.so -rwxr-xr-x 1 root wheel 17528 16 jui 05:10 libgstapp.so -rwxr-xr-x 1 root wheel 134352 16 jui 05:10 libgstaudioconvert.so -rwxr-xr-x 1 root wheel 179316 16 jui 05:20 libgstaudiofx.so -rwxr-xr-x 1 root wheel 152264 16 jui 05:20 libgstaudioparsers.so -rwxr-xr-x 1 root wheel 32016 16 jui 05:10 libgstaudiorate.so -rwxr-xr-x 1 root wheel 94380 16 jui 05:10 libgstaudioresample.so -rwxr-xr-x 1 root wheel 56984 16 jui 05:10 libgstaudiotestsrc.so -rwxr-xr-x 1 root wheel 33036 16 jui 05:20 libgstauparse.so -rwxr-xr-x 1 root wheel 40268 16 jui 05:20 libgstautodetect.so -rwxr-xr-x 1 root wheel 198360 16 jui 05:20 libgstavi.so -rwxr-xr-x 1 root wheel 27052 16 jui 05:20 libgstcacasink.so -rwxr-xr-x 1 root wheel 25184 16 jui 05:20 libgstcairo.so -rwxr-xr-x 1 root wheel 364940 16 jui 04:48 libgstcoreelements.so -rwxr-xr-x 1 root wheel 27448 16 jui 05:20 libgstcutter.so -rwxr-xr-x 1 root wheel 83428 16 jui 05:20 libgstdebug.so -rwxr-xr-x 1 root wheel 294020 16 jui 05:20 libgstdeinterlace.so -rwxr-xr-x 1 root wheel 59528 16 jui 05:20 libgstdtmf.so -rwxr-xr-x 1 root wheel 66652 16 jui 05:20 libgstdv.so -rwxr-xr-x 1 root wheel 82664 16 jui 05:20 libgsteffectv.so -rwxr-xr-x 1 root wheel 81816 16 jui 05:10 libgstencodebin.so -rwxr-xr-x 1 root wheel 47008 16 jui 05:20 libgstequalizer.so -rwxr-xr-x 1 root wheel 83148 16 jui 05:20 libgstflac.so -rwxr-xr-x 1 root wheel 124120 16 jui 05:20 libgstflv.so -rwxr-xr-x 1 root wheel 28840 16 jui 05:20 libgstflxdec.so -rwxr-xr-x 1 root wheel 57276 16 jui 05:20 libgstgdkpixbuf.so -rwxr-xr-x 1 root wheel 67528 16 jui 05:10 libgstgio.so -rwxr-xr-x 1 root wheel 118892 16 jui 05:20 libgstgoom.so -rwxr-xr-x 1 root wheel 45268 16 jui 05:20 libgstgoom2k1.so -rwxr-xr-x 1 root wheel 34044 16 jui 05:20 libgsticydemux.so -rwxr-xr-x 1 root wheel 25992 16 jui 05:20 libgstid3demux.so -rwxr-xr-x 1 root wheel 35588 16 jui 05:20 libgstimagefreeze.so -rwxr-xr-x 1 root wheel 61588 16 jui 05:20 libgstinterleave.so -rwxr-xr-x 1 root wheel 405428 16 jui 05:20 libgstisomp4.so -rwxr-xr-x 1 root wheel 71556 16 jui 05:20 libgstjack.so -rwxr-xr-x 1 root wheel 58192 16 jui 05:20 libgstjpeg.so -rwxr-xr-x 1 root wheel 32400 16 jui 05:20 libgstlevel.so -rwxr-xr-x 1 root wheel 9213772 16 jui 05:12 libgstlibav.so -rwxr-xr-x 1 root wheel 307616 16 jui 05:20 libgstmatroska.so -rwxr-xr-x 1 root wheel 28328 16 jui 05:20 libgstmulaw.so -rwxr-xr-x 1 root wheel 64152 16 jui 05:20 libgstmultifile.so -rwxr-xr-x 1 root wheel 43780 16 jui 05:20 libgstmultipart.so -rwxr-xr-x 1 root wheel 20892 16 jui 05:20 libgstnavigationtest.so -rwxr-xr-x 1 root wheel 246128 16 jui 05:10 libgstogg.so -rwxr-xr-x 1 root wheel 61328 16 jui 05:20 libgstoss4audio.so -rwxr-xr-x 1 root wheel 79012 16 jui 05:20 libgstosxaudio.so -rwxr-xr-x 1 root wheel 81984 16 jui 05:20 libgstosxvideosink.so -rwxr-xr-x 1 root wheel 97820 16 jui 05:10 libgstpango.so -rwxr-xr-x 1 root wheel 384092 16 jui 05:10 libgstplayback.so -rwxr-xr-x 1 root wheel 43376 16 jui 05:20 libgstpng.so -rwxr-xr-x 1 root wheel 133784 16 jui 05:20 libgstpulse.so -rwxr-xr-x 1 root wheel 56712 16 jui 05:20 libgstreplaygain.so -rwxr-xr-x 1 root wheel 549868 16 jui 05:20 libgstrtp.so -rwxr-xr-x 1 root wheel 337988 16 jui 05:20 libgstrtpmanager.so -rwxr-xr-x 1 root wheel 170540 16 jui 05:20 libgstrtsp.so -rwxr-xr-x 1 root wheel 39404 16 jui 05:20 libgstshapewipe.so -rwxr-xr-x 1 root wheel 43708 16 jui 05:20 libgstshout2.so -rwxr-xr-x 1 root wheel 77812 16 jui 05:20 libgstsmpte.so -rwxr-xr-x 1 root wheel 81036 16 jui 05:20 libgstsouphttpsrc.so -rwxr-xr-x 1 root wheel 38008 16 jui 05:20 libgstspectrum.so -rwxr-xr-x 1 root wheel 54776 16 jui 05:20 libgstspeex.so -rwxr-xr-x 1 root wheel 83948 16 jui 05:10 libgstsubparse.so -rwxr-xr-x 1 root wheel 61216 16 jui 05:20 libgsttaglib.so -rwxr-xr-x 1 root wheel 124980 16 jui 05:10 libgsttcp.so -rwxr-xr-x 1 root wheel 78020 16 jui 05:10 libgsttheora.so -rwxr-xr-x 1 root wheel 111908 16 jui 05:10 libgsttypefindfunctions.so -rwxr-xr-x 1 root wheel 82400 16 jui 05:20 libgstudp.so -rwxr-xr-x 1 root wheel 79920 16 jui 05:20 libgstvideobox.so -rwxr-xr-x 1 root wheel 109344 16 jui 05:10 libgstvideoconvert.so -rwxr-xr-x 1 root wheel 41796 16 jui 05:20 libgstvideocrop.so -rwxr-xr-x 1 root wheel 63964 16 jui 05:20 libgstvideofilter.so -rwxr-xr-x 1 root wheel 195032 16 jui 05:20 libgstvideomixer.so -rwxr-xr-x 1 root wheel 39484 16 jui 05:10 libgstvideorate.so -rwxr-xr-x 1 root wheel 136520 16 jui 05:10 libgstvideoscale.so -rwxr-xr-x 1 root wheel 63360 16 jui 05:10 libgstvideotestsrc.so -rwxr-xr-x 1 root wheel 54392 16 jui 05:10 libgstvolume.so -rwxr-xr-x 1 root wheel 70036 16 jui 05:10 libgstvorbis.so -rwxr-xr-x 1 root wheel 1923748 16 jui 05:20 libgstvpx.so -rwxr-xr-x 1 root wheel 39184 16 jui 05:20 libgstwavenc.so -rwxr-xr-x 1 root wheel 56384 16 jui 05:20 libgstwavpack.so -rwxr-xr-x 1 root wheel 72044 16 jui 05:20 libgstwavparse.so -rwxr-xr-x 1 root wheel 76940 16 jui 05:10 libgstximagesink.so -rwxr-xr-x 1 root wheel 60468 16 jui 05:20 libgstximagesrc.so -rwxr-xr-x 1 root wheel 96824 16 jui 05:10 libgstxvimagesink.so -rwxr-xr-x 1 root wheel 22244 16 jui 05:20 libgsty4menc.so bash-3.2$ pwd /opt/digikam/lib/gstreamer-1.0 Did you see the same ?
There are also : bash-3.2$ ls -alR total 0 drwxr-xr-x 3 root wheel 102 16 jui 05:10 . drwxr-xr-x 127 root wheel 4318 18 jui 16:15 .. drwxr-xr-x 3 root wheel 102 16 jui 05:10 1.0 ./1.0: total 88 drwxr-xr-x 3 root wheel 102 16 jui 05:10 . drwxr-xr-x 3 root wheel 102 16 jui 05:10 .. -rw-r--r-- 1 root wheel 44604 16 jui 05:10 license-translations.dict bash-3.2$ pwd /opt/digikam/share/gst-plugins-base And : bash-3.2$ ls -alR total 0 drwxr-xr-x 3 root wheel 102 16 jui 05:20 . drwxr-xr-x 127 root wheel 4318 18 jui 16:15 .. drwxr-xr-x 5 root wheel 170 16 jui 05:20 presets ./presets: total 24 drwxr-xr-x 5 root wheel 170 16 jui 05:20 . drwxr-xr-x 3 root wheel 102 16 jui 05:20 .. -rw-r--r-- 1 root wheel 1457 16 jui 05:20 GstIirEqualizer10Bands.prs -rw-r--r-- 1 root wheel 143 16 jui 05:20 GstIirEqualizer3Bands.prs -rw-r--r-- 1 root wheel 106 16 jui 05:20 GstVP8Enc.prs bash-3.2$ pwd /opt/digikam/share/gstreamer-1.0
Git commit 1e28bba1fbbfbe4bc8566eafb0d0763edaeb4dd0 by Gilles Caulier. Committed on 12/07/2015 at 18:22. Pushed by cgilles into branch 'master'. include GStreamer files to PKG M +2 -0 project/macosx/bundle/03-build-package.sh http://commits.kde.org/scratch/mwiesweg/digikam-sc/1e28bba1fbbfbe4bc8566eafb0d0763edaeb4dd0
Neither lib/gstreamer-1.0 nor share/gstreamer-1.0 exist here.
Jens, I currently prepare a new 4.12.0 PKG installer based on current implementation from git/master. This one must includes last changes done since 4.11.0. The PKG will not includes translations. It's not an official one. Compilation is long. I must complete it today. I will upload it on my GDrive account. You will be able to check if all work fine for you. Gilles Caulier
Jens, digiKam 4.12.0 PKG installer build with git/master implementation can be downloaded with at this url : https://drive.google.com/file/d/0B7yq-xFihT0_MjV0Vno0TjZxcGs/view?usp=sharing Let's me hear if problem is reproducible. Gilles Caulier
Note : this PKG have been built for OSX Yosemite Gilles Caulier
Thank you! However, I get "LSOpenURLsWithRole() failed with error -10810 for the file /opt/digikam/Applications/KDE4/digikam.app." upon opening. Also tried removing /opt/digikam and reinstalling, no change.
ok, i can reproduce : Application Specific Information: dyld: launch, loading dependent libraries DYLD_IMAGE_SUFFIX=_debug Dyld Error Message: Library not loaded: lib/libopencv_contrib.2.4.dylib Referenced from: /opt/digikam/*/digikam.app/Contents/MacOS/digikam Reason: image not found Binary Images: 0x7fff6c6e7000 - 0x7fff6c71d837 dyld (353.2.1) <72A99D0F-0B56-3938-ABC5-67A0F33757C4> /usr/lib/dyld It's an OpenCV library problem. OpenCV is a BIG puzzle. I need to tune it an rebuild PKG... Gilles
oh my god ... but thank you so much!
Jens, New 4.12.0 PKG build done and tested. This time OpenCV error is removed and application is launched properly : https://www.flickr.com/photos/digikam/19695110521/in/dateposted-public/ PKG file is under uploading to GDrive at the same url. It will be complete in one hour. Please be patient, internet connection is very slow here... Gilles Caulier
Digikam starts but movie playback still does not work. Player controls are disabled and no image or video is shown ... :(
ok, So, it miss another run-time dependency. I take a look... Gilles
Any news? I cannot get the current .dmg package of Digikam 4.12 to play video files ... Anything I can do to help? Thanks!
I tried 4.13.0 but still I cannot play videos in Digikam and face recognition does not work. (seems not to do anything) Everything else seems to work. But I also cannot compile my own version of 4.13.0 since just modifying the Macports 4.9.0 portfile (version and SHA) does not work, the compile fails. Can you share your build scripts / process so I can have a look? Thank you!
all is in tarll typically and shared in git. Look here : https://projects.kde.org/projects/extragear/graphics/digikam/digikam-software-compilation/repository/revisions/master/show/project/macosx Gilles Caulier
digiKam 5.0.0-beta7 Installer for MacOSX is now available for testing... https://drive.google.com/open?id=0B7yq-xFihT0_ZjlIazRPb1lRTEE Gilles Caulier
Jens, I would like your feedback now about the famous video thumbnails and preview in digiKam. We don't use anymore the KDE mediaplayer + GStreamer backend. A pure Qt5 solution based on Qt5Multimedia extract video thumbs and render preview. There is no limitation given by Qt about OSX support : http://doc.qt.io/qt-5/qtmultimedia-index.html For ex, under Windows thumbs cannot be yet extracted and extra video codec needs to be installed to render preview. So, please test on your OSX. Thanks in advance Gilles Caulier
I tested here using samples from http://www.sample-videos.com/ Mp4 and 3GP preview work fine. Other format, no. I'm sure that it's a missing codec problem installed on the system and used by Qt5Multimedia (same problem than under Windows). The preview doesn't work at all (idem than Windows probably). Gilles Caulier
I confirm from video preview : the problem is the same than under Windows : digikam.general: mimetype = "" ext = "MP4" digikam.general: Cannot create thumbnail for "/Users/gilles/Pictures/Photos/VIDEO/SampleVideo_720x480_2mb.mp4" digikam.general: Thumbnail is null for "/Users/gilles/Pictures/Photos/VIDEO/SampleVideo_720x480_2mb.mp4" digikam.general: Request to get thumbnail for "/Users/gilles/Pictures/Photos/VIDEO/SampleVideo_320x240_2mb.3gp" digikam.general: Video monitoring is not available. digikam.general: Failed to extract video thumbnail for "/Users/gilles/Pictures/Photos/VIDEO/SampleVideo_320x240_2mb.3gp" digikam.general: Request to get thumbnail for "/Users/gilles/Pictures/Photos/VIDEO/SampleVideo_720x480_2mb.mp4" digikam.general: Video monitoring is not available. digikam.general: Failed to extract video thumbnail for "/Users/gilles/Pictures/Photos/VIDEO/SampleVideo_720x480_2mb.mp4" digikam.general: Request to get thumbnail for "/Users/gilles/Pictures/Photos/VIDEO/SampleVideo_720x480_2mb.mkv" digikam.general: Video monitoring is not available. digikam.general: Failed to extract video thumbnail for "/Users/gilles/Pictures/Photos/VIDEO/SampleVideo_720x480_2mb.mkv" The video Monitor feature error message come from QT5::Multimedia. This feature is not yet implemented in Qt under OSX. Gilles Caulier
To be able to play more video types, you need to install a video codec pack as under Windows. Typically this one : http://www.techisky.com/tips/k-lite-codec-pack-for-mac.html Gilles Caulier
Caulier, sorry to reply so late. The link above redirects to Perian, which is a software that extended Quicktime 7 to work with other codecs. But Quicktime 7 has long ago been retired and QuickTime X (used in macOS >= 10.8 I think) is no longer extensible like that. So the link doesn't really help, sorry. If Digikam5 relies on Qt5-Multimedia and Qt5/Mac relies on Quicktime, Digikam might never be able to show or play other codecs like AVI files ... I just tested it anyway: Viewing mp4 and MJPEG-AVI files (from a digital camera) works fine on my OS X 10.11.5 machine (no thumbnails are created though, just as the README said). Great work, thank you! For the thumbnails I get this error on the console: digikam.metaengine: Cannot load metadata from file (Error # 11 : /Users/Jens/Pictures/20141106_172159.mp4: The file contains data of an unknown image type digikam.general: Trying to load Embedded preview with libraw digikam.rawengine: Failed to load embedded RAW preview digikam.general: Trying to load half preview with libraw digikam.general: Trying to load Embedded preview with Exiv2 digikam.metaengine: Cannot load metadata using Exiv2 (Error # 11 : /Users/Jens/Pictures/20141106_172159.mp4: The file contains data of an unknown image type digikam.dimg: "/Users/Jens/Pictures/20141106_172159.mp4" : QIMAGE file identified digikam.dimg.qimage: Can not load " "/Users/Jens/Pictures/20141106_172159.mp4" " using DImg::QImageLoader! digikam.general: mimetype = "" ext = "MP4" digikam.general: Cannot create thumbnail for "/Users/Jens/Pictures/20141106_172159.mp4" digikam.general: Thumbnail is null for "/Users/Jens/Pictures/20141106_172159.mp4" digikam.general: Request to get thumbnail for "/Users/Jens/Pictures/20141106_172159.mp4" digikam.general: Video monitoring is not available. digikam.general: Failed to extract video thumbnail for "/Users/Jens/Pictures/20141106_172159.mp4" Also, the above digikam package crashed on quit on my machine. I'll try again and open another bug report for the crash if it is repeatable.
digiKam 5.4.0 bundles will use QtAV framework instead Qt5Multimedia to thumb and play video. The Slideshow tool will also support video as well. QtAV use ffmpeg codecs. It's multi-platform and will always available in OSX, Windows and Linux bundles that digiKam team provide. For Linux packagers, you will need to turn on video support at compilation time and solve QtAV dependencies... See screenshots here : https://www.flickr.com/photos/digikam/30886133553 https://www.flickr.com/photos/digikam/31679362466 https://www.flickr.com/photos/digikam/31572654722 https://www.flickr.com/photos/digikam/31726086736 Bundles have been recompiled are posted to GDrive for testing : https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM
This is great news, thank you! Unfortunately the MacOS package does not start. There seem to be unresolved symbols. The Linux x86-64 appimage works fine though. Unfortunately I cannot post the whole backtrace here because bugs.kde.org thinks it is spam. Dyld Error Message: Symbol not found: _clock_gettime Referenced from: /opt/digikam/*/libgnutls.30.dylib Expected in: /usr/lib/libSystem.B.dylib
Thanks for the feedback. It's strange. It start it without any error. Which OSX version do you use ? Gilles Caulier
10.11.6 on Macbook Pro (Early 2013) 15" Retina
Here Macbook pro 2016 with OSX 10.12.2. And it work fine here. I currently recompile all the bundle under Yosemite with a backward compatibility with OSX 10.8. I will upload the new bundle this evening. Be patient, it take 4 hours to build... Gilles Caulier
The new MacOS PKG is uploaded to GDrive repository. Please try again : https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM Gilles Caulier
Works fine! Thank you! Plus, movies and movie thumbnails also work now under macOS. (tested with .mp4 H264 and .AVI MJPEG files) Great work!
... however, I do not have any sound (appimage, Linux Ubuntu 16.04, 5.4.0 @22b397e1b). Any ideas? Sound is fine on Mac OS X.