Wrong aspect ratio for videos

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Wrong aspect ratio for videos

Andreas Mair-2
Hello,

I try to play video files in digiKam 3.5 but the height of 16:9
recordings will stretch to 4:3.
For video playback I use the gstreamer backend for phonon.
If I play the videos using mplayer aspect ratio is fine.

What can I do to fix that?

Best regards,
Andreas
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Wrong aspect ratio for videos

Gilles Caulier-4
Ratio is probably information taken from Exif or Xmp metadata with Exiv2.

Or Ratio is computed through width and height of frames also taken
through Exiv2.

So the first step to check is information given by Exiv2 CLI tool on
your video files. If info is wrong, report this problem to Exiv2
project.

Video metadata support is young feature in Exiv2.

Gilles Caulier



2014-05-10 8:49 GMT+02:00 Andreas Mair <[hidden email]>:

> Hello,
>
> I try to play video files in digiKam 3.5 but the height of 16:9
> recordings will stretch to 4:3.
> For video playback I use the gstreamer backend for phonon.
> If I play the videos using mplayer aspect ratio is fine.
>
> What can I do to fix that?
>
> Best regards,
> Andreas
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Wrong aspect ratio for videos

Andreas Mair-2
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.

Best regards,
Andreas


2014-05-10 9:46 GMT+02:00 Gilles Caulier <[hidden email]>:

> Ratio is probably information taken from Exif or Xmp metadata with Exiv2.
>
> Or Ratio is computed through width and height of frames also taken
> through Exiv2.
>
> So the first step to check is information given by Exiv2 CLI tool on
> your video files. If info is wrong, report this problem to Exiv2
> project.
>
> Video metadata support is young feature in Exiv2.
>
> Gilles Caulier
>
>
>
> 2014-05-10 8:49 GMT+02:00 Andreas Mair <[hidden email]>:
>> Hello,
>>
>> I try to play video files in digiKam 3.5 but the height of 16:9
>> recordings will stretch to 4:3.
>> For video playback I use the gstreamer backend for phonon.
>> If I play the videos using mplayer aspect ratio is fine.
>>
>> What can I do to fix that?
>>
>> Best regards,
>> Andreas
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Wrong aspect ratio for videos

Gilles Caulier-4
2014-05-10 11:10 GMT+02:00 Andreas Mair <[hidden email]>:
> 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
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Wrong aspect ratio for videos

Andreas Mair-2
Hi Gilles,

OK, thanks.

Best regards,
Andreas



2014-05-10 11:22 GMT+02:00 Gilles Caulier <[hidden email]>:

> 2014-05-10 11:10 GMT+02:00 Andreas Mair <[hidden email]>:
>> 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
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users