Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-n fails to find Chromecast when TV is powered off #459

Open
xsdg opened this issue Mar 14, 2024 · 0 comments
Open

-n fails to find Chromecast when TV is powered off #459

xsdg opened this issue Mar 14, 2024 · 0 comments

Comments

@xsdg
Copy link
Collaborator

xsdg commented Mar 14, 2024

I just noticed that specifying the Chromecast name with -n only works when the TV is powered on, and fails to find the Chromecast when the TV is powered off. However, dropping the -n arg causes the Chromecast to turn the TV on with HDMI-CEC and then works as expected.

$mkchromecast --debug --video -i video.MOV --resolution 720p -n 'CHROMECAST NAME'
Parsed args in process 489575
ALSA device name: None
Google Cast name: CHROMECAST NAME
backend: ffmpeg
Mkchromecast v0.3.9
Creating Pulseaudio Sink...
Open Pavucontrol and Select the Mkchromecast Sink.
Starting Video Cast Process...
:::ffmpeg::: pipeline_builder command: ['ffmpeg', '-re', '-i', 'video.MOV', '-map_chapters', '-1', '-vcodec', 'libx264', '-preset', 'veryfast', '-tune', 'zerolatency', '-maxrate', '10000k', '-bufsize', '20000k', '-pix_fmt', 'yuv420p', '-g', '60', '-f', 'mp4', '-movflags', 'frag_keyframe+empty_moov', '-vf', 'scale=1280:-1', 'pipe:1']
 * Serving Flask app 'mkchromecast'
 * Debug mode: off
PID of main process: 489575
PID of streaming process: 489582
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://192.168.1.185:5000
Press CTRL+C to quit
self.cclist []
elif len(self.cclist) == 0 and self.mkcc.tray == False:
No devices found!
Killed
(pyenv) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant