Mailing List archive

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

[linux-dvb] Re: Using a low-budget card as a secondary card.



"Marcus O.C. Metzler" wrote:
> 
>  > I'm not sure if that would change anything - unless the budget card delivers
>  > a better muxed stream. But then again, it's the same driver, so I guess
>  > there would be no difference.
>  >
> 
> About muxing:
> The problem with the bad muxing is twofold.
> ...

Thanks for this in-depth description.

The problem that I see with VDR is that first recording the "bad" stream
and then processing the entire file(s) would make time shifting impossible.
What we need is a function that does the remuxing "on-the-fly". It need not
necessarily do this in the driver itself (although that would, of course,
be preferred ;-), but might as well run as part of VDR. I am currently
rewriting VDR's ring-buffer so that it will be served by two separate
threads, one writing the data that comes from the driver into it, and the
other one reading the data from the buffer and writing it to the disk.
That second thread could send the data through a filter, which could 
rearrange the data before it is written to disk.

Do you think you could modify 'mplex' to work as a filter? It would
also have to work fast enough to make sure it isn't overrun by the
incoming data. The idea would be that the buffer-readout thread offers
the filter a chunk of data, and the filter returns part or all of that
data in a rearranged form. Any data it hasn't used up will be offered
again in the next call.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


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



Home | Main Index | Thread Index