lavtrans(1)
π lavtrans(1) β the MJPEG tools manual, bestie edition π
okay so you found the lavtrans page, welcome, pull up a chair π«Ά this is the MJPEG tools manual and today we're talking about the little tool that swaps your videos between MJPEG "container" formats. yes it's niche. yes it's iconic. let's go π
β¨ NAME β¨
lavtrans β Convert MJPEG videos to other MJPEG video formats π literally that's the whole job, and she does it well.
β¨ SYNOPSIS β¨
lavtrans -o outputfile -f a|q|i|w [-i num] lavfile1 [lavfile2 ...
lavfileN]
β¨ DESCRIPTION β¨
so here's the vibe: lavtrans takes your recorded videos and moves them from one MJPEG "container" format to another one. that's it. that's the girl. π
but wait, she does more β she can also split the streams, or do destructive edits. multitasking queen π
and just like all the other mjpegtools(1), lavtrans also accepts an edit list file in place of actual video files. this is lowkey the best part, because it means you can use her to construct a stand-alone copy of the editted video sequence described in the editlist. so the editlist becomes a real, whole, independent video. slay β¨
important reality check though, bestie: lavtrans can only change the container type of MJPEG video β not the format. so as such, it is not possible to use it to combine streams of different format. no cap, don't try it, she said what she said π
β¨ OPTIONS β¨
lavtrans accepts the following options:
-f [a|q|m|i|w]β specifies the output format that should be saved:aβ output to AVI fileqβ output to Qicktime fileiβ output single JPEG images,wβ output WAV file (sound only!)
-i numβ convert a single frame to a JPEG file. one frame. one little JPEG. precious π-o outputfileβ specifies the name of the output file. if you want as output single JPEG images, the output file string must be a valid format string. so like, don't be sloppy with it, okay? format string has rules πfilenameβ multiple filenames as input are acceped, also mixing of edit list files and other in video files. so throw as many at her as you want, she'll sort it out π¦
β¨ BUGS β¨
okay so the tea β β there seem to be problems with the transoding of large Quicktime movies. yeah. big Quicktime files. she struggles. we don't talk about it π
one other thing: with interlaced movies only one field is extracted. so you get pictures with the full horizontal size and half vertical size. half the vertical. gone. reduced. squished. π that's the bug, that's what happens, now you know.
β¨ AUTHOR β¨
this man page was written by Bernhard Praschinger π«Ά
if you have questions, remarks, problems or you just want to contact the developers, the main mailing list for the MJPEG-tools is:
mjpeg-users@lists.sourceforge.net
for more info, see our website at
http://mjpeg.sourceforge.net
β¨ SEE ALSO β¨
mjpegtools(1), lavplay(1) β go read those too, they're part of the family π
and that's the whole page bestie!! this one came to you from the MJPEG Tools Team and it's dated 2 June 2001 β yeah she's vintage, she's a classic, she's still here and she still works πΈ thank you for reading, mwah, go transcode something πβ¨π
π¦ where this page comes from
- arch rolling: mjpegtools 2.2.1-4 Β· GPL-2.0-or-later
- debian bookworm: mjpegtools 1:2.1.0+debian-7
- debian trixie: mjpegtools 1:2.1.0+debian-8.1+b1
- fedora 43: mjpegtools 2.2.1-11.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND GPL-1.0-or-later
- fedora 44: mjpegtools 2.2.1-12.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND GPL-1.0-or-later
- nixos 26.05: mjpegtools 2.2.1
- nixpkgs unstable: mjpegtools 2.2.1
- opensuse-leap 16.0: mjpegtools 2.2.1-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: mjpegtools 2.2.1-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: mjpegtools 2.2.1-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: mjpegtools 2.2.1-160000.2.2 Β· GPL-2.0-only
- ubuntu jammy: mjpegtools 1:2.1.0+debian-6build1
- ubuntu noble: mjpegtools 1:2.1.0+debian-8.1build1
- ubuntu questing: mjpegtools 1:2.1.0+debian-8.1build1
- ubuntu resolute: mjpegtools 1:2.2.1-3
- ubuntu stonking: mjpegtools 1:2.2.1-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms