mkchromecast
mkchromecast copied to clipboard
Nothing happens after mkchromecast --video -i <VIDEO_FILE>
Hi,
I'm new to Ubuntu and I'm trying to cast my VLC to my chromecast. For some reason my VLC doesn't do it on its own, and if I cast my screen via google chrome, sound doesn't work.
With mkchromecast
I read somewhere to do mkchromecast -t
first, but my chromecast doesn't appear if I do that..
I tried directly doing mkchromecast --video -i <VIDEO_FILE>
. Terminal seems to be working but my screen only has the blue casting symbol, nothing else... please see below:
uin0x@guin0x-server:~/Downloads$ mkchromecast --video -i RuPauls.Drag.Race.All.Stars.S07E03.1080p.HEVC.x265-MeGusta\[eztv.re\].mkv
Mkchromecast v0.3.9
Creating Pulseaudio Sink...
Open Pavucontrol and Select the Mkchromecast Sink.
Starting Video Cast Process...
PID of main process: 11286
PID of streaming process: 11290
* Serving Flask app 'mkchromecast.video' (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
* Running on http://XXX.XXX.X.X:XXXX/ (Press CTRL+C to quit)
List of Devices Available in Network:
-------------------------------------
Index Types Friendly Name
===== ===== =============
0 Gcast Living Room TV
Casting to first device shown above!
Select devices by using the -s flag.
Living Room TV
Information about Living Room TV
DeviceStatus(friendly_name='Living Room TV', model_name='Chromecast', manufacturer='Google Inc.', uuid=UUID('172b1e85-4528-d11e-6cb5-d0a43ae35dba'), cast_type='cast', multizone_supported=True)
Status of device Living Room TV
CastStatus(is_active_input=False, is_stand_by=True, volume_level=0.49999988079071045, 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='5f6c70c5-f827-4b73-8378-e6e6457af5c0', transport_id='5f6c70c5-f827-4b73-8378-e6e6457af5c0', status_text='', icon_url='', volume_control_type='attenuation')
The IP of Living Room TV is: XXX.XXX.X.XXX
Your local IP is: XXX.XXX.X.X
The media type string used is: video/mp4
Cast media controller status
CastStatus(is_active_input=False, is_stand_by=True, volume_level=0.49999988079071045, 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='5f6c70c5-f827-4b73-8378-e6e6457af5c0', transport_id='5f6c70c5-f827-4b73-8378-e6e6457af5c0', status_text='', icon_url='', volume_control_type='attenuation')
Remember to open pavucontrol and select the mkchromecast sink.
Ctrl-C to kill the Application at any Time
Any ideas? Thanks!
Howdy, I realize it's been a long time since this report. If this is still broken, could you also include the --debug
argument and include the output here? There are a number of bugs that I'm in the process of fixing in the video streaming code, and I'm curious if you were running into something that I've already found/addressed, or whether it's an issue that needs further diagnosis. Thanks!
I can't replicate this issue, mkchromecast --video -i path/to/video/file
just works for me. I did notice though that I get a fair bit of ffmpeg prints while OP's post doesn't have any after CastStatus and before pavucontrol note.