Using Python To Stream To ChromeCast

View previous topic View next topic Go down

Using Python To Stream To ChromeCast

Post by jamied_uk on 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



avatar
jamied_uk
Admin

Posts : 2199
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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