We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is for doing a screen capture on a mac but it is a universal screen capture problem.
So I have this command:
ffmpeg -f avfoundation -i "2" -c:v h264 -crf 15 -vf "scale=1920:1280,fps=60,format=yuv420p" output.mp4
How would it get the avfoundation into the input stream?
I am trying to use this:
` input := ffmpeg_go.Input(""2"", ffmpeg_go.KwArgs{"f": "avfoundation", "c:v": "h264", "crf": "15", "vf": ""scale=1920:1280,fps=60,format=yuv420p""})
output := input.Output("output.mp4")
output.Run() `
The text was updated successfully, but these errors were encountered:
This is for doing a screen capture on a mac but it is a universal screen capture problem. So I have this command: ffmpeg -f avfoundation -i "2" -c:v h264 -crf 15 -vf "scale=1920:1280,fps=60,format=yuv420p" output.mp4 How would it get the avfoundation into the input stream? I am trying to use this: ` input := ffmpeg_go.Input(""2"", ffmpeg_go.KwArgs{"f": "avfoundation", "c:v": "h264", "crf": "15", "vf": ""scale=1920:1280,fps=60,format=yuv420p""}) output := input.Output("output.mp4") output.Run() `
your example is right, but you maybe mixed output args with input args? this works for me:
out := Input("default:none", KwArgs{"f": "avfoundation", "framerate": "30"}). Output("output.mp4", KwArgs{"format": "mp4"}). OverWriteOutput()
Sorry, something went wrong.
No branches or pull requests
This is for doing a screen capture on a mac but it is a universal screen capture problem.
So I have this command:
ffmpeg -f avfoundation -i "2" -c:v h264 -crf 15 -vf "scale=1920:1280,fps=60,format=yuv420p" output.mp4
How would it get the avfoundation into the input stream?
I am trying to use this:
`
input := ffmpeg_go.Input(""2"", ffmpeg_go.KwArgs{"f": "avfoundation", "c:v": "h264", "crf": "15", "vf": ""scale=1920:1280,fps=60,format=yuv420p""})
output := input.Output("output.mp4")
output.Run()
`
The text was updated successfully, but these errors were encountered: