FFMPEG Question - Upside down videos & stretching.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JSWENSON
    So Fucking Banned
    • Aug 2004
    • 3153

    #1

    FFMPEG Question - Upside down videos & stretching.

    Trying to figure out the best FFMPEG command to use.

    I have this

    Code:
    $ffmpeg_command = "-acodec libfaac -keyint_min 20 -r 20 -vcodec libx264 -crf 22 -b 1000k -bt 1000k -y -v 0 -bf 16 -vf 'scale=-640:480' -threads 0"; //settings for ffmpeg encoding
    but some videos are upside down and vertical videos are stretched all funky.

    Any suggestions? Thanks in advance.

    Could be the player too I suppose. MechBunny defaults.
  • Bladewire
    StraightBro
    • Aug 2003
    • 56220

    #2
    Remove -vf parameters replace with -vf 'crop=240:0:1440:1080,scale=640:480' change sizes to your params hard to see your code ond my phone scrolling that fucking "code" box


    Skype: CallTomNow

    Comment

    • Bladewire
      StraightBro
      • Aug 2003
      • 56220

      #3
      Note: if it's just Iphone videos flipping use this Safari code to correct "-metadata:s:v rotate=0"


      Skype: CallTomNow

      Comment

      • JSWENSON
        So Fucking Banned
        • Aug 2004
        • 3153

        #4
        Thank you, will try that.

        Comment

        Working...