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

Not able to cast local video file #437

Open
jvergara65 opened this issue Dec 25, 2023 · 0 comments
Open

Not able to cast local video file #437

jvergara65 opened this issue Dec 25, 2023 · 0 comments

Comments

@jvergara65
Copy link

jvergara65 commented Dec 25, 2023

First, thank you for making this available. It is great!
I am having problems casting a video made with my camera to a Chromecast I have (2 or 3 generation) when executing the command:
catt cast output.webm

The error is the following:

Casting local file output.webm...
Playing "output" on "Living Room TV"...
Serving local file(s).
Exception thrown when calling load failed callback
Traceback (most recent call last):
  File "/home/jvergara/.local/lib/python3.10/site-packages/pychromecast/controllers/media.py", line 745, in _fire_load_failed
    listener.load_media_failed(item, error_code)
AttributeError: 'MediaStatusListener' object has no attribute 'load_media_failed'

it looks like a file is not in an native Chromecast format.

when I ran this command ,
mediainfo output.webm

Here is the output:

General
Complete name                            : output.webm
Format                                   : WebM
Format version                           : Version 2
File size                                : 1.25 MiB
Duration                                 : 7 s 736 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 358 kb/s
Writing application                      : Lavf58.76.100
Writing library                          : Lavf58.76.100
COM.ANDROID.VERSION                      : 7.0

Video
ID                                       : 1
Format                                   : VP8
Codec ID                                 : V_VP8
Duration                                 : 7 s 733 ms
Bit rate                                 : 1 184 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant

Can you help me with the steps to make sure that a local video file is playable in this Chromecast I have?

Thanks

@jvergara65 jvergara65 changed the title Not able to cast local file Not able to cast local video file Dec 25, 2023
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