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

GUI freezes on Ubuntu 20.04 when trying to play #166

Open
dawonn opened this issue Sep 26, 2021 · 2 comments
Open

GUI freezes on Ubuntu 20.04 when trying to play #166

dawonn opened this issue Sep 26, 2021 · 2 comments

Comments

@dawonn
Copy link

dawonn commented Sep 26, 2021

I select a device, then select a file, and it appears to load the file (thumbnail appears) and complete the 'transcode'. I then click play and the UI freezes with the console message 'Failed to Connect'.

I have multiple chromecast ultras, and one original. I am able to cast from this computer with chrome and VLC, FWIW.

$ gnomecast
	pid 38995 is dead, so deleting /tmp/gnomecast_pid38995_thumbnail_emnbw6yr.jpg
	pid 38995 is dead, so deleting /var/tmp/gnomecast_pid38995_transcode_whg25757.mp4
update_button_visible
None
update_button_visible
update_button_visible
serving on http://192.168.86.30:33487
check_ffmpeg
b'/usr/bin/ffmpeg\n'
None
update_button_visible
update_button_visible
192.168.86.30 - - [25/Sep/2021:21:46:57 -0400] "GET / HTTP/1.1" 404 725 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36"
192.168.86.30 - - [25/Sep/2021:21:46:57 -0400] "GET /favicon.ico HTTP/1.1" 404 747 "http://192.168.86.30:33487/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36"
Chromecast('record[a,in-unique,08ea3a5c-0c0e-3809-a853-58b32a4e3605.local.]=120/119,192.168.86.120', port=8009, device=DeviceStatus(friendly_name='Living Room TV', model_name='Chromecast Ultra', manufacturer=None, uuid=UUID('08ea3a5c-0c0e-3809-a853-58b32a4e3605'), cast_type='cast'))
update_button_visible
update_button_visible
update_button_visible
Open clicked
File selected: ['/home/dereck/Videos/Peek 2020-11-20 18-57.mp4']
update_button_visible
STOP command requested but no session is active.
STOP command requested but no session is active.
update_button_visible
update_button_visible
update_button_visible
FileMetadata(fn:/home/dereck/Videos/Peek 2020-11-20 18-57.mp4, ready:True, thumbnail_fn:/tmp/gnomecast_pid39666_thumbnail_tb602mjn.jpg, container:mp4, video_streams:[StreamMetadata(index:0:0, codec:h264, title:und)], audio_streams:[], subtitles:[])
Transcoder /home/dereck/Videos/Peek 2020-11-20 18-57.mp4
transcode, transcode_video, transcode_audio True False True
ffmpeg -i '/home/dereck/Videos/Peek 2020-11-20 18-57.mp4' -map 0:0 -c:v copy /var/tmp/gnomecast_pid39666_transcode_0e8325fu.mp4
---------------------
 starting ffmpeg at:
---------------------
  File "/usr/lib/python3.8/threading.py", line 890, in _bootstrap
    self._bootstrap_inner()
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/dereck/.local/lib/python3.8/site-packages/gnomecast.py", line 1141, in update_transcoders
    self.transcoder = Transcoder(self.cast, fmd, self.video_stream, self.audio_stream, lambda did_transcode=None: GLib.idle_add(self.update_status, did_transcode), self.error_callback, transcoder)
  File "/home/dereck/.local/lib/python3.8/site-packages/gnomecast.py", line 306, in __init__
    traceback.print_stack()
chose subtitle No subtitles. None None
update_button_visible
update_button_visible
mc.status.player_state UNKNOWN /home/dereck/Videos/Peek 2020-11-20 18-57.mp4 -1786577983522074284
[record[a,in-unique,08ea3a5c-0c0e-3809-a853-58b32a4e3605.local.]=120/119,192.168.86.120:8009] Failed to connect, retrying in 5.0s
@dawonn
Copy link
Author

dawonn commented Sep 26, 2021

I used the pip install version, and the 'master' branch form github:
image

@dawonn
Copy link
Author

dawonn commented Sep 26, 2021

pip3 install zeroconf==0.24.3 solved this for me. Ubuntu 20.04 comes with 0.24.4 which apparently doesn't work correctly.

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