On Tue, Nov 15, 2016 at 3:41 AM, Martin Storsjö <[email protected]> wrote: > On Tue, 1 Nov 2016, Vittorio Giovara wrote: > >> Module: libav >> Branch: master >> Commit: ecd2ec69ce10e13f6ede353d2def7ce9f45c1a7d >> >> Author: Vittorio Giovara <[email protected]> >> Committer: Vittorio Giovara <[email protected]> >> Date: Mon Oct 24 17:46:47 2016 -0400 >> >> mov: Evaluate the movie display matrix >> >> This matrix needs to be applied after all others have (currently only >> display matrix from trak), but cannot be handled in movie box, since >> streams are not allocated yet. So store it in main context, and apply >> it when appropriate, that is after parsing the tkhd one. >> >> Fate tests are updated accordingly. >> >> Signed-off-by: Vittorio Giovara <[email protected]> >> >> --- > > > This broke autorotation of rotated videos when using avplay, no longer > displays the rotation of videos in avprobe, and probably no longer works for > autorotating videos in avconv either (although I didn't test that).
Hi Martin, I just tested HEAD with a couple of rotated videos (such as https://www.dropbox.com/s/jf5ovflh9aajwxz/rotate90.mov?dl=1) and I wasn't able to reproduce. avplay version v13_dev0-407-gf7407f5, Copyright (c) 2003-2016 the Libav developers built on Nov 15 2016 09:18:51 with clang version 3.8.1 (tags/RELEASE_381/final) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/GiovaraV/Desktop/Summer2012vid/Portrait/Airplane window 2013-09-11 12.04.52.mov': Metadata: major_brand : qt minor_version : 0 compatible_brands: qt creation_time : 2013-09-11 10:04:39 model : iPhone 4 model-ita : iPhone 4 encoder : 6.0.1 encoder-ita : 6.0.1 date : 2013-09-11T12:04:38+0200 date-ita : 2013-09-11T12:04:38+0200 make : Apple make-ita : Apple Duration: 00:00:11.12, start: 0.000023, bitrate: 10814 kb/s Stream #0:0(und): Video: h264 (Baseline) [avc1 / 0x31637661] yuv420p, tv, bt709/bt709/bt709 1280x720, 10754 kb/s 29.97 fps, 600 tbn (default) Metadata: creation_time : 2013-09-11 10:04:39 handler_name : Core Media Data Handler encoder : H.264 Side data: displaymatrix: rotation of -90.00 degrees Stream #0:1(und): Audio: aac (LC) [mp4a / 0x6134706D] 44100 Hz, mono, fltp, 63 kb/s (default) Metadata: creation_time : 2013-09-11 10:04:39 handler_name : Core Media Data Handler 0.93 A-V: -0.188 s:1.6 aq= 120KB vq=12331KB sq= 0B f=0/0 /0 Could you share the sample that is not working for you? I'll take a look at it. -- Vittorio _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
