mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2025-03-01 10:35:23 +00:00
modulator info
This commit is contained in:
parent
07d5675b06
commit
0368446256
@ -1,18 +0,0 @@
|
|||||||
Here are some tips on how to use the modulator
|
|
||||||
cards.
|
|
||||||
|
|
||||||
After you set the tuning parameter of the modulator you open the
|
|
||||||
/dev/adaptor<X>/mod<Y> of your modulator and write into it.
|
|
||||||
You should write a steady stream of transport packets with the
|
|
||||||
rate given by the modulation. The easiest way to keep a steady rate
|
|
||||||
is to write as much as the device will receive until it blocks. In that
|
|
||||||
way you ensure that the device will not get an underrun of data and
|
|
||||||
you can use the acceptance rate as a guide for you input rate.
|
|
||||||
All you should do is to correct the PTS of your transport stream according
|
|
||||||
to the calculated packet rate and use a buffer that assures that you are
|
|
||||||
always ready to write as sson as the modulator device allows it.
|
|
||||||
E.g you have a circular output buffer that you fill to say 50% and than start
|
|
||||||
writing into the device in a seperate thread. You feed the output buffer
|
|
||||||
with you input TS and see that it does not underrun, you may need to insert
|
|
||||||
empty packets to do that. The output thread should always have enough data
|
|
||||||
to write to the device as soon as it no longer blocks.
|
|
@ -83,6 +83,7 @@ limit depends on # of channels active.
|
|||||||
|
|
||||||
|
|
||||||
MODULATOR_INPUT_BITRATE:
|
MODULATOR_INPUT_BITRATE:
|
||||||
|
THIS FEATURE ONLY WORKS FOR DVB-C MODULATORS
|
||||||
|
|
||||||
The modulator will ALWAY insert null packets if it
|
The modulator will ALWAY insert null packets if it
|
||||||
does not get enough data.
|
does not get enough data.
|
||||||
@ -94,6 +95,21 @@ So, this property should be set last.
|
|||||||
|
|
||||||
unit - 2^-32 Hz
|
unit - 2^-32 Hz
|
||||||
|
|
||||||
|
FOR DVB-T MODULATORS THIS FEATURE DOES NOT WORK
|
||||||
|
|
||||||
|
You should write a steady stream of transport packets with the
|
||||||
|
rate given by the modulation. The easiest way to keep a steady rate
|
||||||
|
is to write as much as the device will receive until it blocks. In that
|
||||||
|
way you ensure that the device will not get an underrun of data and
|
||||||
|
you can use the acceptance rate as a guide for you input rate.
|
||||||
|
All you should do is to correct the PCR of your transport stream according
|
||||||
|
to the calculated packet rate and use a buffer that assures that you are
|
||||||
|
always ready to write as sson as the modulator device allows it.
|
||||||
|
E.g you have a circular output buffer that you fill to say 50% and than start
|
||||||
|
writing into the device in a seperate thread. You feed the output buffer
|
||||||
|
with you input TS and see that it does not underrun, you may need to insert
|
||||||
|
empty packets to do that. The output thread should always have enough data
|
||||||
|
to write to the device as soon as it no longer blocks.
|
||||||
|
|
||||||
|
|
||||||
Debugging features:
|
Debugging features:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user