The tricky part is the timing of the TS playback. For the
av7110 driver the dvr device slurps data as fast as the
disk can deliver it, unless you set a video and/or audio PID
with DMX_OUT_DECODER in which case the MPEG decoder controls
the timing.
That seems logical, so we need to control the speed by also giving it a
symbolrate. That's also what you do on most of the streamers (some determine
this by parsing the tables, others don't). So have to look into the decoder
to see how it controls timing, and then make it configurable via symbolrate.
Thanks, this is grand....
You can guess/calculate the stream rate either by parsing the stream
headers (to keep the deltaPCR/deltaTime rate or deltaPTS/deltaTime rate
constant or even more sophisticated use the mux rates encoded in the
headers) or simpler use the symbolrate passed to the frontend device --
then you can easily adjust this from userspace according to your needs.