[digikam] [Bug 329854] New: digikam, does not rotate video

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

[digikam] [Bug 329854] New: digikam, does not rotate video

Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

            Bug ID: 329854
           Summary: digikam, does not rotate video
    Classification: Unclassified
           Product: digikam
           Version: 3.5.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [hidden email]
          Reporter: [hidden email]

with my smartphone in vertical position
i take a movie (mp4)
then
the movie is in portrait format
then i import it to digikam
then
in digikam :
- the thumbnail is in landscape format
- preview is in landscape
- view with kaffeine and vlc is in landscape format

then
i export the movie to picasaweb

surprisingly in picasaweb it is correctly in portrait format

see the captures


Reproducible: Always

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digikam, does not rotate video

Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

--- Comment #1 from Philippe ROUBACH <[hidden email]> ---
Created attachment 84573
  --> https://bugs.kde.org/attachment.cgi?id=84573&action=edit
digikam  movie landscape

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digikam, does not rotate video

Philippe ROUBACH
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

--- Comment #2 from Philippe ROUBACH <[hidden email]> ---
Created attachment 84574
  --> https://bugs.kde.org/attachment.cgi?id=84574&action=edit
picasa movie portrait

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digikam, does not rotate video

Philippe ROUBACH
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

--- Comment #3 from Philippe ROUBACH <[hidden email]> ---
Created attachment 84575
  --> https://bugs.kde.org/attachment.cgi?id=84575&action=edit
picasa view movie portrait

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digikam, does not rotate video

Gilles Caulier-4
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #4 from Gilles Caulier <[hidden email]> ---
PicasaWab must certainly check Exif info from MP4 file to know orientation.

With new release of Exiv2 released at last Christmas, video metadata support
have been add. digiKam is already able to handle this feature if reight exiv2
version is available...

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digikam, does not rotate video

Gilles Caulier-4
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Metadata

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digikam, does not rotate video

Philippe ROUBACH
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

Philippe ROUBACH <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Metadata                    |general

--- Comment #5 from Philippe ROUBACH <[hidden email]> ---
the link of the movie

https://picasaweb.google.com/lh/photo/IvI7syMK8s3tAUAWBoVld9MTjNZETYmyPJy0liipFm0?feat=directlink

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digikam, does not rotate video

Philippe ROUBACH
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

--- Comment #6 from Philippe ROUBACH <[hidden email]> ---
Created attachment 84577
  --> https://bugs.kde.org/attachment.cgi?id=84577&action=edit
2 libs are installed , see the version

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digikam, does not rotate video

Philippe ROUBACH
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

--- Comment #7 from Philippe ROUBACH <[hidden email]> ---
the first lib  : libexiv2-12 version 0.23-9.1.3  2013-09-14
the second lib : libexiv2-11 version 4.12.0-97.1  2013-12-14

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digikam, does not rotate video

Gilles Caulier-4
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

--- Comment #8 from Gilles Caulier <[hidden email]> ---
You need Exiv2 0.24 :

http://www.exiv2.org/whatsnew.html

libkexiv2+digiKam must be compiled against this version, else nothing will
changes about video metadata management in digiKam...

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digikam, does not rotate video

Gilles Caulier-4
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Metadata

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digiKam does not rotate video thumbnail

Gilles Caulier-4
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|digikam, does not rotate    |digiKam does not rotate
                   |video                       |video thumbnail

--- Comment #9 from Gilles Caulier <[hidden email]> ---
Philippe,

Some fresh news about this file, using last digiKam 4.2.0 and last Exiv2 0.24 ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digiKam doesn't rotate video thumbnail

Gilles Caulier-4
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|digiKam does not rotate     |digiKam doesn't rotate
                   |video thumbnail             |video thumbnail

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digiKam doesn't rotate video thumbnail

Philippe ROUBACH
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

Philippe ROUBACH <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.5.0                       |4.2.0

--- Comment #10 from Philippe ROUBACH <[hidden email]> ---
opensuse does not want to update to exiv2 0.24 for opensuse 13.1

we must wit opensuse 13.2 to ha

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digiKam doesn't rotate video thumbnail

Gilles Caulier-4
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

--- Comment #11 from Gilles Caulier <[hidden email]> ---
The minimum condition to check if bug still reproducible with digiKam 4.x is to
use Exiv2 0.24 where video file metadatas are supported.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digiKam doesn't rotate video thumbnail

Vincent Tassy-2
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

--- Comment #12 from Vincent Tassy <[hidden email]> ---
Problem is still present in 4.5 with exiv2 0.24

I tried with an iPhone 4S MOV file and a Samsung Galaxy S3 MP4 file.
Rotation is not detected so thumbnail is in the wrong direction.
This is also true with the previews in dolphin ...

Running the exiv2 command line (exiv2 -p a) does return a whole bunch of
meta-data (xmp) but none regarding orientation.

