Follow

FFMPEG settings for 1080p COPRA movies

1920x1080:

ffmpeg.exe -r <framerate> -i "c:\tmp\jpg_folder\frame_%04d.jpg" -ac 2 -strict experimental -s hd1080 -vcodec libx264 -preset slow -profile:v baseline -level 31 -refs 1 -maxrate 10M -bufsize 10M -vb 8M -threads 0 -g 4 -r <framerate> "c:\tmp\mp4_folder\h264_clip.mp4" -y

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

4 Comments

  • 0
    Avatar
    Elliott Balsley

    Why do you use such a low GOP size?  Won't a higher value increase reduce file size?

    Why do you use the baseline profile?  Even the oldest model iPads can support Main@3.1.

  • 0
    Avatar
    Ivar Beer
    1. the low GOP size we use to get WAY better scrubbing on the iPad. you should try it out its nite and day

    2. you know... we want to support as many devices, os and applications as possible... tune it to your own needs... those presets are only a guide, which worked well for us on our own productions...

    let us know if you found some preset which worked well for you and we will add it here as well...

  • 0
    Avatar
    Elliott Balsley

    You're right, the small GOP makes a big difference!  For now I'm using 8; it's not as smooth as 4, but I think it's a good tradeoff for file size.  I know this whole encoding thing is so complicated, and could be tweaked endlessly, but for now I'm using 

    ffmpeg -i input.mov -pix_fmt yuv420p -s hd720 -an -vcodec libx264 -preset veryfast -crf 24 -profile:v main -level 31 -refs 1 -g 8 output.mp4

  • 0
    Avatar
    Ivar Beer

    thx elliott for sharing your preset.. i will give it a try later ... 

Please sign in to leave a comment.
Powered by Zendesk