Streaming MP4 Files From Plex ... Sort of - Google Chromecast

The link below describes setting everything up.
http://pastebin.com/uGmxQKN9
Once you have done this you can stream any URL that contains a MP4 file. I noticed some of my Plex movies were streamed in MP4. URLs look like http://192.168.2.2:32400/library/parts/17783/file.mp4. Using the Javascript in the above link with the URL from Plex allowed me to stream straight from my Plex Media Server. Video quality and sound were perfect BUT there is a large black bar at the bottom of the screen. I think the movie needs to be centered on the screen.
Any ideas on fixing this?

Im new to Plex, where were you finding the URL of the video ending with .mp4?
Im getting links like .../web/index.html#!/servers/15e2c71d244b60996f55a7529156a90294dc03c6/sections/1/player/1
Any tips? Thanks!
Edit: I may have found it. I went to "download" and it gave me the direct link to the video.

xDman11x said:
Im new to Plex, where were you finding the URL of the video ending with .mp4?
Im getting links like .../web/index.html#!/servers/15e2c71d244b60996f55a7529156a90294dc03c6/sections/1/player/1
Any tips? Thanks!
Click to expand...
Click to collapse
You have to start playing the movie in the browser then right click on a blank area and select inspect element. Hit the resources tab and look in the area in the picture. If you right click on the MP4 file and open in a new tab you will get the full URL of the video.

There is a much easier way to do this. Skip the javascript stuff and just use the link below.
http://googlecast.github.io/cast-chrome/
Paste your url in there and hit play. Then click on the ChromeCast device listed below the movie.

Related

Question for Chromecast users and local video playback

Ive been reading a lot of articles looking for this question to be answered and have come up empty handed. Ive already read that Chrome browser can be used to play local video files on the TV with Chromecast. While the video is playing, can the Chrome tab be minimized and the laptop be used for other tasks other than playing the video? Or would that disrupt playback of the file itself?
dongles said:
Ive been reading a lot of articles looking for this question to be answered and have come up empty handed. Ive already read that Chrome browser can be used to play local video files on the TV with Chromecast. While the video is playing, can the Chrome tab be minimized and the laptop be used for other tasks other than playing the video? Or would that disrupt playback of the file itself?
Click to expand...
Click to collapse
Yes it can be. You can maximize the video and then alt-tab out and do other things without disrupting the playback on the TV. You should know that many local file types don't play in Chrome. Mp4s worked but not .avi for me
wsimon said:
Yes it can be. You can maximize the video and then alt-tab out and do other things without disrupting the playback on the TV. You should know that many local file types don't play in Chrome. Mp4s worked but not .avi for me
Click to expand...
Click to collapse
has anyone found a way to play avi files in the tab? when i click them it just downloads the local file again it doesnt play them
DrUnkeN_TiGeR said:
has anyone found a way to play avi files in the tab? when i click them it just downloads the local file again it doesnt play them
Click to expand...
Click to collapse
its a codec thing. We need a extension for it
NyPlaya513 said:
its a codec thing. We need a extension for it
Click to expand...
Click to collapse
The way I get around it right now is chromecasting my tab while using plex media server.
noogert said:
The way I get around it right now is chromecasting my tab while using plex media server.
Click to expand...
Click to collapse
any way to get ts files to play in chrome so i can stream those?

IDEA VLC Streaming

