Skip to content
ts2mpa is a simple tool to extract MPEG Audio from a MPEG-2 Transport Stream. http://www.aelius.com/njh/ts2mpa/
C
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
CHANGELOG.md
Makefile
README.md
mpa_header.c
mpa_header.h
ts2mpa.c
ts2mpa.h

README.md

ts2mpa

By Nicholas Humfrey njh@aelius.com

ts2mpa is a simple tool to extract MPEG Audio from a MPEG-2 Transport Stream.

Usage:

ts2mpa [options] <infile> <outfile>
  -h             Help - this message.
  -q             Quiet - don't print messages to stderr.
  -p <pid>       Choose a specific transport stream PID.
  -s <streamid>  Choose a specific PES stream ID.

Examples

The following examples are based on DVB-T in London, tuned to BBC Radio coming from the the Crystal Palace transmitter:

Record BBC Radio 4 to disk: dvbstream -o -f 529833330 439 | ts2mpa - recording.mp2

Play BBC Radio 1 through soundcard: dvbstream -o -f 529833330 436 | ts2mpa -q - - | mpg123 -

Todo

  • Add support for resyncing transport stream
  • Automatic output file name choosing
  • Progress bar?
Something went wrong with that request. Please try again.