Skip to content

Use MP4Box to dump and analyze broadcast TS streams

jeanlf edited this page May 4, 2020 · 1 revision

HOME » HOWTOs » Archives » TS Dumping


This feature is deprecated in MP4Box starting from GPAC 0.9.0. You can grab input streams using gpac:

gpac -i udp://ip_adress:port -o dump.ts
gpac -i udp://ip_adress:port --ifce ip_address -o dump.ts

Dump a broadcast TS in a file

MP4Box can manipulate MP4 files, but it has also capabilities regarding broadcast streams.

Command syntax:

MP4Box -grab-ts udp://ip_adress:port dump.ts

For example:

MP4Box -grab-ts udp:// dump.ts

Dump from a specific network interface

MP4Box (and also other GPAC tools such as the MP4Client player) provides a '-ifce' option:

MP4Box -grab-ts udp://ip_adress:port -ifce ip_address dump.ts

Use 'ifconfig' (Unix) or 'ipconfig' (Windows) to retrieve your IP address on the interface of your choice. Example:

MP4Box -grab-ts udp:// -ifce dump.ts

Troubleshoot Windows: MP4Box (or any tool) cannot dump my multicast

1) Clicking the Start button and then click on Control Panel. In the search box, type firewall, and then click Windows Firewall.

  1. On the left panel, click on "Allow a program or feature through the Windows Firewall".

  2. Make sure all columns are checked for your MP4Box programs.

Clone this wiki locally