Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: example program
Justin Cormack wrote:
> Has anyone got a short demo bit of code that just reads the transport
> stream? It would be really helpful. Or even just a sketch. It would be
> useful in the docs.
just copy'n'paste the code fragment in szap.c, set_demux() for vdr=1,
this sets up the demux to stream a TS out of the dvr device, you can do
something simple like
$ cat /dev/dvb/adapter0/dvr > stream.ts
to write this into a file. Note that as soon you close the demux file
descriptor the stream will stop.
> Also, none of the dvbtools compile on todays DVB cvs, as all the type names
> seem to have changed.
what do you mean by dvbtools? The tools in the DVB/apps/ directory? Or
Dave Chapman's dvbstream?
Holger
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index