VideoHelp Forum
+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. Member
    Join Date
    Sep 2009
    Location
    Philippines
    Search Comp PM
    I have videos that I have shot using my smart phones. On the computer they are showed incorrectly because I didn't hold the smart phone correctly.

    It says "Rotation : 90°".
    I know that on my computer I can play them auto rotated correctly, however for viewing using my media player I have to put them in the correct orientation.

    Now, my question is: Is this Rotation 90 is something in the AVI's header that I can edit? Or will I need to re-encode the whole video to get the correct orientation?

    Mediainfo:
    Video
    ID : 1
    Format : MPEG-4 Visual
    Format profile : Advanced Simple@L5
    Format settings, BVOP : Yes
    Format settings, QPel : No
    Format settings, GMC : No warppoints
    Format settings, Matrix : Default (H.263)
    Codec ID : 20
    Duration : 1mn 7s
    Bit rate mode : Constant
    Bit rate : 5 833 Kbps
    Nominal bit rate : 256 Kbps
    Width : 640 pixels
    Height : 480 pixels
    Display aspect ratio : 4:3
    Rotation : 90°
    Frame rate mode : Variable
    Frame rate : 24.984 fps
    Minimum frame rate : 15.983 fps
    Maximum frame rate : 25.126 fps
    Color space : YUV
    Bit depth : 8 bits
    Scan type : Progressive
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.760
    Stream size : 46.8 MiB (97%)
    Title : VideoHandle
    Writing library : MTK_ENCODER_V3
    Language : English
    Encoded date : UTC 2013-08-25 10:37:15
    Tagged date : UTC 2013-08-25 10:37:15
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    I think quicktime mov supports rotation without reconversion...but not avi so you must reconvert. Use for example avidemux.
    Quote Quote  
  3. Member
    Join Date
    Sep 2009
    Location
    Philippines
    Search Comp PM
    So, in this case, what is the use of "Rotation 90" reported by Mediainfo?
    And, what should I do to lose quality as less as possible while getting a resulting file of the same size?
    Quote Quote  
  4. Is that really an AVI file? What did MediaInfo say about the container? (The General section at the top). Because AVI doesn't have any way of specifying rotation.
    Last edited by jagabo; 31st Oct 2013 at 19:33.
    Quote Quote  
  5. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    The "video" section you have listed, which includes the "rotation 90°", is part of the MPEG4-ASP codec (aka Divx/Xvid), regardless of the container. Don't know what players will support this, but the width is still listed as 640 and the height as 480, so that means that for the video to display correctly, the player would have to recognize/support the rotation field.
    Having this show correctly in a player that doesn't support it would REQUIRE you re-encode/convert.

    Scott
    Quote Quote  
  6. Member
    Join Date
    Sep 2009
    Location
    Philippines
    Search Comp PM
    Jagabo, my mistake. The file is 3GP, not AVI.
    Quote Quote  
  7. Member
    Join Date
    Sep 2009
    Location
    Philippines
    Search Comp PM
    Cornucopia, well, my hardware player and VLC aren't showing the file correctly.
    If I'm required to re-convert in order to show it correctly, is there a lossless way to do that?
    Quote Quote  
  8. Originally Posted by blackion View Post
    If I'm required to re-convert in order to show it correctly, is there a lossless way to do that?
    No.
    Quote Quote  
  9. Member
    Join Date
    Sep 2009
    Location
    Philippines
    Search Comp PM
    Really? I remember irfanviewer has a plugin for lossless 90 degrees transformation. Since every frame is a picture, I would assume...
    Quote Quote  
  10. Video is not just a series of individual pictures.
    Quote Quote  
  11. Member
    Join Date
    Sep 2009
    Location
    Philippines
    Search Comp PM
    Agree, so what's in your opinion is the best strategy to re-encode? I would like the output size to be more or less the same, and encoded in xvid/avi.
    Quote Quote  
  12. Try AviDemux, open the source, select and configure the video codec, apply the rotation filter, save.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!