GithubHelp home page GithubHelp logo

Comments (25)

rom1v avatar rom1v commented on July 24, 2024 2

(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.

rom1v avatar rom1v commented on July 24, 2024 1

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.

rom1v avatar rom1v commented on July 24, 2024

Is sndcpy.apk in your current directory?

How did you run it?

from sndcpy.

hndq avatar hndq commented on July 24, 2024

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.

rom1v avatar rom1v commented on July 24, 2024

Open a terminal into this directory, and execute ./sndcpy instead.

from sndcpy.

hndq avatar hndq commented on July 24, 2024

I searched the web but I didn't understand how to do it. Sorry, I'm really new to this

from sndcpy.

hndq avatar hndq commented on July 24, 2024

Screen Shot 2020-06-28 at 11 04 20 PM

I dragged the folder into the terminal window and then it has shown zsh: permission denied: /Users/tanishhandique/Downloads/sndcpy-v1.0

from sndcpy.

rom1v avatar rom1v commented on July 24, 2024
cd /Users/tanishhandique/Downloads/sndcpy-v1.0
./sndcpy

from sndcpy.

hndq avatar hndq commented on July 24, 2024

Screen Shot 2020-06-29 at 12 42 41 AM
I have VLC installed

from sndcpy.

hndq avatar hndq commented on July 24, 2024

(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.

ccarbajo avatar ccarbajo commented on July 24, 2024

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.

ccarbajo avatar ccarbajo commented on July 24, 2024

nvm i already get sound from youtube but how can hear games like cod mobile? thanks in advance

from sndcpy.

rom1v avatar rom1v commented on July 24, 2024

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.

hndq avatar hndq commented on July 24, 2024
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.

rom1v avatar rom1v commented on July 24, 2024
./sndcpy: line 29: /path/to/your/vlc/executable: No such file or directory

You must adapt the path to your vlc executable 😉

from sndcpy.

hndq avatar hndq commented on July 24, 2024
./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.

ccarbajo avatar ccarbajo commented on July 24, 2024

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.

FraAlle avatar FraAlle commented on July 24, 2024

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.

rom1v avatar rom1v commented on July 24, 2024

@hndq For the path, try /Users/tanishhandique/Applications/VLC.app/Contents/MacOS/VLC or /Applications/VLC.app/Contents/MacOS/VLC

from sndcpy.

pranshhu avatar pranshhu commented on July 24, 2024

I able to run sndcpy, by exporting vlc.
But the audio output is too low on my mac

from sndcpy.

rom1v avatar rom1v commented on July 24, 2024

Remove -Idummy in the script, so you have a VLC UI where you can adjust the volume.

from sndcpy.

pranshhu avatar pranshhu commented on July 24, 2024

Sorry I'm not good at these stuff.
Could you please tell me how I can do that.

from sndcpy.

pranshhu avatar pranshhu commented on July 24, 2024

Nvm, thanks for your help

from sndcpy.

roushan0102 avatar roushan0102 commented on July 24, 2024

#!/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.

SergiyBoyko avatar SergiyBoyko commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.