How to Use Elecard XMuxer Pro for Professional MPEG Transport Streams

How to Use Elecard XMuxer Pro for Professional MPEG Transport Streams

Elecard XMuxer Pro is a professional-grade tool for creating, editing, and validating MPEG transport streams (TS). This guide gives a concise, step-by-step workflow to prepare broadcast-ready TS files, covering installation, input prep, multiplexing settings, error checking, and delivery best practices.

1. System setup and installation

  • Requirements: Windows ⁄11 (64-bit), 8+ GB RAM, SSD recommended, CPU with multiple cores.
  • Install: Run the Elecard XMuxer Pro installer and follow prompts. Activate with your license key.
  • Verify: Launch XMuxer Pro and confirm version in Help → About.

2. Prepare input streams

  • Supported inputs: MPEG-2 Video, H.264/AVC, H.265/HEVC, MP3/AAC/AC-3, subtitle streams (DVB/Teletext), elementary streams, PES, and existing TS/PS files.
  • Transmux when needed: If sources are in MP4/MKV, export elementary streams (use ffmpeg or Elecard tools) to avoid timestamp/container issues.
  • Maintain timestamps: Ensure PTS/DTS continuity and correct PCR sourcing if recorded from capture devices.

3. Create a new project and add inputs

  1. File → New Project.
  2. Add input files: Inputs → Add File(s) or drag-and-drop.
  3. For live capture, choose appropriate capture device and format.
  4. Map each elementary stream: Assign stream type (video/audio/subtitle) and set language/descriptor metadata.

4. PID and stream mapping

  • PID planning: Use a clear PID map (e.g., Video PID 0x0100, Audio PID 0x0101, PCR PID = video PID).
  • Avoid collisions: Ensure unique PIDs across all services in the multiplex.
  • Multiple services: For multi-program TS, create separate program maps (PMTs) and group PIDs per program.

5. Multiplexing settings

  • Bitrate mode: Choose Constant Bitrate (CBR) for broadcast/backbone; use Statistical VBR for storage or OTT where bandwidth varies.
  • Target bitrate: Set transport stream bitrate slightly above sum of peak encoded bitrates + overhead (PCR, PSI/SI, EPG). Leave margin (5–10%).
  • Buffer model: Enable leaky-bucket shaping and set buffer sizes per DVB/ATSC/SCTE guidelines.
  • PCR configuration: Set PCR PID and ensure PCR accuracy (max PCR interval per spec). XMuxer Pro can regenerate PCR — enable if source PCR is unreliable.
  • Program Specific Information (PSI/PMT): Configure service name, service ID (SID), network ID, provider name, and descriptors (CA if used).

6. PSI/SI and EPG

  • Generate PAT/PMT: XMuxer Pro auto-generates PAT/PMT; verify service IDs and stream types.
  • SI tables: Add NIT, SDT, and other required SI tables for DVB distribution.
  • EPG: If needed, import or create EIT/event schedules.

7. Conditional Access (optional)

  • CA insertion: Configure CA descriptors in PMT if transport will be encrypted. XMuxer Pro supports adding CA descriptors but does not perform encryption — integrate with downstream scrambler/CA system.

8. Error handling and PSI consistency

  • Null packet tuning: Configure null packet insertion to maintain constant bitrate.
  • Continuity counters: XMuxer Pro handles CCs; monitor for discontinuities introduced by edited inputs.
  • PCR/PTS drift monitoring: Use built-in analyzers to flag PCR jitter, PTS/DTS mismatch, and bitrate spikes.

9. Validation and monitoring

  • Validation tools: Use XMuxer Pro analyzers to check PES alignment, PAT/PMT correctness, CRCs, and SI table intervals.
  • Real-time monitoring: Watch bitrate graphs, PCR jitter stats, stream continuity, and audio/video sync (A/V drift).
  • Log export: Save logs (errors/warnings) for QA and regulatory records.

10. Output and delivery

  • Output formats: Write to TS files, UDP/RTP streams, or to multicast/unicast outputs.
  • File segmentation: For long recordings or HLS origin, segment TS files (e.g., fixed-duration files) with proper continuity.
  • Network streaming: For UDP/RTP, set destination IP/port, TTL, and multicast settings. Test on the intended network and set appropriate DSCP if required.

11. Common workflows (quick recipes)

  • Create single-program CBR TS for broadcast: Import video/audio elementary streams → set CBR target to channel bitrate → set PCR PID = video PID → enable PAT/PMT generation → output UDP multicast.
  • Transmux MP4 to TS for archive: Import MP4 (demux first) → remap streams → choose VBR file output → segment into 10-minute TS files.
  • Create multi-program TS (single carrier): Add multiple program groups → assign unique SIDs and PIDs → configure PAT/PMTs for each → set overall TS bitrate and null packet policy.

12. Troubleshooting checklist

  • Audio/video out of sync: Check PTS/DTS and re-time stamps or regenerate PCR.
  • Missing service in EPG: Verify SDT and service IDs match PAT/PMT.
  • High PCR jitter: Ensure correct PCR PID and enable PCR regeneration.
  • Decoder failures: Confirm stream types and codecs are supported; check descriptors in PMT.

13. Best practices

  • Keep a consistent PID plan and document it.
  • Reserve margin in bitrate for PSI/SI updates and transient peaks.
  • Validate final TS with an independent analyzer before delivery.
  • Automate repetitive tasks with project templates and presets.

14. References and further reading

  • Consult DVB/ATSC specifications for exact PSI/PMT/PCR limits.
  • Review Elecard XMuxer Pro user manual for UI-specific steps and advanced options.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *