-
-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[question] different input args for audio and video #156
Comments
After reading the device docs some more, I wonder if this is really an ask for device support, which might look a little bit like the current output scheme where there's a different sub-builder for options for that output? So like:
|
Closed
Euklios
added a commit
to Euklios/ffmpeg-cli-wrapper
that referenced
this issue
Aug 9, 2024
Euklios
added a commit
to Euklios/ffmpeg-cli-wrapper
that referenced
this issue
Aug 9, 2024
Closed thanks to #339 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Thought I'd post something new rather than continuing to post on #16. I'm having trouble setting different inputs for audio and video which use different frameworks, for example the ffmpeg command:
Which would capture from the desktop for video and the sound card for audio. I tried using
setInput("video=xxx:audio=xxx")
like the example here, but ffmpeg didn't seem to recognize that format (maybe I screwed something up there or maybe because these input types are specific to the-f
arg passed), plus, I think the corresponding-i
and-f
arguments (as well as other options for both audio and video) need to be in a proper order. For example, I tried this:Which yielded the following ffmpeg command:
But this doesn't work, as the
-i :0.0+0,0
comes after-f alsa
, when it needs to come before (in the previous 'block' of args for-f x11grab
.The text was updated successfully, but these errors were encountered: