I was just wondering if anyone could give everyone(myself included) some tips/pointers/recommendations and maybe your own templates that you've used or would use for these extra Dev options in my picture I've included...If anyone can help with all of the options (Label #1) and/or just the bottom set of options (Label #2) that'd be awesome!! The bottom set(#2) is really making me curious about being able to stream local videos from our PC without any extra help from 3rd party sources/plugins/python-related sources. If you can contribute to this, please feel free! Thanks!
jsdecker10 said:
I was just wondering if anyone could give everyone(myself included) some tips/pointers/recommendations and maybe your own templates that you've used or would use for these extra Dev options in my picture I've included...If anyone can help with all of the options (Label #1) and/or just the bottom set of options (Label #2) that'd be awesome!! The bottom set(#2) is really making me curious about being able to stream local videos from our PC without any extra help from 3rd party sources/plugins/python-related sources. If you can contribute to this, please feel free! Thanks!
Click to expand...
Click to collapse
As for stream local videos, there is already a solution, it been posted before but not explicitly EpicVS used this to make his python script.
For this method you will Only need one additional thing is Mongoose (if you want to stream local files, otherwise you can stream any HTML5 video that is already posted online), you don't need any Python thing.
1)
This is the Backup files/scripts from (googlecast.github.io/cast-chrome/ which is no longer available) http://forum.xda-developers.com/attachment.php?attachmentid=2175295&d=1376004871. Unzip The file to your local drive. I just put it on my desktop
2) WhiteList your Chrome (This step is from Google Them-self)
To permit your Chrome sender application to use the SDK, you must register the application's domain in the Google Cast extension for Chrome.
Be sure you are running Chrome version 28 or later.
If you haven't restarted Chrome in a while you may be running an older version; restarting will update Chrome automatically.
In the Chrome address field, enter chrome://extensions, and check the Developer mode checkbox to enable developer mode.
Install the Chrome extension for Google Cast.
On the Cast extension icon in the browser's upper right corner (next to the address field), right-click and select Options.
The Google Cast extension options page opens in a new tab.
On the blue Cast icon, in the page's upper left corner, click four (4) times.
The Developer Settings appear.
In the Cast SDK additional domains field, enter your application's domain, for example, "www.mydomain.com" and click Add.
Click to expand...
Click to collapse
So the trick is in the SDK additional domains field put: localhost then click add
3) Now go find the folder from step 1. Download this https://code.google.com/p/mongoose/downloads/detail?name=mongoose-3.8.exe and put the mongoose exe in the same folder as step 1
4) Launch Mongoose. (Mongoose will reside in the Taskbar near the clock)
5) Open your chrome browser and type in the address bar localhost:8080. In my case I changed the Mongoose option to port 80. So I only have to type localhost
6) You should be greeted with a webpage now. If you read this post http://forum.xda-developers.com/showthread.php?t=2386604, you should get an idea how this webpage supposed to work.
So the Trick to the original website that Google took down is the Play HTML5 video option. (They took it down so now we have to simulate a webserver to get it back. But there is a benefit NOW. Since you now have an HTML webserver, you can host a local video file.
In my case I move an MP4 movie file or any chromeast compatible video such as MKV into the folder in Step1. And the simple thing to stream that file is in the HTML5 box trick. Now just enter the address "http://yourLocalipAddress:yourmongooseportnumber/yourmoviefile.mkv. So for example mine is http://192.168.1.106/StarTrekSample.mkv since my port is 80, I don't have to put in a port number, it stream great full resolution and everything NO slow down even on a G network
--------------------------------------------------
Optional:
You can convert stuff pretty fast using MkvToMp4_0.223 it is free. (Note: not all MKV or other files required conversion, some MKV sound doesn't work, this program will fix that)
Also I made an improvement to the HTML code that will let you fast forward. In the index.html (you can also rename it anything, I rename my to cast.html so I can view all the file in the HTML folder, including the movie file, so I can just copy the URL and just type in the IP address)
For the fast forward thing:
1) open the index.htm (you can open it just using notepad, nothing fancy)
2) search for <video id="video" src="" autoplay="autoplay"></video>
3) you will see 2 instants of that code, just replace it with: <video id="video" src="" autoplay="autoplay" controls></video>
This will put a control bar underneath the video screen on your computer so you can fast forward (this only work ONCE before you cast it to your TV). You may have to clear the browser cache before this show up
Also sometime the video will not play in the browser windows, but if you cast it to the TV anyway it sometime take up to 30 secs to 45 secs then it will play. This especially true if you stream a video from an online source.
GreenDroidX said:
As for stream local videos, there is already a solution, it been posted before but not explicitly EpicVS used this to make his python script.
For this method you will Only need one additional thing is Mongoose (if you want to stream local files, otherwise you can stream any HTML5 video that is already posted online), you don't need any Python thing.
1)
This is the Backup files/scripts from (googlecast.github.io/cast-chrome/ which is no longer available) http://forum.xda-developers.com/attachment.php?attachmentid=2175295&d=1376004871. Unzip The file to your local drive. I just put it on my desktop
2) WhiteList your Chrome (This step is from Google Them-self)
So the trick is in the SDK additional domains field put: localhost then click add
3) Now go find the folder from step 1. Download this https://code.google.com/p/mongoose/downloads/detail?name=mongoose-3.8.exe and put the mongoose exe in the same folder as step 1
4) Launch Mongoose. (Mongoose will reside in the Taskbar near the clock)
5) Open your chrome browser and type in the address bar localhost:8080. In my case I changed the Mongoose option to port 80. So I only have to type localhost
6) You should be greeted with a webpage now. If you read this post http://forum.xda-developers.com/showthread.php?t=2386604, you should get an idea how this webpage supposed to work.
So the Trick to the original website that Google took down is the Play HTML5 video option. (They took it down so now we have to simulate a webserver to get it back. But there is a benefit NOW. Since you now have an HTML webserver, you can host a local video file.
In my case I move an MP4 movie file or any chromeast compatible video such as MKV into the folder in Step1. And the simple thing to stream that file is in the HTML5 box trick. Now just enter the address "http://yourLocalipAddress:yourmongooseportnumber/yourmoviefile.mkv. So for example mine is http://192.168.1.106/StarTrekSample.mkv since my port is 80, I don't have to put in a port number, it stream great full resolution and everything NO slow down even on a G network
Click to expand...
Click to collapse
Thank you for taking the time to type up all of this valuable info...it works great! Most of my videos are wide screen 720p format. My only gripe so far is that unless I download a video that's in full screen format(not letter-box), it puts it at the top of the screen with a black bar at the bottom of the screen. This can be remedied by just sending a full screen formatted video to the chromecast. It works this way consistent with every single 720p widescreen video I've got. Do you think that if I tried a 1080p video, that it would take up the whole screen? Or at least have the black bar on both the top and bottom of the screen? Just seeing the black bar at the bottom is just quite an annoyance more than anything...I've looked around in my settings on my tv(Sony 51") and can't find anything that'll either make the video take up the entire screen or have the black bars on both the top and bottom of the videos...grrrr
GreenDroidX said:
As for stream local videos, there is already a solution, it been posted before but not explicitly EpicVS used this to make his python script.
For this method you will Only need one additional thing is Mongoose (if you want to stream local files, otherwise you can stream any HTML5 video that is already posted online), you don't need any Python thing.
1)
This is the Backup files/scripts from (googlecast.github.io/cast-chrome/ which is no longer available) http://forum.xda-developers.com/attachment.php?attachmentid=2175295&d=1376004871. Unzip The file to your local drive. I just put it on my desktop
2) WhiteList your Chrome (This step is from Google Them-self)
So the trick is in the SDK additional domains field put: localhost then click add
3) Now go find the folder from step 1. Download this https://code.google.com/p/mongoose/downloads/detail?name=mongoose-3.8.exe and put the mongoose exe in the same folder as step 1
4) Launch Mongoose. (Mongoose will reside in the Taskbar near the clock)
5) Open your chrome browser and type in the address bar localhost:8080. In my case I changed the Mongoose option to port 80. So I only have to type localhost
6) You should be greeted with a webpage now. If you read this post http://forum.xda-developers.com/showthread.php?t=2386604, you should get an idea how this webpage supposed to work.
So the Trick to the original website that Google took down is the Play HTML5 video option. (They took it down so now we have to simulate a webserver to get it back. But there is a benefit NOW. Since you now have an HTML webserver, you can host a local video file.
In my case I move an MP4 movie file or any chromeast compatible video such as MKV into the folder in Step1. And the simple thing to stream that file is in the HTML5 box trick. Now just enter the address "http://yourLocalipAddress:yourmongooseportnumber/yourmoviefile.mkv. So for example mine is http://192.168.1.106/StarTrekSample.mkv since my port is 80, I don't have to put in a port number, it stream great full resolution and everything NO slow down even on a G network
Click to expand...
Click to collapse
Have you tried a divx file just to see what happens? "like a downloaded movie" Not a TV show as they are always encoded in mp4 which is streamable by chrome ext default.
This will stream all video at Native resolution, it will def do 1080p, your network won't have too much problem with it. As for file format this is from Google:
Video codecs: H.264 High Profile Level 4.1, 4.2 and 5, VP8
Audio decoding: HE-AAC, LC-AAC, CELT/OPUS, MP3
Containers: MP4/CENC, WebM, MPEG-DASH, SmoothStreaming
Level 1 DRM support: Widevine, Playready
Click to expand...
Click to collapse
You can convert stuff pretty fast using MkvToMp4_0.223 it is free. (Note: not all MKV or other files required conversion, some MKV sound doesn't work, this program will fix that)
Also I made an improvement to the HTML code that will let you fast forward. In the index.html (you can also rename it anything, I rename my to cast.html so I can view all the file in the HTML folder, including the movie file, so I can just copy the URL and just type in the IP address)
For the fast forward thing:
1) open the index.htm (you can open it just using notepad, nothing fancy)
2) search for <video id="video" src="" autoplay="autoplay"></video>
3) you will see 2 instants of that code, just replace it with: <video id="video" src="" autoplay="autoplay" controls></video>
This will put a control bar underneath the video screen on your computer so you can fast forward (this only work ONCE before you cast it to your TV). You may have to clear the browser cache before this show up
Also sometime the video will not play in the browser windows, but if you cast it to the TV anyway it sometime take up to 30 secs to 45 secs then it will play. This especially true if you stream a video from an online source.
GreenDroidX said:
As for stream local videos, there is already a solution, it been posted before but not explicitly EpicVS used this to make his python script.
For this method you will Only need one additional thing is Mongoose (if you want to stream local files, otherwise you can stream any HTML5 video that is already posted online), you don't need any Python thing.
1)
This is the Backup files/scripts from (googlecast.github.io/cast-chrome/ which is no longer available) http://forum.xda-developers.com/attachment.php?attachmentid=2175295&d=1376004871. Unzip The file to your local drive. I just put it on my desktop
2) WhiteList your Chrome (This step is from Google Them-self)
So the trick is in the SDK additional domains field put: localhost then click add
3) Now go find the folder from step 1. Download this https://code.google.com/p/mongoose/downloads/detail?name=mongoose-3.8.exe and put the mongoose exe in the same folder as step 1
4) Launch Mongoose. (Mongoose will reside in the Taskbar near the clock)
5) Open your chrome browser and type in the address bar localhost:8080. In my case I changed the Mongoose option to port 80. So I only have to type localhost
6) You should be greeted with a webpage now. If you read this post http://forum.xda-developers.com/showthread.php?t=2386604, you should get an idea how this webpage supposed to work.
So the Trick to the original website that Google took down is the Play HTML5 video option. (They took it down so now we have to simulate a webserver to get it back. But there is a benefit NOW. Since you now have an HTML webserver, you can host a local video file.
In my case I move an MP4 movie file or any chromeast compatible video such as MKV into the folder in Step1. And the simple thing to stream that file is in the HTML5 box trick. Now just enter the address "http://yourLocalipAddress:yourmongooseportnumber/yourmoviefile.mkv. So for example mine is http://192.168.1.106/StarTrekSample.mkv since my port is 80, I don't have to put in a port number, it stream great full resolution and everything NO slow down even on a G network
Click to expand...
Click to collapse
I did exactly as described above using winodws 8.The video plays locally , but when click on chromecast it goes to the TV and I get a blank screen. I get the following error while trying to cast the video. Can you please help me resolve this ...Thanks
Error:
{"eventSequenceId":1,"activityId":"9jpopqye07td","state":2,"contentId":"http://localhost/Burfi.mp4","title":"http://localhost/Burfi.mp4","imageUrl":null,"timeProgress":true,"position":5.507666,"duration":0,"volume":0.8,"muted":false,"contentInfo":null,"mediaTracks":[],"error":null,"hasPause":true}
Thanks once again
rajnallan said:
I did exactly as described above using winodws 8.The video plays locally , but when click on chromecast it goes to the TV and I get a blank screen. I get the following error while trying to cast the video. Can you please help me resolve this ...Thanks
Error:
{"eventSequenceId":1,"activityId":"9jpopqye07td","state":2,"contentId":"http://localhost/Burfi.mp4","title":"http://localhost/Burfi.mp4","imageUrl":null,"timeProgress":true,"position":5.507666,"duration":0,"volume":0.8,"muted":false,"contentInfo":null,"mediaTracks":[],"error":null,"hasPause":true}
Thanks once again
Click to expand...
Click to collapse
your thing is the localhost you need to translate that to your local ip address (you can probably find that in the network center of windows 8, I am still refusing to upgrade to windows 8, so I am on win 7) or simply access your router
For example mine local IP address is 192.168.1.153, to get the video to play you need to put this as your url
http://localhost/Burfi.mp4 -> http://192.168.1.153/Burfi.mp4 (so this way when the URL go to chromecast it know what the heck localhost is)
Oh by the way, that msg is always there. It is sort of a debug msg left in by the original coder, I am guessing it was the Google Team that did it.
GreenDroidX said:
your thing is the localhost you need to translate that to your local ip address (you can probably find that in the network center of windows 8, I am still refusing to upgrade to windows 8, so I am on win 7) or simply access your router
For example mine local IP address is 192.168.1.153, to get the video to play you need to put this as your url
http://localhost/Burfi.mp4 -> http://192.168.1.153/Burfi.mp4 (so this way when the URL go to chromecast it know what the heck localhost is)
Oh by the way, that msg is always there. It is sort of a debug msg left in by the original coder, I am guessing it was the Google Team that did it.
Click to expand...
Click to collapse
Thanks for your response. I did try the url as you suggested. But the video plays on the computer. But when I try to cast in to TV I get a blank screen on TV. Waited for more than two minutes. May be somewhere I am doing something wrong.
Just to add when I checked on the chromecast icon in Chrome browser it shows the movie as running on chromecast but nothing on TV.
rajnallan said:
Thanks for your response. I did try the url as you suggested. But the video plays on the computer. But when I try to cast in to TV I get a blank screen on TV. Waited for more than two minutes. May be somewhere I am doing something wrong.
Just to add when I checked on the chromecast icon in Chrome browser it shows the movie as running on chromecast but nothing on TV.
Click to expand...
Click to collapse
Strange, well first use another computer with chrome that is on the same network. Try to enter that url into the browser, if that play then the file could be seen. If not then you have a network problem.
Second try to enter a url of a video that is already online. Like the http://media.w3.org/2010/05/sintel/trailer.mp4 see if that will cast. Just to see if chromecast have a problem
Sent from my Nexus 7 using Tapatalk 4
GreenDroidX said:
Strange, well first use another computer with chrome that is on the same network. Try to enter that url into the browser, if that play then the file could be seen. If not then you have a network problem.
Second try to enter a url of a video that is already online. Like the http://media.w3.org/2010/05/sintel/trailer.mp4 see if that will cast. Just to see if chromecast have a problem
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
I did try the url of a video http://media.w3.org/2010/05/sintel/trailer.mp4 and it works. Chromecast is definitely OK. I can see the movie with the url like the one specified by you play on the computer but when I cast it I see the message on the chromecast icon on the chrome browser showing the movie is running but the tv which switches to the Chromecast hdmi port shows blank on the TV. May be I will try on my daughter's computer...
rajnallan said:
I did try the url of a video http://media.w3.org/2010/05/sintel/trailer.mp4 and it works. Chromecast is definitely OK. I can see the movie with the url like the one specified by you play on the computer but when I cast it I see the message on the chromecast icon on the chrome browser showing the movie is running but the tv which switches to the Chromecast hdmi port shows blank on the TV. May be I will try on my daughter's computer...
Click to expand...
Click to collapse
Also firewall can be a problem too good luck. Also try different files
rajnallan said:
I did exactly as described above using winodws 8.The video plays locally , but when click on chromecast it goes to the TV and I get a blank screen. I get the following error while trying to cast the video. Can you please help me resolve this ...Thanks
Error:
{"eventSequenceId":1,"activityId":"9jpopqye07td","state":2,"contentId":"http://localhost/Burfi.mp4","title":"http://localhost/Burfi.mp4","imageUrl":null,"timeProgress":true,"position":5.507666,"duration":0,"volume":0.8,"muted":false,"contentInfo":null,"mediaTracks":[],"error":null,"hasPause":true}
Thanks once again
Click to expand...
Click to collapse
I'm not sure if you've figured out your problem yet or not, but just by looking at your post, it looks to me like you have input the wrong "Address" information before the filename. You need to include the port# right after your internal ip address. Such as... http://192.168.1.101:8080/drinkingbuddies.mp4 . You can re-read his instructions below..These are the instructions he outlined above, but I just typed them out in my own words...just don't forget to include the port in the address and you should be good to go!!
1. Rename your video file to something easy like for example... "Chrome.Cast.720p.H.264.2013.WideScreen.Cam.xda-Devs-Rockz.mp4" to something a little easier to remember and easier to type back in such as "chromecast720p.mp4" or simply "cc.mp4" --just for simplicity sake...name it whatever you wanna!
2.. Make sure the .mp4, .mkv, or whatever Chromecast supported video file, has been moved into the same folder/directory as the "mongoose-3.8.exe" , "cast.py" , "angular.min.js" , "index.html" , "demo_app.js" files. I think there's a couple more files in that folder, but you get my drift...
3 Run(double-click) the mongoose-3.8.exe file in that folder. It should start running in the background without any visual GUI popping up in your face. You really don't have to change any settings in mongoose, but if you want to change the port# you can. if you leave all settings the same, I believe the default port# is set to Port# 8080.
4. Locate your INTERNAL IP ADDRESS. This is the IP Address that your router assigns each individual pc/phone/tablet/Chromecast, etc... Mine happens to be 192.168.1.101 . Yours will more than likely be something different than mine, but it will probably be something between the range of: 192.168.1.100 - 192.168.1.149
5. This is assuming you just double-clicked on mongoose-3.8.exe & did't change ANY settings from within the mongoose server... Open up a tab in Chrome and in the address bar you wanna type this exactly, but without the quotes ---> "localhost:8080"
6. That'll open up the simplified Chromecast testing page...at least if you did everything right so far it should open that page... from this page, click that first little drop down box at the top of the page and select the HTML5 option.
7. In the filename input box that pops up below it, you wanna type "http://yourLOCALipaddresshere:8080/videofilename.extension" . Mine for example, happens to be http://192.168.1.101:8080/drinkingbuddies.mp4
8. Assuming you did everything so far exactly as we've told you, your video should start playing in the tab.
9. Right below your video, you want to click and select your chromecast... after choosing your chromecast, the video from within your chrome browser will more than likely either go blank or it will just look like it's paused. Don't worry though. From my understanding, that's totally normal...
10. Ok, cool...now if everything has been done correctly, you should be able to see the movie playing on your TV. This may take up to a minute to show up on your tv in some instances, due to your router, pc,network traffic, etc...
These steps that I outlined are pretty much the same thing as in earlier posts, just put into my own words. It works just fine for me, I'm just still getting the black bar across the bottom of the TV, unless i change the movie to a full-screen movie. Full-screen movies seem to work just fine and of course, they take up the entire screen. I for some reason still can't get ANY widescreen videos to display properly...there's always a black bar at the bottom and NO black bar at the top. It's like they're "Half-ass wide-screen" format. lol
I get the same error message but the video plays fine. I guess he's got a different problem. I noticed that you need to manually stop the current video in the browser window so chromecast goes to "ready to cast" screen before you can start a new video.
Related
I have created a tool that greatly simplifies the task of streaming mp4's and other file types through vlc to the chromecast using html5.
H.264 works very well, but other files are slow due to the transcoding process
Prerequisites
1. Python(2.7) with Environmental Variables set
2. Chrome as default browser
3. VLC added to path for vlc transcoding version
Installation Instructions
1. Go to chrome://extensions, and check the Developer mode in the upper right corner
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Go to Google Cast extension options
3. Click on blue icon 4 times or until Developer Settings appear at the bottom of your screen
4. Enter "localhost" and click add
5. For tornado version, run install.py
Usage Instructions
1. Move file into the same directory as cast.py
2. Open command prompt / terminal in the directory of cast.py
3. enter "python cast.py NameOfFile.mp4"
for vlc transcoding version, when using non H.264 video, "python cast.py NameOfFile -t -b BITRATE -s SCALE"
4. click the play video button to make sure the file works, then click the chromecast you want to stream it to.
Note
the simple http server version is cross platform, but extremely slow. If you are on windows, I strongly recommend that you use the mongoose version. I am looking into a faster cross platform solution. The tornado version should be much faster although it takes a lot of ram.
This also only plays H.264 mp4's but I am looking into real time transcoding with VLC in order to watch videos with any compression
There is now a vlc transcoding version that will play any type of video, although it is a little choppy and uses a lot of cpu.
doesn't seem to work. this is what I get
http://i.imgur.com/LOPGaUu.png
Epic_VS said:
I have created a tool that greatly simplifies the task of streaming mp4's to the chromecast using html5.
Prerequisites
1. Python(2.7) with Environmental Variables set
2. Chrome as default browser
Installation Instructions
1. Go to chrome://extensions, and check the Developer mode in the upper right corner
2. Go to Google Cast extension options
3. Click on blue icon 4 times or until Developer Settings appear at the bottom of your screen
4. Enter "localhost" and click add
Usage Instructions
1. Open command prompt / terminal in the directory of cast.py
2. enter "python cast.py NameOfFile.mp4"
3. click the play video button to make sure the file works, then click the chromecast you want to stream it to.
Note
the simple http server version is cross platform, but extremely slow. If you are on windows, I strongly recommend that you use the mongoose version. I am looking into a faster cross platform solution.
This also only plays H.264 mp4's but I am looking into real time transcoding with VLC in order to watch videos with any compression
Click to expand...
Click to collapse
I'm giving this a try, but obviously I'm installing Python 2.7 first and setting the Environment Variables. When you set the Env Vars, did you just edit the "PATH" entry and add the installation directory where python.exe is located? I added the python.exe install directory (C:\Python27) and I also added the scripts directory (C:\Python\Tools\Scripts). Seems pretty straightforward really.
Next question..will this script just play *.mp4 files or will it also play *.avi and/or *.mkv ?
I'm about to give this a go here soon...hopefully it works...if not, I guess I'm gonna read up on these forums and try to find an alternative way to "cast" local media/videos..but hopefully this works!
Thanks!
notbrodie said:
doesn't seem to work. this is what I get
http://i.imgur.com/LOPGaUu.png
Click to expand...
Click to collapse
edit.. nevermind.
The file has to be in the same folder as cast.py
I could root the server at the base of your filesystem... but then your entire system will be openly accessible on your network
If you want, put "os.chdir('/')" after the imports.
And the video should play in that black box
or you could make a symlink to the folder where all your videos are
jsdecker10 said:
I'm giving this a try, but obviously I'm installing Python 2.7 first and setting the Environment Variables. When you set the Env Vars, did you just edit the "PATH" entry and add the installation directory where python.exe is located? I added the python.exe install directory (C:\Python27) and I also added the scripts directory (C:\Python\Tools\Scripts). Seems pretty straightforward really.
Next question..will this script just play *.mp4 files or will it also play *.avi and/or *.mkv ?
I'm about to give this a go here soon...hopefully it works...if not, I guess I'm gonna read up on these forums and try to find an alternative way to "cast" local media/videos..but hopefully this works!
Thanks!
Click to expand...
Click to collapse
Yes you only need to add python.exe to the PATH
Feel free to try other codecs/containers, but this should only support the officially supported filesystems.
Two things ...
First to get this to run i had to change the cast.py script, specifically had to change this:
Code:
import SocketServer
to this:
Code:
import socketserver
Edit, the above change was needed because i installed python 3.3, not 2.7 ...
Second, I tried this and once i select the Chromecast device to play, my screen (on the TV with the chromecast) goes blank and nothing happens. Playing the video in the tab in Chrome works fine, but trying to send it to the device doesn't seem to do anything.
Another edit: I tried installing 2.7, i get the same as above, black screen on the TV with the chromecast stick
keredini said:
Two things ...
First to get this to run i had to change the cast.py script, specifically had to change this:
Code:
import SocketServer
to this:
Code:
import socketserver
Edit, the above change was needed because i installed python 3.3, not 2.7 ...
Second, I tried this and once i select the Chromecast device to play, my screen (on the TV with the chromecast) goes blank and nothing happens. Playing the video in the tab in Chrome works fine, but trying to send it to the device doesn't seem to do anything.
Another edit: I tried installing 2.7, i get the same as above, black screen on the TV with the chromecast stick
Click to expand...
Click to collapse
Did you use the mongoose one, or the simplehttpserver one?
the simplehttpserver one is very slow and takes a long time, up to 10min or so... I'm working on it.
Epic_VS said:
Did you use the mongoose one, or the simplehttpserver one?
the simplehttpserver one is very slow and takes a long time, up to 10min or so... I'm working on it.
Click to expand...
Click to collapse
Mongoose...
keredini said:
Mongoose...
Click to expand...
Click to collapse
Check the codec and make sure it is H.264. This does not work on all mp4's
Epic_VS said:
Check the codec and make sure it is H.264. This does not work on all mp4's
Click to expand...
Click to collapse
YEah, in VLC it shows the codec as: H264 - MPEG-4 AVC (part 10) (avc1)
keredini said:
YEah, in VLC it shows the codec as: H264 - MPEG-4 AVC (part 10) (avc1)
Click to expand...
Click to collapse
interesting... my test file shows the same codec...
what is the resolution?
is it stuck at the black screen or does it go back to ready to cast?
try rebooting the chromecast through the android app or by unplug, replug
Epic_VS said:
interesting... my test file shows the same codec...
what is the resolution?
Click to expand...
Click to collapse
720x404 ... as mentioned before it plays fine on the tab in Chrome, just once i click my Chromecast device nothing happens ... underneath the media status is this JSON:
Code:
{"eventSequenceId":1,"activityId":"z29vei6p3i0n","state":2,"contentId":"http://192.168.1.11:8080/test.mp4","title":"http://192.168.1.11:8080/test.mp4","imageUrl":null,"timeProgress":true,"position":4.632333,"duration":0,"volume":0.8,"muted":false,"contentInfo":null,"mediaTracks":[],"error":null,"hasPause":true}
Edit: yes, it changes from the Ready To Cast Screen to a black screen, no audio / video. It never comes back to the Ready To Cast screen unless i reboot the Chromecast.
keredini said:
720x404 ... as mentioned before it plays fine on the tab in Chrome, just once i click my Chromecast device nothing happens ... underneath the media status is this JSON:
Code:
{"eventSequenceId":1,"activityId":"z29vei6p3i0n","state":2,"contentId":"http://192.168.1.11:8080/test.mp4","title":"http://192.168.1.11:8080/test.mp4","imageUrl":null,"timeProgress":true,"position":4.632333,"duration":0,"volume":0.8,"muted":false,"contentInfo":null,"mediaTracks":[],"error":null,"hasPause":true}
Edit: yes, it changes from the Ready To Cast Screen to a black screen, no audio / video. It never comes back to the Ready To Cast screen unless i reboot the Chromecast.
Click to expand...
Click to collapse
yeah something is wrong, your duration is 0...
I just tested and my duration was not 0.
try another file and see if it works.
Epic_VS said:
yeah something is wrong, your duration is 0...
I just tested and my duration was not 0.
try another file and see if it works.
Click to expand...
Click to collapse
Success! I had actually tried a different file before your suggestion, and i got the same thing. But i noticed that even though i tried a new file, on the Cast tab in Chrome it showed my initial file i tried in the file name text box, so i knew something was up. I then looked in my notifications tray on Win 7 and noticed i had 8 or more instances of Mongoose running. I think that the first time i tried i didn't have something setup right, Mongoose didn't exit gracefully (or at all) and that caused issues trying to cast going forward. I killed all instances of Mongoose, tried it again, and it fired up in 3 seconds. It works great!
tl;dr in Windows if you have problems make sure you kill all instances of Mongoose before trying to cast again.
Thanks for your help!
I added a tornado version. It should be faster than simplehttpserver and is cross platform compatible, but it takes much more ram. You just have to run install.py before using.
Epic_VS said:
I added a tornado version. It should be faster than simplehttpserver and is cross platform compatible, but it takes much more ram. You just have to run install.py before using.
Click to expand...
Click to collapse
So are you saying that out of each of these 3 methods, that the tornado version is far and away the fastest? I'm not worried about RAM usage...I've got more than enough RAM =) I've already got the mongoose setup on my PC, but haven't actually tested it using the Chromecast because I've been paranoid that I would need root to do this(I don't have a USB OTG Cable yet, so I haven't been able to root yet), but I haven't wanted to try it out yet without root for fear of the device auto-updating itself and blocking the possibility of rooting it. So to get to my other question here in my post, do I need to root my device for these local video casting methods you have given us to work properly on the chromecast? ....or can I leave it factory un-rooted and still be able to watch videos from my pc?
jsdecker10 said:
So are you saying that out of each of these 3 methods, that the tornado version is far and away the fastest? I'm not worried about RAM usage...I've got more than enough RAM =) I've already got the mongoose setup on my PC, but haven't actually tested it using the Chromecast because I've been paranoid that I would need root to do this(I don't have a USB OTG Cable yet, so I haven't been able to root yet), but I haven't wanted to try it out yet without root for fear of the device auto-updating itself and blocking the possibility of rooting it. So to get to my other question here in my post, do I need to root my device for these local video casting methods you have given us to work properly on the chromecast? ....or can I leave it factory un-rooted and still be able to watch videos from my pc?
Click to expand...
Click to collapse
This works without rooting. I am not sure if this is faster than mongoose because I haven't had time to test this properly, but it should be significantly faster than simple http server
Sweet..just the answer I was lookin for! Thanks man! I've got the worst luck ever, so I'm sure I'll have more questions for ya come tomorrow. Lol
Sent from my VZW Galaxy S3 using Tapatalk 4 Beta
I got live transcoding working with VLC!
It is extremely choppy for now, but it works.I am working on adding it to my program.
I added a vlc transcoding version for mongoose. You just need to set your path to include vlc.exe It is a little slow and can take a while to load at first. I am working on adding it to other versions.
When I first got my Chromecast, I was able to play a video (on hulu for example) in fullscreen mode, then alt tab back to Chrome so I could still use my laptop while casting to the TV in full screen.
In the past week, it no longer works. When I alt tab, it automatically goes out of full screen mode. So now I have to have my laptop playing the video in fullscreen if I want to cast it in fullscreen to the TV.
I can't find anything in my searches about this happening to anyone else when I google the problem. Has anyone else run across this issue?
Thanks
swillard said:
When I first got my Chromecast, I was able to play a video (on hulu for example) in fullscreen mode, then alt tab back to Chrome so I could still use my laptop while casting to the TV in full screen.
In the past week, it no longer works. When I alt tab, it automatically goes out of full screen mode. So now I have to have my laptop playing the video in fullscreen if I want to cast it in fullscreen to the TV.
I can't find anything in my searches about this happening to anyone else when I google the problem. Has anyone else run across this issue?
Thanks
Click to expand...
Click to collapse
Sorry, it works fine for me, and I have the latest update. Maybe reinstall?
aiiee said:
Sorry, it works fine for me, and I have the latest update. Maybe reinstall?
Click to expand...
Click to collapse
What do I reinstall? I've reinstalled the cast extension and that didn't fix it. I have the most current version of Chrome. I can only thing to uninstall and reinstall Chrome to see if that fixes the problem.
swillard said:
What do I reinstall? I've reinstalled the cast extension and that didn't fix it. I have the most current version of Chrome. I can only thing to uninstall and reinstall Chrome to see if that fixes the problem.
Click to expand...
Click to collapse
I don't know, I don't have the problem.
What about Flash?
swillard said:
When I first got my Chromecast, I was able to play a video (on hulu for example) in fullscreen mode, then alt tab back to Chrome so I could still use my laptop while casting to the TV in full screen.
In the past week, it no longer works. When I alt tab, it automatically goes out of full screen mode. So now I have to have my laptop playing the video in fullscreen if I want to cast it in fullscreen to the TV.
I can't find anything in my searches about this happening to anyone else when I google the problem. Has anyone else run across this issue?
Thanks
Click to expand...
Click to collapse
My guess is this is related to the Flash Player or the player on the site that you are using. I have seen this happen on my two monitor setup where when I go to the second screen it breaks out of full screen mode on the first monitor. I'm pretty sure all i had to do was restart my machine. But I would try reinstalling Flash, clearing cache, cookies, etc.
Do you see the same behavior when you are not using Chromecast?
Good luck.
srgibbs99 said:
My guess is this is related to the Flash Player or the player on the site that you are using. I have seen this happen on my two monitor setup where when I go to the second screen it breaks out of full screen mode on the first monitor. I'm pretty sure all i had to do was restart my machine. But I would try reinstalling Flash, clearing cache, cookies, etc.
Do you see the same behavior when you are not using Chromecast?
Good luck.
Click to expand...
Click to collapse
It happens with any video, whether casting or not. I used to be able to watch Hulu.com in fullscreen and cast it to the tv, then I could alt tab to another tab to check FB or something. Now it doesn't work. I've tried hulu, youtube, and some other video sites and they all the the same thing. When you hit Alt they immediately go back to the small screen page. I've rebooted my computer and reinstalled the Cast extension. Wondering if I need to reinstall Chrome. It did crash one me a few times this weekend, though not in the past couple of days.
swillard said:
It happens with any video, whether casting or not. I used to be able to watch Hulu.com in fullscreen and cast it to the tv, then I could alt tab to another tab to check FB or something. Now it doesn't work. I've tried hulu, youtube, and some other video sites and they all the the same thing. When you hit Alt they immediately go back to the small screen page. I've rebooted my computer and reinstalled the Cast extension. Wondering if I need to reinstall Chrome. It did crash one me a few times this weekend, though not in the past couple of days.
Click to expand...
Click to collapse
I have had a similar issue. I received mine on Tuesday and the first day full screen worked for espn and I was able to Alt+Tab to continue browsing. Last night, I tried to do the same thing but It would only display a picture of the tab with the embedded video (when I would go to full screen, the embedded video was black with the tab content around it. when I would exit full screen the embedded video began playing again.) Essentially, I can no longer go into full screen mode for any flash based video (tried with NFL network too). Mine did an update first thing when I turned it on yesterday. I didn't write down the original version I had nor what it updated to. My flash player also updated recently but I think that was before I tried it for the first time. I did not try to reboot my machine or reinstall flash / chrome but I did attempt to do it from 2 different computers on my network and both suffered from the same issue.
m2cool2go said:
I have had a similar issue. I received mine on Tuesday and the first day full screen worked for espn and I was able to Alt+Tab to continue browsing. Last night, I tried to do the same thing but It would only display a picture of the tab with the embedded video (when I would go to full screen, the embedded video was black with the tab content around it. when I would exit full screen the embedded video began playing again.) Essentially, I can no longer go into full screen mode for any flash based video (tried with NFL network too). Mine did an update first thing when I turned it on yesterday. I didn't write down the original version I had nor what it updated to. My flash player also updated recently but I think that was before I tried it for the first time. I did not try to reboot my machine or reinstall flash / chrome but I did attempt to do it from 2 different computers on my network and both suffered from the same issue.
Click to expand...
Click to collapse
I found a post on another forum that helped me resolve the issue. In your google chrome browser (assuming that's what you are using), type in about://plugins. Click on the Details icon (+) on the far right of the Plugins title bar. Look for Adobe flash and you probably have 2 plugins listed. Look for pepflashplayer.dll . It should be listed in the location section. Click on disable. You may need to restart the browser. Try your fullscreen again.
That fixed it for me, so I hope it fixes it for you.
I just found a pretty neat trick to do fullscreen.
Install the "Chrome Toolbox" which allows you to open flash videos by themselves, separate from anything else on that webpage.
Go to the page with the flash video you are playing. Cast that tab. Hover over the video and an icon will appear to allow you to put it on its own window. Chromecast will now only show the video, same as if you went fullscreen. Video quality seems better when the window is not minimized.
hpcolombia said:
I just found a pretty neat trick to do fullscreen.
Install the "Chrome Toolbox" which allows you to open flash videos by themselves, separate from anything else on that webpage.
Go to the page with the flash video you are playing. Cast that tab. Hover over the video and an icon will appear to allow you to put it on its own window. Chromecast will now only show the video, same as if you went fullscreen. Video quality seems better when the window is not minimized.
Click to expand...
Click to collapse
Thanks for the tip but I can't get it to work. I have Chrome Toolbox installed, went to Hulu and cast that tab and not getting anything when I hover over the view to pop it out as a separate window.
swillard said:
Thanks for the tip but I can't get it to work. I have Chrome Toolbox installed, went to Hulu and cast that tab and not getting anything when I hover over the view to pop it out as a separate window.
Click to expand...
Click to collapse
i have the same problem. Cant switch tab by using alt+tab
Does anyone has another solution?
ps: i am using mac
swillard said:
Thanks for the tip but I can't get it to work. I have Chrome Toolbox installed, went to Hulu and cast that tab and not getting anything when I hover over the view to pop it out as a separate window.
Click to expand...
Click to collapse
It's working now. Thanks for the tip. I can use this trick to cast to the TV and still use my laptop for other stuff.
Toolbox Pop-out link??
Hi guys!
Any chance of a link to the Chrome Toolbox in the app store? The one I'm looking at is probably not the one I'm looking for.
BTW, Alt-Tab is working for me, but the full-screen video is playing in the background so I can see it in place of the Windows taskbar. I can move about the desktop though
hpcolombia said:
I just found a pretty neat trick to do fullscreen.
Install the "Chrome Toolbox" which allows you to open flash videos by themselves, separate from anything else on that webpage.
Go to the page with the flash video you are playing. Cast that tab. Hover over the video and an icon will appear to allow you to put it on its own window. Chromecast will now only show the video, same as if you went fullscreen. Video quality seems better when the window is not minimized.
Click to expand...
Click to collapse
Unfortunately Chrome Toolbox doesn't work on Windows 8? And isn't available anymore anyway?
This is really annoying. Just got Chromecast.
But when casting a tab of full screen video on certain websites and I move from the tab it reverts to its original frame.
Basically I just want to be able to play full screen content from sites like BBC's iPlayer while doing other things on the computer.
Fiddling with flash plugins doesn't seem to change it. I looked for other possibly relevant extensions in the web store but none really worked.
This seems to me a fundamental but should be pretty simple problem for Google to fix.
Any other ideas now?
Thanks, Tom
tomwood said:
Unfortunately Chrome Toolbox doesn't work on Windows 8? And isn't available anymore anyway?
This is really annoying. Just got Chromecast.
But when casting a tab of full screen video on certain websites and I move from the tab it reverts to its original frame.
Basically I just want to be able to play full screen content from sites like BBC's iPlayer while doing other things on the computer.
Fiddling with flash plugins doesn't seem to change it. I looked for other possibly relevant extensions in the web store but none really worked.
This seems to me a fundamental but should be pretty simple problem for Google to fix.
Any other ideas now?
Thanks, Tom
Click to expand...
Click to collapse
Not sure about Windows 8, but in 7 I am pretty sure I can hit the Windows key + D which will minimize the browser and allow me to continue what I am doing.
Obskure said:
BTW, Alt-Tab is working for me, but the full-screen video is playing in the background so I can see it in place of the Windows taskbar. I can move about the desktop though
Click to expand...
Click to collapse
I like that "feature" - my old ATI TV tuner card used to have that.
tomwood said:
But when casting a tab of full screen video on certain websites and I move from the tab it reverts to its original frame.
Basically I just want to be able to play full screen content from sites like BBC's iPlayer while doing other things on the computer.
Click to expand...
Click to collapse
It seems to depend on how the player achieves full-screen. Some sites have a full-screen option from the browser level, and that seems to behave differently (also sometimes different resolution) than using the full-screen/zoom option in the player.
Good example is www.BabyFirstTV.com
The blue-background full-screen button just full-screens the video in the tab and shows the Exit Fullscreen button when casted.
The full-screen button in the player window (bottom right corner) make the video full-desktop size (and replaces my desktop background), and doesn't show the (annoying) Exit Fullscreen button. The bottom does get cut off, likely because my desktop is 1920x1200 so I'm losing the bottom 180 pixels.
For me at least, either method allows me to Alt-Tab to another application without messing up the Chromecast playback though.
bhiga said:
It seems to depend on how the player achieves full-screen. Some sites have a full-screen option from the browser level, and that seems to behave differently (also sometimes different resolution) than using the full-screen/zoom option in the player.
Click to expand...
Click to collapse
Thanks, unfortunately though for me when using that browser-level full screen video, and I move from the tab, it reverts to its original frame.
I'm using Windows 8 x64 with Chrome Beta 32.
Obskure said:
Hi guys!
Any chance of a link to the Chrome Toolbox in the app store?
Click to expand...
Click to collapse
https://chrome.google.com/webstore/detail/google-cast/boadgeojelhgndaghljhdicfkmllpafd
Also found another interesting Chrome App....
Turns your Browser into a Chromecast Target that you can stream to!
https://chrome.google.com/webstore/detail/cr-cast/acmfmindblghbicdipoakcolegkcddbk
tomwood said:
Thanks, unfortunately though for me when using that browser-level full screen video, and I move from the tab, it reverts to its original frame.
Click to expand...
Click to collapse
Can you try it on www.babyfirsttv.com ? I'm guessing any browser/tab-level zoom will depend on how the site is coded.
bhiga said:
Can you try it on babyfirsttv? I'm guessing any browser/tab-level zoom will depend on how the site is coded.
Click to expand...
Click to collapse
Yeah, if it takes up just the tab it's ok, but when going completely full screen it doesn't stay like that if I move... And unfortunately many sites with video, like the ones I want to use, only have that option.
The thread title is exactly what I want to know...is there some way to get byutv.org content streamed to my chromecast without having to do tab casting?
Whether I figure out a way to cast from my computer with a chrome add-on, or from the android app, I'd love to know how. Thanks!
Look of couple of threads down the forum to http://forum.xda-developers.com/showthread.php?t=2672797 (WebCast extension for Chrome). It works with BYUTV.org.
DJames1 said:
Look of couple of threads down the forum to http://forum.xda-developers.com/showthread.php?t=2672797 (WebCast extension for Chrome). It works with BYUTV.org.
Click to expand...
Click to collapse
I tried that extension but the icon never appears for me to be able to use it. It works on other sites, but I can't get it to work on BYUTV.org. Any specific video you used it on that actually worked for you?
Writing to you on a tablet, I mention this as I tried last night but I guess it timed out and it never posted. It was way to lengthy to try again...but I've had some sleep and will copy before posting incase it happens again.
There is a way, but at best it is convoluted and very tech heavy. Honestly, you might be better off waiting to see of byutv starts to support Chromecast... I've seen many forums requesting that from them so it might be better to wait and see...but if you absolutely MUST have it..there's only one way I've been able to divine.
You'll need serviio and aVia. Serviio is a free - with option to pay for - dlna server. Everyone should know what aVia is by now. I can not say with 100% certainty, but I'd hazard a guess the video is rtmp which is why vGet doesn't recognize it.. if I'm right you'll need to install a rtmp sniffer..there's about a billion of them, most free, others not. If it's not rtmp then I can't figure why vGet doesn't see it...but you could use something like getflv or something more free...the whole purpose is to get the url the video is pulling from. Armed with that you can head over to serviio and add it to the online media tab.
Confused? Good, cause it gets worse. Chances are this video may not be compatible with Chromecast and if that's the case, you're going to need to get serviio to encode it on the fly...which is simple, however, serviio does not a profile built in for Chromecast. Do a Google search for Serviio Chromecast Profile AllCast, that will get you to the profile you'll need to add. With the profile, you're now going to need to get serviio to "see" the Chromecast. It doesn't do this by default as Chromecast it's not a dlna device. Instead, you'll need to assign a static ip address to something..say your computer. Let serviio cache that ip (it'll stay cached until you remove or upgrade serviio), then manually assign that ip address to your Chromecast. Once done, in the profiles page you need to change the profile of both your android device running aVia and the Chromecast to the AllCast profile I mentioned earlier.
It will work this way, android with tell serviio, via aVia, to play the online media. Serviio with download and encode the media so that's it's compatible with Chromecast, and then serviio with send the media to Chromecast which will then display it.
In this manner ANY online media is technically playable through Chromecast but...the set up and execution takes a flare of mad cap genius and elbow grease.
Not claiming that there might not be an easier way..God knows maybe bubble, playon, plex, etc might be able to do it in a simple straight forward manner.. just saying that this one will work....and not just for byutv, but for anything. Good luck! Personally, . I'd wait hahaha (edited to mention that it did happen)
primetime34 said:
I tried that extension but the icon never appears for me to be able to use it. It works on other sites, but I can't get it to work on BYUTV.org. Any specific video you used it on that actually worked for you?
Click to expand...
Click to collapse
I just clicked on a couple at random (not being a regular user of that site), and the WebCast icon appeared for me.
DJames1 said:
I just clicked on a couple at random (not being a regular user of that site), and the WebCast icon appeared for me.
Click to expand...
Click to collapse
I think the issue is that there is a commercial before the show. Would you mind clicking on the webcast icon and see if a full episode plays, or just a 30 second ad only? Thanks.
primetime34 said:
I think the issue is that there is a commercial before the show. Would you mind clicking on the webcast icon and see if a full episode plays, or just a 30 second ad only? Thanks.
Click to expand...
Click to collapse
Yes, I think you're right - it plays the ad and then quits when it gets to the start of the show.
Hey Guys, new to the forum.
I purchased the chromecast, looking to stream local files and get rid of my hdmi cable. I can cast a tab fine, but experience a bit of lag when viewing at max bit-rate. (extreme 720p)
My computer is i7 4770k @3.5ghz and card is HD7970. SO i dont think hardware is the issue. My router is a Linksys EA6900 and its about 5m away from the dongle.
Has anyone managed to actually stream full HD to the chrome cast without noticeable lag or reduction if FPS, or is it simply not available at this point of time?
Thanks
MaverickH93 said:
Hey Guys, new to the forum.
I purchased the chromecast, looking to stream local files and get rid of my hdmi cable. I can cast a tab fine, but experience a bit of lag when viewing at max bit-rate. (extreme 720p)
My computer is i7 4770k @3.5ghz and card is HD7970. SO i dont think hardware is the issue. My router is a Linksys EA6900 and its about 5m away from the dongle.
Has anyone managed to actually stream full HD to the chrome cast without noticeable lag or reduction if FPS, or is it simply not available at this point of time?
Click to expand...
Click to collapse
720p tab casting even of Flash video works well for me, but I seem to be an exception rather than the norm...
Are there any obstructions between your router and Chromecast, especially the TV itself?
My system is a dual Quad-Core Opteron 2.9 GHz Shanghai, 32 GB RAM, running Win 7 Professional x64. AMD/ATI Radeon HD 7750 graphics.
bhiga said:
720p tab casting even of Flash video works well for me, but I seem to be an exception rather than the norm...
Are there any obstructions between your router and Chromecast, especially the TV itself?
My system is a dual Quad-Core Opteron 2.9 GHz Shanghai, 32 GB RAM, running Win 7 Professional x64. AMD/ATI Radeon HD 7750 graphics.
Click to expand...
Click to collapse
Its pretty much line of sight and the perpendicular to the back of the TV. What kind of router are you using?
Also what file type are the videos you are watching and how big are the files. For example, if i watch a .mp4 blue-ray RIP its size is around 1.8Gb i experience minor FPS decrease on the High setting. Extreme just leads to lagging.
The way i see it there's the potential for 3 issues.
1. The computer hardware
2. The router connection
3. Google chrome's wireless hardware
MaverickH93 said:
Hey Guys, new to the forum.
I purchased the chromecast, looking to stream local files and get rid of my hdmi cable. I can cast a tab fine, but experience a bit of lag when viewing at max bit-rate. (extreme 720p)
Click to expand...
Click to collapse
to stream local file (movie) is better to send the file and let Chromecast buffer and decode it than stream a tab.
I've been using this here and works like charm: https://chrome.google.com/webstore/detail/videostream-for-google-ch/cnciopoikihiagdjbjpnocolokfelagl
I don't believe I tried sending a 1080p but 720p is flawless and I can't see why it wouldn't
They also have an Android app for remote control the stream, so I pretty much click play on the PC and sit on the sofa with the phone to control.
If your video is not in a compatible format, I'll go ahead and do a shamelessly self-propaganda: I did this little batch converter specifically for the CC and it seems to be working fine.
http://forum.xda-developers.com/showthread.php?t=2699870
Budius said:
to stream local file (movie) is better to send the file and let Chromecast buffer and decode it than stream a tab.
I've been using this here and works like charm: https://chrome.google.com/webstore/detail/videostream-for-google-ch/cnciopoikihiagdjbjpnocolokfelagl
I don't believe I tried sending a 1080p but 720p is flawless and I can't see why it wouldn't
They also have an Android app for remote control the stream, so I pretty much click play on the PC and sit on the sofa with the phone to control.
If your video is not in a compatible format, I'll go ahead and do a shamelessly self-propaganda: I did this little batch converter specifically for the CC and it seems to be working fine.
http://forum.xda-developers.com/showthread.php?t=2699870
Click to expand...
Click to collapse
Yes i tied to use Videostream, but for some reason it gets stuck on the loading screen. I turned off all my firewalls, changed permissions, ran chrome canary, ran as admin but it still doesn't work.
i think that's the issue. CC needs to buffer video. It sounds like VideoStream is the kind of program i need so will just have to keep working at it.
MaverickH93 said:
Yes i tied to use Videostream, but for some reason it gets stuck on the loading screen. I turned off all my firewalls, changed permissions, ran chrome canary, ran as admin but it still doesn't work.
i think that's the issue. CC needs to buffer video. It sounds like VideoStream is the kind of program i need so will just have to keep working at it.
Click to expand...
Click to collapse
well, those HERE are the media types that Chromecast can natively run. Anything besides that it will not work (unless you're just mirroring the screen, but as you noticed, it's pretty slow, or you have some media server on your computer doing some on-the-fly conversion, which can run pretty slow and heat your PC a lot).
I suggest getting a video that you're sure within the spec to test. Probably if you download a YouTube from those "youtube downloaders" website or just something you recoded with your phone, it will be in spec (mp4 container, h264 codec, AAC or MP3 audio).
So what I've done (check my last post) was to code myself a batch converter (helps being a Java developer) so currently my computer at home is converting my whole video collection to compatible format.
Can I upload a mp4 video say dropbox and stream it to chromecast? Any online hosts allow this?
LoL.
I have a Raspberry Pi running Rasbian and it has 1TB USB drive attached, I'm running Apache2 and point it to my drive so it appears in http. I then use the Android NAS Cast app, settings configure to the http of the directory with the MP4 and it casts perfectly decent quality. So there is no desktop involved, Android in your hand and the small Linux server and Chromecast.
As has been said, Chromecast as very limited codecs. You can explicitly seek out the compatible videos, or recode using ffmpeg. The Raspberry Pi is too weak to do real-time recoding but you can batch up and have recoding those files not compatible, and then if low on disk-space, delete the original non-compatible.
I'm 90% through overnight building my own Rasbian system (been on a Dockstar on older Linux for years) and built ffmpeg overnight.
nigelhealy said:
As has been said, Chromecast as very limited codecs. You can explicitly seek out the compatible videos, or recode using ffmpeg. The Raspberry Pi is too weak to do real-time recoding but you can batch up and have recoding those files not compatible,
Click to expand...
Click to collapse
Like I said on the other thread.
I found a FFMPEG for RaspianPi but it was so painfully slow. Like a low-res 20 seconds video would take 30 min to encode. Now imagine a tera-byte drive it would take a few years, not really good. Best option is really to get the best-fastest machine you have available and leave it running for a week or two.
Budius said:
Like I said on the other thread.
I found a FFMPEG for RaspianPi but it was so painfully slow. Like a low-res 20 seconds video would take 30 min to encode. Now imagine a tera-byte drive it would take a few years, not really good. Best option is really to get the best-fastest machine you have available and leave it running for a week or two.
Click to expand...
Click to collapse
Tried running it locally (Ubuntu desktop) lots of error messages saying
Failed to get FFPROBE
I have the ffprobe command though.
nigelhealy said:
Tried running it locally (Ubuntu desktop) lots of error messages saying
Failed to get FFPROBE
I have the ffprobe command though.
Click to expand...
Click to collapse
what does say in the LOG tab?
Try running from the terminal: ffprobe <video_path>.mp4 Does it work or does it say "can't find command ffprobe" ?
at the end of this https://trac.ffmpeg.org/wiki/UbuntuCompilationGuide it shows how to add the ffmpeg to the path
ps.: let's keep debug/conversation regarding the Converter on the converter thread? I guess it's more logical and we don't hijack MaverickH93s thread
moved to the app thread http://forum.xda-developers.com/showthread.php?p=51533199
I use Plex and I love it, try it if you haven't!
The best way is Localcast https://play.google.com/store/apps/details?id=de.stefanpledl.localcast
Great for android!
Enviado desde mi Amazon Kindle Fire HD mediante Tapatalk
MaverickH93 said:
Its pretty much line of sight and the perpendicular to the back of the TV. What kind of router are you using?
Also what file type are the videos you are watching and how big are the files. For example, if i watch a .mp4 blue-ray RIP its size is around 1.8Gb i experience minor FPS decrease on the High setting. Extreme just leads to lagging.
The way i see it there's the potential for 3 issues.
1. The computer hardware
2. The router connection
3. Google chrome's wireless hardware
Click to expand...
Click to collapse
So your router is behind the TV? That's how mine is set up, although my Chromecast is actually off to the side of the TV.
My router is a Netgear WNDR4500
I've mainly been watching Flash videos, as that's what the websites my little one likes has (Nickelodeon, BabyFirstTV, Disney Junior)
nigelhealy said:
LoL.
I have a Raspberry Pi running Rasbian and it has 1TB USB drive attached, I'm running Apache2 and point it to my drive so it appears in http. I then use the Android NAS Cast app, settings configure to the http of the directory with the MP4 and it casts perfectly decent quality. So there is no desktop involved, Android in your hand and the small Linux server and Chromecast.
As has been said, Chromecast as very limited codecs. You can explicitly seek out the compatible videos, or recode using ffmpeg. The Raspberry Pi is too weak to do real-time recoding but you can batch up and have recoding those files not compatible, and then if low on disk-space, delete the original non-compatible.
I'm 90% through overnight building my own Rasbian system (been on a Dockstar on older Linux for years) and built ffmpeg overnight.
Click to expand...
Click to collapse
Boy wish you had a tutorial or walk through of setting this up. I would love to use my beaglebone black for that if possible. Any links that would point me in right direction? mind sharing?
I would really like to use headless systems for this. Thanks
I think Plex is the easiest way to stream local movies since it makes everything organized and can convert file formats if needed. The phone app makes it a breeze to control everything. I use localcast to stream pics and videos taken from my phone.
paracha3 said:
Boy wish you had a tutorial or walk through of setting this up. I would love to use my beaglebone black for that if possible. Any links that would point me in right direction? mind sharing?
I would really like to use headless systems for this. Thanks
Click to expand...
Click to collapse
as far as I Googled beaglebone is just a little Linux machine like the RaspberryPi. Just install a mini-DLNA on it and that's all you need. Most Android apps in Google Play will run from a DLNA (bubble and LocalCast do it).
Quick Google I found this tuto on mini-DLNA on RaspberryPi (http://bbrks.me/rpi-minidlna-media-server/) should work for the beaglebone too.
I have to throw my hat in the ring for plex, too. Downside is that you have to put your videos in a certain folder and name them a certain way for the server to see them. It doesnt let you just open a random video file like VLC and have it sent to the chromecast. Upside is that it transcodes the videos to a supported format on the fly.
As far as streaming videos/pictures off your phone, there are a few choices, but none of them are ready for primetime yet. Allcast shows some of the videos/pictures taken on my phone sideways and upside down. I also havent found an easy way to tell Allcast to stop casting and return to the chromecast homescreen (screensaver). Localcast has an option to let you rotate the files so you can at least see them with the correct orientation, but it still has some issues with connecting. Localcast does, however, have an option to stop casting so you dont burn-in its screen on your TV.
gianptune said:
I have to throw my hat in the ring for plex, too. Downside is that you have to put your videos in a certain folder and name them a certain way for the server to see them. It doesnt let you just open a random video file like VLC and have it sent to the chromecast. Upside is that it transcodes the videos to a supported format on the fly.
As far as streaming videos/pictures off your phone, there are a few choices, but none of them are ready for primetime yet. Allcast shows some of the videos/pictures taken on my phone sideways and upside down. I also havent found an easy way to tell Allcast to stop casting and return to the chromecast homescreen (screensaver). Localcast has an option to let you rotate the files so you can at least see them with the correct orientation, but it still has some issues with connecting. Localcast does, however, have an option to stop casting so you dont burn-in its screen on your TV.
Click to expand...
Click to collapse
The naming should be a non-issue though. Most of the movies and shows you download are already named the correct way.
App withdrawn--URL no longer valid, no working replacement
Yes, that's right, the online 24/7 news outlet of CBS News.
Well, this is just for fun, but it is interesting in its own way and was very easy to do, so I did it (cooped up for weeks.....).
Requirements
1. This is a Tasker app and has a dependency on two library files which are part of a GApps installation. If you don't have GApps or one of my other Tasker apps already, you need to copy the two files in the zip as below:
/system/etc/permissions/com.google.android.maps.xml
/system/framework/com.google.android.maps.jar
Set permissions for both files to rw-r--r-- and reboot. Without these files resident, the app will not install.
2. MX Player or some other video player capable of playing network streams. Here's a link to the appropriate MX Player version and for the custom codec package. You need both.
3. Realistically, either NoRefresh or FastMode, unless you like the flickering video effect.
4. USB Audio, unless you are really good at reading lips. I actually tried to turn on the CC for the stream, but it seems they do not CC everything anyway, so I gave up. Just for fun
Installation
Install apk as normal from a file manager or via ADB. On first run (don't forget WiFi!) it may ask what app you want to use to play the stream. On my device it gives MX Player and Opera (nope!) as options. The screenshot below shows that MX Player automatically goes to landscape (although the device remains in portrait mode) when playing the stream. This is a freeze-frame screenshot, without NoRefresh, so it looks really great (and is actually in color when you take the shot). I find that the contrast on NoRefresh has to be adjusted quite a bit on the + side from default to get something watchable, but there is a limited range of grey and it's easy to wash everything out looking for that perfect spot. My kernal doesn't support FastMode but from my memory of it I would expect a lot of ghosting.
In theory it would be possible to extend this app for general IPTV use by providing a text file containing stream URLs and creating a menu system to choose one. But I'm not that bored (or crazy) yet