M2VRequantiser(1)

✨ M2VRequantiser(1) ✨ β€” MPEG-2 streams requantization πŸŽ€

okay bestie, the manual name is M2VRequantiser and it's all about MPEG-2 streams requantization πŸ’– so let's get into it πŸ’…

πŸ‘‘ NAME

M2VRequantiser β€” MPEG-2 streams requantization πŸ¦‹

🌸 SYNOPSIS

Two ways to call it, bestie 🧚

M2VRequantiser
M2VRequantiser <RECOMPRESSION_FACTOR> <inputM2Vsize>

πŸ’œ DESCRIPTION

okay so m2vrequantiser is a tool that requantizes MPEG-2 streams without recompressing ✨ 😭 it's giving "bigger brain, same file" energy. M2VRequantiser takes raw MPEG-2 video data (not VOB) from standard input and writes the recompressed frames to standard output πŸ”₯

and highkey, it's a good replacement for tcrequant, which is an obsolete utility that shipped with some versions of the transcode suite πŸ’€ so if you're still using that, it's time for a glow-up 🫢

πŸŽ€ OPTIONS

okay so there aren't any options, bestie πŸ™ˆ the tool just takes two arguments and that's the whole vibe πŸ’…

M2VRequantiser reads raw MPEG-2 video data (not VOB) from standard input and writes the recompressed frames to standard output 🌈

It takes two arguments πŸ“

  • First argument β€” a floating point value that sets the ratio of compression, aka RECOMPRESSION_FACTOR πŸ’–
  • Second argument β€” the size of the M2V, aka inputM2Vsize πŸ¦‹ and here's the tea: since the data is streamed in, M2VRequantiser cannot know the M2V size on its own, so you have to tell it ✨

The usage is:

$ M2VRequantiser <RECOMPRESSION_FACTOR> <inputM2Vsize>

🧚 EXAMPLE

the following command would recompress original.m2v, whose size is 1024000 bytes, by a factor of 1.25 🌸

$ M2VRequantiser 1.25 1024000 < original.m2v > requantised.m2v

πŸ’… AUTHOR

The m2vrequantiser was written by Martin Wimpress <flexiondotorg@gmail.com> πŸ‘‘

This manual page was written by Fabio Augusto De Muzio Tobich <ftobich@gmail.com> for the Debian project (but may be used by others) 🫢


Version 1.1, last updated 10 Jun 2020, served with love from M2VRequantiser(1) πŸ’–πŸŽ€βœ¨