0

I need to add a option to ffmpeg command to change the video resolution to 5760x2880 with keeping the right aspect ratio so the video isn't distorted my current command is

 -i {INPUTFILE} -c:v libx264 -preset ultrafast -crf 0 -r:v 30 -c:a copy {OUTPUTFILE}


Thank you

TheSprinter
  • 1,523
  • 17
  • 30
  • See [Resizing videos with ffmpeg to fit into static size](https://superuser.com/a/1136305/110524) or [FFMPEG (libx264) “height not divisible by 2”](https://stackoverflow.com/a/29582287/1109017), depending on the method you want to use. – llogan Jan 09 '19 at 18:25
  • Thanks can you give me a example with my command I'm using where does that go – PUBG Player Unknown Battlegrou Jan 09 '19 at 18:57
  • It's an output option, so anywhere between `{INPUTFILE}` and `{OUTPUTFILE}`. – llogan Jan 09 '19 at 19:39

0 Answers0