chromecast-audio-stream icon indicating copy to clipboard operation
chromecast-audio-stream copied to clipboard

Enhancement: add command-line play

Open lars18th opened this issue 9 years ago • 6 comments

Hi,

I suggest to create a command-line play command that can read PCM audio from stdin. See this exemple:

chromecast-play.exe - IP

Where "-" references the stdin (you can use any *.pcm file as input) and "IP" is the address of the target chromecast. Also, If you need it add the option of force the format: example "-s s16l" as Stereo with 16bit in low endian order.

You agree?

lars18th avatar Dec 16 '15 15:12 lars18th

I 100% agree.

matbeedotcom avatar Dec 16 '15 16:12 matbeedotcom

Hi @acidhax ,

Great! Then I suggest to use the syntax of VideoLAN or FFMpeg. For example:

$ vlc --demux=rawaud --rawaud-channels=2 --rawaud-samplerate=44100

Perhaps it's more simple to use similar syntax than create new one. ;-)

lars18th avatar Dec 16 '15 17:12 lars18th

Since I use FFmpeg, I'll most likely just use the flags given as the input :)

matbeedotcom avatar Dec 16 '15 18:12 matbeedotcom

Perfect! Tell me if I can do something to help.

lars18th avatar Dec 17 '15 07:12 lars18th

Hi Acid!

I don't found command-line support in last release (0.30). Do you implement it?

lars18th avatar Sep 30 '16 07:09 lars18th

Adding command-line support may definitively help me on #30

wikijm avatar May 31 '17 13:05 wikijm