PDA

View Full Version : How to cut TS with H.264?


onemanclapping
20th June 2009, 13:49
Hey there.

Yesterday I capped a HD video with my SkyStar2.

I used Alt-DVB to record it, which resulted in a TS file.

Now, I have in this file the video (h.264), audiio (ac3) and subtilte streams.

How can I cut the unwanted parts in this huge TS file?

I have no problem in changing the container, as long as I don't re-encode any of the streams.

Thanks in advance,

- omc

Inspector.Gadget
20th June 2009, 17:27
mkvmerge can do it, and will automatically cut on keyframes.

onemanclapping
20th June 2009, 19:14
mkvmerge can do it, and will automatically cut on keyframes.

Are you shure? I don't think it can open a TS file: when I drag the TS and drop it on mkvmerge I get an error popup saying "The file is an unsupported container format (MPEG Transport Stream (TS))."

neuron2
20th June 2009, 19:30
I have no problem in changing the container, as long as I don't re-encode any of the streams. Change it from TS to MKV.

Inspector.Gadget
20th June 2009, 19:39
Either demux with dgavcindex or with tsmuxer and remux to mkv first, then. BTW, you may also wish to try cutting with tsmuxer.

poisondeathray
20th June 2009, 21:21
You can also try h264ts_cutter. You will need directshow splitters & decoders installed (e.g. haali media splitter + ffdshow)