PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Using Python To Stream To ChromeCast

Go down

Using Python To Stream To ChromeCast Empty Using Python To Stream To ChromeCast

Post by jamied_uk 8th August 2016, 21:29

Vid

Update Code Link

https://app.box.com/s/zj6kauoj7trtte87g2ey31kanc3zb38p


Code:

wget https://github.com/Pat-Carter/stream2chromecast/archive/master.zip





where Chromecast2016 is the name of device





python stream.py -devicename Chromecast2016 -transcode 0001.mp4





python stream.py -devicename 192.168.0.2 0001.mp4





python stream.py -transcode -transcodeopts -b:v 1000k file.mp4





stream.py -playurl http://www.example.com/my_media.mp4







https://github.com/Pat-Carter/stream2chromecast







Transcoders

python stream.py -devicename 192.168.0.2 -transcoder avconv -transcode 0001.mp4




Bit Rates

To specify an output video bitrate of 1000k and an audio bitrate of 128k

stream2chromecast.py -transcodeopts '-b:v 1000k -b:a 128k' -transcode <file>


Ports


python stream.py -devicename 192.168.0.2 -port 5353 -transcoder avconv -transcode ./0001.mp4



jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum