[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation

Rog131 bugzilla_noreply at kde.org
Sun Mar 3 11:15:01 GMT 2019


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

--- Comment #5 from Rog131 <samrog131 at hotmail.com> ---
Maybe this helps to add the rotation metadata to ffmpegthumbs...

By Rotation Metadata in Video Files Created by Mobile Devices:
https://blog.addpipe.com/mp4-rotation-metadata-in-mobile-video-files/ :

"The rotation metadata is stored as an integer, it represents degrees, and has
4 possible values: 0, 90, 180 and 270."

The example clip: 20130913T153029.mp4 has 90 degree rotation. The meta/exif
data can be read with the ExifTool -
https://www.sno.phy.queensu.ca/~phil/exiftool/ :

"$ exiftool 20130913T153029.mp4 | grep Rotation
Rotation                        : 90
"

and MediaInfo - https://mediaarea.net/en/MediaInfo :

"$ mediainfo 20130913T153029.mp4 | grep Rotation
Rotation                                 : 90°"


The KDE ffmpegthumbs is based on the ffmpegthumbnailer:
https://github.com/dirkvdb/ffmpegthumbnailer

The FFmpegThumbnailer 2.1.2 changelog: "Take rotation metadata into account
when generating thumbnails"

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



More information about the kde-multimedia mailing list