VLC Player itself has a STREAMING option in the File>streaming
It can stream to HTTP, RTSP, UDP.... any know if this is possible to get chromecast to pick it up?
HTTP seems to be the logical choice. But no idea how to pick it up anyone familiar with these functions?
GreenDroidX said:
VLC Player itself has a STREAMING option in the File>streaming
It can stream to HTTP, RTSP, UDP.... any know if this is possible to get chromecast to pick it up?
HTTP seems to be the logical choice. But no idea how to pick it up anyone familiar with these functions?
Click to expand...
Click to collapse
I think this is to stream something out on the web. It doesn't take local content and turn it into an http stream, if that is what you were wanting. In other words it doesn't really stream to http but it streams from an http url.
wsimon said:
I think this is to stream something out on the web. It doesn't take local content and turn it into an http stream, if that is what you were wanting. In other words it doesn't really stream to http but it streams from an http url.
Click to expand...
Click to collapse
Actually, it does. I have used some media player for iOS that makes use of VLC's (desktop version) streaming of local content capability.
hjarnsynk said:
Actually, it does. I have used some media player for iOS that makes use of VLC's (desktop version) streaming of local content capability.
Click to expand...
Click to collapse
So it is possible to do it, just have to figure out how to read the stream either on the Chrome Browser end or better yet ChromeCast itself
So you mean other than streaming in a chrome tab and casting that tab, right? Cuz right now I can play a movie in chrome through vlc and that's how I cast my local media . all formats too but higher res does lag a lil bit
Sent from my Nexus 4 using Tapatalk 4 Beta
VLC Web Plugin
Does anyone know how to set VLC as the default extension in Chrome? Web searched and couldn't find the answer?
I downloaded the web plugin for Chrome Mac, installed it fine, and re-launched chrome.
Whenever I queue up a movie, it launches the Quicktime extension instead of Chrome extension.
Thanks!
golden_35 said:
Does anyone know how to set VLC as the default extension in Chrome? Web searched and couldn't find the answer?
I downloaded the web plugin for Chrome Mac, installed it fine, and re-launched chrome.
Whenever I queue up a movie, it launches the Quicktime extension instead of Chrome extension.
Thanks!
Click to expand...
Click to collapse
Any luck with this? I have yet to get it to work.
hershsa said:
Any luck with this? I have yet to get it to work.
Click to expand...
Click to collapse
VLC plugin is out of date. It doesn't even show up in chrome://plugins. That being said, VLC would need to stream to the DIAL protocol as that is what chromecast uses. In its current state, VLC will do no such thing.
hershsa said:
Any luck with this? I have yet to get it to work.
Click to expand...
Click to collapse
No luck yet.

how to stream any video from desktop through chrome

