in reply to Time Shifting a real player stream.

Since AFAIK realplayer doesn't support recording streams, you'd need some kind of player that does (and understands realplayer's streaming format).

If I were you I'd probably just use mplayer to record 1-hour chunks of the stream - scheduled using cron - and play those chunks back (using mplayer) whenever you feel like it.

  • Comment on Re: Time Shifting a real player stream.

Replies are listed 'Best First'.
Re^2: Time Shifting a real player stream.
by CptSkripto (Acolyte) on Aug 19, 2008 at 15:30 UTC
    Thank you for your reply. I have already "monked" around a mix of mplayer and a perl CGI. MPlayer successfully captures the stream and allows me (via -s) to skip to a specific time. This way I could retrieve the "request" time and forward to the "needed" time frame. The problem is how to re-stream the feed to the browser. Another alternative is to calculate how much of a file I should "cut-off" the head of the original file (it is a fixed 32kbps stream) and then serve the newly created file. Same thing can be done, per your suggestion, via recorded chunks. One hour or thirty minutes each and then use the CGI to create an on-the-fly play list. I will post progress on this thread. THX, CptSkripto