[digiKam-users] MP4 video orientation dk6b3

Maik Qualmann metzpinguin at gmail.com
Sat Jan 5 17:03:58 GMT 2019


Right 6 is the correct Exif orientation value. This equals the value 90 that 
we pass to the QtAV API.

Maik

Am Samstag, 5. Januar 2019, 17:50:37 CET schrieb Andrey Goreev:
> I created a sidecar for the video and searched for "orientation":
> 
> video:Orientation="6"
> tiff:Orientation="6"
> 
> Is '6' a right tag? The video is rotated -90 deg so digikam needs to rotate
> it +90 deg in order to display it correct.
> 
> Best regards,
> Andrey
> 
> On Sat, Jan 5, 2019 at 9:39 AM Andrey Goreev <aegoreev at gmail.com> wrote:
> > Can you try this file?
> > 
> > https://drive.google.com/open?id=1acuWWGkJF2zQz-GsXiIaRJRIHc8J0UFW
> > 
> > It is shown landscape in my dk6b3 win64.
> > 
> > ----
> > 
> > Metadata:
> >     major_brand     : mp42
> >     minor_version   : 0
> >     compatible_brands: isommp42
> >     creation_time   : 2018-07-26T23:49:23.000000Z
> >     location        : +50.9202-113.9152/
> >     location-eng    : +50.9202-113.9152/
> >     com.android.version: 8.0.0
> >   
> >   Duration: 00:00:10.88, start: 0.000000, bitrate: 14741 kb/s
> >   
> >     Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv,
> > 
> > bt709), 1920x1080, 14491 kb/s, SAR 1:1 DAR 16:9, 29.99 fps, 30 tbr, 90k
> > tbn, 180k tbc (default)
> > 
> >     Metadata:
> >       rotate          : 90
> >       creation_time   : 2018-07-26T23:49:23.000000Z
> >       handler_name    : VideoHandle
> >     
> >     Side data:
> >       displaymatrix: rotation of -90.00 degrees
> >     
> >     Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
> > 
> > stereo, fltp, 256 kb/s (default)
> > 
> >     Metadata:
> >       creation_time   : 2018-07-26T23:49:23.000000Z
> >       handler_name    : SoundHandle
> > 
> > -----
> > Best regards,
> > 
> > 
> > On Sat, Jan 5, 2019 at 9:35 AM Maik Qualmann <metzpinguin at gmail.com>
> > 
> > wrote:
> >> No problem here. Keep in mind that a manually rotated video will now play
> >> correctly as the flag in the database. Just do a re-read of the metadata
> >> of
> >> the video files.
> >> 
> >> Maik
> >> 
> >> Am Samstag, 5. Januar 2019, 17:12:10 CET schrieb Andrey Goreev:
> >> > Hello,
> >> > 
> >> > Looks like the latest beta3 does not orient MP4 video files accordingly
> >> 
> >> to
> >> 
> >> > their rotation tag. All portrait orientation videos shown as landscape.
> >> > Can anyone reproduce?
> >> > 
> >> > Best regards,
> >> > Andrey







More information about the Digikam-users mailing list