skug67
16 years agoVisitor
On the fly transcoding -- is it possible
So I'm sure that I'm not alone in the fact that anything I record off the air starts life as an mpeg-ts/mpeg2 file. I would love the ability to transcode that on the fly into something that the Roku could play, rather than having to wait for the recording to end, then transcode to an h264/mp4 file. If I use MediaTomb in conjunction with djmount, I can get a directory listing of m3u files, each of which has a playlist which produces an mpeg-ts stream encoded with h264 (I'm sure there may be other ways to get to the same place, but this is what I've done so far). From what I've seen in the forums, that kind of stream is exactly what http-live-streaming produces. So (at least in theory) what I'm looking for should be do-able. But I'm clearly missing something -- I copied the contents of an m3u file produced in this way and copied it into the video directory for my MyMedia server, changing the name to mystream.m3u8. The file showed up in MyMedia, but it wouldn't play. But if I try to open the m3u8 file (ok, it's actually just a standard m3u file renamed with the m3u8 extension) directly with vlc, it plays just fine (and shows that the codec is in fact h264).
Anybody have any thoughts? It's often nice to be able to start watching a ballgame 1 hour late instead of being stuck with watching live over the air, or waiting 3-5 hours not only for the game to end but also for the transcoding to be done.
Anybody have any thoughts? It's often nice to be able to start watching a ballgame 1 hour late instead of being stuck with watching live over the air, or waiting 3-5 hours not only for the game to end but also for the transcoding to be done.