Closed ju1ce232 closed 5 years ago
there's a way to do it with the "amix" filter I believe. Anyway you'll have two dshow inputs like -f dshow -i audio=virtual-audio-capturer -f dshow -i audio=my-other-microphone and then have the mix the two... :)
On Fri, Dec 14, 2018 at 8:47 AM ju1ce232 notifications@github.com wrote:
Hello,
I'm able to select only one source, either virtual-audio-capturer) or my Headset Microphone but actually want to record not only audio but my voice too. Please help me to configure it so. I see this config: ffmpeg.exe -y -rtbufsize 150M -f dshow -framerate 30 -i video="screen-capture-recorder":audio="virtual-audio-capturer" -c:v libx264 -r 30 -preset ultrafast -tune zerolatency -crf 28 -pix_fmt yuv420p -movflags +faststart -c:a aac -strict -2 -ac 2 -b:a 128k "output.mp4" And have this one for microphone: audio="Headset Microphone (Jabra EVOLVE 20 MS) Can't combine them. Please help me :)
Thanks, Sergey.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/119, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAw0C9EuyyOgjZi-2gsqzFCaYMV8SWVks5u48f0gaJpZM4ZTwke .
I apologize for so long delay with my feedback but still can't manage to work both the audio sources together. I tried like this: -y -rtbufsize 150M -f dshow -i audio="virtual-audio-capturer" -f dshow -i audio="Headset Microphone (Jabra EVOLVE 20 MS)" -f dshow -framerate $fps$ -i video="screen-capture-recorder" -c:v libx264 -r $fps$ -preset ultrafast -tune zerolatency -crf 28 -pix_fmt yuv420p -movflags +faststart -c:a aac -strict -2 -ac 2 -b:a 128k "$output$"
Also, this: -i audio="virtual-audio-capturer":audio="Headset Microphone (Jabra EVOLVE 20 MS)"
Sorry, I didn't get how to mix them :(
Did you try the amix filter? It there's another that does the same thing hmm...
On Monday, December 24, 2018, ju1ce232 notifications@github.com wrote:
I apologize in so long delay with my feedback but still can't manage to work both the audio sources together. I tried like this: -y -rtbufsize 150M -f dshow -i audio="virtual-audio-capturer" -f dshow -i audio="Headset Microphone (Jabra EVOLVE 20 MS)" -f dshow -framerate $fps$ -i video="screen-capture-recorder" -c:v libx264 -r $fps$ -preset ultrafast -tune zerolatency -crf 28 -pix_fmt yuv420p -movflags +faststart -c:a aac -strict -2 -ac 2 -b:a 128k "$output$"
Also, this: -i audio="virtual-audio-capturer":audio="Headset Microphone (Jabra EVOLVE 20 MS)"
Sorry, I didn't get how to mix them :(
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.< https://ci5.googleusercontent.com/proxy/oy-uJ0pBPXvGMyUey13gBCokRp_z8xp7VCwNJ7cSHpORx3vZTMpyVqpzghGijsNAEabBV7fm0C7ixAmGL4zl2_gWrrXNuESWqSmJFGtfi0qMLrdPQow0TuLTseD_Gax9ukE6RQc7QbpbcTvwhZ2P-ojpww=s0-d-e1-ft#https://github.com/notifications/beacon/AAAw0FtpC-lmxDGWb37Q0xa7fYJwF6tqks5u8KJAgaJpZM4ZTwke.gif>
Amix works, Thanks!!!
What i did is: ffmpeg.exe -y -rtbufsize 150M -f dshow -framerate 30 -i video="screen-capture-recorder" -f dshow -i audio="virtual-audio-capturer" -f dshow -i audio="Headset Microphone (Jabra EVOLVE 20 MS)" -filter_complex amix=inputs=2:duration=first:dropout_transition=3 -c:v libx264 -r 30 -preset ultrafast -tune zerolatency -crf 28 -pix_fmt yuv420p -movflags +faststart -c:a aac -strict -2 -ac 2 -b:a 128k "output.mp4"
Perhaps, this might be done simpler but it works :) Took this amix pattern: ffmpeg -i INPUT1 -i INPUT2 -i INPUT3 -filter_complex amix=inputs=3:duration=first:dropout_transition=3 OUTPUT
Nicely done.
On Thu, Dec 27, 2018 at 1:37 AM ju1ce232 notifications@github.com wrote:
Closed #119 https://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/119 .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/119#event-2045545963, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAw0ECICRlAFPiiC8Us14x6YiE4rQdhks5u9IbKgaJpZM4ZTwke .
@ju1ce232 Hey man, could i see the screenshot of your ShareX - Screen recording options on this. This is what i need as well. audio for my Jabra USB headset and the pc sound. Thank you so much!
After adjusting this suggestion, I was able to change ShareX screen recording command to the following:
-rtbufsize 150M -f gdigrab -framerate $fps$ -offset_x $area_x$ -offset_y $area_y$ -video_size $area_width$x$area_height$ -draw_mouse $cursor$ -i desktop -f dshow -i audio="virtual-audio-capturer" -f dshow -i audio="Microphone Array (Realtek High Definition Audio(SST))" -filter_complex amix=inputs=2:duration=first:dropout_transition=3 -c:v libx264 -r $fps$ -preset ultrafast -tune zerolatency -crf 28 -pix_fmt yuv420p -movflags +faststart -c:a libmp3lame -qscale:a 4 -y "$output$"
#works well, recording both audio channels and right region of video.
Which worked well on my machine, allows me to record the right region of the screen plus multiple audio channels simultaneously.
Task settings> Capture > screen recorder > screen recorder options> check on "use custom commands" then paste it there. should look like this
I tried to edit the code below, but unfortunately it does not work for me... 😢 I use the latest version of Setup.Screen.Capturer.Recorder.v0.12.1. My microphone is Shure MV7.
The code I have tested, which generates an error.
-rtbufsize 150M -f gdigrab -framerate $fps$ -offset_x $area_x$ -offset_y $area_y$ -video_size $area_width$x$area_height$ -draw_mouse $cursor$ -i desktop -f dshow -i audio="virtual-audio-capturer" -f dshow -i audio="Microphone (2- Shure MV7)" -filter_complex amix=inputs=2:duration=first:dropout_transition=3 -c:v libx264 -r $fps$ -preset ultrafast -tune zerolatency -crf 28 -pix_fmt yuv420p -movflags +faststart -c:a libmp3lame -qscale:a 4 -y "$output$"
Screen my settings
Code test in console
Screen of an error that occurs during recording
* e MV7)" -filter_com
not sure, but it looks like the error is caused by the region you are trying to record. is it happening if you choose a (relatively) small rectangle in the middle of the screen?
Gdigrab works ok without the audio , as is?
On Monday, January 11, 2021, Omer Re notifications@github.com wrote:
- e MV7)" -filter_com
not sure, but it looks like the error is caused by the region you are trying to record. is it happening if you choose a (relatively) small rectangle in the middle of the screen?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.< https://ci5.googleusercontent.com/proxy/9u0Axzz1Ytylw_M5LrCDxLMhuvAM9-TaGL0TH1uLiIbA9rC4zzZvI0QKaD8DZ2YQSfcMC8OXWP-SgaJHRlvSqPubYhPkCYirOeADYF232LVAApgb6uKe6PBz3ZxWlEhWm4DFCFzoZiXbFMY6_ToYT5_oAZtbUdyMg8SzP9DAdvdWZC4b0sNIE5ICjUCrnmRatVeiZ6VJOLIMaJaelszPSdk27tQ8qZ1vtupCryN7mg=s0-d-e1-ft#https://github.com/notifications/beacon/AAADBUBZOJZI5NJU7M7FU2TSZNERVA5CNFSM4GKPBEPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFUYKK6I.gif>
* e MV7)" -filter_com
not sure, but it looks like the error is caused by the region you are trying to record. is it happening if you choose a (relatively) small rectangle in the middle of the screen?
Actually on small areas of the screen it works! Nice! 😃 In the tests I did I tried catching the whole monitor in 4k. The most important goal was achieved. Thank you. ❤️ I have one more, but less important question. What can I do to be able to record the whole screen in 4k? As I mentioned, currently an error pops up when trying to record.
Check your boundaries or maybe there is a full screen option?
On Wednesday, January 13, 2021, Michal notifications@github.com wrote:
- e MV7)" -filter_com
not sure, but it looks like the error is caused by the region you are trying to record. is it happening if you choose a (relatively) small rectangle in the middle of the screen?
Actually on small areas of the screen it works! Nice! 😃 In the tests I did I tried catching the whole monitor in 4k. The most important goal was achieved. Thank you. ❤️ I have one more, but less important question. What can I do to be able to record the whole screen in 4k? As I mentioned, currently an error pops up when trying to record.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.< https://ci5.googleusercontent.com/proxy/LyTrlIT6NiEzlrrBrRK99bJ7BEL7YXUwYHjX6ldmIrHtxo5jnCJzpQ-GEcb3_ykbvtx7TeirO1ChOycoPVOMld2E950-RyRmA4dp1M_4dUFGCuQrxTOEPIe32ellVYNSDfYEctkHmbmQhDR3nDPVaLBSO-JGruKW1x6nlHWcl5unDiQTHEXOQP38f7wih1_kQDmFGKKbFMOF1kEvbfCvyi2Wbp2eJZRoU4QFaTna0g=s0-d-e1-ft#https://github.com/notifications/beacon/AAADBUACBZJ4YR34NLYWG7DSZVKAJA5CNFSM4GKPBEPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFVA44LY.gif>
this might word for you https://www.youtube.com/watch?v=ysiAEbWox4k So I can't get the workaround to work but you can use windows to your advantage. So to get this to work ShareX should be set to Virtual audio and then go to your desktop and right-click the SOUND ICON at the bottom of your screen and click SOUNDS then you click on RECORDING and click on your microphone and click PROPERTIES then click LISTEN then click on LISTEN TO THIS DEVICE then click on PLAY THROUGH THIS DEVICE and then in the dropdown menu select DEFAULT PLAYBACK DEVICE and then you can click ok. Do some tests and use the sound mixer to adjust the volume. works for me with the right tweaking and if you do it right you should not go crazy.😁
Any luck?
This works for me like magic!
-i video="screen-capture-recorder" -f dshow -i audio="Microphone (Realtek(R) Audio)" -f dshow -i audio="virtual-audio-capturer" -filter_complex amix=inputs=2
Microphone (Realtek(R) Audio) - is my selected microphone device name
Yeah it doesn't support more than one audio/video at the moment, funding or PR welcome :)
On Tue, Apr 12, 2022 at 9:39 AM Movsar Bekaev @.***> wrote:
This works for me like magic! -i video="screen-capture-recorder" -f dshow -i audio="Microphone (Realtek(R) Audio)" -f dshow -i audio="virtual-audio-capturer" -filter_complex amix=inputs=2
Microphone (Realtek(R) Audio) - is my selected microphone device name
— Reply to this email directly, view it on GitHub https://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/119#issuecomment-1096889170, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADBUEKVQ72P5UM2MWWDPDVEWKK5ANCNFSM4GKPBEPA . You are receiving this because you commented.Message ID: <rdp/screen-capture-recorder-to-video-windows-free/issues/119/1096889170@ github.com>
can confirm it works, so using sharex my command line is like this
-hide_banner -f dshow -thread_queue_size 1024 -rtbufsize 256M -audio_buffer_size 80 -framerate $fps$ -i video="screen-capture-recorder" -f dshow -i audio="Microphone (NVIDIA Broadcast)" -f dshow -i audio="virtual-audio-capturer" -filter_complex amix=inputs=2 -c:v libx264 -r $fps$ -preset ultrafast -tune zerolatency -crf 28 -pix_fmt yuv420p -movflags +faststart -c:a aac -ac 2 -b:a 128k -y "$output$"
or with nvidia:
-hide_banner -f dshow -thread_queue_size 1024 -rtbufsize 256M -audio_buffer_size 80 -framerate $fps$ -i video="screen-capture-recorder" -f dshow -i audio="Microphone (NVIDIA Broadcast)" -f dshow -i audio="virtual-audio-capturer" -filter_complex amix=inputs=2 -c:v h264_nvenc -r $fps$ -preset default -b:v 6000k -pix_fmt yuv420p -movflags +faststart -c:a aac -ac 2 -b:a 128k -y "$output$"
Hello,
I'm able to select only one source, either virtual-audio-capturer) or my Headset Microphone but actually want to record not only audio but my voice too. Please help me to configure it so. I see this config: ffmpeg.exe -y -rtbufsize 150M -f dshow -framerate 30 -i video="screen-capture-recorder":audio="virtual-audio-capturer" -c:v libx264 -r 30 -preset ultrafast -tune zerolatency -crf 28 -pix_fmt yuv420p -movflags +faststart -c:a aac -strict -2 -ac 2 -b:a 128k "output.mp4" And have this one for microphone: audio="Headset Microphone (Jabra EVOLVE 20 MS) Can't combine them. Please help me :)
Thanks, Sergey.