Press Enter once audio capture is authorized on the device to start playing... But closes when I press Enter
Waiting for device... Performing Streamed Install Success Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.rom1v.sndcpy/.MainActivity } Press Enter once audio capture is authorized on the device to start playing...
But after pressing Enter the CMD closes and nothing is playing. I'm not very fond of coding but I really like scrcpy and have been eagerly waiting for the audio version. Can you tell me what's wrong and what to do? Thank you.
Waiting for device... Performing Streamed Install Success Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.rom1v.sndcpy/.MainActivity } Press Enter once audio capture is authorized on the device to start playing... Playing audio... The system cannot find the path specified.
I get something similar but the above. I was reading some apps might not allow it.. The install seemed to go fine. I am not super talented in terms of digging into XML. I just want to capture my sound for streaming off the device. One other question can sndcpy and scrcpy run together? Like send both the audio and the video?
It's just that it does not find vlc on your system.
It's just that it does not find vlc on your system.
Is there a way to manually point or force it? I installed VLC as part of the pre reqs, I have it on phone and pc.
What is the full path of vlc.exe?
https://github.com/rom1v/sndcpy/blob/39bd8c74485cf6dd4f34d58b94ea4f1e8fbccacf/sndcpy.bat#L3
Hmm modified my bat file to point to my location still getting same error.
Could you post the exact line you put in the bat file? Are there any trailing spaces or something?
if not defined VLC set VLC="D:\Program Files\VideoLAN\VLC\vlc.exe"
Same was happening to me when I was double-clicking directly on sndcpy.bat.
Instead, I opened a fresh cmd and manually went into the sndcpy folder and ran the bat from there, then when I pressed Enter, it didn't close and it gave me a "Playing audio..." message, but I still can't hear anything so not what's going wrong now haha.
Anyone know which apps can and can't forward audio through sndcpy?
Same here, After pressing Enter, cmd exits after showing playing audio
Start cmd first (Windows+r, cmd.exe), go to the sndcpy directory (cd C:\...\sndcpy) and run sndcpy from there. You'll get the error message (probably vlc cannot be found).
Just open vlc player before script starting then script will work and don't forget to paste videolan folder in c:/program files
I run command prompt as administrator and there were no more problems
Hi! So I just struggled with this and my solution (which was quite simple to be honest) was the fact that in my VLC was installed in Program (x86) in the C drive and not in "Program". All I had to do was to move VLC into "Program" and it was all fine. The problem occurs like this since sndcpy is precoded to look for VLC inside the "Program" file and not "program (x86)"
if you have 64 bit windows, go install 64 bit VLC. Before i unser 32 bit vlc and always forceclose