On Sat, 22 Jan 2011, Udo Richter wrote:
Thought of that too, for a longer perspective. However, what do you think where to add such a hook ideally?
My original idea was to hook in cDevice::Action() as it would bring most flexible setup to blacklist/rewrite pids. However, I forgot the current section mechanism and pat/pmt parsing.
Wouldn't stripping NALU fill data help to reduce the required network bandwidth for streamdev, xineliboutput, and vnsi plugins? I do see many benefits using filtered streams everywhere. You could also transcode only certain video/audio pids as the device class know its' transponder/channel parameters.
You could simply hook up into the ringbuffer methods used in cRecorder.
..and you already thought about it. :) Anyway, it's up to the plugin how big the overhead will be and it wouldn't hurt when recording. It's up to the user how many recording filters she's going to chain...
BR, -- rofa
Am 22.01.2011 20:21, schrieb Rolf Ahrenberg:
Receivers like streamdev and vnsi are free to filter their streams too, if they want. An output device on the other hand will decode the TS stream to PES stream and then to nalu stream anyway (ignoring the fill), so it doesn't make much sense to do deep packet analysis and TS rewriting and filtering right before that.
Cheers,
Udo