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:
FormatFactory
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!
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.