[digikam] [Bug 361829] New: rotated mp4 videos ("Orientation" flag) are not played back in the correct rotation angle

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

[digikam] [Bug 361829] New: rotated mp4 videos ("Orientation" flag) are not played back in the correct rotation angle

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361829

            Bug ID: 361829
           Summary: rotated mp4 videos ("Orientation" flag) are not played
                    back in the correct rotation angle
           Product: digikam
           Version: 4.14.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Preview
          Assignee: [hidden email]
          Reporter: [hidden email]

I have a lot of videos shot on iPhones or iPads in portrait mode. These are MOV
(or MP4) files which have an "Orientation" metadata flag set. In iPhoto they
are displayed correctly rotated, but in Digikam 4.14 they are not. (I can't
test Digikam 5 because even on my Virtualbox Kubuntu 15.10, Digikam 5beta5
packages by philip5 flatly refuse to preview or show videos at all right now.)

I would wish for Digikam's player (phonon, gstreamer, ...) to correctly respect
the "Orientation" flag in MOV and MP4 files (I don't know about other video
formats) and to display the videos correctly.
If required, please reassign this bug to the correct project if Digikam itself
cannot do anything about this.

Thank you!

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 361829] rotated mp4 videos ("Orientation" flag) are not played back in the correct rotation angle

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361829

[hidden email] changed:

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

--- Comment #1 from [hidden email] ---
The new digiKam 5 will be based on Qt5Multimedia framework (not Phonon), which
use GStreamer backend.

1/ I don't yet checked if Qt5Multimedia handle orientation tag to rotate video
accordingly.
2/ digiKam delegate video preview to Qt5Multimedia. We pass the file url to the
framework and that all. So, we have nothing to do in digiKam to fix this
problem.

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 361829] rotated mp4 videos ("Orientation" flag) are not played back in the correct rotation angle

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

--- Comment #2 from Jens B. Benecke <[hidden email]> ---
Thank you! How can I check whether it already works in 5.0beta5, what packages
do I need to install for video playback and thumbs to work?

--
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 361829] rotated mp4 videos ("Orientation" flag) are not played back in the correct rotation angle

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

--- Comment #3 from [hidden email] ---
Typically Gstreamer backend whole packages under Linux:

http://wiki.qt.io/Qt_5.5.0_Multimedia_Backends

For the video thumbnails, Qt5Multimedia cannot do it for the moment. It still
delegate to KDE5 imageio plugins

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 361829] rotated mp4 videos ("Orientation" flag) are not played back in the correct rotation angle

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

--- Comment #4 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 159824, bug 329854

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 361829] rotated mp4 videos ("Orientation" flag) are not played back in the correct rotation angle

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

--- Comment #5 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 159824, bug 329854

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 361829] rotated mp4 videos ("Orientation" flag) are not played back in the correct rotation angle

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

--- Comment #6 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 329854
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.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 361829] Rotated MP4 video with "Orientation" flag are not played back in the correct rotation angle

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

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|rotated mp4 videos          |Rotated MP4 video with
                   |("Orientation" flag) are    |"Orientation" flag are not
                   |not played back in the      |played back in the correct
                   |correct rotation angle      |rotation angle

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

[digikam] [Bug 361829] Rotated MP4 video with "Orientation" flag are not played back in the correct rotation angle

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

--- Comment #7 from [hidden email] ---
I need to have a fresh feedback here using last digiKam bundle build with QtAV
to handle video files. See this GDrive repository to upload a 5.4.0 pre-version
:

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Thanks in advance

Gilles Caulier

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

[digikam] [Bug 361829] Rotated MP4 video with "Orientation" flag are not played back in the correct rotation angle

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

Maik Qualmann <[hidden email]> changed:

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

--- Comment #8 from Maik Qualmann <[hidden email]> ---
Git commit 7ce05cef9ce1260aa75cdfa909be57e7aaa49fc5 by Maik Qualmann.
Committed on 23/12/2016 at 21:14.
Pushed by mqualmann into branch 'master'.

