Critique my setup for streaming Tivo recordings to Chromecast - Google Chromecast

I have been working for a few days on setting up a process to pull my Tivo recordings off my Tivo onto my PC, and then get them into a format where they can stream to my chromecast on another TV. In other words, a poor man's multi-room viewing. I am in over my head on several aspects, and while I have gotten it to work, I have had to make some sacrifices. I'd like to see if someone can "poke holes" in my setup and suggest a better way to get the job done.
First, here is the hardware...
Asus AC66U (currently, no qos enabled)
TivoHD (wired connection)
Fairly-new PC with capable processing power (wired connection)
Chromecast in the next room (gets full bars on wifi icon)
The setup...
1. I am using kmttg to automatically pull the recordings off the Tivo, decrypt them to an mpeg file, and then encode that mpeg file into an mp4 file that is compatible with chromecast. Kmttg has both ffmpeg and handbrake encoding capabilities.
2. I store the encoded mp4 files in a folder on my PC that is shared with everyone on my network.
3. I use Localcast on my android phone to locate the shared folder, then the file I want to view, then Localcast takes it from there.
ETA:
3. Plex Media Server on the PC
4. BubbleUPnP android app
The Plex Media Server and BubbleUPnP app solve the problem that Localcast caused by using the phone as the connection between the PC and Chromecast. Plex Media Server and BubbleUPnP allow me to connect the PC directly to Chromecast, lowering network traffic considerably and allowing me to cast a much higher quality video without the stuttering.
This setup works, however there are some problems I need to correct. I have issues with stuttering/buffering streams. I have tried to correct this by using encoding profiles that create a very small file size, which solves the buffering problem, but video quality suffers as a result. At present, I either have to decide between HD quality video that causes stutters ever few minutes, or a file that streams smoothly but has a video quality around SD quality. In seeking help on another forum for the best encoding profile, the suggestion was made that it wasn't the file size, but my wifi setup that could be the problem. Researching my wifi setup brought be to this post, which makes me wonder if localcast is my bottleneck. I was under the impression that Localcast was just creating a direct stream from my PC, similar to a direct stream from Netflix. However, if it is actually forwarding the stream from my PC through my phone to the chromecast, that would explain the poor performance (the stream has to go out to the phone and then back to the router and then out to the chromecast).

Greetings (again) fellow TiVo user! I refuse to give up my lifetime subscription and Series3 display!
Here's what I suggest...
Install Serviio on the PC with the converted videos on them. This will make your PC a DLNA/UPnP server. Be sure to configure the library so the folder with the videos is accessible.
Install BubbleUPnP on your phone.
Set the BubbleUPnP Library to your Serviio PC (it should show up in the list).
Set the BubbleUPnP Renderer to your Chromecast.
Go to the Library and find something to play. Depending on the metadata, you may need to use the Folder view rather than categories.
I tested it and the BubbleUPnP client app that runs on Chromecast seems to grab the stream directly from the server, rather than brokering the stream through your phone. That ought to help your bandwidth issue so you can use higher bitrates to get better quality.
I like what you're doing, it's something I'd like to do eventually too.
Localcast might do the same as BubbleUPnP once you get Serviio running, I haven't used it.

Yeah, I'm not ready to give up my old Tivo either! My wife has been bugging me that she can't watch recorded shows
I played around with my setup last night and found some things that work. I installed Plex Media Server on my PC and the BubbleUPnP on my phone. The BubbleUPnP app automatically detected the Plex Media Server and casting to my Chromecast was very easy. And you are right, this setup allows casting directly from PC to the Chromecast. I was able to stream my files without any stuttering! I have to go back now and re-encode my existing files to a higher video quality, but that is a price I am willing to pay.
Plex Media Server downloads the metadata about the recordings from the internet and automatically names, organizes and adds thumbnails for each recording. This is really cool. It took me a few attempts to figure out how the folders and files needed to be stored on my PC to get it to work right, but I think I have the hang of it now.
The only small trouble I have in the process is it seems like Tivo's episode information is incorrect on some of the recordings. For example, Tivo thinks a particular recording is Episode number X, but really it is Episode number Y. Tivo's Episode Title is correct, but Plex seems to just look for the Season/Episode information to pull the metadata, and then overwrites the Episode Title with the downloaded info. I have to go back into my PC and correct the episode number, which then corrects the trouble on Plex at the next download. However, this has just happened on a couple of recordings and it may not be a big issue.
I'll take a look at Serviio and see how it compares to Plex.
My next project is to see if I can find a way to stream recordings from my Mega cloud account. With 50bg of free storage, that would allow my Tivo recordings to be available wherever I am. I see Mega has a mobile app, and they say that it is possible to stream files from it, but I haven't been able to get it to work. You can long press on a file and share it to BubbleUPnP or Localshare, but I get an error message on Chromecast saying the file type is not supported. It would be nice if Mega added Chromecast support. That would rock. Even if I can't cast it to Chromecast, being able to stream it on my phone would be great. However, when I click on the file, it just tries to download the file to my phone's storage. I see there are 3rd party apps that claim to stream Mega files, but I'm wary of trying them since they don't look to be widely used.

Good move with the Bubble and Plex addition....
The two of those give a great one two punch and really make all the other options for streaming pretty lackluster IMO...
Do these Tivo files have CC embedded?
Might think about moving to an MKV container and using Handbrake for the conversion.

Asphyx said:
Good move with the Bubble and Plex addition....
The two of those give a great one two punch and really make all the other options for streaming pretty lackluster IMO...
Do these Tivo files have CC embedded?
Might think about moving to an MKV container and using Handbrake for the conversion.
Click to expand...
Click to collapse
kmttg lists closed captioning data as one of their features. I haven't tried it so I can't say if/how it works.
It also has the ability to detect and cut out commercials, but they suggest you manually check the cuts before they are made since the detection system isn't always accurate. I want this process to be totally automated, so I haven't tried that feature out fully either. The few times I have chosen to cut the commercials, something has gotten messed up with the audio sync. This would be a great feature if I can figure it out.
Thanks for the suggestion of the MKV option. I tried that encoding profile in the beginning and I kept getting errors each time the file started saying that something wasn't compatible and possibly the audio wouldn't work. Everything seemed to stream correctly, but the error message was annoying each time. Additionally, now that I have Plex installed, it doesn't seem like the old leftover MKV files are showing up in my library...as if it is an unsupported file type. I'll work on it some more. It could be the particular MKV profile I chose, or some other issue that I can work through.

whitenack said:
The only small trouble I have in the process is it seems like Tivo's episode information is incorrect on some of the recordings. For example, Tivo thinks a particular recording is Episode number X, but really it is Episode number Y. Tivo's Episode Title is correct, but Plex seems to just look for the Season/Episode information to pull the metadata, and then overwrites the Episode Title with the downloaded info. I have to go back into my PC and correct the episode number, which then corrects the trouble on Plex at the next download. However, this has just happened on a couple of recordings and it may not be a big issue.
I'll take a look at Serviio and see how it compares to Plex.
Click to expand...
Click to collapse
Yeah, the TiVo guide info has been spotty lately, which is not a good thing since the guide info is what the subscription is for!
Some episodes are incorrectly numbered (though the back-to-back dual-episode premieres and finales always tend to be confusing), some don't have episode numbers at all. Almost seems like they're pulling from two sources and when the "good" source doesn't have info, we get the generic version.
Asphyx said:
Do these Tivo files have CC embedded?
Click to expand...
Click to collapse
Plex's metadata library really is one of its strong points
TiVo recordings do have embedded CC AFAIK, but I haven't looked to see if it's encoded as MPEG subcode like on DVD or differently. My guess is it's subcode, as it's embedded in the original transport stream.
whitenack said:
It also has the ability to detect and cut out commercials, but they suggest you manually check the cuts before they are made since the detection system isn't always accurate. I want this process to be totally automated, so I haven't tried that feature out fully either. The few times I have chosen to cut the commercials, something has gotten messed up with the audio sync. This would be a great feature if I can figure it out.
Click to expand...
Click to collapse
I've successfully used VideoReDo TVSuite 4 to edit both native TiVo .tivo and MPEG transport streams. It has some nifty features to fix rubbished streams and also has commercial detection. It's not free, though since I already have it, this auto-processor may just have reserved a few future weekends... Hmm, I might have to get a new machine after all (granted, my desktop is over 5 years old - I just dislike change, haha).

whitenack said:
kmttg lists closed captioning data as one of their features. I haven't tried it so I can't say if/how it works.
It also has the ability to detect and cut out commercials, but they suggest you manually check the cuts before they are made since the detection system isn't always accurate. I want this process to be totally automated, so I haven't tried that feature out fully either. The few times I have chosen to cut the commercials, something has gotten messed up with the audio sync. This would be a great feature if I can figure it out.
Click to expand...
Click to collapse
Yep I understand the automated want...PITA to have to manually do it. Commercials are always a PITA to cut out. You can just as easily FF through them later.
whitenack said:
Thanks for the suggestion of the MKV option. I tried that encoding profile in the beginning and I kept getting errors each time the file started saying that something wasn't compatible and possibly the audio wouldn't work. Everything seemed to stream correctly, but the error message was annoying each time. Additionally, now that I have Plex installed, it doesn't seem like the old leftover MKV files are showing up in my library...as if it is an unsupported file type. I'll work on it some more. It could be the particular MKV profile I chose, or some other issue that I can work through.
Click to expand...
Click to collapse
Hmmm it could be the CC Subtitles that are the actual issue with compatibility. You might be able to tweak that profile properly but if you don't need them why bother. I only asked because I have a few family members who watch my library but seem to need CC to help them so I have been forced to add embedded CC subtitles to my Library system (mostly MKV) and was curious if you had that capability.
bhiga said:
Plex's metadata library really is one of its strong points
TiVo recordings do have embedded CC AFAIK, but I haven't looked to see if it's encoded as MPEG subcode like on DVD or differently. My guess is it's subcode, as it's embedded in the original transport stream.
Click to expand...
Click to collapse
For guys like us (and other XDA folk) it's probably not as important to have a nice and easy interface to navigate with but since we all have friends and family who need to navigate these things Plex just makes the whole process a lot simpler to teach for those uninitiated users.
One of the biggest downsides to the DLNA architecture is it's lack of metadata and good interface system.
Uninitiated want to see box covers not file listings.
As for your old computer it may be 5 years old but that still makes it a good prospect for a media server...Throw a bit more ram in and run Linux and it should be good enough for transcode and serving.
But you know that already! LOL

