Answer the question
In order to leave comments, you need to log in
How to encode in two passes with FFMPEG?
Here is the code for FFMPEG:
-strict experimental -f mp4 -map_chapters -1 -map 0:0 -map 0:1 -sn -c:a:0 aac -b:a:0 128k -c:v:0 libx264 -b:v:0 2000k -bufsize 102400K -mbd:v:0 rd -mbcmp:v:0 rd -cmp:v:0 rd -precmp:v:0 rd -subcmp:v:0 rd -trellis:v:0 1 -threads 7
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question