[Digikam-users] Wrong aspect ratio for videos / Maintenance usability

Andreas Mair amair.sob at gmail.com
Wed Jun 25 11:47:58 BST 2014


Hi Gilles,

I've now tried DragonPlayer and by default it doesn't detect the
correct aspect ratio, but one can change it to 16:9.
After that I changed the phonon backend from gstreamer to vlc and now
videos (16:9 aspect ratio) are displayed correctly in digiKam.

So the problem might be Phonon and/or Gstreamer related. I tried
playing the video directly by calling "gst-launch-0.10 playbin
uri=///video.mp4" and the video was displayed correctly.

But that's too much gstreamer for me (and this list) so this thread
can be closed...

Best regards,
Andreas



2014-06-23 14:13 GMT+02:00 Andreas Mair <amair.sob at gmail.com>:
> Hello Gilles,
>
> 2014-06-23 13:31 GMT+02:00 Gilles Caulier <caulier.gilles at gmail.com>:
>> 2014-06-23 12:28 GMT+02:00 Andreas Mair <amair.sob at gmail.com>:
>>> Hello Gilles,
>>>
>>> 2014-06-20 10:29 GMT+02:00 Gilles Caulier <caulier.gilles at gmail.com>:
>>>> 2014-06-20 9:58 GMT+02:00 Andreas Mair <amair.sob at gmail.com>:
>>>>> Nobody?
>>>>>
>>>>> 2014-06-16 7:50 GMT+02:00 Andreas Mair <amair.sob at gmail.com>:
>>>>>> Hello Gilles,
>>>>>>
>>>>>> meanwhile Gentoo put exiv2 0.24 into its portage tree and so I
>>>>>> installed it. This also required libkexiv2 to be rebuilt. digiKam now
>>>>>> displays that it's using exiv2 0.24. DigiKam is still v3.5.0.
>
>>>>>> So I tried a DB update. But I have problems using it:
>>>>>> 1) I wanted to reread metadata from a single directory recursive,
>>>>>> where all my videos are located. But how do I do that?
>>>>
>>>> From an album, select all item and go to Caption and Tags right
>>>> sidebar. On the bottom there is a drop down menu with option to
>>>> re-read metadata
>>>
>>> thanks for that hint. I didn't know that.
>>>
>>>>>> I selected the directory in the "Process items from" section of the
>>>>>> maintenance window.
>>>>>> But what do I have to set for tags?
>>>>
>>>> nothing. It's to process items from virtual albums.
>>>>
>>>>>> I tried with a single tag but then digiKam also updated pictures that
>>>>>> are not located in the directory I've set above. That's not what I
>>>>>> want.
>>>
>>> I don't think that it works as expected or at least not as I expect
>>> it. Or I simply don't get it right.
>>> a) If I set a folder (=album) *and* a tag then the maintenance tool
>>> uses every file it finds in that album. I expected that only files
>>> tagged with the given tag are processed.
>>> b) If I set "any albums" and a single tag I expect that all files that
>>> are tagged with that tag are processed. But they aren't.
>>> Also tried using DK4.0.
>>>
>>
>> I will take a look. Sound like a wrong binary operator beween P an T
>> albums selection...
>
> Thanks!
>
>>>>>> 2) Video metadata was not refreshed if the files had an XMP sidecar.
>>>>>>
>>>>
>>>> Perhaps it's already reported to bugzilla. not sure...
>>>>
>>>> Gilles Caulier
>>>>
>>>>>> 3) Video is still displayed using the wrong aspect ratio even if
>>>>>> digiKam now reports the correct aspect ratio of "16:9", width=1024 and
>>>>>> height=756.
>>>
>>> Any ideas what's wrong here?
>>
>> By displayed, you want mean preview using embeded video player ?
>>
>> If yes, preview is delegate to KDE phonon component which use backend
>> in background to play video content (as GStreamer for ex).
>>
>> Phonon is just a software component that we use in digiKam. There is
>> no phonon code in digiKam. We embeded widget, and pass video file url
>> when it's need (+ some control feedback). That all.
>
> Yes, I mean displaying using the embedded video player. I'll try an
> external phonon based video player, maybe DragonPlayer?
> I have no idea which one is suitable as I prefer using mplayer or vlc.
>
> Best regards,
> Andreas
>
>
>> Gilles Caulier
>>
>>>
>>> Best regards,
>>> Andreas
>>>
>>>
>>>>>> Any ideas?
>>>>>>
>>>>>> Best regards,
>>>>>> Andreas
>>>>>>
>>>>>>
>>>>>> 2014-05-10 11:22 GMT+02:00 Gilles Caulier <caulier.gilles at gmail.com>:
>>>>>>> 2014-05-10 11:10 GMT+02:00 Andreas Mair <amair.sob at gmail.com>:
>>>>>>>> Hello Gilles,
>>>>>>>>
>>>>>>>> thanks for your answer.
>>>>>>>> I'm quite surprised that it's because of exiv2, I never thought of
>>>>>>>> searching in that direction.
>>>>>>>>
>>>>>>>> Seems I have to wait until exiv2 v0.24 hits Gentoo's portage.
>>>>>>>
>>>>>>> Ah, you don't use yet Exiv2 0.24 ? this is why ratio look weird...
>>>>>>> only 0.24 support video files.
>>>>>>>
>>>>>>> Warning : as digikam register item width and height in database to
>>>>>>> compute ratio, you need to force DB to be updated with items metadata.
>>>>>>> There is a Maintenance tool for that. Else, ratio will not change in
>>>>>>> digiKam after a simple Exiv2 update...
>>>>>>>
>>>>>>> Gilles Caulier
>>>>>>> _______________________________________________
>>>>>>> Digikam-users mailing list
>>>>>>> Digikam-users at kde.org
>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>> _______________________________________________
>>>>> Digikam-users mailing list
>>>>> Digikam-users at kde.org
>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>> _______________________________________________
>>>> Digikam-users mailing list
>>>> Digikam-users at kde.org
>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>> _______________________________________________
>>> Digikam-users mailing list
>>> Digikam-users at kde.org
>>> https://mail.kde.org/mailman/listinfo/digikam-users
>> _______________________________________________
>> Digikam-users mailing list
>> Digikam-users at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-users



More information about the Digikam-users mailing list