renojim wrote:el.wubo and umbighouse,
Thanks for the explanation and verification that it should work, but I'm not getting anywhere. The information about the metadata makes sense, but I've tried all of the following without any luck:
HandBrakeCLI with default settings
HandBrakeCLI with default settings and -O (--optimize) option
Handbrake GUI with Normal, High Profile, and iPod Legacy presets all with "Web optimized" checked
I looked at the resulting files with a hex editor and it appears that the metadata is at the beginning of the file. I even dumped the first 64MB of a file that won't play (gives a "format not supported" error message from the client) and the resulting file plays fine. The Roku player "thinks" the file is the full length since pressing pause shows the length of the non-truncated file on the progress bar.
The one interesting thing I've noticed with the files that won't play is that the server never receives (or at least never displays) any "player requested range" messages. There are three identical (except for the port) SERVER_PROTOCOL messages that end in "HTTP/1.1 GET /media" - 200 OK and then no more messages. On the working files there are only two of those messages before the "player requested range" messages.
I'm kind of at a loss as to what to try now. If anyone has a 70MB or so file that works for them that they could upload somewhere, I'd like to try it.
Edit: el.wubo, I tried your Dave Thomas video, but I wasn't clear on whether that was one that should work or does not work. Anyway, it doesn't work for me.
On a totally unrelated note, since it appears that this is becoming much more than a music player, might I suggest changing the name of the channel to "my media"? I think with the addition of some sort of jpeg support like a slideshow this would do everything I'd need it to do.
Thanks for reading!
c:\ffmpeg\bin\ffmpeg -i INPUT.vob -vn -acodec copy INPUT.ac3
"C:\Program Files\BeSweet\BeSweet.exe" -core( -input "INPUT.ac3" -output "INPUT.wav" -2ch ) -azid( -c light --maximize )
c:\ffmpeg\bin\ffmpeg -i INPUT.vob -i INPUT.wav -map 0:0 -map 1:0 -acodec aac -ab 160k -ac 2 -vcodec libx264 -vpre normal -crf 21 -threads 0 -s 720x404 -t 1:30:00 -aspect 16:9 -r 23.976 OUTPUT.mp4
You're right. It is trying to read the whole file. Good catch. I'll fix that tonight. Thank you.
canaws wrote:Anyone mind helping me? I can't figure out what I'm doing wrong.
When I go to the channel on the roku box it only says receiving. It never changes.
I downloaded all the files fresh today.
I have the MyMusic Channel on my roku box, so installation when a-ok.
My file path for python is C:\Python26\python.exe
My file path for the media server files is C:\roku_media_server (all subfolders are in place with no name changes).
The ip addresses for my roku box and laptop are correct.
The directory for my music is correct.
When I launch the server (via springboard.vbs) I get the small stop server box. My task manager shows two instances of python.exe every time. When I click stop server only one instance of python closes. I have to close the other one via the taskbar.
I can see the feed page, but is nothing on it except for the title & subtitle.
I'm running Vista.
I'm behind a router w/firewall.
Things I've tried...
I thought the size of my music file might be a problem, so I temporarily moved all my music files and left a single mp3 file in the music folder, but no luck. It still only says retrieving.
I made sure that python can get through Windows firewall.
I've tried it with Windows firewall and the router firewall off.
I ran the debug for springboard and launch server. I don't really know what I'm supposed to look for with these, but I only got 200 OKs.
Any idea what I'm missing?
el.wubo wrote:renojim and all:
I've just pushed out the update that lets the server stream from disk instead of read the entire file first. Great catch to renojim for suggesting this was the issue.
All of my test videos (even those with metadata at the end) are starting in under 10 seconds. This update is in both the main and the partitioning version.
You got the right zip. The random looking characters on the end correspond to the version of the zip you're downloading. With this number in hand you can click on the "commits" link and find that version number to view the source tree for that particular zip file. The latest version is 6b8b472a75c8ac7fba59b5f22e5f08e3e9f1437b (at least, right now) so you'll see the first few characters of that on the end of the zip file you download. More more exciting details on how this crazy looking version number comes about (it's a SHA1 hash), check out the git documentation.
I'm definitely catching on that photo support is something everyone would like to have. Since I really don't get the value of this feature, can someone enlighten me? How would you use this? Here are the use cases I've dreamed up:
* You want to leave something cool running on your TV (like a screen saver)
--In this, auto-cycling is important and something like being able to still quickly select music to play along with your cycling pictures would be valuable
* You want to show off pictures of your vacation to a group of people
--In this case, manual cycling is important and maybe we'd want to explore associating music with collections of photos for more of a slide show / presentation type feel.
* You actually like looking at low resolution pictures on what amounts to a junky monitor (j/k)
--Hm... maybe this is actually something people do with their leisure time and would like to be able to do it from their television.
Thoughts? Votes? What matters to you?
ashes00 wrote:I was able to download latest source, and get my roku to play .mp4 videos from my desktop/NAS. It played more than 30 minutes,and was actually one that came form DVDRip (512MB). SO length and large video size are covered. I am going to work on it later this eveing to see about over mp4/m4v videos.
This is great stuff you guys are doign here. I do like the idea of changing it to "My Media" as it has started to encompass more media types. jpeg would be nice.
One last question. Has the shufflle function been looked at any further on music? Last i was able to get working was just playing the mp3s in sequential order and only from one container folder. Shuffle would be great, as we could listen to all types of artists, and not just what we have drilled down to.
Again thanks for everything thisis amazing!