Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two Pass Encoding ? #8

Open
mynameisnyke opened this issue Nov 7, 2021 · 0 comments
Open

Two Pass Encoding ? #8

mynameisnyke opened this issue Nov 7, 2021 · 0 comments

Comments

@mynameisnyke
Copy link

Anyone have any examples of doing a two pass encode in this library?
I'm looking to convert my NodeJS transcoder to this library, here's and example of a job, also when trying to use the output options and submit a single string such as c:v libvpx-vp9 -pass 1 -b:v 1400K -crf 23 i get an error, is there a delimiter we should be using ?

`ffmpeg -i -c:v libvpx-vp9 -pass 1 -b:v 1400K -crf 23 -threads 8 -speed 4
-tile-columns 6 -frame-parallel 1
-an -f webm /dev/null

ffmpeg -i -c:v libvpx-vp9 -pass 2 -b:v 1400K -crf 23 -threads 8 -speed 2
-tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25
-c:a libopus -b:a 64k -f webm out.webm`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant