Mailing List archive

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

[linux-dvb] Re: Multiplexing vs. new driver API



Klaus Schmidinger writes:
 > "Marcus O.C. Metzler" wrote:
 > > 
 > I'm really wondering why the new API had to give up the /dev/video
 > way of doing things. IMHO it was such a nice thing that you could simply
 > do a 'cat /dev/video > file' to record (and the other way round to replay).
 > As far as I see now accessing the DVB API is a lot more trouble - or am
 > I missing something here? Is there some great advantage in the new API
 > that I just don't see?
 > 
 > Klaus

Since the API is meant for DVB cards TS is supposed to be the easiest
format to produce for any driver (ok the DVB-S is an exception). The
budget cards for example deliver it without any change directly as it
comes from the transponder. So the /dev/ost/dvr output is the natural
solution. If we had stayeed with the old way we would require a
transformation within the driver which would usually not be done by
the hardware. Such transformations should be done in user space. If
you take the two files dvb_formats.c and dvb_formats.h from the tuxzap
sources and include them into vdr it shouldn't be hard to get the PES
packets you need. You have the choice either to record the TS and
transform it during playback (thats one of the ways ntuxplayer uses)
or to transform the TS during recording (maybe thats easier). In the
second case you won't have to change much for playback. You can write
it into /dev/ost/video instead of /dev/video, you just need to call
some ioctls to setup playback. 


Marcus

---------------------------------------------------------------------
Dr. Marcus Metzler                             
mocm@netcologne.de                     http://www.metzlerbros.de
mocm@convergence.de                    http://www.convergence.de

Convergence Integrated Media GmbH          
Rosenthaler Str. 51                   
D-10178 Berlin                             
---------------------------------------------------------------------




--- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index