>>179
python の勉強がてらスクリプトにしてみました
引数にTSファイルを指定するとカレントディレクトリに分割ファイルを作成します
windows用streamlink付属のpythonでテストしました
_(下線)をスペースに置換して保存して下さい

import sys; f = open(sys.argv[1],'rb'); fw = open('split001.ts','wb')
pat=b''; pmt=b''; pmtid=-1; lastPCR=0; count=1; size=0; x = f.read(188)
while x:
____if x[1]&0x40:
________pid = (0x1F&x[1])<<8|x[2]
________if pid==0:
____________pat=x; pmtid = (0x1F&x[15])<<8|x[16]
________elif pid==pmtid:
____________pmt=x
________if x[3]&0x20 and x[5]&0x10:
____________currPCR = x[6]<<25|x[7]<<17|x[8]<<9|x[9]<<1|x[10]>>7
____________if not (-10000 < currPCR-lastPCR < 180000):
________________if size > 188*2:
____________________if count>999: break
____________________fw.close()
____________________count+=1
____________________if currPCR==900000:
________________________name='split%03dcm.ts'
____________________else:
________________________name='split%03d.ts'
____________________fw = open(name%count, 'wb')
____________________fw.write(pat); fw.write(pmt); size = 188*2
____________lastPCR=currPCR
____fw.write(x) ; size+=188
____x = f.read(188)
fw.close(); f.close()