so I have been using xda for some years now flashing roms and getting a lot of info from the good developers and other people like myself would like to say thanks and sorry if i am posting this info in the wrong place i normally stay quiet but since i got my chromecat i have been trying to stream my video's from my desktop and came across this ----file:///c:/ ---- and worked great but no sound. i never give up so what i found out for myself it is much simpler than that and just make chrome browser your default player and there you have it just click play on what ever video you want to stream and you have good quality pic and sound. Thank you xda if someone else found this out then nevermind ijust wanted to give what little back that i could.
correction
thegovenor said:
so I have been using xda for some years now flashing roms and getting a lot of info from the good developers and other people like myself would like to say thanks and sorry if i am posting this info in the wrong place i normally stay quiet but since i got my chromecat i have been trying to stream my video's from my desktop and came across this ----file:///c:/ ---- and worked great but no sound. i never give up so what i found out for myself it is much simpler than that and just make chrome browser your default player and there you have it just click play on what ever video you want to stream and you have good quality pic and sound. Thank you xda if someone else found this out then nevermind ijust wanted to give what little back that i could.
Click to expand...
Click to collapse
most of my videos play sound but all videos play maybe if one of you talented dev could explain maybe its a certain codec or something if any one can find the answer to that please let me know thanks.
I successfully set up Plex Media Server on all of my computers. However, I cannot get ANY videos to play on Chrome regardless of format (tried mp4, avi, mkv). Whenever I try to play a video either thru Plex or thru the Chrome browser, all I get is a black box with the controls. Nothing plays.
I had that problem and from that screen I tried a shot in the dark and right clicked and clicked open video in new tab... And it started playing! Don't know why but it worked.
Sent from my Nexus 4 using xda app-developers app
Is it possible to load costum subtitles in Chrome?
Saschwatch said:
I had that problem and from that screen I tried a shot in the dark and right clicked and clicked open video in new tab... And it started playing! Don't know why but it worked.
Click to expand...
Click to collapse
Didn't work either!
Saschwatch said:
I had that problem and from that screen I tried a shot in the dark and right clicked and clicked open video in new tab... And it started playing! Don't know why but it worked.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
just make chrome browser default video player then double click to play not right click and should play thats the same screen i get but movies playfor me.
pdl2mtl90 said:
I successfully set up Plex Media Server on all of my computers. However, I cannot get ANY videos to play on Chrome regardless of format (tried mp4, avi, mkv). Whenever I try to play a video either thru Plex or thru the Chrome browser, all I get is a black box with the controls. Nothing plays.
Click to expand...
Click to collapse
Support is expected soon...
http://rootzwiki.com/news/plex-dial-chromecast-support-soon/
thegovenor said:
just make chrome browser default video player then double click to play not right click and should play thats the same screen i get but movies playfor me.
Click to expand...
Click to collapse
I tried that based on a suggestion I found during research but I am not offered that option, even when right clicking and choosing "Open with".
All the movies I try to play in the browser just start downloading.
Chrome doesn't support all video formats, check what all it supports and use those.
Sent from my HTC One using Tapatalk 4
thesparky007 said:
Chrome doesn't support all video formats, check what all it supports and use those.
Sent from my HTC One using Tapatalk 4
Click to expand...
Click to collapse
ive tried mkv, avi, rmvb.. all dl's =/
iandroo888 said:
ive tried mkv, avi, rmvb.. all dl's =/
Click to expand...
Click to collapse
Chrome only plays MP4 by default.
I have installed and tried using PLEX, but my videos always play choppy on the CC, is there a way I could directly send the URL to the CC? Ya know, make it play like YouTube or something...?
For those using Plex and having problem, I've been using SubSonic for a while and have no issues.
iandroo888 said:
ive tried mkv, avi, rmvb.. all dl's =/
Click to expand...
Click to collapse
It's true that Chrome's built-in player only plays mp4 video files.
What you should do for other file types is install VLC, along with the VLC browser plugins. The VLC plugin for Mozilla/Chrome will play most video file types, but there are some issues:
1. You may have to disable other conflicting plugins like Quicktime, because it's darn near impossible to tell Chrome which plugin has priority to play a particular MIME type or file type. Type about: plugins into the Chrome address bar to access the plugins list.
2. Chrome insists on downloading avi files instead of playing them, so you have to trick it: rename the avi file as mpeg and let the VLC plugin automatically determine the correct file type from the header. You can rename it back to avi after you play it in Chrome.
3. There doesn't seem to be any way to select the correct audio track in files with multiple audio tracks, and it always seems to default to the wrong one in mkv files.
DJames1 said:
It's true that Chrome's built-in player only plays mp4 video files.
What you should do for other file types is install VLC, along with the VLC browser plugins. The VLC plugin for Mozilla/Chrome will play most video file types, but there are some issues:
1. You may have to disable other conflicting plugins like Quicktime, because it's darn near impossible to tell Chrome which plugin has priority to play a particular MIME type or file type. Type about: plugins into the Chrome address bar to access the plugins list.
2. Chrome insists on downloading avi files instead of playing them, so you have to trick it: rename the avi file as mpeg and let the VLC plugin automatically determine the correct file type from the header. You can rename it back to avi after you play it in Chrome.
3. There doesn't seem to be any way to select the correct audio track in files with multiple audio tracks, and it always seems to default to the wrong one in mkv files.
Click to expand...
Click to collapse
chrome now appears to play mkv files although it will not cast them correctly.
DJames1 said:
It's true that Chrome's built-in player only plays mp4 video files.
What you should do for other file types is install VLC, along with the VLC browser plugins. The VLC plugin for Mozilla/Chrome will play most video file types, but there are some issues:
1. You may have to disable other conflicting plugins like Quicktime, because it's darn near impossible to tell Chrome which plugin has priority to play a particular MIME type or file type. Type about: plugins into the Chrome address bar to access the plugins list.
2. Chrome insists on downloading avi files instead of playing them, so you have to trick it: rename the avi file as mpeg and let the VLC plugin automatically determine the correct file type from the header. You can rename it back to avi after you play it in Chrome.
3. There doesn't seem to be any way to select the correct audio track in files with multiple audio tracks, and it always seems to default to the wrong one in mkv files.
Click to expand...
Click to collapse
I do not see how to use the VLC Plugin for Chrome. I unisntalled VLC and installed 2.1.0 and then after I did that I see no option for VLC Plugins in Chrome or a way to export videos from VLC to Chrome. Can you please explain how this plugin works with regards to using it with chromecast?
When you install VLC, you have the option to also install the browser plugins. Chrome shares the Mozilla plugin. After installation, you will find the VLC plugin in the list of Chrome plugins (enter About: plugins on the address bar). It's enabled by default, and you can expand the details to see what MIME types it supports. However you may see other plugins in the list which are also enabled and also support the same MIME types (e.g., Quicktime), and there's no way to control which one has precedence other than to disable one of them.
Streaming from Tablet
With Chromecast would I be able to steam a Note 10.1(2014) tablet wirelessly to my TV...thanks
DJames1 said:
When you install VLC, you have the option to also install the browser plugins. Chrome shares the Mozilla plugin. After installation, you will find the VLC plugin in the list of Chrome plugins (enter About: plugins on the address bar). It's enabled by default, and you can expand the details to see what MIME types it supports. However you may see other plugins in the list which are also enabled and also support the same MIME types (e.g., Quicktime), and there's no way to control which one has precedence other than to disable one of them.
Click to expand...
Click to collapse
I have re installed Chrome and VLC player, and the VLC plugin does not show up in Chrome when I go to aboutlugins. I do not know why, I definitely installed the Mozilla plugin.

