I don't know if anyone else has this problem, but my handbrake-encoded videos randomly exit after about half an hour or so. I can resume playing and the videos continue on normally until the next unexpected exit. There is nothing in the logs to indicate a problem. My videos are encoded with constant quality = 20 rather than constant bitrate, so on a hunch I edited the chunk size in mymedia.py from:CHUNK_SIZE = 10 * 1024;
to:CHUNK_SIZE = 16 * 1024;
So far, this appears to have fixed the early exit problem! Videos that previously exited early now play all the way through. Just offering this up in case someone else has similar symptoms.
"renojim" wrote:"jimcampbell100" wrote:
I was actually using the name of my NAS vs the direct IP address as you told me (btw this works for loading the configuration page). When I switched to the IP address, I did see the image, and it did resize when I added that to the end of the url.
Well I actually said to replace the IP address I used in my example with the IP of your NAS. I didn't know it had a name. I guess I should have said "IP address". Either way, it looks PIL is working properly, so now I'm at a loss. I tried replicating your setup and it worked fine. If you have 40 top level directories they should be getting split up into something like "A-F", "G-H", etc. I'm not sure what else to try except maybe to run the server on a computer and see if it makes a difference. One other thing, make sure you reboot your Roku just to make sure there's not something going on with it.
As I said before, this slow navigation thing is tough to track down. I have a directory where I've ripped all my Looney Tunes DVDs into individual cartoons, so there's a few hundred videos each with its own image and I can move from video to video about as quickly as I can push the buttons.
Sorry I can't be more help.
For video artwork, I've used other programs which will show a thumbnail of the video which appears to be an image of the first frame. Is this possible with MyMedia? If not out of the box, how tough would it be to autocreate a jpg in the video file's folder, naming it the same as the video with a .jpg extension?
REPLY... I suppose anything is possible, but I'd have to wonder how useful it would be to just show the first frame. It's hardly automatic, but I use ffmpeg to create frames every two seconds from the first 30 seconds of the video and then I manually look through them to find the frame I want to use for the video. You do know that naming a JPEG with the same name as the video will get that image to be displayed for the video, right?
OK, I'm getting greedy here, but here's another one...
How about we create a Movies folder (this would be different from Videos, which would be primarily private content). The Movies folder would be actual movies. How tough would it be to setup a "scraper" to reference a site like IMDB.com to pull down poster artwork?
REPLY... Hmm... IMDB has been mentioned before. I'll have to look into what that would take. I don't have all that many movies, so it hasn't been all that interesting an idea, but I have thought about ripping all my DVDs. I don't think a Movies folder would be necessary, but that might not be a bad idea. Depending on how IMDB queries work, a lookup could be done for every video and if there's information returned it would get displayed, otherwise the video would just start playing. That might be a waste to do a lookup when there's not going to be a response, so the Movies folder idea might be better. Like I said, I'll have to look into it.
You're the first to report this. I mostly watch videos that are shorter than an hour, but I've never seen this problem. I'll change the chunk size when I polish up v2.0. I'm not sure how that value was picked, but el.wubo may have had a reason or it may have been arbitrary.