Yes, I ended up calling ffmpeg twice with same input with multiple output:
ffmpeg -i input.mp4 \
-codec:v libx264 -tune zerolatency -profile:v main -preset faster -b:v
1000k -maxrate 1000k -bufsize 1k -s hd720 -threads 0 -pix_fmt yuv420p
-pass 1 -passlogfile unique_id-hd720 -an -f mp4 -y
Yes, thank you. I understand now. However I tried doing two pass multiple
output with one input like this:
ffmpeg -i mi6.mp4 \
-codec:v libx264 -tune zerolatency -profile:v main -preset medium -b:v
1000k -maxrate 1000k -bufsize 1k -s hd720 -threads 0 -pix_fmt yuv420p
-pass 1 -passlogfile
On 08 Aug 2015, at 14:46, Robin Lery robinl...@gmail.com wrote:
Yes, thank you. I understand now. However I tried doing two pass multiple
output with one input like this:
ffmpeg -i mi6.mp4 \
-codec:v libx264 -tune zerolatency -profile:v main -preset medium -b:v
1000k -maxrate 1000k
On Sat, Aug 08, 2015 at 18:16:13 +0530, Robin Lery wrote:
Yes, thank you. I understand now. However I tried doing two pass multiple
output with one input like this:
ffmpeg -i mi6.mp4 \
-codec:v libx264 -tune zerolatency -profile:v main -preset medium -b:v
1000k -maxrate 1000k -bufsize
On Sat, Aug 08, 2015 at 18:24:26 +0200, Henk D. Schoneveld wrote:
former mail talks about
/dev/nul
NOT
/dev/null
I can't find that mail?
Anyway, he meant that the non-/dev/null (pass 2) output files are
empty.
Moritz
___
ffmpeg-user mailing list
-Original Message-
From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of
Robin Lery
Sent: 06 August 2015 16:13
To: ffmpeg-user@ffmpeg.org
Subject: [FFmpeg-user] Understanding two pass encoding
I will be encoding different videos uploaded by the user asynchronously
Hi Robin,
On Thu, Aug 06, 2015 at 19:42:39 +0530, Robin Lery wrote:
2nd pass has more frames than 1st pass
Because you didn't do a first pass. ;-)
So, my concern is how will ffmpeg know which one is the first pass so that
it can do its pass 2 encoding?
ffmpeg stores its findings from the
I will be encoding different videos uploaded by the user asynchronously in
my server. I saw this post, and according to this, this is how to endcode
two pass encoding:
ffmpeg -y -i input -c:v libx264 -preset medium -b:v 555k -pass 1 -c:a
libfdk_aac -b:a 128k -f mp4 /dev/null \
ffmpeg -i input