Running exiftool (exiftool -g) does report a tag Rotation = 90 in the
"Composite" group ...

Therefore I'm assuming exiv2 is missing some of the meta-data contained in the
file ...

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digiKam doesn't rotate video thumbnail

Alan Pater
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

Alan Pater <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #13 from Alan Pater <[hidden email]> ---
I don't think exiv2 supports rotating videos, as not even exiftool does!

There may be a workaround, however. This same question came up on the exiftool
forum.

   
http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,6010.msg31174.html#msg31174

Note that most systems these days have avconv in place of ffmpeg, but the rest
should be the same ...

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digiKam doesn't rotate video thumbnail

bugzilla_noreply
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

--- Comment #14 from Unknown <[hidden email]> ---
Git commit 32ebb7dff83b03cfad91cbe89de252b1f62bdd6e by Gilles Caulier.
Committed on 11/12/2016 at 12:02.
Pushed by cgilles into branch 'master'.

digiKam embeded mediaplayer is now based on QtAV/ffmpeg instead Qt5Multimedia.

TODO:

- handle video rotation flag with new Exiv2 0.26 to autorotate media in player.
- port video thumbnailer to QtAV.
- port Presentation audio player to QtAV.
- remove Qt5Multimedia dependency.

For later:

- play video into slideshow tool.
- port old videoslideshow tool to QtAv
Related: bug 373272, bug 372485, bug 271751, bug 361829, bug 159824

M  +12   -6    CMakeLists.txt
M  +3    -2    app/CMakeLists.txt
M  +40   -38   app/views/mediaplayerview.cpp
M  +11   -8    app/views/mediaplayerview.h

https://commits.kde.org/digikam/32ebb7dff83b03cfad91cbe89de252b1f62bdd6e

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digiKam doesn't rotate video thumbnail

bugzilla_noreply
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

--- Comment #15 from Unknown <[hidden email]> ---
Git commit ec50a8ad510e9fe6ded53f0632afd4ffbdf8ba47 by Gilles Caulier.
Committed on 11/12/2016 at 16:37.
Pushed by cgilles into branch 'master'.

digiKam port to QtAV/ffmpeg instead Qt5Multimedia : port Presentation audio
player to QtAV.

TODO:

- handle video rotation flag with new Exiv2 0.26 to autorotate media in player.
- port video thumbnailer to QtAV.
- remove Qt5Multimedia dependency.

For later:

- play video into slideshow tool.
- port old videoslideshow tool to QtAv.
Related: bug 372485, bug 271751, bug 361829, bug 159824

M  +4    -5    app/CMakeLists.txt
M  +1    -1    app/views/mediaplayerview.cpp
M  +2    -2    app/views/mediaplayerview.h
M  +1    -5    utilities/presentation/CMakeLists.txt
M  +34   -24   utilities/presentation/audio/presentationaudiolist.cpp
M  +8    -5    utilities/presentation/audio/presentationaudiolist.h
M  +45   -27   utilities/presentation/audio/presentationaudiowidget.cpp
M  +9    -5    utilities/presentation/audio/presentationaudiowidget.h

https://commits.kde.org/digikam/ec50a8ad510e9fe6ded53f0632afd4ffbdf8ba47

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 329854] digiKam doesn't rotate video thumbnail

bugzilla_noreply
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=329854

--- Comment #16 from Unknown <[hidden email]> ---
Git commit 193ecfd91745aab81c15ccf1a3889dc033ee7917 by Gilles Caulier.
Committed on 11/12/2016 at 21:09.
Pushed by cgilles into branch 'master'.

digiKam port to QtAV/ffmpeg instead Qt5Multimedia : add video support into
Slideshow.

TODO:

- handle video rotation flag with new Exiv2 0.26 to autorotate media in player.
- port video thumbnailer to QtAV.
- remove Qt5Multimedia dependency.

For later:

- port old videoslideshow tool to QtAv.
Related: bug 159824, bug 372485, bug 271751, bug 361829
FIXED-IN: 5.4.0

M  +8    -6    NEWS
M  +3    -3    app/views/mediaplayerview.cpp
M  +1    -1    app/views/mediaplayerview.h
M  +1    -0    utilities/slideshow/CMakeLists.txt
M  +68   -5    utilities/slideshow/slideshow.cpp
M  +3    -0    utilities/slideshow/slideshow.h
A  +227  -0    utilities/slideshow/slidevideo.cpp     [License: GPL (v2+)]
C  +16   -51   utilities/slideshow/slidevideo.h [from:
app/views/mediaplayerview.h - 050% similarity]

https://commits.kde.org/digikam/193ecfd91745aab81c15ccf1a3889dc033ee7917

--
You are receiving this mail because:
You are the assignee for the bug.
12