Misschien een andere oplossing.
Heb mkchromecast geinstalleerd en het volgenden filmpje geprobeerd te casten naar de TV.
wim@wim:~$ mkchromecast --video -i https://www.youtube.com/watch?v=iMn33X_cyOU
Mkchromecast v0.3.8.1
Starting Video Cast Process...
PID of main process: 7275
PID of streaming process: 7280
* Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
List of Devices Available in Network:
-------------------------------------
Index Types Friendly Name
===== ===== =============
0 Gcast Eetkamer
Casting to first device shown above!
Select devices by using the -s flag.
Eetkamer
Information about Eetkamer
DeviceStatus(friendly_name='Eetkamer', model_name='Chromecast', manufacturer='Google Inc.', api_version=(1, 0), uuid=UUID('97b352da-c594-147f-cb64-861fc5cfe602'), cast_type='cast')
Status of device Eetkamer
CastStatus(is_active_input=False, is_stand_by=True, volume_level=1.0, volume_muted=False, app_id='E8C28D3C', display_name='Backdrop', namespaces=['urn:x-cast:com.google.cast.debugoverlay', 'urn:x-cast:com.google.cast.cac', 'urn:x-cast:com.google.cast.sse', 'urn:x-cast:com.google.cast.remotecontrol'], session_id='d2aa2cc2-3e17-49eb-a13b-022ff1295ce1', transport_id='d2aa2cc2-3e17-49eb-a13b-022ff1295ce1', status_text='')
The IP of Eetkamer is: 192.168.1.137
Your local IP is: 192.168.1.140
The media type string used is: video/mp4
Cast media controller status
CastStatus(is_active_input=False, is_stand_by=True, volume_level=1.0, volume_muted=False, app_id='E8C28D3C', display_name='Backdrop', namespaces=['urn:x-cast:com.google.cast.debugoverlay', 'urn:x-cast:com.google.cast.cac', 'urn:x-cast:com.google.cast.sse', 'urn:x-cast:com.google.cast.remotecontrol'], session_id='d2aa2cc2-3e17-49eb-a13b-022ff1295ce1', transport_id='d2aa2cc2-3e17-49eb-a13b-022ff1295ce1', status_text='')
Remember to open pavucontrol and select the mkchromecast sink.
Ctrl-C to kill the Application at any Time
Waarom geen beeld op de TV? Zie wel het IP adres van de Chromecast.
Dus to zover werkt het via terminal, maar nog niet volledig!
Wie weet het addertje te vinden in de bovenstaande uitvoer.
SPW