[vdr] simulate recordings?

Marko Mäkelä marko.makela at hut.fi
Fri Sep 9 20:41:54 CEST 2005

On Fri, Sep 09, 2005 at 05:29:14PM +0200, Christian Wieninger wrote:
> is there a simple way to simulate recordings when I have no dvb hardware?

Yes.  I did exactly this when I wanted to convert some MPEG TS dumps
(containing just the PIDs of the TV channel in question) to VDR format.
I hard-coded the file name to the vdr binary to the place where it would
open the DVB device.  Note that vdr will be receiving the stream at much
higher speed, resulting in very many dropped frames in live view.  I hit
the Record button very quickly after starting the patched vdr.  I added
some junk to the beginning of the MPEG TS file to get the start of the
payload recorded.

> The reason is, that I need to test some new features in my plugin on my 
> development system (no dvb hardware + xine) and therefore have to do many 
> recordings (also more that one concurrently).

I'm not sure if the simple modification is enough.  You may want to
somehow throttle the reading from the file, if your plugin can't
keep up with the data rate of the file system.  Maybe read from a named
pipe that is filled by another process with appropriate delays.


More information about the vdr mailing list