M2TS2TS(1)

πŸ’… M2TS2TS(1) β€” the girlies' guide to converting .m2ts to .ts πŸŽ€

okay so bestie, you've got a BDAV MPEG-2 Transport Stream file and you want it to be an ordinary TS file? say less. m2ts2ts is literally the girl for the job. it's a General Commands Manual situation, and we're gonna walk through it together, no cap. πŸ’–


✨ SYNOPSIS ✨

m2ts2ts [-err stdout] [-err stderr] [-verbose | -v] [-quiet | -q]
        [-buffer buf_pkts | -b buf_pkts] in_file | -stdin out_file |
        -stdout

like, that's the whole vibe check right there. πŸ’…


🌸 DESCRIPTION 🌸

okay so here's the tea: m2ts2ts converts BDAV MPEG-2 Transport Stream file (M2TS) into an 'ordinary' TS file. that's it, that's the whole main character moment. one format in, one format out, slay. ✨


πŸ“ Files πŸ“

  • in_file β€” this is your BDAV MPEG-2 Transport Stream file (M2TS). but wait, plot twist β€” see -stdin down below, because sometimes the input is coming from somewhere else entirely. πŸ™ˆ
  • out_file β€” this is your H.222 Transport Stream file. but also, plot twist again β€” see -stdout below, because sometimes the output goes somewhere else. πŸ‘‘

πŸŽ€ General switches πŸŽ€

these are the little toggles that change how the whole thing behaves. obsessed.

  • -err stdout β€” write error messages to standard output. this is the default, so if you don't say anything, this is what you get. πŸ’š
  • -err stderr β€” write error messages to standard error. this is the Unix traditional way, iykyk. ✨
  • -v, -verbose β€” output extra information. she's chatty, she's giving you the details, we love that for her. πŸ’¬
  • -q, -quiet β€” only output error messages. she's in her mysterious era, minimal talking, just the important stuff. 🀫
  • -stdin β€” input from standard input instead of a file. no in_file needed, she's reading from the stream. πŸ¦‹
  • -stdout β€” output to standard output instead of a file. > heads up bestie: this one forces -quiet and -err stderr. it's not a suggestion, it's just what happens. πŸ’€
  • -b buf_pkts, -buffer buf_pkts β€” the number of TS packets to buffer for reordering. the default is 4. that's how many lil packets she's holding onto before reordering them, periodt. πŸ“

🌈 SEE ALSO 🌈

esdots(1),


and that's the whole page, babe. this one's from Debian, dated October 28, 2015 β€” so she's an elder icon but she still ate. 🫢 go convert something, you got this. πŸ’œ