add manual rotating the video output with the right mouse button

M  +39   -6    app/views/mediaplayerview.cpp
M  +1    -0    app/views/mediaplayerview.h

https://commits.kde.org/digikam/7ce05cef9ce1260aa75cdfa909be57e7aaa49fc5

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

[digikam] [Bug 361829] Rotated MP4 video with "Orientation" flag are not played back in the correct rotation angle

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

Bill Goodman <[hidden email]> changed:

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

--- Comment #9 from Bill Goodman <[hidden email]> ---
(In reply to caulier.gilles from comment #7)
> I need to have a fresh feedback here using last digiKam bundle build with
> QtAV to handle video files. See this GDrive repository to upload a 5.4.0
> pre-version :
>
> https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

I just noticed this same problem with rotated videos in 5.4.0 on both Win7 and
Win10. My video has an EXIF:Rotation=180.

The video displays properly with VLC on Windows but it displays upside down
with Windows Media Player.

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

[digikam] [Bug 361829] Rotated MP4 video with "Orientation" flag are not played back in the correct rotation angle

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

--- Comment #10 from Bill Goodman <[hidden email]> ---
I installed QtAV1.11.0-VS2013x86.exe on both Win7 and Win10 and see the same
rotation problem when playing my video on the QtAV.Player.

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

[digikam] [Bug 361829] Rotated MP4 video with "Orientation" flag are not played back in the correct rotation angle

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

--- Comment #11 from [hidden email] ---
Bill,

> I just noticed this same problem with rotated videos in 5.4.0 on both Win7 and > Win10. My video has an EXIF:Rotation=180.

Your video has Exif rotation flag set by your camera. Interesting... Please
share this file through a cloud web service.. I would to check if Exiv2 0.26 is
able to decode this information. If not, i will recommend to post an UPSTREAM
Exiv2 bug for the next 0.27 release.

It will be a good idea to report this to QtAV bugzilla. The player based on
ffmpeg, that DK use, must be able to auto-rotate the media automatically.

Gilles Caulier

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

[digikam] [Bug 361829] Rotated MP4 video with "Orientation" flag are not played back in the correct rotation angle

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

--- Comment #12 from Bill Goodman <[hidden email]> ---
(In reply to caulier.gilles from comment #11)
> Your video has Exif rotation flag set by your camera. Interesting... Please
> share this file through a cloud web service.. I would to check if Exiv2 0.26
> is able to decode this information. If not, i will recommend to post an
> UPSTREAM Exiv2 bug for the next 0.27 release.

The video is available here:
https://www.dropbox.com/s/5w8guqu9kjwjlx3/VID_20161224_201626.mp4?dl=0

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

[digikam] [Bug 361829] Rotated MP4 video with "Orientation" flag are not played back in the correct rotation angle

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

wildcowboy <[hidden email]> changed:

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

--- Comment #13 from wildcowboy <[hidden email]> ---
Confirmed on digiKam 5.4.0 on linux Mint 18.1 KDE

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

[digikam] [Bug 361829] Rotated MP4 video with "Orientation" flag are not played back in the correct rotation angle

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

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|4.14.0                      |5.4.0

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

[digikam] [Bug 361829] Rotated MP4 video with "Orientation" flag are not played back in the correct rotation angle

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

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Preview-Image               |Preview-Video

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

[digikam] [Bug 361829] Rotated MP4 video with "Orientation" flag are not played back in the correct rotation angle

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

Dietrich <[hidden email]> changed:

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

--- Comment #14 from Dietrich <[hidden email]> ---
Bug confirmed for digikam 5.6.0 on windows 7 / 64 bit.
The Rotation flag I set using Exiftool does not seem to be respected by
digikam.

Is this the same issue as https://bugs.kde.org/show_bug.cgi?id=375197 ?

Dietrich

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