[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 --- Comment #24 from Philippe ROUBACH --- Operating System: openSUSE Tumbleweed 20221014 KDE Plasma Version: 5.26.0 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.6 KDE gears 22.08.1 problem still there -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 --- Comment #23 from Philippe ROUBACH --- kde gears 22.08.0 plasma 5.25.4 frameworks 5.97.0 qt 5.15.5 Problem still there. -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 --- Comment #22 from Méven Car --- Git commit 0b17ce95d4e4a38c9135ea970129370ddb355cea by Méven Car, on behalf of Martin T. H. Sandsmark. Committed on 31/07/2022 at 17:47. Pushed by meven into branch 'master'. Implement image transforms Should really just throw out 90% of the old "upstream" code and decode straight to a QImage. Would improve the performance and significantly slim down the codebase. Code stolen from myself: https://invent.kde.org/sandsmark/qt-ffmpeg-imageplugin/-/blob/master/ffmpegimageplugin.cpp#L468-493 M +5-1ffmpegthumbnailer/imagewriter.cpp M +2-1ffmpegthumbnailer/imagewriter.h M +40 -1ffmpegthumbnailer/moviedecoder.cpp M +3-0ffmpegthumbnailer/moviedecoder.h M +1-1ffmpegthumbnailer/videothumbnailer.cpp https://invent.kde.org/multimedia/ffmpegthumbs/commit/0b17ce95d4e4a38c9135ea970129370ddb355cea -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 --- Comment #21 from Philippe ROUBACH --- kde gear 22.04.2 plasma 5.25.2 frameworks 5.95.0 qt 5.15.5 Problem still there. -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 --- Comment #20 from Méven Car --- (In reply to Méven Car from comment #19) > I get those warnings when playing the video in dolphin: > ``` > (dolphin:252856): GStreamer-Video-CRITICAL **: 06:34:43.987: > gst_video_center_rect: assertion 'src->h != 0' failed > ``` > > When Phonon-gstreamer backend. > > https://invent.kde.org/multimedia/ffmpegthumbs/-/merge_requests/18 takes > care of the thumbnails. This warning is independent from this particular patch, it is an issue in phonon-gstreamer (the thumbnailer does not use gstreamer) -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 Méven Car changed: What|Removed |Added CC||meve...@gmail.com --- Comment #19 from Méven Car --- I get those warnings when playing the video in dolphin: ``` (dolphin:252856): GStreamer-Video-CRITICAL **: 06:34:43.987: gst_video_center_rect: assertion 'src->h != 0' failed ``` When Phonon-gstreamer backend. https://invent.kde.org/multimedia/ffmpegthumbs/-/merge_requests/18 takes care of the thumbnails. -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 Martin Sandsmark changed: What|Removed |Added CC||martin.sandsm...@kde.org --- Comment #18 from Martin Sandsmark --- https://invent.kde.org/multimedia/ffmpegthumbs/-/merge_requests/18 -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 --- Comment #17 from Méven Car --- Actually: https://invent.kde.org/multimedia/ffmpegthumbs/-/blob/master/ffmpegthumbnailer/videothumbnailer.cpp -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 Méven Car changed: What|Removed |Added CC||meven@kdemail.net --- Comment #16 from Méven Car --- adapting https://github.com/dirkvdb/ffmpegthumbnailer/commit/f17e06f79422d971db848c0cca8caf7b42b55790 to https://github.com/dirkvdb/ffmpegthumbnailer/blob/master/libffmpegthumbnailer/videothumbnailer.cpp seems the way to fix this. -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 --- Comment #15 from Philippe ROUBACH --- kde gear 22.04.0 plasma 5.24.4 frameworks 5.93.0 qt 5.15.2 Problem still there. -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 Harald Sitter changed: What|Removed |Added Assignee|kde-multime...@kde.org |unassigned-b...@kde.org -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 --- Comment #14 from Philippe ROUBACH --- kde gear 21.08.1 plasma 5.22.5 frameworks 5.86.0 qt 5.15.2 Problem still there. I don't understand a long time ago now digikam team resolved the problem. -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 --- Comment #13 from Lapineige --- I forgot: I'm using Kubuntu, Plasma 5.19 -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 Lapineige changed: What|Removed |Added CC||lp@lavache.com --- Comment #12 from Lapineige --- I can confirm it's still there. > In case there is no rotation data perhaps it is useful to use vertical and > horizontal dimensions to decide portrait or landscape for the preview. I would like to second this, but I wonder if there could be some edge cases where this can't work. Most videos won't have a square format, but there will still be some video that are encoded in a landscape mode while displaying portrait content (and reverse ?). Maybe that's not an issue as it is rare and that would already be an improvement ? -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 --- Comment #11 from Philippe ROUBACH --- kde 21.04.1 problem still there. In case there is no rotation data perhaps it is useful to use vertical and horizontal dimensions to decide portrait or landscape for the preview. -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 --- Comment #10 from Philippe ROUBACH --- In digikam 6.0.0+ preview thumbnail of a portrait video is a portrait preview In the digikam 6.0.0 realease announcement it is said "In release 5.5.0 we started to use the QtAV framework to play video media in digiKam. We chose QtAV because this framework directly uses ffmpeg codecs which de facto supports all formats very well". I recommend reading "Video Files Management as Photo" here https://www.digikam.org/news/2019-02-10-6.0.0_release_announcement/ if it can help. -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 --- Comment #9 from Philippe ROUBACH --- with digikam 6.0.0+ no problem. -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 Philippe ROUBACH changed: What|Removed |Added Version|18.12 |19.08.0 --- Comment #8 from Philippe ROUBACH --- problem still there with opensuse Argon 15.1 kde apps 19.08.0 kde plasma 5.16.4 kde frameworksc 5.61.0 qt 5.13.0 -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 --- Comment #7 from Rog131 --- Meanwhile - alternatives: Scripting KDE video preview thumbnails with the ffmpegthumbnailer: https://forum.kde.org/viewtopic.php?f=224=153847#p409077 . Preview clip: https://www.youtube.com/watch?v=L694nghnPo8 The ffmpegthumbnailer ( https://github.com/dirkvdb/ffmpegthumbnailer ) has the kffmpegthumbnailer ( https://github.com/dirkvdb/ffmpegthumbnailer/tree/master/kffmpegthumbnailer ). It is for the KDE4/Qt4 but it is easy to port ot the KF5/Qt5. Preview image of the alternatives & ffmpegthumbs: https://imgur.com/VqVJFBi -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 Nate Graham changed: What|Removed |Added Status|REPORTED|CONFIRMED Ever confirmed|0 |1 --- Comment #6 from Nate Graham --- Thanks Rog131! That's very helpful. I'll see if I can put together a patch. -- You are receiving this mail because: You are watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 --- Comment #5 from Rog131 --- 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 watching all bug changes.
[kdemultimedia] [Bug 404898] Portrait video gets a preview that's in landscape orientation
https://bugs.kde.org/show_bug.cgi?id=404898 Rog131 changed: What|Removed |Added Version|18.12.2 |18.12 Component|Thumbnails and previews |ffmpegthumbs Assignee|plasma-b...@kde.org |kde-multime...@kde.org Product|kio-extras |kdemultimedia -- You are receiving this mail because: You are watching all bug changes.