ts2mpa

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.

Screenshot

$ ts2mpa input.ts output.mp2 
ts2mpa: Found valid PES audio packet (pid: 436, stream id: 0xc0, length: 4616)
ts2mpa: MPEG-1 layer 2, 192 kbps, 48000 Hz, Joint Stereo
ts2mpa: MPEG Audio Framesize: 576 bytes
ts2mpa: packets processed: 57861
ts2mpa: Total written: 57853 bytes

Download


Valid XHTML 1.1! Nicholas J Humfrey <njh@aelius.com>