mptsd reads mpegts streams from udp/multicast or http and combines them into one multiple program stream that is suitable for outputting to DVB-C modulator. Tested with Dektec DTE-3114 Quad QAM Modulator and used in production in small DVB-C networks. https://georgi.unixsol.org/programs/mptsd/

rc.mptsd.conf 750B

1234567891011121314151617181920212223242526
  1. #!/bin/sh
  2. ulimit -c unlimited -s 128 2>/dev/null
  3. PROVIDER="ux"
  4. IDENT="mptsd"
  5. LOGHOST="gf.unixsol.bg"
  6. OUTPUT_HOST="239.78.78.78"
  7. OUTPUT_PORT="5000"
  8. BITRATE="-B 37.3"
  9. CONFS="-g mptsd.conf -n mptsd_nit.conf -c mptsd_channels.conf -e mptsd_epg.conf"
  10. OUTPUT_HOST="238.0.0.10"
  11. OUTPUT_PORT="5010"
  12. CONFS=""
  13. BASEDIR="."
  14. PRGNAME="mptsd"
  15. SERVER="$BASEDIR/$PRGNAME"
  16. PIDFILE="$BASEDIR/$PRGNAME.pid"
  17. PARAMS="-i $PROVIDER/$IDENT $BITRATE -O $OUTPUT_HOST -P $OUTPUT_PORT $CONFS"
  18. #PARAMS="-i $PROVIDER/$IDENT $BITRATE -O $OUTPUT_HOST -P $OUTPUT_PORT $CONFS -l $LOGHOST"
  19. #PARAMS="-i $PROVIDER/$IDENT $BITRATE -O $OUTPUT_HOST -P $OUTPUT_PORT $CONFS -d $PIDFILE"
  20. #PARAMS="-i $PROVIDER/$IDENT $BITRATE -O $OUTPUT_HOST -P $OUTPUT_PORT $CONFS -l $LOGHOST -d $PIDFILE"