id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,blockedby,blocking,reproduced,analyzed
1423,"h264 in mov plays upside down, transcode to flv similar is upside down",klassicd,,"I am trying to convert a video to FLV and it comes out upside down. 

You can download the video here (300mb) - http://s3.amazonaws.com/minutes-media/p16uvch37d1qbc1t91a9dpn1qr81.MOV

I've tried the following command from Mac and Linux. 

/usr/local/bin/ffmpeg -y -i p16uvch37d1qbc1t91a9dpn1qr81.MOV -f flv -ab 64 out.flv

Here is the output from the command.

/usr/local/bin/ffmpeg -y -i p16uvch37d1qbc1t91a9dpn1qr81.MOV -f flv -ab 64 out.flv
ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct 19 2011 11:17:43 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --enable-shared
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0

Seems stream 0 codec frame rate differs from container frame rate: 1200.00 (1200/1) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'p16uvch37d1qbc1t91a9dpn1qr81.MOV':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2012-05-29 01:37:13
    encoder         : 5.1.1
    encoder-eng     : 5.1.1
    date            : 2012-05-28T18:37:13-0700
    date-eng        : 2012-05-28T18:37:13-0700
  Duration: 00:02:25.51, start: 0.000000, bitrate: 21259 kb/s
    Stream #0.0(und): Video: h264 (Baseline), yuv420p, 1920x1080, 21189 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc
    Metadata:
      rotate          : 180
      creation_time   : 2012-05-29 01:37:13
    Stream #0.1(und): Audio: aac, 44100 Hz, mono, s16, 63 kb/s
    Metadata:
      creation_time   : 2012-05-29 01:37:13
WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
[buffer @ 0x100d01a80] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Output #0, flv, to 'out.flv':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2012-05-29 01:37:13
    date-eng        : 2012-05-28T18:37:13-0700
    encoder-eng     : 5.1.1
    date            : 2012-05-28T18:37:13-0700
    encoder         : Lavf53.4.0
    Stream #0.0(und): Video: flv, yuv420p, 1920x1080, q=2-31, 200 kb/s, 1k tbn, 29.97 tbc
    Metadata:
      rotate          : 180
      creation_time   : 2012-05-29 01:37:13
    Stream #0.1(und): Audio: adpcm_swf, 44100 Hz, mono, s16, 0 kb/s
    Metadata:
      creation_time   : 2012-05-29 01:37:13
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
frame= 4361 fps= 30 q=31.0 Lsize=   62478kB time=00:02:25.51 bitrate=3517.4kbits/s    
video:59217kB audio:3143kB global headers:0kB muxing overhead 0.188596%",defect,closed,normal,undetermined,git-master,duplicate,mov,michael,,,1,0
