views:

12

answers:

0

Hi all,

The project we're working on requires a stream to be recorded for a defined amount of time and dumped to multiple copies (1 for each user). This process must be done at the time of recording (ie, we can't record a single stream and then duplicate it out for each required copy) and cannot be achieved through access restrictions applied to a single copy of the video.

At present we're firing up an instance of mplayer for each recording that is required, so if 30 copies of the same stream are required then 30 copies of mplayer are run. Unfortunately though as each instance fires up there is a short delay meaning that each stream is not the same, as the number of streams to be recorded expands this only exacerbates the problem.

What we've been looking for is a method to allow mplayer to dump the stream to multiple files (instead of just one) but to date have not had luck. Does anyone know if this is possible or have a suggestion as to how to attack it?