Avidemux Forum

Avidemux => MacOSX => Topic started by: jchhenderson on April 17, 2019, 09:42:31 AM

Title: trim/cut .TS video
Post by: jchhenderson 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.
Title: Re: trim/cut .TS video
Post by: eumagga0x2a 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.
Title: Re: trim/cut .TS video
Post by: jchhenderson 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).
Title: Re: trim/cut .TS video
Post by: eumagga0x2a on April 17, 2019, 05:39:39 PM
I'd suggest using command-line ffmpeg (conveniently available on macOS via Homebrew).

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

ffprobe -hide_banner /Path/to/input.TS
Title: Re: trim/cut .TS video
Post by: jchhenderson on April 18, 2019, 10:29:56 AM
thanks, I'll give that a go.