Jump to content

Chromecast streaming


Recommended Posts

graphixillusion
Posted

As i already reported in the github page, i have many problems with chromecast streaming. During playback the stream stucks very often and the only way to make it works again is to stop the stream, disconnect the app, make the chromecast stream again and restart the playback: at this time the movie will starts from the beginning and not from the last point. The logs files are in the zip attacched to this post. Thank you!

emby-logs.zip

Posted

We're going to have a 3.5.1 release. Please try that. Thanks.

graphixillusion
Posted

Ok, i will try the new version and i will report it backs. Thank you.

Posted

Taking advantage of this topic on issues with chromecast and with this news that version 3.5.1 will be released, it will not be possible to also pay attention to the problem that prevents the emby application from displaying subtitles of .strm files using chromecast ????
Thank you

Posted

Taking advantage of this topic on issues with chromecast and with this news that version 3.5.1 will be released, it will not be possible to also pay attention to the problem that prevents the emby application from displaying subtitles of .strm files using chromecast ????

Thank you

 

I don't quite understand what you're saying, sorry. Best thing to do is see how to report a media playback issue. thanks.

graphixillusion
Posted

Today i tried the last version 3.5.1 and the stream was fine: no error nor interruptions. I'll keep trying in the following days. But today, i didn't got any problem.

Posted

Thanks for the feedback.

  • Like 1
graphixillusion
Posted (edited)

Yesterday i tried with another movie and i got again many stops during playback. Watching the log i can see that when the stream stops, in the log i have this error code:

 

FFMpeg exited with code 0

 

Here the new logs if needed

emby-logs.zip

Edited by graphixillusion
Posted (edited)

I have been streaming using a 2nd gen chromecast for over a couple years using all the different versions of emby and it works GREAT apart from a bug that happens if my device disconnects from the wifi network while still streaming my chromecast will continue playing the video fine but i have to restart it to stream another video

 

If you have problems streaming the few quick easy things to think about are

 

First thing first.. take wifi out of the equation... can you stream to your hardwired computer without any issues?... if you can then its most likley a wifi issue

 

If streaming to your computer is good then its most likely wifi related...

 

 

 

 

 

How strong is your wifi connection...

Are there any competing wifi connections in your frequency of 2.4 or 5 

are they using the same channels

you can sniff your wifi using android device and a wifi sniffer

 

Here is a good way to test your wifi..

Try streaming netflix or some other video that is not using emby... if it streams great then your wifi should not be the issue..

 

and if you are 100% sure your wifi is working fine then just nuke and pave the system...

 

it has fixed a lot of things for me in the past.

 

The amount of time you will spend trying to trouble shoot a problem may just be fixed with a quick nuke and pave

 

hope that helped.

Edited by Eddie
Posted

You could also run Speedcast to see what your Chromecast is pulling.

  • Like 1
graphixillusion
Posted (edited)

Thanks to all for the advices. I have 2nd gen chromecast too and i usually haven't any problem in streaming (via wifi). With speedcast i can reach about 15mbit of speed, that's why i have set 1080p 4mbit for the playback option under emby. I don't think that the problem is the wifi becouse i can see movies without problems but with some other movies i have playback issues. I think the problems rely around ffmpeg which stops during transcoding process.

 

p.s.

 

for the speedcast test, i tried Free Internet Speed for Chromecast - Speedcast from Cast Tools but after the test it freeze the chromecast and makes it restart, don't know why...

Edited by graphixillusion
Posted (edited)

I remember a couple years ago i had a weird bug where certain movies wouldnt play and i couldnt figure out why even talked to the devs and we werent able to figure out the problem... i nuked and paved the systems and viola everything worked.... if you have wierd bugs just nuke and pave and it has solved a lot of my problems... unless the devs can figure out what might be your specific problem.

 

 

@@Bert did not know about speed cast.. ty for the suggestion

Edited by Eddie
graphixillusion
Posted

I'm using portable version: i already deleted and reinstalled many times but the problems still persists.

Posted

We're going to have a 3.5.2 release to resolve a playback issue on Xbox One. There's a chance it may affect this so please try that once available. Thanks.

  • Like 2
graphixillusion
Posted

I'm trying the new version plus i'm testing a new wifi setup. I will report back in time as i want to try several movies before say that everything is fine. Thank you very much for the support!

Posted

Thanks for the feedback.

  • Like 1
graphixillusion
Posted

I want to report that after 4 different streams everything seems going good. I will keep trying it and report it back if something will goes wrong. Thank you!

Posted

Thanks for the feedback.

drikosv8
Posted

@@Luke

 

When will we have .srt subtitles being displayed on chromecast with .strm files?

  • 10 months later...
drikosv8
Posted

I'm not aware of any issues there. Please see how to report a media playback issue:

https://emby.media/community/index.php?/topic/739-how-to-report-a-problem/

Thanks !

 

 
Chromecast does not display subtitles with .strm files and .srt subtitles with direct playback, please help me solve this.
 
I have attached the log, caption and file.
 
The problem is only in the chromecast, in the scenario I explained above.
 
 
 
Chromecast não exibe legendas com arquivos .strm e legendas .srt com reprodução direta, por favor me ajudem a resolver isso.
 
Anexei o log, legenda e arquivo.
 
O problema esta somente no chromecast, no cenario que expliquei acima.

Log.txt

Maiara e Maraisa Voce Faz Falta Aqui.srt

Maiara e Maraisa Voce Faz Falta Aqui.strm.txt

Posted

@@SamES can you reproduce with the above test content? thanks.

Posted (edited)

@@SamES can you reproduce with the above test content? thanks.

 

Yes, I get this error. 

 

index.html:1 Unsafe attempt to load URL http://192.168.1.222:8096/emby/Videos/334707/786590e/Subtitles/2/0/Stream.vtt?api_key=5b0ec63 from frame with URL https://mediabrowser.github.io/Emby.Chromecast/index.html. Domains, protocols and ports must match.

 

It is due to cross-origin not being set for remote sources

    function getCrossOriginValue(mediaSource) {

        if (mediaSource.IsRemote) {
            return null;
        }

        return 'anonymous';
    }
Edited by SamES
drikosv8
Posted (edited)

Yes.

 

Unsafe attempt to load URL http://192.168.1.222:8096/emby/Videos/334707/786590e…/Subtitles/2/0/Stream.vtt?api_key=5b0ec63… from frame with URL https://mediabrowser.github.io/Emby.Chromecast/index.html. Domains, protocols and ports must match.

 

@Luke  @SamES

 

I did not understand

 

Is this correction possible for direct playback with .strm and .srt on chromecast?

Edited by drikosv8
Posted

I've update my post.  There is no problem with the file, Luke will understand my comment and know the correct solution.  It will DirectPlay, I can confirm that once the issue is fixed

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...