[mythtv-commits] Ticket #9861: [PATCH] Rotate IPhone videos for proper playback

MythTV noreply at mythtv.org
Wed Jun 22 21:05:31 UTC 2011

#9861: [PATCH] Rotate IPhone videos for proper playback
     Reporter:  Dave Badia <dbadia@…>          |      Owner:  robertm
         Type:  Patch - Bug Fix                |     Status:  new
     Priority:  minor                          |  Milestone:  unknown
    Component:  Plugin - MythVideo             |    Version:  Trunk Head
     Severity:  medium                         |   Keywords:
Ticket locked:  0                              |
 IPhone videos can appear upside down in myth depending on the orientation
 of the phone when the video was captured.  This patch checks the MOV
 metadata to detect the orientation and flips the frames if necessary.  The
 MOV metadata is read by ffmpeg so this upstream ffmpeg patch is required
 to be merged into myth:

 The flip is executed differently depending on the decoding/rendering

 VDPAU: Simple swap of coordinates as suggested by the nvidia documentation
 Software: Added a new filter called vflip.  This filter will be
 automatically applied when needed.
 XVMC: Didn't bother since it's going away

 Test both active types and it's working well for me

 This patch can be safely merged into myth prior to the ffmpeg patch - it
 just won't execute until that's done.

Ticket URL: <http://code.mythtv.org/trac/ticket/9861>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center

More information about the mythtv-commits mailing list