Cast From Windows To Chromecast

This is a how to on Casting Xbmc from Computer to TV for Free using Chromecast Browser. You are going to see this blows away any previous method for casting like this. It actually can even cast live streams which I didn't even think was possible and something I wasn't able to do in Avia or Allcast! It currently should work on Windows, Mac, Chrome OS and Linux.
The instructions are below. I'm not going to post links here because I don't want to get banned. You can cut and paste the line in bold print into either Google or YouTube and it will take you to my video where I provide instructions and links to everything you need which isn't really that much.
Cast XBMC from Chrome Browser - Free!!! Live Sports!!!
How to Cast XBMC from Computer to TV for Free using Chromecast and Chrome Browser.
Step 1. Go into Chrome Browser and add the Google Cast Extension.
Step 2. Download and install XBMC Windows version 12.3 Frodo
You need to run xbmc once to set up the proper folders.
Step 3. Download my modified playercorefactory.xml
Place playercorefactory.xml in the userdata folder using the following path.
C:\Program Files (x86)\XBMC\system\
Hint: My path to Chrome Browser is C:\Program Files (x86)\Google\Chrome\Application\chrome.exe Your path to chrome.exe could definitely be different than mine and you will have to find your path and change it in the playercorefactory.xml.
Step 4. Demonstration
Start Chromecast
Start XBMC
Start your show- Click the Cast Button and it automatically finds the Chrome Browser and plays the video. You hit the cast button and it casts to the Television.
Good Luck!
vincent1964 said:
This is a how to on Casting Xbmc from Computer to TV for Free using Chromecast Browser. You are going to see this blows away any previous method for casting like this. It actually can even cast live streams which I didn't even think was possible and something I wasn't able to do in Avia or Allcast! It currently should work on Windows, Mac, Chrome OS and Linux.
The instructions are below. I'm not going to post links here because I don't wan to get banned. You can cut and paste the line in bold print into either Google or YouTube and it will take you to my video where I provide instructions and links to everything you need which isn't really that much.
Cast XBMC from Chrome Browser - Free!!! Live Sports!!!
How to Cast XBMC from Computer to TV for Free using Chromecast and Chrome Browser.
Step 1. Go into Chrome Browser and add the Google Cast Extension.
Step 2. Download and install XBMC Windows version 12.3 Frodo
You need to run xbmc once to set up the proper folders.
Step 3. Download my modified playercorefactory.xml
Place playercorefactory.xml in the userdata folder using the following path.
C:\Program Files (x86)\XBMC\system\
Step 4. Demonstration
Start Chromecast
Start XBMC
Start your show- Click the Cast Button and it automatically finds the Chrome Browser and plays the video. You hit the cast button and it casts to the Television.
Good Luck!
Click to expand...
Click to collapse
I know that you're excited, but you forgot to attach the file...
mathorv said:
I know that you're excited, but you forgot to attach the file...
Click to expand...
Click to collapse
What file?
vincent1964 said:
What file?
Click to expand...
Click to collapse
hmm
Step 3. Download my modified playercorefactory.xml
Click to expand...
Click to collapse
Edit: I do not see
Step 4. Demonstration
Click to expand...
Click to collapse
either
nor any url in your OP
You meant this?
https://www.youtube.com/watch?v=HmyxUVDMYEU
and this?
http://www.mediafire.com/download/gdf9yqpg3b9uk9i/playercorefactory.xml
I just figured you would download that at the YouTube site. I didn't even think to attach it on here.
mathorv said:
hmm
Click to expand...
Click to collapse
Thanks mathorv
Just wanted to mention, that this setup plays Mp4's or Mkv's which play in the Chrome Browser and then can be casted with Chromecast. In
order to play FLV and other formats, you can use VLC Player Chrome Extension and then you can play all the formats on the computer and cast them with a work around.
Download the 32 bit version of VLC Player and make sure Plugins/Extensions are checked during installation. Then type chrome://plugins in the chrome browser and make sure the VLC web plugin is enabled. Now anything that can be played by the Chrome Browser like an mp4 will play in Chrome and anything that can't be played by the Chrome Browser like an flv will still open inside the Chrome Browser but in VLC.
Will this work for casting MKV's coded with AC3 audio directly from the PC to the Chromecast without going through an Android device? I've tried tab-casting files played by Plex but the performance is never too good.
vincent1964 said:
Just wanted to mention, that this setup plays Mp4's or Mkv's which play in the Chrome Browser and then can be casted with Chromecast. In
order to play FLV and other formats, you can use VLC Player Chrome Extension and then you can play all the formats on the computer and cast them with a work around.
Download the 32 bit version of VLC Player and make sure Plugins/Extensions are checked during installation. Then type chrome://plugins in the chrome browser and make sure the VLC web plugin is enabled. Now anything that can be played by the Chrome Browser like an mp4 will play in Chrome and anything that can't be played by the Chrome Browser like an flv will still open inside the Chrome Browser but in VLC.
Click to expand...
Click to collapse
Problem I'm having with this is that Chrome insists on playing the MKV. No sound because's it's AC3. Is there a way to force Chrome to use VLC?
Will this work on Gotham beta 3?
I couldnt get this to work on neither Win7 or Win8. Tried changing paths in the xml and still nothing.
I got everything... but every time i try to play a live stream... it will just download the playlist and not stream directly onto the google chrome browser... am I missing something?
All paths are correct, and i have the VLC plug in on chrome browser....
Is anyone else have the same issue?
MrPeeta said:
I got everything... but every time i try to play a live stream... it will just download the playlist and not stream directly onto the google chrome browser... am I missing something?
All paths are correct, and i have the VLC plug in on chrome browser....
Is anyone else have the same issue?
Click to expand...
Click to collapse
Same issue here
Will only work with http streams. Works with nba.
vincent1964 said:
Will only work with http streams. Works with nba.
Click to expand...
Click to collapse
so it is not possible to live stream a movie off icefilms via xbmc to my chromecast without it first downloading to my harddrive?
thanks
playercorefactory.xml.
vincent1964 said:
This is a how to on Casting Xbmc from Computer to TV for Free using Chromecast Browser. You are going to see this blows away any previous method for casting like this. It actually can even cast live streams which I didn't even think was possible and something I wasn't able to do in Avia or Allcast! It currently should work on Windows, Mac, Chrome OS and Linux.
The instructions are below. I'm not going to post links here because I don't want to get banned. You can cut and paste the line in bold print into either Google or YouTube and it will take you to my video where I provide instructions and links to everything you need which isn't really that much.
Cast XBMC from Chrome Browser - Free!!! Live Sports!!!
How to Cast XBMC from Computer to TV for Free using Chromecast and Chrome Browser.
Step 1. Go into Chrome Browser and add the Google Cast Extension.
Step 2. Download and install XBMC Windows version 12.3 Frodo
You need to run xbmc once to set up the proper folders.
Step 3. Download my modified playercorefactory.xml
Place playercorefactory.xml in the userdata folder using the following path.
C:\Program Files (x86)\XBMC\system\
Hint: My path to Chrome Browser is C:\Program Files (x86)\Google\Chrome\Application\chrome.exe Your path to chrome.exe could definitely be different than mine and you will have to find your path and change it in the playercorefactory.xml.
Step 4. Demonstration
Start Chromecast
Start XBMC
Start your show- Click the Cast Button and it automatically finds the Chrome Browser and plays the video. You hit the cast button and it casts to the Television.
Good Luck!
Click to expand...
Click to collapse
what part of the playercorefactory.xml do i copy and past into xmc system folder once downloaded ,i understand in the xmc system folder there is a player corefatory already there which has to be replaced
you need to put the playercorefactory.xml into userdata directory. Not the system directory