Asphyx said:
Yep I understand the automated want...PITA to have to manually do it. Commercials are always a PITA to cut out. You can just as easily FF through them later.
Click to expand...
Click to collapse
Yeah, precisely why I haven't really put much effort into dealing with them to date. Still, when you're archiving hundreds of hours, those commercials add up.
Asphyx said:
I only asked because I have a few family members who watch my library but seem to need CC to help them so I have been forced to add embedded CC subtitles to my Library system (mostly MKV) and was curious if you had that capability.
Click to expand...
Click to collapse
That describes me perfectly. Something's either wrong with my hearing, audio system, or both.
Asphyx said:
As for your old computer it may be 5 years old but that still makes it a good prospect for a media server...Throw a bit more ram in and run Linux and it should be good enough for transcode and serving.
But you know that already! LOL
Click to expand...
Click to collapse
It's a dual quad-core with 32GB of RAM, so still quite capable for my needs, which is why I haven't upgraded (aside from cost), but as an encoding machine its fans SCREAM so I usually throttle encoding tasks outside of sleep times using Battle Encoder Shirase. The other alternative is to switch to liquid cooling, but my system is not mainstream (AMD Socket F server board) so doing that will likely require more than a weekend.
This just reminded me though... I do have my previous desktop which was a quiet machine. Nowhere near the same horsepower, but it was quiet... Hmm... Now ALL of my precious spare time has been shot! LOL!!

Asphyx said:
Hmmm it could be the CC Subtitles that are the actual issue with compatibility. You might be able to tweak that profile properly but if you don't need them why bother. I only asked because I have a few family members who watch my library but seem to need CC to help them so I have been forced to add embedded CC subtitles to my Library system (mostly MKV) and was curious if you had that capability.
Click to expand...
Click to collapse
Nevermind. I see my problem now. It's not the MKV that is causing the problem, its the fact I don't have the folder set up correctly for that particular show (the only recordings for that particular show were MKVs). I dropped an MKV file into an existing show folder and it recognizes it. Awesome. So, at this point I just need to figure out which encoding profile I need to use to generate the best video quality for the smallest file size.

whitenack said:
So, at this point I just need to figure out which encoding profile I need to use to generate the best video quality for the smallest file size.
Click to expand...
Click to collapse
Individual quality judgements will vary (and so will Spouse Approval Factor), but as a matter of reference, DTV streams are typically 19 Mbps MPEG-2, so they're already squashed, which roughly translates to around 4 Mbps in MPEG-4.
Commercials are good for threshold purposes, especially those with the tiny text at the bottom of action commercials that says "Professional stunt person - Do not attempt." One because those types of commercials have a lot of action and scene changes, and two because the text at the bottom tends to be small, and that's usually the first thing to go blocky/fuzzy when you drop too many bits.
Watch out of the car commercials though, the SUPER tiny text on those is usually already destroyed by the cable company's compression.

bhiga said:
Individual quality judgements will vary (and so will Spouse Approval Factor), but as a matter of reference, DTV streams are typically 19 Mbps MPEG-2, so they're already squashed, which roughly translates to around 4 Mbps in MPEG-4.
Commercials are good for threshold purposes, especially those with the tiny text at the bottom of action commercials that says "Professional stunt person - Do not attempt." One because those types of commercials have a lot of action and scene changes, and two because the text at the bottom tends to be small, and that's usually the first thing to go blocky/fuzzy when you drop too many bits.
Watch out of the car commercials though, the SUPER tiny text on those is usually already destroyed by the cable company's compression.
Click to expand...
Click to collapse
We cut the cable cord a few years ago, so unfortunately I am accustomed to uncompressed quality. Having said that, the Chromecast is connected to our bedroom TV and it isn't exactly a high quality display. It was one of those Black Friday specials where they pretty much give it away. Thanks for the tip on the commercial text test. That will be handy.

bhiga said:
It's a dual quad-core with 32GB of RAM, so still quite capable for my needs, which is why I haven't upgraded (aside from cost), but as an encoding machine its fans SCREAM so I usually throttle encoding tasks outside of sleep times using Battle Encoder Shirase. The other alternative is to switch to liquid cooling, but my system is not mainstream (AMD Socket F server board) so doing that will likely require more than a weekend.
Click to expand...
Click to collapse
Get one of those corsair pre-built models...
http://www.frozencpu.com/products/1...1366_2011_AM2_AM3.html?tl=g30c321&id=Ar4dvGLz
That should be more than enough for Encoding/Transcoding...You would only need more for Gaming....
But I agree you are a far way off from needing an upgrade with that rig!
whitenack said:
Nevermind. I see my problem now. It's not the MKV that is causing the problem, its the fact I don't have the folder set up correctly for that particular show (the only recordings for that particular show were MKVs). I dropped an MKV file into an existing show folder and it recognizes it. Awesome. So, at this point I just need to figure out which encoding profile I need to use to generate the best video quality for the smallest file size.
Click to expand...
Click to collapse
As for Profile everything I have currently is H.264 4-10Mbs with AAC Stereo, AAC Surround and in some cases where it was available AC3 or DHT.
But that is not conducive to automated encode really...
What I do for most of my movies is if it has AC3 or DHT I add in AAC Stereo, AAC Surround based off the Dolby track and add any subtitle tracks I need as well.
So what I wind up with is a virtually device wide compatible Video track and Multiple Audio and subtitle tracks to choose from depending on the output device.
Probably don't need something that comprehensive for TV shows...Just make sure there is at least one AAC audio track.
File Size will really be dictated by Video Bitrate which @bhiga already mentioned...4MBs is probably the most you could need given the source quality.

Asphyx said:
Probably don't need something that comprehensive for TV shows...Just make sure there is at least one AAC audio track.
File Size will really be dictated by Video Bitrate which @bhiga already mentioned...4MBs is probably the most you could need given the source quality.
Click to expand...
Click to collapse
I just checked a file I had encoded earlier using a profile that has a description of "same res h.264 video", which I assume means the video quality is not altered in any way. I looked at the details of the file and it shows this:
Code:
Data Rate - 2511kbps
Total bitrate - 2704kbps
Frame Rate - 59 fames/second
Forgive me for being a noob, but is this saying that the total bitrate doesn't even exceed 3MBs? So even if I picked an encoding profile that limited the file to 4MBs, I would still be getting original video quality?

whitenack said:
I just checked a file I had encoded earlier using a profile that has a description of "same res h.264 video", which I assume means the video quality is not altered in any way. I looked at the details of the file and it shows this:
Code:
Data Rate - 2511kbps
Total bitrate - 2704kbps
Frame Rate - 59 fames/second
Forgive me for being a noob, but is this saying that the total bitrate doesn't even exceed 3MBs? So even if I picked an encoding profile that limited the file to 4MBs, I would still be getting original video quality?
Click to expand...
Click to collapse
Same res = same resolution, but the bitrate can still affect video quality.
That said, the parameters you're showing should produce good results.

An AIO corsair or any other closed loop would start getting costly for him. Remember he has more than one CPU to cool, so you'd really wants go open loop cause you need two CPU blocks and I don't know anything else about the system so I won't guess how many rads you would need. Maybe change the fans out if there too loud, but I'm assuming you need something very powerful like delta fan's to keep it cool. Anyways that site recommended above does have a nice selection of quality water cooling components and fans. Check out alphacool, I use there rads with a swiftech block, but watch out for the clearance its around 60mm.
Sent from my SAMSUNG-SGH-I337 using Tapatalk

whitenack said:
I just checked a file I had encoded earlier using a profile that has a description of "same res h.264 video", which I assume means the video quality is not altered in any way. I looked at the details of the file and it shows this:
Code:
Data Rate - 2511kbps
Total bitrate - 2704kbps
Frame Rate - 59 fames/second
Forgive me for being a noob, but is this saying that the total bitrate doesn't even exceed 3MBs? So even if I picked an encoding profile that limited the file to 4MBs, I would still be getting original video quality?
Click to expand...
Click to collapse
Yes but thats what your encoding profile says not the source bitrate right? You should experiment a bit and see at what bitrate you see little to no quality loss or find some way to figure out the bitrate of the source file (since it's in some proprietary format might not be possible).
Then just make sure your target bitrate for re-encode is slightly higher with the same frame rate and you should be fine. from the looks of it it sounds like your FPS may be too high. And that might be a cause of loss of quality. Great for movement but the frames and pixels suffer.
Think if it similar to the following
The VBrate is like a bottle holds all the data for video and comes once a second.
FPS determines how many pictures are in that bottle with each picture being limited to the data size that allows all pictures to fit in that bottle.
Resolution (1080, 720) determines how many pixels must be REPRESENTED (but not always actually present) in each picture.
SO...
a VBRate with 4000K and 60 fps means 66.6K worth of pixel data per frame,
VBRate of 4000k and 30 fps means 133.3K worth of data per frame
Divide that number yet again by the number of pixels (resolution) and you get the data allotment for each pixel. As that number gets smaller the pixels actually get larger and blockier by trying to make one pixel tell the story of 4 or 8 pixels to fit into the limits of the picture so the pictures (FPS) can fit into the limits of the bottle (VBRate) and the dynamic range of each pixel gets compromised as it must use a shorter pallette for Light Dark, and RGB (Red Green Blue).
By the same token this is also why Upconverting often leads to blockiness not because of the limits of the Output but the limitations of the input. And no BETTER quality is actually possible.All the encoder does is double the pixels or framerate using the VBrate for each but you are not actually getting any better quality just magnifying the pixels. And that is just like looking at a screen with a magnifying glass. You see how blocky the pixels really are in the original and those blocks just get BIGGER on the upconvert.
I suggest you see what the top Bitrate and resolution of the source files are and then set your profile accordingly to at least get parity for the best quality possible.
Resolution and FPS should exactly match and then the VBrate as long as it is the same or slightly above will ensure your getting everything there is to get out of the source...
Nizda1 said:
Remember he has more than one CPU to cool,...
...Anyways that site recommended above does have a nice selection of quality water cooling components and fans. Check out alphacool, I use there rads with a swiftech block, but watch out for the clearance its around 60mm.
Click to expand...
Click to collapse
Yes good catch I missed the DUAL and just saw the Quad...The Dual CPU does complicate things.
I have used Frozen for most of my Personal Builds of rigs but mostly because they are so damn close to me that I get the shipments almost next day even when I ship it ground.
IMO Cooling is the most overlooked and underrated part of Rig Building...
I happen to have a Cosmos S case I use for all my main rigs (Just keep changing the guts) because it's just so versatile no matter what I decide to do, Water, Fans and plenty of room for all of it.

Asphyx said:
Yes but thats what your encoding profile says not the source bitrate right?
Click to expand...
Click to collapse
Yes, that file had been encoded, but at a much higher rate than what it ended up at. I think the bitrate was set at either 4000 or 5000, but still only produced a file at a bitrate of about half. Therefore, I assume that the Tivo file is set at that bitrate?
You should experiment a bit and see at what bitrate you see little to no quality loss or find some way to figure out the bitrate of the source file (since it's in some proprietary format might not be possible).
Then just make sure your target bitrate for re-encode is slightly higher with the same frame rate and you should be fine. from the looks of it it sounds like your FPS may be too high. And that might be a cause of loss of quality. Great for movement but the frames and pixels suffer.
Click to expand...
Click to collapse
Yeah, these are .TiVo files, and I can't find any information on it. You were right about the frame rate...too high. I adjusted to 30 and that helped. I then tried about 4 or 5 different bitrate settings and am still looking for the perfect match between video quality and file size. I currently have one (480xheight, 1250 bitrate, 1500 max rate) that is a nice file size but a little fuzzy for my tastes. Then I have another one (1280xheight, 2000 bitrate, 2500 max rate) that looks great. What I'll try to do tonight is work on trimming the bitrate down a bit on the higher quality one until I notice a quality change, and then see if it changes the file size enough to justify the loss of quality.
Think if it similar to the following
The VBrate is like a bottle holds all the data for video and comes once a second.
FPS determines how many pictures are in that bottle with each picture being limited to the data size that allows all pictures to fit in that bottle.
Resolution (1080, 720) determines how many pixels must be REPRESENTED (but not always actually present) in each picture.
SO...
a VBRate with 4000K and 60 fps means 66.6K worth of pixel data per frame,
VBRate of 4000k and 30 fps means 133.3K worth of data per frame
Divide that number yet again by the number of pixels (resolution) and you get the data allotment for each pixel. As that number gets smaller the pixels actually get larger and blockier by trying to make one pixel tell the story of 4 or 8 pixels to fit into the limits of the picture so the pictures (FPS) can fit into the limits of the bottle (VBRate) and the dynamic range of each pixel gets compromised as it must use a shorter pallette for Light Dark, and RGB (Red Green Blue).
By the same token this is also why Upconverting often leads to blockiness not because of the limits of the Output but the limitations of the input. And no BETTER quality is actually possible.All the encoder does is double the pixels or framerate using the VBrate for each but you are not actually getting any better quality just magnifying the pixels. And that is just like looking at a screen with a magnifying glass. You see how blocky the pixels really are in the original and those blocks just get BIGGER on the upconvert.
I suggest you see what the top Bitrate and resolution of the source files are and then set your profile accordingly to at least get parity for the best quality possible.
Resolution and FPS should exactly match and then the VBrate as long as it is the same or slightly above will ensure your getting everything there is to get out of the source...
Click to expand...
Click to collapse
Thanks for all the help. I came to this post knowing nothing about any of this and all the information I have is from you guys and reverse engineering some existing profiles. I wouldn't have been able to do it without you guys.

Oh, I forgot to mention that I see there may be an option to access my Plex Media Server from other networks over the internet. Looks like BubbleUPnP also supports setting up media servers over the internet, so I will work on that next.

whitenack said:
Oh, I forgot to mention that I see there may be an option to access my Plex Media Server from other networks over the internet. Looks like BubbleUPnP also supports setting up media servers over the internet, so I will work on that next.
Click to expand...
Click to collapse
Yeah I would shoot for 720P (1280 X 720) as that is likely the best quality your likely getting from the sources you have recorded.
I don't see where encoding set at one bitrate would actually wind up with a lower bitrate output, unless of course you have it set to Auto Match Bitrate. Which really shouldn't be done because the new codec you are encoding to might require a higher bitrate to get the same quality (Remember different codecs compress differently and as a result require more or less bandwidth than other codecs to get the same quality)
So you have to choose the target bitrate that works best for the codec you are encoding in. In the case of H.264 and 720P 4Mb is a good balance of size and quality. That will translate to roughly 1Gb of file per hour of programming give or take how active the footage in the material is.
As for remote Streaming...Yes both Plex and Bubble support this. You do have to have a machine up and running at all times and you must set up your router to port forward the ports used by these servers to be sent to the server. Make sure also that the Server has a static IP or that you have set a DHCP reservation in yor router for the server machine so it has the same IP address every time.
Remote streaming will almost always require you to ask for a reduced bandwidth version of the stream since your ISP is unlikely to give you enough upload speed to get full quality but it has helped me pass the time on those long days where I have nothing to do and just waiting around to pass the time.

Asphyx said:
I don't see where encoding set at one bitrate would actually wind up with a lower bitrate output, unless of course you have it set to Auto Match Bitrate. Which really shouldn't be done because the new codec you are encoding to might require a higher bitrate to get the same quality (Remember different codecs compress differently and as a result require more or less bandwidth than other codecs to get the same quality)
Click to expand...
Click to collapse
Hmmm, we are quickly getting over my head. I don't have any experience in encoding, I am hijacking example encoding profiles and tweaking them a bit. Can you take a look at my profile and see if I am making any mistakes?
Code:
FFMPEG -y -i INPUT -threads CPU_CORES -vcodec libx264 -level 31 -subq 6 -me_range 16 -qmin 10 -qmax 50 -g 300 -s 1280xHEIGHT -r 29.97 -b 2000k -maxrate 2500k -acodec aac -strict -2 -ac 2 -ab 160k -ar 48000 -f mp4 OUTPUT
I think I pulled this code off an example iPhone profile. I have tweaked the resolution, bitrate and max rate a bit to experiment, but am not really sure what anything else does other than the fps and stereo aac (which is all I need).
Remote streaming will almost always require you to ask for a reduced bandwidth version of the stream since your ISP is unlikely to give you enough upload speed to get full quality but it has helped me pass the time on those long days where I have nothing to do and just waiting around to pass the time.
Click to expand...
Click to collapse
Ok, forget that then. I hadn't thought about my ISP upload speed. I have TWC and my download speeds are enough for my needs but my upload speeds are pretty weak.

Related

Chisleu's "Things I Learned" Thread (GPS/Video convertion/etc/etc)

The first post is always updated to show the "how to do it quick" that I arrive at after my long series of "doing it painfully slow." All the other posts are simply notes I share while "doing it painfully slow."
I'm always trying to remember something I forgot, never something I remember.
I'm also new to the platform so I'm remembering things for the first time, which makes this a perfect time to document these learnings.
Sharing files over Wifi with Tablet:
http://www.redmondpie.com/access-ftp-sites-natively-in-windows-7/
I followed these simple directions to map the tablet's FTP sever as a network drive. What FTP server? I'm using "File Expert" which seems to work well. There are many other apps available as well.
Using an external bluetooth:
Download "Bluetooth GPS" from the market. This will allow you to import the gps data. You have to turn on GPS on the tablet and enable mock gps locations in the menus (instructions in application in market.)
Rooting my (just about any) Android Phone
SuperOneClick: http://forum.xda-developers.com/showthread.php?t=803682
Wow that was easy! Rooted my android 2.1 mb200 (Cliq) in 30 seconds. You need the drivers for your phone which you can get from the phone manufacturer's site. I got something called "MotoHelper" from Motorola's site.
Using your phone as a Wifi Hotspot:
android-wifi-tether is the program of choice. If your phone doesn't have a kernel that supports IP tables it won't work. Most phones probably don't have firewall capabilities loaded into them by default! If you want to do that: they support many phones. Check um out.
If you don't want to change the kernel and your phone is rooted, you can use the "Barnacle Wifi Tether" from the market. It turns the device into a mobile hotspot you can access with your android tablet. Works great!
Using your phone as an External Bluetooth GPS device:
Don't think it requires rooting. There are a lot of apps (a lot.. omg) that claim to do it. I was able to find ONE that actually works, for 10 minutes at least. It's only $1.50CDN (if you can get that **** to work) or $1.99 directly to unlock. Works great! It's in the market called "Bluetooth GPS Output". You can buy the $1.99 unlock code from their website. I spent hours hunting something free. haha
Watching video on CM7 (pre-hardware acceleration)
*NOTE* Getting audio in-sync is near impossible. I've given up. I don't think there is a way of accomplishing this without DSP support.
Download "MoboPlayer" and install w/ your favorite app installer. I use "File Expert" because of it's FTP server capabilites making copying super easy and wireless for me.
MoboPlayer is superior to RockPlayer for gingerbread (cm7) for software decoding. It has a silly "skip" button you have to hit when you start up. Not sure how to get rid of that. Yet.
Above is now depreciated with hardware accelerated video working in cm7.
Download the latest version of "Handbrake". I have attached a zipfile with a preset in it that you can import by clicking preset->import. You should then see a preset called "Chisleu High Quality (imported)" on the right side of the screen.
Step 1: Open your file to be converted
Step 2: Select the Preset
Step 3: Change your resolution if it is larger than 854x480.
854x480 is the maximum so set the width to 854 and make sure the width is under 480 (should be) but if not change it so the width and height are under 854x480.
It will always default to the original resolution if it is smaller than 854x480. It should default to 854x480 max if the source is higher resolution. If it doesn't include the 854x480 max, when you select it to encode a video, change the resolution to 854 width and save the preset.
Pairing/Using Zoom 9010 Bluetooth Mini Keyboard w/ NCEncore
Hit the button on the bottom of the keyboard. Go to the bluetooth menu and select the device to pair. It will ask for a pin. Type in 1234 into the tablet. THEN type 1234 into the keyboard and hit enter on the keyboard. Enjoy keyboard!
More to come!
These are notes I made while making the "howto" which is in the first post. The final steps needed are above. If you are hacking your way through this stuff and looking for insights, the stuff below could be helpful. If you are looking for "how do I do this fast" then don't read this stuff, just refer to the first post!!!
Watching video on CM7 (pre-hardware acceleration)
Rockplayer seems to work very well. I'm hoping to figure out the "ideal" formatting for software decode.
It seems everyone has their favorite way to pull this off... I'm using the free program "Handbrake" to convert video files over.
Well, I have reasonable quality video playing well but the sound is being a problem. With my last conversion, the sound will just stop playing after a while and you have to move the video slider around a little to get it to start back up. not good.
848x480 video seems to be pushing it and the quality isn't that much better than 720, so I'm going to limit myself to 720x480max video.
Sample rate 48 audio was very quiet, turns out 41 is too! Use the DRC slider in the audio tab -> 4 to help compensate. I also turned the volume on the speaker up 10db w/ thee "DSP Manager" that comes with the distribution. Helps to boost the volume to less silent levels. Workable, but headphones of some sort are still required IMHO.
Nope. Still crappy. Worried I won't be able to play anything past cartoons!
Update: Rockplayer sucks!!! (for me, on this platform, etc, etc)
http://moboplayer.com/moboplayer_en.html
At another's direction, the v7 "Neon" version of Moboplayer is EPIC. Works much better. It plays my encoding of "BBC Planet Earth - Jungles 1080p". On a side note, if you haven't seen the Planet Earth series, get it. It is super fun to watch. very interesting.
I used these settings:
720x400 (720 max w/ automatic height)
48k / 128kbps AAC/faac audio.
51 minutes is 765mb. Pretty huge.
I mostly used the direcitons provided here:
http://www.androidtablets.net/forum...using-handbrake-convert-video-nook-color.html
(3) On the Presets window, select High Profile.
(4) Click on the Source button, and load the video file you want to convert.
(5) Click the Browse, and select a destination and file name for the MP4 video file you will create.
(6) Go to the Picture tab. Set the Anamorphic menu to None. Enter 720 in the Width box, and check the Keep Aspect Ratio button. The Height should automatically adjust.
(7) Go to the Video Filters tab. Set Detelecine and Decomb to Off.
(8) Go to the Video tab. If you are using DVD source video, or standard resolution video, leave the Framerate option as Same as source. If your source is HD video (60fps), change the Framerate to 29.97.
(9) Go to the Audio tab. How many tracks appear? The goal is to end up with one track with an Audio Codec that shows up as AAC (faac) or MP3 (lame). If there are others, right click and remove them. On the remaining track, set Mixdown to Stereo, Samplerate to 48, and Bitrate to 128.
(10) Skip the Subtitles and Chapters tabs.
(11) Go to the Advanced tab. Set Maximum B-Frames to 0, and uncheck the CABAC Entropy Coding, 8x8 Transform, and Weighted P-Frames options.
Click to expand...
Click to collapse
I'm currently converting "Back To The Future 720p":
720x400:
average bitrate 800kbps (2pass)
44.1/128 MP3(lame)
Remember to jack up the DRC (I've been using the max setting of 4) which will help compensate for the low speaker volume. I also configured the DSP EQ for up to 5db of boost (mid range) curving down to 1db at the extremities.
Damn I love this platform.
EDIT: Retried my 854x480 conversion (high bitrate, 1gig/51minutes) It plays just great with MoboPlayer Neon. I'm going to watch the low bitrate encode of Back To The Future 720p (720x400 ~800kbps video 766meg/1:56). It is transfering now but my firewall isn't N-capable so it's slow!
I'm mainly checking to see if that quality is decent (low bitrate and 2 pass encoding)
Then I'm going to do a "final settings" encode to test out max quality.
I'm also going to do a 1024x600 video just to see if it's possible to play. I think it's probably overkill. I think the playback will suffer. 854 seems to really eat CPU as it is. We will see.
EDIT: Downloaded a 1 minute 1080p test video to use to test resolutions/such with to speed things up a bit.
http://www.fileserve.com/file/SdtfFxh/hd_other_sony_hd_experiment.m2ts
EDIT: Droid does!!! DRC doesn't! Specifically, it doesn't boost volume very much. It is really just normalization. Not encoding using DRC anymore. If you want to watch videos... use headphones.
EDIT: Wow, much faster using a 1 minute file plus the math is easy to determine 1 hour file sizes. hehe.
EDIT: 1024 width doesn't play.
EDIT: Uhm, maybe it does. for some reason MoboPlayer is calling it HD and trying to play in hardware. I can play the 854 w/ software decode so I'm reencoding... stop deleting stuff even if it doesn't work the first time dude...
EDIT: so.... many... variables....
EDIT: door to door salespeople suck... no this isn't an ipad, and no I don't want your cleaning products.
EDIT: Got a quality configuration working!
My 1 minute test video ended up at 5,487KB which puts us at roughly 330MB per hour. Acceptable size for me. This is a 2-pass 600kbps video stream. The 500kbps had noticeably less quality. Higher quality encoding does improve quality, but seems to have video sync issues.
Encoding a lower resolution (but longer) file now w/ my settings to test.
Successful video!!!! I converted Zombieland.720p into the format above and she plays wonderfully in software mode with no sync issues!!! Fantastic!!!
If you are looking to convert video for travel or the like, this is the ticket!
Feed your source material into HandBrake, select the Universal preset, get rid of the AC3 soundtrack if it's included in the source (since all you really need is the 2 channel stereo track), add subs if required, encode, put it on the NOOK Color, you're done.
No need for two-pass encoding as HandBrake's newer CRF based encoding methodology (for the x264 encoder) saves time and gets pretty much equal results in half the time.
People really overcomplicate this encoding for the NOOK Color, way too much. It's not that hard. The Universal preset will adjust the resolution to fit (the NOOK Color has a maximum video pixel width of 854, period), and it uses a good baseline profile (what the NOOK Color is designed to play) without issues.
Everything is already in that preset, ready to go, and you're not really going to get much better quality with all the fiddling, all the command line options, etc.
Source > HandBrake > Universal preset > drop AC3 track, set bitrate as desired for audio > Encode > Put it on the device > Enjoy the movie.
Simple.
I love different opinions!
br0adband said:
No need for two-pass encoding as HandBrake's newer CRF based encoding methodology (for the x264 encoder) saves time and gets pretty much equal results in half the time.
Click to expand...
Click to collapse
2 pass is vastly superior for file size. If you don't care about file size, ya you can use a larger file with great quality. But if you care about sizes (ie, using a CR of 40, which I did) it looks like crap. 2 pass encoding is vastly superior because it allows smaller size with dynamic bitrates and higher quality.
I'm not the "lazy" guy. I don't mind taking the time to figure out the way that is best for me. I am simply sharing that knowledge. A google search will reveal tons of different ways of doing this.
br0adband said:
Everything is already in that preset, ready to go, and you're not really going to get much better quality with all the fiddling, all the command line options, etc.
Click to expand...
Click to collapse
That preset is also 720 width, not 854. I'm trying to maximize quality, minimize file size, and stay compatible with the hardware accelerator. Of course, once hardware accel comes out, one can up the kbps to 1000-1200 if you wish, although I do not feel it is needed.
My setup generates files ~ 320mb per hour. Comparable static bitrate quality would be much larger.
br0adband said:
Simple.
Click to expand...
Click to collapse
Now that Handbrake has the ability to import presets, it's super easy for people. Import the file (once) select the file, select the preset, change the resolution. done. super simple.
Of course this is only intended for CM7 users.
chisleu said:
Flash 10.2 (leaked)
[...]I would expect it will work much better on nookie froyo. so much so that I'm going to use my SD card to boot nookie and try!
Click to expand...
Click to collapse
Did it work on Froyo, and if so, did you notice any improvement?
TJNooker said:
Did it work on Froyo, and if so, did you notice any improvement?
Click to expand...
Click to collapse
It "worked" on nookie froyo and rooted 2.1 (bn 1.1) to begin with (flash 10.1) but I would expect that 10.2 would give a dramatic improvement. The increase on CM7 was dramatic. I don't have a working froyo build to test though. enjoying CM7 too much.
br0adband said:
the NOOK Color has a maximum video pixel width of 854, period
Click to expand...
Click to collapse
Actually software viewers will play up to a 1024x600 file at full screen. Anything less is scaled (software) up to that.
The hardware encoder will up/down scale to 854x480.
Also I just used your instructions above which is RF:20 encoding. that's ~19mb per minute. Compared to ~5.5 w/ my settings. The quality is noticably higher, but it could be accomplished w/ 1000-1200kbps settings with 2 pass. (9-11MB/min)
Also video sync is still an issue for some reason. I'm not sure what the problem is anymore.
I'm on the new 3/15/11 test version including DSP video support. It works and it stays in sync but the framerate is garbage. It's roughly 5-15dps at any given time. Progress is sexy.
It looks like we really just need DSP support if we are going to play videos in sync.
chisleu said:
It "worked" on nookie froyo and rooted 2.1 (bn 1.1) to begin with (flash 10.1) but I would expect that 10.2 would give a dramatic improvement. The increase on CM7 was dramatic. I don't have a working froyo build to test though. enjoying CM7 too much.
Click to expand...
Click to collapse
How did you get flash running on stock eclair?
ace7196 said:
How did you get flash running on stock eclair?
Click to expand...
Click to collapse
I can not remember if I did or not. I believe there is a flash for 2.1 apk floating around if you look.
Chisleu,
why dint you try Vitalplaer neon. It has way better software encoding then rockplayer and moboplayer. Its the best I found so far fo xvid movies
zorvalth said:
Chisleu,
why dint you try Vitalplaer neon. It has way better software encoding then rockplayer and moboplayer. Its the best I found so far fo xvid movies
Click to expand...
Click to collapse
It seems to stay in sync more, but it also lags more. It also has ads on the bottom of the screen. I did try it, but as soon as I saw the ad I realized it wasn't for me.
But yes, unless it is lieing and really using the hardware to play, this is much better. I'm going to encode my test file to 1024x600 and see how it does in software with Vitalplayer Neon.
no 1024 didn't fly in software. Looks terrible, and lags/gets out of sync.
IMO, the argument is moot at this point. Vitalplayer isn't free, and software can't play video better than the hardware can (854x480)
Now that hardware acceleration is working the CM7 test it won't be long before it's in CM7, and I personally have no need for software acceleration.
Then again, for lower quality stuff that I don't want to reencode, vitalplayer is much better at staying in sync. Impressively so in fact.
I may buy it. Thanks for the tip.
I uploaded some test videos encoded to Nook specs at various bitrates so you could see and maybe avoid reencoding repeatedly to find a bitrate that works for you.
Original file is a 1080p Music Video for "Good Girl, Bad Girl" by Miss A. This is a k-pop group I love and they encourage redistribution of their music videos, so no issues there.
600kbps video 20mb
http://www.mediafire.com/?d42dmvva9vbigm2
1200kbps video 36.5mb
http://www.mediafire.com/?2lyb5qicpynz13a
2000kbps video 58.4mb
http://www.mediafire.com/?d42dmvva9vbigm2
I can not tell a difference between 1200 and 2000.
There is definitely a difference between 600 and 1200, but is the difference worth 4.3mb per minute? A 90 minute video would be an additional 387MB larger.
Maybe it is for you, and maybe it isn't, and maybe you will just go with 800 or 1000kbps if you want to split the difference.
These are just intended for you to have a jumping off point so you don't have to go to the lengths I have!
chisleu said:
It seems to stay in sync more, but it also lags more. It also has ads on the bottom of the screen. I did try it, but as soon as I saw the ad I realized it wasn't for me.
But yes, unless it is lieing and really using the hardware to play, this is much better. I'm going to encode my test file to 1024x600 and see how it does in software with Vitalplayer Neon.
no 1024 didn't fly in software. Looks terrible, and lags/gets out of sync.
IMO, the argument is moot at this point. Vitalplayer isn't free, and software can't play video better than the hardware can (854x480)
Now that hardware acceleration is working the CM7 test it won't be long before it's in CM7, and I personally have no need for software acceleration.
Then again, for lower quality stuff that I don't want to reencode, vitalplayer is much better at staying in sync. Impressively so in fact.
I may buy it. Thanks for the tip.
Click to expand...
Click to collapse
I don't know what you are downloading but Vitalplayer Neon is definitely free....
Sent from my NookColor
zorvalth said:
I don't know what you are downloading but Vitalplayer Neon is definitely free....
Sent from my NookColor
Click to expand...
Click to collapse
I miss the "ad" word in that sentence. It was meant to say "ad free".
I can't stand seeing ads. I don't mind paying for software I want, but I hate ads.
I bought the Vital Player Pro but we were unable to get it working and I was issued a refund. It would start up and immediately shutdown. I think there may be a problem with paid apps because I also can not get TapaTalk pro to work on my tablet. It keeps saying it isn't paid for. Tapatalk has much slower customer support than VitalPlayer did.
So now that hardware acceleration is enabled, do you still do the same handbrake encoding process as before? Or was that just a workaround for the software? Or because hardware acceleration is now enabled, are we able to handle more/different codecs?
br0adband said:
No need for two-pass encoding as HandBrake's newer CRF based encoding methodology (for the x264 encoder) saves time and gets pretty much equal results in half the time.
Click to expand...
Click to collapse
I apologize. This new 1 pass system is far superior to those of old. I bow to your wisdom. CF25 is about equal to 1200kbps video in both size and quality.
Thanks for posting up the sample vids. The first and third link are the same. Both go to Miss A Bad Girl Good Girl - Nook 2000.m4v
For me, the preset in the OP produces an image that is compressed horizontally. Anyone else seeing this? Using handbrake 0.9.5 and playing on the latest CM7 stock video player.

[CM7] All things video (CM7 only)

General Comments
I've created this thread to centralize video discussions, tips, issues, etc.
Please limit this only to those running CM7. Something that works or doesn't work in rooted stock or Froyo may have no correlation to CM7 at present. CM7 is using different codecs, different DSP kernel driver, different media backend, and different userspace ALSA.
To start things off I have attached a handbrake profile that has worked well for me.
I will update this post as more specifics are found.​
A few things to consider: ALSA
Our ALSA implementation is picky about the buffer size. Other devices that use ALSA in the same fashion have had to reduce their buffer as well. This may be due to a limitation of what can fit in the DMA buffer on the McBSP. Because the ALSA buffer scales with the audio sample rate, I recommend using 44.1K instead of 48K when transcoding videos. This is contrary to every handbrake profile I've seen folks post on XDA for the nook.​
CPU Governor
Some people have had better luck with the Conservative CPU governor rather than Ondemand or Interactive.​
Bitrate
I have found it best to limit the bitrate to something under 1000kbps.​
Resolution
The resolution should always be limited to 854x480. This is the maximum limit for the open source codecs. We do not have a license for 720P codecs yet. Perhaps B&N will get a license for their Froyo update.​
dalingrin said:
I recommend using 44.1K instead of 48K when transcoding videos.
Click to expand...
Click to collapse
I concur....I started doing this last night, coupled with a DRC of "3" and sound is better and louder.
360Razir said:
I concur....I started doing this last night, coupled with a DRC of "3" and sound is better and louder.
Click to expand...
Click to collapse
I agree about DRC. I just updated my profile with dynamic range compression of 2.
Your preset causes an unhandled exemption for me when I load or use it in handbrake. If I try to play what it outputs, it doesn't play in the stock player.
I have to turn off Weighted P-Frames to get the nook to play in hardware (stock player.)
EDIT: Attached my preset. It has all the typical preset stuff, plus 44.1/128 audio like dal recommended, and it doesn't throw a fit when I import or select it in handbrake.
chisleu said:
Your preset causes an unhandled exemption for me when I load or use it in handbrake. If I try to play what it outputs, it doesn't play in the stock player.
I have to turn off Weighted P-Frames to get the nook to play in hardware (stock player.)
Click to expand...
Click to collapse
Weighted P-frames are off in my profile.
What version of HandBrake are you using? I have rev3736.
The other thing I have to test is my Droid X. Most of the Handbrake (HB) encoded movies I have were done for my DX last year. Like the NC, I set the movies to 854x480 for my DX and so that makes it nice to be able to test between the two devices.
My DX is now running (leaked) Gingerbread and playing the same videos between the DX and the NC, the DX is so incredibly smooth. No lag. No crackling. No slow-downs. No audio popping. Just buttery smooth. Now, I understand the screen is smaller, but again, same video resolution of the video. Not sure how the "guts" of the DX are vs. that of the NC, though?
However, what I can say, is that back in January when I first got my NC and went with AutoNooter, I was able to take my existing HB-encoded movies that I had lying around for my DX and play them perfectly on rooted stock. Since CM7, out of the 25 or so movies I have for the DX, only 7 of them play on the NC (using Act 1). The NC is picky, indeed.
The quest continues....
dalingrin said:
Weighted P-frames are off in my profile.
What version of HandBrake are you using? I have rev3736.
Click to expand...
Click to collapse
Yours and the other guy's won't load without throwing an exemption which is where my confusion came from in the other thread.
Mine says 3728... it is 0.9.5 and says 2011010300 and says it is the latest when I try to update... going to redownload...
You are on the linux version aren't you?
Here are the videos with their specs that do currently work with Act 1 on my NC:
NOTE: most of my videos that work are in .m4v format. I had removed that setting in HB, but when I did, the video didn't play. I am sure it was probably something else getting in the way, but .m4v just seems solid for me right now, so sticking with that. To each his own.
As you can see from the attachment, the size, bitrate, dimensions, and frame rate are all over the map. Each plays well in Act 1 with Zoom set to "Aspect Full".
I will post my exact HB settings when I have something I have settled on and I am taking the suggestions from this thread, so thanks for that.
chisleu said:
... it is 0.9.5 and says 2011010300 and says it is the latest when I try to update...
Click to expand...
Click to collapse
Same here....Win7/32-bit
I am attaching my settings for HB that work well for me with regards to full-length movies. Has excellent audio/video sync, with no lag.
Highlights include:
[ Original Presets were taken from Regular > High Profile and then just tweaked accordingly ]
● Picture: Anamorphic Loose
● Video Filters: Off
● Video: H.264, Same as source, 2-Pass Encoding (Turbo 1st), Avg Bitrate (kbps) 2000
● Audio: Source (default), AAC (faac), Stereo, 44.1, 160, DRC = 3.8
● Advanced: B-frames = 0, CABAC & 8x8 & Weighted P-Frames = unchecked
Again, I am using Act 1 with "Zoom" set to Aspect Full.
Please let me know what you think if you dare to try.
EDIT: Video source is a regular DVD, widescreen, ripped into Handbrake directly
The dalingrin presets work for me with the Handbrake svn3907 on Ubuntu. My resulting conversion of my Letterman test video plays fine.
@dalingrin:
Any ideas as to why disabling WiFi would stop the madness of the lagging/stuttering in the video? Was it something my system was doing in the background or one of my widgets fetching data?
Is this just the case for my NC or can this be replicated? Any tests I can run for you to see if it is something you can help with? Thoughts? Thanks.
~ Razir
360Razir said:
Any ideas as to why disabling WiFi would stop the madness of the lagging/stuttering in the video? Was it something my system was doing in the background or one of my widgets fetching data?
Click to expand...
Click to collapse
That's always been my guess. Things never quite settle as long as they have access to the network.
Is this just the case for my NC or can this be replicated? Any tests I can run for you to see if it is something you can help with? Thoughts? Thanks.
Click to expand...
Click to collapse
Nope. Same here. And, it's not just video... it makes Pandora rather unpleasant. Luckily, my primary use case for video is on a plane where network access is unlikely or expensive.
Have you tried using the Conservative governor? It helps my situation.
Some rules for this thread to consider
Let me extend this discussion and propose a few rules for this thread:
1. The source video should be made clear. If you start with poorly encoded video you're obviously going to output something similarly crappy. Provide a link to the file, or upload it yourself and provide a download link. It should be legal, i.e. if you ripped it from your blu-ray, or if you torrented it from somebody else who ripped it from a blu-ray, then it doesn't belong on this thread. My source video will be a 1080p trailer from The Eagle, downloaded (legally) from here: http://www.hd-trailers.net/movie/the-eagle/
2. The encoder and settings should be made clear. I never used Handbrake before, but this morning I downloaded Handbrake 0.9.5 and installed it on my Win7 64-bit desktop. I'm using the preset for "iPhone & iPod Touch". This defaults to H.264 encoding and m4v container. I then adjusted either resolution or average video bit rate but everything else I also left at default, since I mostly don't know what they mean anyway.
3. The player should be made clear. I used Titanium Backup to uninstall Music because of a prior FC issue, then sideloaded music.apk that I pulled from cm_encore_full-37.zip, thus I'm back in business with the stock Video player and no longer using Act 1.
4. Optional: upload your transcoded file and provide a link to it. I've made 2 clips of the eagle trailer which can be downloaded here:
Eagle trailer - 854x352 - 800K: http://dl.dropbox.com/u/22573583/Eagle_854x352_800K.m4v
Eagle trailer - 576x240 - 800K: http://dl.dropbox.com/u/22573583/Eagle_576x240_800K.m4v
The short of it is that both files play flawlessly on my NC running CM7 n37 with dalingrin OC kernel 040411, overclocked 300/1100 interactive. Here are some notable observations:
- The 480p-ish 854x352 resolution limited by our open-source license plays flawlessly for me up to a video bit rate of 1300K, at which point one or two random split-second audio stutters occur through the clip. You can download my 800K encoded video at this resolution. I've gone up to 3000K at 854x352 resolution with still very smooth playback. I've also been able to play an 800K clip resized to 1024x600, the native NC resolution, flawlessly.
- The 576x240 resolution for me is the sweet spot on the Nook. Text resolution is inferior to 854x352, but the playback is perfect and file size is more accommodating. Stutter-free at 800K (download my Handbrake encoded file if you want), and actually stutter free all the way up to 3000K. What's so incredible is that the high-speed scrub (put finger in middle of screen and slide right or left) at this resolution is buttery-smooth.
- Adjusting the CPU speed up or down and moving around governor setting didn't do anything good or back for video playback. Video playback was just as good at 800MHz as 1100MHz CPU speed.
I'm not an expert on video codecs and encoding, by any means, but I've been around HD-DSLR video and non-linear editing ever since Vince Laforet busted out with Reverie nearly 3 years ago.
I'll stand by my opinion, expressed previously on the kernel thread, that CM7 and dalingrin OC kernel in its current iteration (nightly 37 and 040411) absolutely rocks for properly encoded video.
360Razir said:
@dalingrin:
Any ideas as to why disabling WiFi would stop the madness of the lagging/stuttering in the video? Was it something my system was doing in the background or one of my widgets fetching data?
Is this just the case for my NC or can this be replicated? Any tests I can run for you to see if it is something you can help with? Thoughts? Thanks.
~ Razir
Click to expand...
Click to collapse
it doesnt stop it for me. no wifi. no bt. still stutters randomly on good files.
sinanju said:
Have you tried using the Conservative governor? It helps my situation.
Click to expand...
Click to collapse
Yes, I saw your post about that from the OC Kernel thread and so that is what I tried last night. It seemed to work at first, but then this morning it was also choppy using that governor. So, being on Interactive with WiFi off works.
My Droid X has many more widgets running and network access (both 3G and WiFi) and there is no hiccups or slowdowns whatsoever playing the same video. I know not apples-to-apples, but the quest is to get my NC to that kind of stability.
MedLine said:
Eagle trailer - 854x352 - 800K
Eagle trailer - 576x240 - 800K
The short of it is that both files play flawlessly on my NC running CM7 n37 with dalingrin OC kernel 040411, overclocked 300/1100 interactive.
Click to expand...
Click to collapse
Both of your videos are still choppy for me with WiFi enabled....meaning, something is fetching data in the background (Pulse, Palmary Weather, Plume, Engadget, or Google News, or even email polling) is messing with my video playback. Just wish the video was "shielded" from such things.
When WiFi disabled, all is good with your videos.
Which app you guys using to play videos? I'm using Rockplayer right now and getting audio sync issue. I had better luck with Mobo Player.
OK:
Using Sony's HD Experiment because it is short and high action.
http://www.demo-world.eu/trailers/redirect-high-definition.php?file=hd_other_sony_hd_experiment.rar
Encoding using the iphone and ipod touch preset.
I set 576x240 resolution and I can play completely smoothly with wifi on. File size is 4.44megs w/ RF: 25 (iirc)
I set 854x480 resolution and RF 30 it locks on whatever frame you start playing (black screen, etc.) Won't play. I set 854x480 and 800kbps avg kbps and it is also black screen. If I hit home and then go back and let it go, the video will change, but it doesn't seem like it will catch up. Definately broken.
I downloaded that 1080p trailer you linked.
start handbrake, load 1080p trailer, select "iphone and ipod touch" preset, select 854 width (auto height 368), changed to average kbps and set 800. My file size isn't exactly yours, but is very very close.
854x368 plays very well and looks fantastic, but it does have those pops/skips.
Disable wifi:
still get rare/random skips with my 854 file.
still get rare/random skips with your 854 file.
I turned "Disable Fullscreen" off on a hunch it was play a role in this:
My 854 file still skips from time to time.
My 576 file still skips from time to time, although more rarely. only once in 2 plays.
Your 854 file still skips from time to time.
Your 576 file still skips from time to time, maybe more rarely? Hard to quantify.
I encoded the eagle trailer with my 854 width, RF 25 "high quality" preset.
It is smaller than 800kbps (13.1M vs 18M)
It skips too.
tablo said:
Which app you guys using to play videos? I'm using Rockplayer right now and getting audio sync issue. I had better luck with Mobo Player.
Click to expand...
Click to collapse
We are mostly using the stock player because it forces hardware accel.
I prefer VitalPlayer to all. If you are having sync issues it is probably playing in software mode. I should say, VitalPlayer has never given me any sync issues at all while playing in software. Wish I had discovered that before DSP was working. haha

Video problems with Mobo switched to vital neon fixed, but not using hardware decoder

Hi All,
So I have read all the threads I could find about video players on the Nook Color, and I am still having a little trouble. I don't know if its normal, so I am looking for some help/advice/guidance. This is going to be long, but it's because I am trying to be as thorough as I can.
My Goal:
To have a 7" tablet that browses the web, reads/writes email, lets me IM, reads ebooks, plays video files from my video collection, plays music from my collection, runs Pandora, Netflix, and Hulu, and is capable of swype (slideit).
What I have:
I have a brand new Nook Color that I bought just for turning into a tablet to play with (3 days ago). I started by rooting with nooter, and flashing CM 7.0.3 stable (2 days ago) to the emmc through CWM. I have since updated to CM7 Nightly #144 (today - more on that later)
My problems:
So I was happy with everything in CM 7.0.3 except for its video playing capabilities. I was using Moboplayer (I didn't download any codecs or anything, just straight moboplayer from Market). I know that the advice of the professionals on here is to use handbrake to convert whatever video you want to watch to an exact format that is ideal for the Nook, however, I, like many other people on here, have tons of movies (7 TB), and I have tons of places that I play them (every console, psp's, ds's, laptops and netbooks aplenty, etc.). So I don't want to convert them, and I have read several threads where people are playing un-converted videos without problems. So I picked a random episode and tried to play it. Here are the specs of that video.
Total file size: 349MB
Video -
Length: 42:26
Frame width: 624
Frame height: 352
Data Rate: 1003kbps
Total bitrate: 1152kbps
Frame rate: 23 frames/second
Audio -
Bit rate: 149kbps
Channels: 2(stereo)
Audio sample rate: 48 kHz
While in 7.0.3 with Moboplayer the video runs ok and the audio is sync'd up fine, but its not silky smooth. It looks like its running at about 18fps. I don't know how to find the exact framerate, but it is just a little less then when it plays on my computer, and it is just barely low enough to cause enough chop to be annoying. So the first thing I tried was downloading Dalingrin's 042411 OC kernel for eMMC. I thought if I overclocked my processor, it might solve the problem, and my research on this forum led me to believe that was the right OC file for my version of CM. I set both the min and the max to 1300 and still had the problem. In my research I also found that many people were talking about how Dalingrin had unlocked hardware decoding in some of the newer CM nightlies. Also, the OC kernel already exists in the newer nightlies. So I downloaded the newest nightly. I am now on #144. Once I got back up and running, I downloaded Moboplayer and tried again. Same problem. Even overclocked. I saw someone mentioned using the Neon codec pack for moboplayer. For some reason the Neon codec pack doesnt show up in my market (although a bunch of other Moboplayer codec packs do). So I went to Moboplayers website and downloaded the Neon codec pack zip file. I tried to install it with CWM in recovery mode, but it keeps failing. Having done some more research I downloaded a player called VitalPlayer Neon (there is a non Neon version but I paid for and installed the Neon version). When I play that same avi file in VitalPlayer is starts it and a little window pops up at the very beginning that says "Software codec play!!" The video (and several others like it) plays silky smooth. I couldn't ask for a better video playing experience. However, if I go into the settings for VitalPlayer (Settings -> Decode Mode) and tell it to use hardware codec, when I try to play the file its says, "Can't be played!!" Am I missing something?
Summary - So my questions are:
1) Is there a way to monitor FPS?
2) Don't I want my video player running with Hardware codec?
3) Why isn't my video player running with hardware codec?
/** Note relavant to thread *
<rant>
When I am done, I am going to write (yet another) guide for how to do this the easiest way for someone looking for a tablet/ereader experience like I was, that doesn't mind paying a couple dollars to get it right. The advice I have gotten on this site has been AWESOME, I just wish it was compiled a little better. It seems like people try so hard to get the free apps to do what they want, that they miss the $1.49 app that does it perfectly. And you have to dig to find the non-free apps that do what you want. Theres a few threads where people are jumping through hoops, spending hours and days, and screwing up the CM installs to get swype to work when for $4.99 SlideIt is up and working perfectly in seconds. Money well spent for me. Also, the $1.49 for ezPDF was priceless compared to the hours I spent trying other pdf readers that wouldn't even remember what page I was on when I stopped reading. ezPDF should be the defacto standard for PDF reading IMO. I can even resize what I am reading to a legible size and it will wordwrap (text reflow) for me so I don't have to move left and right on each line.
</rant>
Thanks,
Josh
Not every zip file you see in Android is intended for flashing! Yikes! That zip you downloaded is most likely just compressing/wrapping an apk. Look in the zip.
Be glad it didn't run
I looked there, and I just see an apk.. http://update2.moboplayer.com/apk/armv7_neon-release.apk
And it says that moboplayer SHOULD automatically install a codec, so not sure it'd help but it's worth a try?
a) Just install the codec apk like any other, and MoboPlayer will automatically pick it up.
b) You can't use hardware decoding unless the resolution is at or below 854x480, period. Since your content (presumably) is higher resolution than that, software decoding is your only option. The good news is that (when overclocked) the Nook is indeed capable of dealing with pretty high resolutions, the bad news is that battery life will suffer.
Rodney
khaytsus said:
Not every zip file you see in Android is intended for flashing! Yikes! That zip you downloaded is most likely just compressing/wrapping an apk. Look in the zip.
Be glad it didn't run
I looked there, and I just see an apk.. [link removed because I am not allowed to post links yet -Josh]
And it says that moboplayer SHOULD automatically install a codec, so not sure it'd help but it's worth a try?
Click to expand...
Click to collapse
Hey Khaytsus,
I am glad it didn't run. In retrospect I definately should have known better then to try to let CWM "flash" this instead of "installing" it (so tired). That website does list it as an apk, but when you download it, it downloads as a zip. Should I have renamed it to apk and tried it? MoboPlayer didn't download anything when I started it, at least not that I saw (may have done it in the background). Either way I uninstalled it because VitalPlayer is working. I just need to see if I can make it do hardware decoding.
Thanks for the help!
Josh
rhester72 said:
a) Just install the codec apk like any other, and MoboPlayer will automatically pick it up.
b) You can't use hardware decoding unless the resolution is at or below 854x480, period. Since your content (presumably) is higher resolution than that, software decoding is your only option. The good news is that (when overclocked) the Nook is indeed capable of dealing with pretty high resolutions, the bad news is that battery life will suffer.
Rodney
Click to expand...
Click to collapse
Hey Rodney,
In Re b): Since my video is Frame width: 624 Frame height: 352, doesn't that mean my resolution is 624x352 ... < 854x480? If not, how can I check to see what resolution my video is? I got those stats by right clicking the avi file properties -> details.
You're right VitalPlayer plays that video beautifully. Thanks for the tip about the batter. I will keep an eye on it.
Thanks,
Josh
gijosh28 said:
In Re b): Since my video is Frame width: 624 Frame height: 352, doesn't that mean my resolution is 624x352 ... < 854x480? If not, how can I check to see what resolution my video is? I got those stats by right clicking the avi file properties -> details.
Click to expand...
Click to collapse
There's a bit more to it than that, actually. It must be in a MPEG-4 container using the H.264 codec with baseline profile level 3.0 or less. AVIs need not apply. =)
Rodney
Hey,
As an update to this thread, I used Chisleu's Handbrake profile from this thread, and converted the video with the specs above. The new video did play with hardware decoding in both the stock player, and VitalPlayer Neon. It did not look quite as good (just an iota of a difference) as leaving the file the way it was and letting the software decode it. However, when I ran the new file with software decoding it didn't look quite as good as it did with hardware decoding (again miniscule difference). Summary: The original file looked the best, but wouldn't play with hardware decoding. The Handbrake'd file looked just a tiny bit worse (hardly worth mentioning) with hardware decoding, and just a little worse still with software decoding. Below are the file specs from right-click -> properties -> details.
new Handbrake'd file = left / old as downloaded file = right
File Size: 186MB / 349MB
Length: 42:58 / 42:59
Video -
Frame Width: 624 / 624
Frame Height: 352 / 352
Data Rate: 475kbps / 988kbps
Total Bitrate: 603kbps / 1137kbps
Frame Rate: 23fps / 23fps
Audio -
Bit Rate: 128kbps / 149kbps
Channels: 2 stereo / 2 stereo
Audio Sample Rate: 44kHz / 48kHz
Also noteworthy: In refference to the battery suggestion, since I upgraded from CM 7.0.3 to CM 7 Nightly #144, my battery performance has been stellar.
Thanks,
Josh
gijosh28 said:
Hey,
As an update to this thread, I used Chisleu's Handbrake profile from this thread, and converted the video with the specs above. The new video did play with hardware decoding in both the stock player, and VitalPlayer Neon. It did not look quite as good (just an iota of a difference) as leaving the file the way it was and letting the software decode it. However, when I ran the new file with software decoding it didn't look quite as good as it did with hardware decoding (again miniscule difference). Summary: The original file looked the best, but wouldn't play with hardware decoding. The Handbrake'd file looked just a tiny bit worse (hardly worth mentioning) with hardware decoding, and just a little worse still with software decoding. Below are the file specs from right-click -> properties -> details.
new Handbrake'd file = left / old as downloaded file = right
File Size: 186MB / 349MB
Length: 42:58 / 42:59
Video -
Frame Width: 624 / 624
Frame Height: 352 / 352
Data Rate: 475kbps / 988kbps
Total Bitrate: 603kbps / 1137kbps
Frame Rate: 23fps / 23fps
Audio -
Bit Rate: 128kbps / 149kbps
Channels: 2 stereo / 2 stereo
Audio Sample Rate: 44kHz / 48kHz
Also noteworthy: In refference to the battery suggestion, since I upgraded from CM 7.0.3 to CM 7 Nightly #144, my battery performance has been stellar.
Thanks,
Josh
Click to expand...
Click to collapse
If you want the handbrake transcoded file to look as good as the original then you're going to need to match the video bitrates.
I generally transcode my videos with handbrake before I use them on my Nook. It doesn't take too long on my PC and the battery savings with hardware codecs is worth it to me.
Media playback is still a work in progress. The hardware codec "pickiness" isn't going to get much better but things like Flash and higher resolution and bitrates should improve in the not so distant future.
No miracles though =)
dalingrin said:
The hardware codec "pickiness" isn't going to get much better but things like Flash and higher resolution and bitrates should improve in the not so distant future.
No miracles though =)
Click to expand...
Click to collapse
/drool
Me thinks previously mentioned optimizations are coming along...... cannot wait!
dalingrin said:
If you want the handbrake transcoded file to look as good as the original then you're going to need to match the video bitrates.
I generally transcode my videos with handbrake before I use them on my Nook. It doesn't take too long on my PC and the battery savings with hardware codecs is worth it to me.
Media playback is still a work in progress. The hardware codec "pickiness" isn't going to get much better but things like Flash and higher resolution and bitrates should improve in the not so distant future.
No miracles though =)
Click to expand...
Click to collapse
If it gets no better then it already is, I am extremely satisfied. I left yesterday with a full charge at about 3pm. I went back to my room, watched an episode of Numb3rs (thats the file I was using for my tests above) with software decoding, played about an hour of airport mania, and read some Isaac Asimov for an hour. It is now 2AM (11 hours later) and my battery is at 74%. I even have the Bubbles live wallpaper which is supposed to eat up my battery. This thing is almost perfect in that it does everything I want, does it well, and does it efficiently. Thanks for your hard work on it Dalingrin.
Now if I could just figure out my music problem from the other thread, I'd be golden.
Josh
Are you streaming or copying to the nook and playing? If streamimg, you can use vlc convert and stream to transcode on the fly, otherwise handbrake is the way to go.

Why not just this simple open Chromecast alternative?

Hello folks,
I got my Chromecast, it works, I like it.
But I find it unnerving that the system is so closed.
Some guy has, months ago, released something he called "PiCast" as an open alternative on the Raspberry Pi.
I wonder: Why aren't there more devs bringing an open, extensible alternative, installable on a Raspberry Pi or other small computer, to life? I really don't understand it, since. like I see it, it doesn't seem particularly complicated! The following features would at least have to be implemented:
***********************************************
- media player software which can play a broad palette of formats and stream from different sources (VLC, Mplayer etc. come to mind an can surely be used as a part of the project)
- web interface which accepts URLs (web or LAN) of files that are to be played and passes them to the media player; and which accepts control commands for the now playing file like pause, forward etc.
Most convenient would be if these URLs could not only be http ones, but also SMB, streaming protocols etc.
Don't we all want a device where we NOT are confined to certain formats?
- apps for computers and mobile devices which let the user choose files he wants to watch / listen to and pass the URL to the web interface and which pass control commands like pause, forward to the web interface
- a customized, lean OS with a Chromecast-like, very simple UI
*************************************************
Any thoughts?
Best wishes,
Hasenbein
The entire reason for the CCast (which essentially replaced the GoogleTV fiasco) was to keep the system closed enough to get Content providers to support it due to the ability to use DRM and control the players being used.
Why do you think other projects like XBMC still to this day do NOT (and will NEVER) have access to Netflix for any sustainable time because Netflix will change their encryption and break any player app they do not have complete control over.
GoogleTV was actually blacklisted by the network websites to prevent it from playing content. All because it was just a little too open for their liking.
What @Asphyx said, plus Android TV sticks have been around for quite some time and already do similar. The key difference is market share. History is littered with proposed "standards" that never won. In the end it's not what is better, sometimes not even what's cheaper, but what picks up.
Iomega's Zip drive was inferior to SyQuest EZ drive, but Iomega won by marketing and hence adoption. Developers had more incentive to support Zip drives (not that much was specifically required but still) because there was a wider audience and market for them.
Adobe's changing the design market the same way. I still have CS6, but more and more I'm getting files from people on CC. And it's annoying. Essentially I'm being forced into CC if I want to work with anybody outside of my four walls.
Even though it's only available in select retail channels, Google is pushing Chromecast with TV ads. The fact that they've sold (or at least shipped) millions is a strong testament to its adoption rate. Even at my local stores, I can say just by the serial numbers they've cycled through, at least 500 have left the shelf since August 2013.
The market share attracts content providers, and the closed nature gives their lawyers ease regarding theft. Sure, there will always be people supporting TV sticks with clever solutions that are free or near-free, though they sometimes require jumping through numerous hoops (even moreso than Chromecast of today), and if something doesn't work as required, it involved researching. It's not like you can put in a support ticket or call support. Granted, Chromecast support isn't outstanding... but many of my non-techy friends have adopted Chromecast, even without hearing from me, and these are not people who visit XDA, nor are they people who would ever have run across or even considered an Android TV stick, nor are they people who have any idea of what an Arduino or Raspberry Pi is.
The draw is the consumer, and the consumer needs content to consume. Which means longevity of the product/concept/standard depends on support from the content providers.
At the price point of Chromecast it seems to be designed to draw in not just first timers, but also customers who may already have a media to TV solution but it's lacking in simplicity or quality. E.g. maybe you have a powerful HTPC that suits all your needs but Netflix is in low-def for DRM reasons. And YouTube stutters on 1080p because Windows keeps trying to do other things in the background while you play it. OK then you put $35 down on a Chromecast and now your Netflix & YouTube videos look better.
And similarly, it's cheap enough that if Chromecast alone does not suit your needs, you can say, well hey, all I spent on the Chromecast was $35, so I don't see why that should stop me from also buying that other media box that does more things.
cmstlist said:
At the price point of Chromecast it seems to be designed to draw in not just first timers, but also customers who may already have a media to TV solution but it's lacking in simplicity or quality.
Click to expand...
Click to collapse
I'm definitely in this boat.
I have a semi-Smart TV that supports YouTube, Amazon, and a about 12 other "channels" - but its interface is slow and clunky. It also doesn't support DLNA video (sadly, one model year too early).
I have a HTPC that I use to play DVDs and Blu-rays from my media server, and even though I have a BT keyboard remote for it, navigating between Windows Media Center and browser-sourced video is fiddly.
Chromecast didn't replace my HTPC, it's just giving me a much easier way to view those browser-sourced videos.
However, if/when Chromecast gets DVD and BD playback, it very well might replace my HTPC...
http://blog.vudu.com/?p=10711
https://forum.vudu.com/showthread.php?112941-UltraViolet-FAQ-s
Vudu ultraviolet on Chromecast will displace the need for a disc player or home video server for a number of people. Not sure yet but I'll probably be one of them.
cmstlist said:
At the price point of Chromecast it seems to be designed to draw in not just first timers, but also customers who may already have a media to TV solution but it's lacking in simplicity or quality. E.g. maybe you have a powerful HTPC that suits all your needs but Netflix is in low-def for DRM reasons. And YouTube stutters on 1080p because Windows keeps trying to do other things in the background while you play it. OK then you put $35 down on a Chromecast and now your Netflix & YouTube videos look better.
Click to expand...
Click to collapse
Yup. I really care about picture quality, so Chromecast offers the cheapest way to get SuperHD Netflix on my TV. If I wasn't bothered about the quality, I'd just connect my tablet with a cable whenever I wanted to watch something.
EarlyMon said:
http://blog.vudu.com/?p=10711
https://forum.vudu.com/showthread.php?112941-UltraViolet-FAQ-s
Vudu ultraviolet on Chromecast will displace the need for a disc player or home video server for a number of people. Not sure yet but I'll probably be one of them.
Click to expand...
Click to collapse
Interesting service and a good idea....
Unfortunately $2 per SD conversion of DVD or $5 to HD is a bit too pricey considering how I have the equipment to rip my own DVD (I have more than 3000 titles in my collection), do the Upconvert and even rip the subtitles to put into an MKV.
But this service will do well because of the sheer number of people who do not have the capability to do that and the ease of use.
I wonder are they actually converting your DVDs or are they doing the much smarter thing and letting you insert the disk, check it for validity and then just giving you access to the already encoded content they have stored?
Asphyx said:
I wonder are they actually converting your DVDs or are they doing the much smarter thing and letting you insert the disk, check it for validity and then just giving you access to the already encoded content they have stored?
Click to expand...
Click to collapse
The second one, so far as I know.
And if you just enter your digital copy information that works too.
My son-in-law does that but I haven't asked him about the details - he's very happy with the service though.
It's a great Idea....
I have a similar validation system I use....
If I own it already on disc then I feel I have the right to download it if I choose...I paid them their cut so no Guilt involved.
LOL
Similar but I don't pay the conversion fee!
I have a small collection.
I got tired years ago of format changes, player upkeep and having more plastic in the house, so I've been satisfied with rentals. I keep a few favorites on my shelves just in case.
And I had one of my media servers die of old age a few months ago. I'm tired of maintaining my own cloud. Been there, done that. Still do my music and just a few movies now.
I like the ultraviolet model, it sounds simple to me.
And to the OP -
LocalCast does direct entry of http and smb addresses.
EarlyMon said:
I have a small collection.
I got tired years ago of format changes, player upkeep and having more plastic in the house, so I've been satisfied with rentals. I keep a few favorites on my shelves just in case.
And I had one of my media servers die of old age a few months ago. I'm tired of maintaining my own cloud. Been there, done that. Still do my music and just a few movies now.
I like the ultraviolet model, it sounds simple to me.
And to the OP -
LocalCast does direct entry of http and smb addresses.
Click to expand...
Click to collapse
yeah unfortunately I live in a very rural area and Cable and Internet outages are common (all the damn trees!)
So when that happens I really have no other recourse than to use whatever is on my Media server to entertain myself...
I went out and invested in a good NAS with Raid that holds 16Tb worth of drives (don't get full16Tbs with Raid though...I may even need to double that soon as I'm running out of space).
My Media Server is my HTPC so I can simply replace that unit if it craps out and just re-install the server software and map the drives.
Been checking out that Chromecast store app...a Lot of stuff in there I didn't know about...

Most Effective way to stream Local files.

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.

Categories

Resources