Author Topic: trim/cut .TS video  (Read 123 times)

jchhenderson

  • Newbie
  • *
  • Posts: 3
trim/cut .TS video
« on: April 17, 2019, 09:42:31 AM »
Hi,

I'm new to Avidemux and really like it!

I am trimming and cutting .ts video downloaded through Plex using HDHomeRun.

It has a text stream which I seem to lose after cutting and then saving.  Am I doping something g wrong or cannot Avidemux save the text as well?

thanks!
James.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 2738
Re: trim/cut .TS video
« Reply #1 on: April 17, 2019, 11:08:06 AM »
Avidemux supports video and audio tracks only, unfortunately. So neither teletext nor subtitles can be read (demuxed) or written (muxed).

Patches welcome.

jchhenderson

  • Newbie
  • *
  • Posts: 3
Re: trim/cut .TS video
« Reply #2 on: April 17, 2019, 03:11:45 PM »
Thanks!

Do you know of a way round this? eg: extract the text or a different bit of software?  ...to be honest, I haven't found anything that does do it and I like Avidemux (having only discovered it recently).

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 2738
Re: trim/cut .TS video
« Reply #3 on: April 17, 2019, 05:39:39 PM »
I'd suggest using command-line ffmpeg (conveniently available on macOS via Homebrew).

Code: [Select]
ffmpeg -ss <time to seek to> -t <duration to save> -i /Path/to/input.TS -c copy -map 0:0 -map 0:1 [and so on for all the stream IDs you would like to copy to output] /Path/to/outfile.[TS|mkv|mp4]
To identify streams IDs use

Code: [Select]
ffprobe -hide_banner /Path/to/input.TS

jchhenderson

  • Newbie
  • *
  • Posts: 3
Re: trim/cut .TS video
« Reply #4 on: April 18, 2019, 10:29:56 AM »
thanks, I'll give that a go.