Comments (25)
(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
from 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
from sndcpy.
Is sndcpy.apk
in your current directory?
How did you run it?
from sndcpy.
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?
from sndcpy.
Open a terminal into this directory, and execute ./sndcpy
instead.
from sndcpy.
I searched the web but I didn't understand how to do it. Sorry, I'm really new to this
from sndcpy.
I dragged the folder into the terminal window and then it has shown zsh: permission denied: /Users/tanishhandique/Downloads/sndcpy-v1.0
from sndcpy.
cd /Users/tanishhandique/Downloads/sndcpy-v1.0
./sndcpy
from sndcpy.
from 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
from 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
from sndcpy.
nvm i already get sound from youtube but how can hear games like cod mobile? thanks in advance
from sndcpy.
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
from 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
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 :(
from sndcpy.
./sndcpy: line 29: /path/to/your/vlc/executable: No such file or directory
You must adapt the path to your vlc executable 😉
from sndcpy.
./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 :(
from sndcpy.
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?
from sndcpy.
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
from sndcpy.
@hndq For the path, try /Users/tanishhandique/Applications/VLC.app/Contents/MacOS/VLC
or /Applications/VLC.app/Contents/MacOS/VLC
from sndcpy.
I able to run sndcpy, by exporting vlc.
But the audio output is too low on my mac
from sndcpy.
Remove -Idummy
in the script, so you have a VLC UI where you can adjust the volume.
from sndcpy.
Sorry I'm not good at these stuff.
Could you please tell me how I can do that.
from sndcpy.
Nvm, thanks for your help
from sndcpy.
#!/bin/bash
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
from sndcpy.
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)
from sndcpy.
Related Issues (20)
- apk and vlc has running ,but no sound HOT 1
- Change application id if not allowed to be installed on some devices for security issue. HOT 1
- Problem Parsing the Package
- Looks like sndcpy doesn't work with apps that have In-call volume function inside it. HOT 7
- is it possible to to passed microphone from the Host / Mac to Android ?
- 'C:\Program' is not recognized as an internal or external command
- Newbie Problems
- Phone tell
- audio forwarding is not working HOT 1
- miccpy? HOT 1
- How do i make a silent start for sndcpy?, (Not showing the console) HOT 1
- adb: failed to install sndcpy.apk: Security exception: You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use the PackageManager.INSTALL_GRANT_RUNTIME_PERMISSIONS flag HOT 2
- Waiting for device... HOT 2
- SNDCPY, adb: failed to stat sndcpy.apk: No such file or directory HOT 2
- can i ask something HOT 1
- Audio not working for android 10 HOT 4
- sndcpy does not transfer audio played by poweramp
- Got this issue with sndcpy. Also the app doesn't show up after being installed.
- Issue with Sndcpy, HOT 3
- Audio delay using sndcpy HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sndcpy.