WebCast chrome extension

I've posted chrome extension that allows to stream mp4 files on the pages to Chromecast. I can't post links , so you'll have to search for it in the chrome Web Store, just search for "chromecast webcast"
It's early preview and is buggy. The idea it that it detects when .mp4 file is played on the page and adds page action to omnibox. Clicking there will show you list of video files found on the page and screenshot if it can get one.
To cast to Chromecast you currently are sent away to simple site with player that supports Chromecast. It turned out to be forbidden to cast video from extension, that's why for now this workaround.
I would appreciate feedback and overall thoughts if this extension is useful.
This sounds like vget
Sent from my One X using Tapatalk
drivenby said:
This sounds like vget
Sent from my One X using Tapatalk
Click to expand...
Click to collapse
yes to some point, but vget doesn't support Chromecast yet. Extension page says support will be added soon.
Installed, but doesn't seem to work for me. I tried opening a couple of local mp4 files in Chrome, and also mp4 streams from the internet archive site suggested earlier to test vGet, like: https://archive.org/details/dick_tracy_detctive
The Webcast symbol never appeared.
DJames1 said:
Installed, but doesn't seem to work for me. I tried opening a couple of local mp4 files in Chrome, and also mp4 streams from the internet archive site suggested earlier to test vGet, like: archive.org / details / dick_tracy_detctive
The Webcast symbol never appeared.
Click to expand...
Click to collapse
It's not supposed to work with local files. There are other extensions to do that. It works only with embedded HTML videos.
Example with on the link didn't work because it was on HTTPS. I changed permissions to support https and updated extension. In ~60 minutes it will get published. When it updates for you it should work on the example you sent. (You might need to restart browser to force refresh extension).
Meanwhile it does work on site like Vimeo .
Ok, it works now. The controls seem to be limited to Pause/Play.

Categories

Resources