Open hndq opened 4 years ago
Is sndcpy.apk
in your current directory?
How did you run it?
Directory as in? Its unzipped in the downloads folder this
I clicked the .sndcpy
file > runs in terminal > shows Failure [DELETE_FAILED_INTERNAL_ERROR]
Is the folder required to be kept in an another location?
Open a terminal into this directory, and execute ./sndcpy
instead.
I searched the web but I didn't understand how to do it. Sorry, I'm really new to this
I dragged the folder into the terminal window and then it has shown zsh: permission denied: /Users/tanishhandique/Downloads/sndcpy-v1.0
cd /Users/tanishhandique/Downloads/sndcpy-v1.0
./sndcpy
I have VLC installed
(please post the content of your terminal between ``` instead of a screenshot)
vlc: command not found
Where is it installed? If you just type vlc
, I guess you have the same error.
Either add its path into your PATH variable, or simplify:
# adapt the path
export VLC=/path/to/your/vlc/executable
./sndcpy
(I'm really sorry)
Yes it shows the same error I didn't understand the "add its path into your PATH"
but I entered
export VLC=/path/to/your/vlc/executable
./sndcpy
then I get
zsh: no such file or directory: ./sndcpy
No but you must execute that command from the sndcpy directory:
cd /Users/tanishhandique/Downloads/sndcpy-v1.0
export VLC=/path/to/your/vlc/executable
./sndcpy
i try to run sndcpy, i already get this in console
➜ sndcpy-v1.0 (1) ./sndcpy
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...
----here i put ok in device (s10 plus) later console show this
VLC media player 3.0.11 Vetinari (revision 3.0.11-0-gdc0c5ced72)
[00007fe366909530] dummy interface: using the dummy interface module...
[00007fe3655681f0] main stream error: connection error: Connection refused
and nothing happens in my device i see sndcpy Audio forwarding enabled, so what can i do? i use macbook pro 2019
nvm i already get sound from youtube but how can hear games like cod mobile? thanks in advance
nvm i already get sound from youtube but how can hear games like cod mobile?
https://github.com/rom1v/sndcpy/blob/master/README.md#apps-restrictions
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...
./sndcpy: line 29: /path/to/your/vlc/executable: No such file or directory
tanishhandique@Abhijits-MacBook-Air sndcpy-v1.0 %
Sorry I was busy with school work.
I did the following as you commanded me to do but got this instead. I guess it doesn't work on Catalina :(
./sndcpy: line 29: /path/to/your/vlc/executable: No such file or directory
You must adapt the path to your vlc executable :wink:
./sndcpy: line 29: /Users/tanishhandique/Applications/VLC.app: is a directory
tanishhandique@Abhijits-MacBook-Air sndcpy-v1.0 %
I get this and I'm so confused :(
I read app restrictions, but for example i see in youtube a guy using sndcpy in cod mobile and he play perfect with sound but in my case not, maybe any difference between devices?
Hi, i have the same problem, but i made the cd /Users/tanishhandique/Downloads/sndcpy-v1.0 export VLC=/path/to/your/vlc/executable ./sndcpy
but, when i do press enter on the console, give me the error. Idk what could be the problem.
Instead scrcpy works perfectly.
I'm on Mojave and i'm using an xiaomi redmi note 8 pro.
Franci@MacBook-Pro-di-Franci ~/Downloads/sndcpy-v1.0 ./sndcpy
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...
./sndcpy: line 29: /path/to/your/vlc/executable: No such file or directory
Thanks for the help
@hndq For the path, try /Users/tanishhandique/Applications/VLC.app/Contents/MacOS/VLC
or /Applications/VLC.app/Contents/MacOS/VLC
I able to run sndcpy, by exporting vlc. But the audio output is too low on my mac
Remove -Idummy
in the script, so you have a VLC UI where you can adjust the volume.
Sorry I'm not good at these stuff. Could you please tell me how I can do that.
Nvm, thanks for your help
set -e ADB=${ADB:-adb} VLC=${VLC:-vlc} SNDCPY_APK=${SNDCPY_APK:-sndcpy.apk} SNDCPY_PORT=${SNDCPY_PORT:-28200}
serial= if [[ $# -ge 1 ]] then serial="-s $1" echo "Waiting for device $1..." else echo 'Waiting for device...' fi
"$ADB" $serial wait-for-device adb install /Users/roushankumar/Documents/software/sndcpy-v1.0/sndcpy.apk echo 'Intall complete'
"$ADB" $serial forward tcp:$SNDCPY_PORT localabstract:sndcpy "$ADB" $serial shell am start com.rom1v.sndcpy/.MainActivity echo "Press Enter once audio capture is authorized on the device to start playing..." read dummy /Applications/VLC.app/Contents/MacOS/VLC --demux rawaud --network-caching=50 --play-and-exit tcp://localhost:"$SNDCPY_PORT" Above script working for MacOs
Try to launch command with error. Then: Install sndcpy.apk on your smatphone, and then open it. Enter in teminal this command: alias vlc='/Applications/VLC.app/Contents/MacOS/VLC' and then this command: vlc -Idummy --demux rawaud --network-caching=50 --play-and-exit tcp://localhost:28200 This steps works for me (MacOs Catalina)
Whenever I run the .sndcpy program these errors pop up
Thank you so much for helping me out