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

Error 102 Media Decode Error #1

Open
mozcelikors opened this issue May 15, 2021 · 2 comments
Open

Error 102 Media Decode Error #1

mozcelikors opened this issue May 15, 2021 · 2 comments

Comments

@mozcelikors
Copy link

Hi, I have been experimenting with this, however I get the following error:
Do you happen to know how to solve it? I have ffmpeg installed.

PLAYING | 0:00 [________________________________________________] 1:57 | Vol: 40%   
Cast Error at time 0 seconds
    Error code: 102
    Media Decode Error.

Using castr-convert instead gives straight up an error, no explanation:


./castr-convert SampleVideo_1280x720_20mb.mp4
Convert SampleVideo_1280x720_20mb.mp4 to MPEG dash for streaming
Creating temporary files at SampleVideo_1280x720_20mb.mp4.dash
...castr player started at 192.168.1.34
Chromecast host: Mi TV Stick @ 192.168.1.38
STOPPED | 0:00 [________________________________________________] 0:00 | Vol: 40% 
----------------
    Playing SampleVideo_1280x720_20mb.mp4.mpd

ERROR | 0:00 [________________________________________________] 0:00 | Vol: 40%  
@mozcelikors
Copy link
Author

mozcelikors commented May 15, 2021

Apparently the video is not compatible, although it is plain mp4.
Doing the following works:

./castr http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4

@rundgong
Copy link
Owner

MP4 is just the container. It's possible to put both compatible an not compatible media inside it.

Mi TV Stick might be sensitive to correct encoder settings also. The chromecast device seems to be, and the converter script is very basic so I just tried out some settings that seems to be working.
Try using that file without the converter script. Did you get any local files to play on that stick?

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

2 participants