Streaming XBMC to Chromecast

Search This thread

yodasmaster

Senior Member
Aug 8, 2012
76
36
Guys, so I have a chromecast connected to my front room TV. Really want to be able to stream XBMC to it w/o using the "cast entire screen" since it causes it to lag/studder so bad, any suggestions on a way to do this and it be better?

Wanted to add, I've figured out how to use bubbleupnp and play audio/video files that are already on my pc. But basically I want to use 1channel/icefilms and stream those things from my PC to chromecast, is that a possibility any other way besides the 'cast entire screen'?

BubbleUPnp should be able to cast the web streams to your chromecast, you will need to put a bubbleUPNP playercorefactory.xml (post #229) into the appropriate folder.
 
Last edited:

sunnycheeba

Senior Member
Dec 4, 2012
141
90
Guys, so I have a chromecast connected to my front room TV. Really want to be able to stream XBMC to it w/o using the "cast entire screen" since it causes it to lag/studder so bad, any suggestions on a way to do this and it be better?

Wanted to add, I've figured out how to use bubbleupnp and play audio/video files that are already on my pc. But basically I want to use 1channel/icefilms and stream those things from my PC to chromecast, is that a possibility any other way besides the 'cast entire screen'?

If you install XBMC on your Android device streaming 1channel/Icefilms to Chromecast is no problem.

A few pages back I posted a great free streaming solution that has no time limitations to trans-coding (Avia costs $4.99 and BubbleUPnP transcoding is limited to 20 min in the free version) . This solution plays 1080p content with no hiccups

It uses the latest version of Kodi/XBMC for Android (from XBMC.org) with LocalCast and ESFileExplorer (both free from Google Play store) and a custom PlayerCoreFactory.xml (download link in video decription) . Installation instructions and links to all of files needed can be found in the YouTube video description in the following video.

https://www.youtube.com/watch?v=3GdSsMmDCb8
 
  • Like
Reactions: georgecarstoiu

blacryan

Member
Jul 24, 2010
21
8
BubbleUPnp should be able to cast the web streams to your chromecast, you will need to put a bubbleUPNP playercorefactory.xml (post #229) into the appropriate folder.

So I put the playercorefactory file into the appropriate folder. When I start a 1channel stream, it loads and flicks like its sending it somewhere or opening it somewhere, but didn't actually start anything on my CC. How do I from my PC point it to the chromecast from bubble? Or do I need to control it from bubble on my android or what? I just don't see how I get it to go from XBMC on my pc (with the bubble player core) to my CC?

If you install XBMC on your Android device streaming 1channel/Icefilms to Chromecast is no problem.

A few pages back I posted a great free streaming solution that has no time limitations to trans-coding (Avia costs $4.99 and BubbleUPnP transcoding is limited to 20 min in the free version) . This solution plays 1080p content with no hiccups

It uses the latest version of Kodi/XBMC for Android (from XBMC.org) with LocalCast and ESFileExplorer (both free from Google Play store) and a custom PlayerCoreFactory.xml (download link in video decription) . Installation instructions and links to all of files needed can be found in the YouTube video description in the following video.

https://www.youtube.com/watch?v=3GdSsMmDCb8

BubbleUPnp should be able to cast the web streams to your chromecast, you will need to put a bubbleUPNP playercorefactory.xml (post #229) into the appropriate folder.

I did this method and it works great. But I'd really like to be able to do it from my PC. I have bubble server running on this PC and just want to get the streaming video from here to my CC.

Thanks!
 

georgecarstoiu

Senior Member
Jun 10, 2012
264
136
Aarhus / Denmark
OnePlus 7T
Last edited:
So I put the playercorefactory file into the appropriate folder. When I start a 1channel stream, it loads and flicks like its sending it somewhere or opening it somewhere, but didn't actually start anything on my CC. How do I from my PC point it to the chromecast from bubble? Or do I need to control it from bubble on my android or what? I just don't see how I get it to go from XBMC on my pc (with the bubble player core) to my CC?





I did this method and it works great. But I'd really like to be able to do it from my PC. I have bubble server running on this PC and just want to get the streaming video from here to my CC.

Thanks!
The instructions were for android. I have not been able to use the playercorefactor.xml any other way
 

bobbytomorow

Senior Member
Jun 18, 2010
317
42
West Coast
What I want to know is what does the rendering/decoding, the chrome cast or the phone/tablet? if its the phone/tablet why not just screen cast (mirroring)?
 
Dec 10, 2013
7
0
i have tried this, but it dosent work for p2p streams that are using sopcast and acestream. Do you think there is a workaround for this problem? Localhost is telling me when i try to play such file (live channel) that this format is not supported. Thank you!

If you install XBMC on your Android device streaming 1channel/Icefilms to Chromecast is no problem.

A few pages back I posted a great free streaming solution that has no time limitations to trans-coding (Avia costs $4.99 and BubbleUPnP transcoding is limited to 20 min in the free version) . This solution plays 1080p content with no hiccups

It uses the latest version of Kodi/XBMC for Android (from XBMC.org) with LocalCast and ESFileExplorer (both free from Google Play store) and a custom PlayerCoreFactory.xml (download link in video decription) . Installation instructions and links to all of files needed can be found in the YouTube video description in the following video.

https://www.youtube.com/watch?v=3GdSsMmDCb8
 

DJames1

Senior Member
Oct 10, 2013
385
115
I'm new to XBMC, just looking into whether I can cast XBMC running on Windows to the Chromecast.

Reading through this long thread and others, my understanding is:

- On Windows all you can do is either cast the full desktop screen using Chrome, or create a link to Chrome in a customized PlayerCoreFactory.xml which effectively leads to tab-casting. Either way, you end up with the somewhat unsatisfactory solution of casting via Chrome as an intermediary with the inherent problems of video stuttering and CPU hogging.

- On Android you can set up a link to one of the Chromecast-enabled video players like Avia/BubbleUPnP/LocalCast/AllCast in a customized PlayerCoreFactory.xml and cast that way.

Is that all correct?
 

qualitymove13

Senior Member
Jan 9, 2011
399
138
Omaha, NE
Has anyone successfully been able to use Plex as the android software to stream via KODI? I edited the xml file to use Plex as the default that opens the stream but instead the stream only opens on my tablet. TIA!!
 

tharmor

Senior Member
Jun 18, 2013
911
178
All the live streams don't work using the playercorefactory method !! The youtube video is something which was known since ages !!

Its time XBMC supports chromecast !!
 

tharmor

Senior Member
Jun 18, 2013
911
178
Hi XDA,

I'm still looking for that XBMC live casting solution. Today I have found this new app... Cast2tv

https://play.google.com/store/apps/details?id=com.ytweb

From the app I have been able to cast u3m8 streams and I want to know if this can be applied to XBMC.

Can someone put me together a PLAYERCOREFACTORY file that launches this app (as default) from XBMC (XAF version)?

I have tried but I'm too Noob. The developer has been very helpful and here is a note from him:


for XBMC, you can try our launching activity "com.ytweb.CastActivity" or
our package name is "com.ytweb". The app is normally held at root/data/app
with the above package name.


He also adds that transcoding is coming for incompatible streams.
Were you able to use XBMC streams using cast2tv app ?
 

yodasmaster

Senior Member
Aug 8, 2012
76
36
I have found a way to have the multi select option for players to come up when selecting a stream to watch. I got 'grow box'... It fakes being MxPlayerFree, but will give you the option to 'open using' if you set your playercorefactory to mxplayer.

Hope this helps
 

yosdib

New member
Mar 19, 2015
1
0
Can you explain how do you make it work exactrly ?
What xml file do you use ?


I have found a way to have the multi select option for players to come up when selecting a stream to watch. I got 'grow box'... It fakes being MxPlayerFree, but will give you the option to 'open using' if you set your playercorefactory to mxplayer.

Hope this helps
 

yodasmaster

Senior Member
Aug 8, 2012
76
36
Can you explain how do you make it work exactrly ?
What xml file do you use ?

I downloaded Growbox from http://download.clockworkmod.com/test/GrowBox-release.apk and I edited the playcorefactory.xml I had for bubblePnP changing the last bits to MXPlayerFree


<rule protocols="smb" player="MXPlayerFree" />

<rule dvdimage="true" player="MXPlayerFree"/>

<rule protocols="rtmp" player="MXPlayerFree"/>

<rule protocols="rtsp" player="MXPlayerFree" />

<rule protocols="sop" player="MXPlayerFree" />

<rule internetstream="true" player="MXPlayerFree" />

<rule video="true" player="MXPlayerFree"/> <!-- Default for anything else not listed -->

</rules>

</playercorefactory>



Unfortunately I don't have powers to attach files or i would attached the required edited playercorefactory and growbox.

---------- Post added at 11:42 PM ---------- Previous post was at 11:38 PM ----------

Sorry I forgot to add, I used ES File editor to edit the XML file.
 

forziere

Senior Member
Apr 13, 2011
312
16
I don't understand: I used kodi on pc windows 8.1 how can I stream to chromecast? there is yatse plugin but it is on pay!
 

lemi00

Member
Mar 13, 2013
23
6
Lisbon
I downloaded Growbox from http://download.clockworkmod.com/test/GrowBox-release.apk and I edited the playcorefactory.xml I had for bubblePnP changing the last bits to MXPlayerFree


<rule protocols="smb" player="MXPlayerFree" />

<rule dvdimage="true" player="MXPlayerFree"/>

<rule protocols="rtmp" player="MXPlayerFree"/>

<rule protocols="rtsp" player="MXPlayerFree" />

<rule protocols="sop" player="MXPlayerFree" />

<rule internetstream="true" player="MXPlayerFree" />

<rule video="true" player="MXPlayerFree"/> <!-- Default for anything else not listed -->

</rules>

</playercorefactory>



Unfortunately I don't have powers to attach files or i would attached the required edited playercorefactory and growbox.

---------- Post added at 11:42 PM ---------- Previous post was at 11:38 PM ----------

Sorry I forgot to add, I used ES File editor to edit the XML file.
Here it goes a link to playercodefactory.xml to use with growbox.
https://www.dropbox.com/s/eeokzlk3278ldk2/playercorefactory.xml?dl=0
It is a great solution.
Nevertheless the problems between Kody and Chromecast are still there, some streams don't work at all and I haven't find a way to see video with subtitles from Kodi.
The best solution, for now, is still Showbox.
 
  • Like
Reactions: yodasmaster

xaliscienxe

New member
Mar 12, 2013
3
0
localcast will let you use open subtitles. org... all you need to do its select the folder (where u download the subtitles for the movie or tv show) in localcast before u cast to firetv, chromecast, xbox, etc.
 

cricketgeek

Member
Dec 2, 2012
7
0
Question XMBC to Chromecast

Here it goes a link to playercodefactory.xml to use with growbox.

It is a great solution.
Nevertheless the problems between Kody and Chromecast are still there, some streams don't work at all and I haven't find a way to see video with subtitles from Kodi.
The best solution, for now, is still Showbox.

Hi , Thanks a bunch!!!, Yours is a best solution !!!.. I used your file to cast showbox and dailymotion to chromecast.. really appreciate if you have a solution to cast xmbc :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    Would you like to stream XBMC through Avia to Chromecast?

    Put this https://www.dropbox.com/s/d8pl1adtlo8rp90/playercorefactory.xml in sdcard/android/data/org.xbmc.xbmc/files/userdata

    Now Avia is the player allowing you to chromecast.


    Sent from my SCH-I535 using xda app-developers app
    5
    Hey,

    A while ago I made some of these Playercore factory files for some other videoplayers besides Avia.
    ** if it does not work, try it with the xbmc XAF version!**

    - LocalCast (by me): https://box.com/s/uxp4k8q4c4mm02ynwrjc

    - BubbleUPnp (by me): https://app.box.com/s/j65ds0tljkskwxyavvft

    -Allcast(credit to: @vibajajo64): https://www.dropbox.com/s/1ltd48heh3wrx45/playercorefactory.xml
    4
    XBMCast: Official XBMC to Chromecast apk

    Would you like to stream XBMC through Avia to Chromecast?

    Put this https://www.dropbox.com/s/d8pl1adtlo8rp90/playercorefactory.xml in sdcard/android/data/org.xbmc.xbmc/files/userdata

    Now Avia is the player allowing you to chromecast.


    Sent from my SCH-I535 using xda app-developers app

    Hello XDA,

    Inspired by this post back a few months ago we would like to share our custom build of XBMCast® Cast from XBMC to Chromcast apk.
    With months of begging and eventual negotiations between all parties, (i.e. XBMC Foundation, Google, etc.) permissions granted and self teaching myself to write and build this custom apk I am proud to offer you XBMCast® with built in custom userdata playercorefactory.xml for all major casting rendering apps for android found on the play store (i.e. bubbleUPnP, Avia, Allcast, etc.) We have included many other features for XBMC such as custom repositories for easier connection to Chromecast for XBMC.

    This is strictly for Chromecast playback and not for use for playback on thedevice installed (if you must use it as a local render, consider downloading mx player from Play Store)
    Install and Use XBMCast
    1. Start by downloading the XBMCast.apk
    2. Remember to uninstall any current version of XBMC from your phone or tablet. Install overlay is not possible.
    3. Once installed and opened onto home screen for XBMCast (Current build uses "Touched" skin for Android touch screen)
    4. Make Sure to Wait for all addons for XBMCast to install, load or update. Give it about 5 minutes for everything to automatically update/sync.
    5. If some things do not work or update please update them manually. system\addons\get addons\ long press repo and select force fresh.
    6. Once you've setup XBMCast the way you want it and your ready to cast to chromecast, Go to file location and long press file.
    7. submenu will open and select "play using"
    8 Select one of the choices that you have installed (i.e. Avia, bubbleUPnP)
    9. As long as you're on the same wifi network for all your rendering (android tablet/phone app) and local media library (where the files come from,
    PC, Server) and your CC, casting will go direct to CC.

    If you have a Chromecast or are considering getting one, it's truly is the best way to stream all your favorite TV shows and movies on your HDTV. We also have many other apks for chrome casting all for free and all do more than any official app on the Play Store.

    XBMCast1.2.8.apk

    3
    I got 1channel to work in conjunction with BubbleUPnP and the media server which transcodes videos so the Chromecast can play them. You have to use the new Gotham beta and the modified playercorefactory.xml after you place it in Android/data/org.XBMC.XBMC/files/.xbmc/userdata/ (this is a hidden folder) you have to clear the cache on XBMC in the add-on long hold the video and click play using them select BubbleUPnP. Below I posted the XML. I'm using a stock Nexus 7 2013 unlocked but not rooted. Some videos may not work also make sure the proper ports are forwarded on the router for the media server. If you pause the video you may not be able to resume or skip forward it's a bit finicky.

    Instructions:

    You need these things:
    XBMC Gotham Beta 2 for ARM based Android
    Instructions for installing XBMC and Hub Wizard (use my APK not the one listed on the page)
    BubbleUPnP (Chromecast/DLNA)
    BubbleUPnP UPnP/DLNA License
    BubbleUPnP Server for transcoding videos

    1. Install XBMC using the APK listed above and follow the XBMC Hub Wizard install guide.

    Android_install_step06.jpg


    2. Copy the code listed below into a text file and rename the file playercorefactory.xml place it in /Android/data/org.XBMC.XBMC/files/.xbmc/userdata/ which is a hidden folder depending on your file manager you may have to enable hidden files/folders. After you put the file in that location go into your app settings and find XBMC and clear the cache on it.



    Code:
    <!--
    	Credits
    	KemoNine (xbmcandroid.com/forums)
    	Staticadk (xbmcandroid.com/forums)
    	GSH (xbmcandroid.com/forums)
    -->
    
    <playercorefactory>
    	<players>
    		<!-- MXPlayer Free definition -->
    		<player name="MX Playerfree" type="ExternalPlayer" audio="false" video="true">
    			<!-- Android intent -->
    			<filename>com.mxtech.videoplayer.ad</filename>
    			<!-- Hide XBMC -->
    			<hidexbmc>true</hidexbmc>
    			<!-- After 2 minutes bump the play count of the item in XBMC -->
    			<playcountminimumtime>120</playcountminimumtime>
    		</player>
    
    		<!-- MX Player Pro definition -->
    		<player name="MX Player Pro" type="ExternalPlayer" audio="false" video="true">
    			<!-- Android intent -->
    			<filename>com.mxtech.videoplayer.pro</filename>
    			<!-- Hide XBMC -->
    			<hidexbmc>true</hidexbmc>
    			<!-- After 2 minutes bump the play count of the item in XBMC -->
    			<playcountminimumtime>120</playcountminimumtime>
    		</player>
    
    		<!-- Allcast definition -->
    		<player name="Allcast" type="ExternalPlayer" audio="false" video="true">
    			<!-- Android intent -->
    			<filename>com.koushickdutta.cast</filename>
    			<!-- Hide XBMC -->
    			<hidexbmc>true</hidexbmc>
    			<!-- After 2 minutes bump the play count of the item in XBMC -->
    			<playcountminimumtime>120</playcountminimumtime>
    		</player>
    
    		<!-- BubbleUPnP definition -->
    		<player name="BubbleUPnP" type="ExternalPlayer" audio="false" video="true">
    			<!-- Android intent -->
    			<filename>com.bubblesoft.android.bubbleupnp</filename>
    			<!-- Hide XBMC -->
    			<hidexbmc>true</hidexbmc>
    			<!-- After 2 minutes bump the play count of the item in XBMC -->
    			<playcountminimumtime>120</playcountminimumtime>
    		</player>
    
    		<!-- Gallery definition -->
    		<player name="Gallery" type="ExternalPlayer" audio="false" video="true">
    			<!-- Android intent -->
    			<filename>com.android.gallery3d</filename>
    			<!-- Hide XBMC -->
    			<hidexbmc>true</hidexbmc>
    			<!-- After 2 minutes bump the play count of the item in XBMC -->
    			<playcountminimumtime>120</playcountminimumtime>
    		</player>
    
    		<!-- LocalCast definition -->
    		<player name="Localcast" type="ExternalPlayer" audio="false" video="true">
    			<!-- Android intent -->
    			<filename>de.stefanpledl.localcast</filename>
    			<!-- Hide XBMC -->
    			<hidexbmc>true</hidexbmc>
    			<!-- After 2 minutes bump the play count of the item in XBMC -->
    			<playcountminimumtime>120</playcountminimumtime>
    		</player>		
    		
    		<!--  definition -->
    		<player name="" type="ExternalPlayer" audio="false" video="true">
    			<!-- Android intent -->
    			<filename></filename>
    			<!-- Hide XBMC -->
    			<hidexbmc>true</hidexbmc>
    			<!-- After 2 minutes bump the play count of the item in XBMC -->
    			<playcountminimumtime>120</playcountminimumtime>
    		</player>
    	</players>
    	
    	<!-- Rules for which external player to use -->
    	<!-- MX Player Pro is default
    	         change player= value to one of the above names to change this -->
    	<rules action="prepend">
    		
    		<!-- Video files -- Default rule (last to ensure above trigger first -->
    		<rule video="true" player="MXPlayer Free"/>
    	</rules>
    </playercorefactory>

    3. Setup the BubbleUPnP Server on your windows computer you may have to forward ports on your router so that your Android device can connect to the server.
    4. Install the two BubbleUPnP apps on your Android Device and make sure it connects to your BubbleUPnP server on your computer and to your Chromecast.
    5. In the 1Channel add-on find a movie browse to the actual link that would start it on your tablet and instead of clicking it long hold it and a context menu will popup after that click play using and select BubbleUPnP it should add it to the play list and you should be able to play it on your Chromecast. If that link doesn't work try another link or another video.





    2
    I'm about to start thinking that the xmbc streaming with the avia player is a myth :) I tried with several gotham builds, i tried with XAF builds. I used the avia-version of the playercorefactory.xml from xbmchelpers. But i always get "External Player Active, Click OK when playback has ended"
    Streaming from avia itself does work but not out of xbmc. Same happens when i explicitly choose Avia to play with...
    :crying:

    MaiRay you will get this error if you try to stream LIVE CONTENT. It should work for content that is not live broadcast. Here are my files that work on my N5:

    XAF version of XBMC : https://www.dropbox.com/s/rlw7s8dvcwahj7f/xbmc-frodo-12.1-xaf-neon-touch-20130503-f21603629f.apk

    Playercorefactory file : https://www.dropbox.com/s/tezg7fj5vh2n7uv/playercorefactory.xml