simulate recordings?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

	Marko


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux