Skip to content

About

Virtual DVB-S tuner plugin for AltDVB 2.5: start, tune, signal status and DiSEqC without hardware, plus optional .ts capture playback.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dev_Emulator

Español | English

Virtual device plugin for AltDVB 2.5 (Dev_*.int). It makes AltDVB believe a DVB-S tuner is connected, so the program starts, tunes, shows signal level and quality and accepts DiSEqC without any hardware. It can optionally play back a .ts capture.

This is an independent project. It is not affiliated with AltDVB or its authors and contains none of their code or files. The plugin interface was worked out by observing its behaviour; there is no official documentation.

Installation

  1. Download Dev_Emulator-1.0.0.zip from the Releases page.
  2. Close AltDVB.
  3. Copy Dev_Emulator.int and Dev_Emulator.cfg to the devices folder of AltDVB.
  4. Start AltDVB and select the Virtual DVB-S Emulator device.

To go back to a real tuner, remove or rename Dev_Emulator.int.

Configuration (Dev_Emulator.cfg, section [Emulator])

Key Default Purpose
DeviceName Virtual DVB-S Emulator Name shown by AltDVB
DeviceId 0001 Identifier. Changing it creates a new device in AltDVB
TypeCode 1 Device type (1 = DVB-S)
Log 0 1 writes Dev_Emulator.log next to the DLL
Strength, Quality 75, 90 Level and quality returned (0-100). AltDVB stores the level as rxs in the .tplist
Lock 1 0 simulates signal without lock
Cmd0D 255 Capabilities. With 0, AltDVB reports DiSEqC as "not supported"
TsFile, TsFile_<MHz> empty .ts capture played in a loop while tuned
TsBitrateKbps 33791 Playback speed
PidFilter 0 1 sends only the PIDs requested by AltDVB

Changes to the .cfg take effect without restarting AltDVB (TsFile and TsBitrateKbps are read when tuning).

Playing a TS capture

  • It must be a plain TS with 188 bytes per packet (first byte 0x47), not compressed.
  • Example: TsFile_11222=C:\AltDVB\TS\astra12604H.ts and TsBitrateKbps=33791. Tuning 11222 MHz plays that capture.
  • For other captures set their real bitrate: size in bytes x 8 / seconds / 1000.
  • Public sample captures: https://tsduck.io/streams (for example astra-12604H-2025-05-02.ts, 33791 kbps).

DiSEqC

With Cmd0D=255 AltDVB sends one message per switch (ToneBurst, committed E0 10 38 and uncommitted E0 10 39) and the emulator accepts them. With Log=1 they are logged decoded, for example committed: port 3, pol V, band high.

Diagnostics

Set Log=1, repeat the action and read Dev_Emulator.log. It records every call made by AltDVB with its parameters.

Building

You need 32-bit MinGW-w64 (i686-w64-mingw32).

  • Linux or WSL: ./build.sh
  • Windows (MSYS2 MINGW32 shell): build.bat

This produces Dev_Emulator.int in the project root.

Project layout

src/Dev_Emulator.c        source code (the reverse-engineered API is documented in its header)
src/Dev_Emulator.rc       version resource
config/Dev_Emulator.cfg   example configuration
examples/3300.tplist      example Hispasat 30W transponder list
CHANGELOG.md, CHANGELOG.es.md
README.md, README.es.md

Limitations

  • There is no hardware: level and quality come from the .cfg.
  • Tested with AltDVB 2.5. No guarantees with other versions.

License

MIT (see LICENSE).

About

Virtual DVB-S tuner plugin for AltDVB 2.5: start, tune, signal status and DiSEqC without hardware, plus optional .ts capture playback.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages