Here’s a command line using ffmpeg to convert a digital broadcast transport stream (TS) to a “program stream” (PS), selecting the 2nd audio channel in the process:
ffmpeg -i 00001.ts -map o:v -map 0:2 -vcodec copy -acodec copy 001.mpg
You can use this command to convert vdr recordings for example.