fmfconv(1)

✨ fmfconv(1) ✨

okay bestie, come sit with me, we're gonna talk about fmfconv from the Emulators manual section πŸ’– this is the Fuse Movie File converter and honestly? she's an icon.


🌸 NAME 🌸

fmfconv β€” Fuse Movie File converter 🎬


πŸ¦‹ SYNOPSIS πŸ¦‹

fmfconv [options] [infile [outfile [soundfile]]]

πŸ’… DESCRIPTION πŸ’…

So fmfconv is a Fuse Movie File converter, no cap. She reads .fmf files that the Fuse ZX Spectrum emulator produces, and she can write out audio files, video files or sequences of images in a whole bunch of popular formats. Obsessed. She can also stream data out to external tools through a pipe, which means you can get literally any format you want if you're brave (go peek at EXAMPLES πŸ‘€).

She has built-in support for AIFF, AU and WAV sound formats, PPM and SCR image formats, and AVI and YUV4MPEG2 video formats. And if libpng and libjpeg are available on your system, she supports PNG and JPEG/MJPEG internally too. main character energy fr fr πŸ’…


πŸŽ€ OPTIONS πŸŽ€

🌟 General options:

  • -h, --help β€” gives you a brief usage help, listing all the available options. tiny little menu moment 🫢
  • --info β€” scans the input file(s) and prints information about them.
  • -i filename, --input filename β€” the input file.
  • -o filename, --output filename β€” the output file.
  • -y, --overwrite β€” force overwrite of existing output file(s). she WILL stomp on your old file, that's the whole point πŸ’€
  • -g form, --progress form β€” show progress, where form is one of %, bar, frame or time. frame and time are similar to bar and show movie seconds or frame number as well.
  • -q, --quiet β€” decreases the verbosity level by one.
  • -v, --verbose β€” increases the verbosity level by one.
  • -V, --version β€” prints the version number and exits.

πŸ”₯ Audio options:

  • --aifc β€” force AIFF-C output if the sound format is AIFF.
  • -m, --aiff β€” save sound to an Apple Computer audio (aiff/aiff-c) file.
  • -u, --au β€” save sound to a Sun Audio (au) file.
  • --mono β€” convert sound to mono (by default the sound is converted to stereo).
  • --raw-sound β€” do not convert sound to 16-bit signed PCM and STEREO or MONO. This is an advanced option. If stereo/mono or audio encoding changes through the fmf file, your sound will be crappy 😭 you've been warned.
  • -s filename, --sound filename β€” output sound file.
  • --sound-only β€” process only the sound from an fmf file.
  • -E rate, --srate rate β€” resample audio to the rate sampling rate, where rate is cd for 44100 Hz, or dat for 48000 Hz, or a number (cd and dat set stereo as well).
  • -w, --wav β€” save sound to a Waveform Audio (wav) file.

🌈 Video/image options:

  • --avi β€” save video as AVI format with the built-in AVI encoder. If fmfconv supports jpeg files, encode video as M-JPEG and audio as S16_LE PCM. If the output is not a file (stdout or redirected) then fmfconv encodes video as uncompressed BGR24 DIB frames (see --avi-mjpeg and --avi-uncompr).
  • -f timing, --frate timing β€” set the output frame rate. timing is pal, ntsc, movie or a number with a maximum of 3 digits after the decimal point, or a #/# (e.g.: -f 29.97 or -f 30000/1001). For video output formats (AVI/MJPEG/YUV4MPEG2) fmfconv sets the frame rate to 25 fps (PAL timing). If you want to keep the original frame rate, use raw timing.
  • -C cut, --out-cut cut β€” leave out the comma delimited cut ranges, e.g.: 100-200,300,500,1:11-2:22 cuts frames 100–200, 300, 500 and frames from 1 min 11 sec to 2 min 22 sec (in the given timing, see -f/--frate).
  • -P, --ppm β€” save video as PPM screenshots.
  • -S, --scr β€” save video as SCR screenshots.
  • -Y, --yuv β€” save video as yuv4mpeg2.
  • --yuv-format frm β€” set the yuv4mpeg2 file frame format to frm, where frm is one of 444, 422, 420j, 420m, 420 or 410.

🧚 The following options are available when PNG files are supported:

  • --greyscale β€” save greyscale images.
  • -G, --png β€” save video frames as PNG screenshots.
  • --png-compress level β€” set the compression level from a range 0–9, or none, fast, best.
  • --progressive β€” save progressive (interlaced) PNG files.

πŸ’œ The following options are available when JPEG files are supported:

  • --avi-mjpeg β€” force the use of M-JPEG AVI frames (lossy).
  • --avi-uncompr β€” force the use of uncompressed BGR24 AVI frames. This format does not produce compression artifacts but the file size is bigger. It's a good choice if you want to process the video with an external tool.
  • --greyscale β€” save greyscale images or convert video frames.
  • -J, --jpeg β€” save video frames as JPEG screenshots.
  • --jpeg-fast β€” use the faster, less accurate integer method for DCT compression.
  • --jpeg-float β€” use the floating-point method for DCT compression.
  • --jpeg-optimize β€” compute optimal Huffman coding tables for the image.
  • -Q, --jpeg-quality q β€” set jpeg quality from a range 0–100.
  • --jpeg-smooth factor β€” set the jpeg smoothing factor from a range 0–100.
  • -M, --mjpeg β€” save video as a raw M-JPEG file (abbreviated JPEG stream).
  • --progressive β€” save progressive (interlaced) JPEG files.

🌸 EXAMPLES 🌸

Some of these examples use ffmpeg(1) as an external tool to do the final conversion. In some distributions avconv(1) is available, and it accepts the same parameters. pick your fighter bestie 🫢

Convert FMF to AVI:

fmfconv input.fmf output.avi

Convert FMF to a mpeg video with quality equivalent to YouTube:

fmfconv input.fmf | ffmpeg -i - -vf scale=480:360 -r 25
        -codec:v h264 -codec:a aac -f mp4 -b:a 128k
        -b:v 600k -pix_fmt yuv420p -strict -2 output.mp4

Convert FMF to compact lossless 720p:

fmfconv input.fmf | ffmpeg -i - -vf palettegen palette.png
fmfconv --raw-sound input.fmf | ffmpeg -i - -i palette.png
        -filter_complex
        "scale=960:720:flags=neighbor [x]; [x][1:v] paletteuse"
        -c:a flac -c:v zmbv -compression_level:a 12 output.mkv

Convert FMF to compact lossless 1080p:

fmfconv input.fmf | ffmpeg -i - -vf palettegen palette.png
fmfconv --raw-sound input.fmf | ffmpeg -i - -i palette.png
        -filter_complex
        "crop=288:216,scale=1440:1080:flags=neighbor
              [x]; [x][1:v] paletteuse"
        -c:a flac -c:v zmbv -compression_level:a 12 output.mkv

Convert FMF to a DVD video format:

fmfconv input.fmf | ffmpeg -i - -aspect 4:3 -target pal-dvd
        output.vob

Convert FMF to SVCD video format:

fmfconv input.fmf | ffmpeg -i - -aspect 4:3 -target pal-svcd
        output.mpg

Convert FMF to iPod video format:

fmfconv input.fmf | ffmpeg -i - -vf scale=320:240 -r 30
        -codec:v h264 -codec:a aac -f ipod -ar 44100 -b:a 128k
        -b:v 256k -pix_fmt yuv420p -strict -2 output.m4v

Convert FMF to animated GIF (25 fps) using ImageMagick:

fmfconv -f 25 input.fmf tmp.png
convert -delay 4 -loop 0 -layers removeDups -layers Optimize
        tmp*.png output.gif

Extract audio (mono) from a FMF file:

fmfconv --sound-only --mono input.fmf output.wav

πŸ’€ BUGS πŸ’€

None known. she's literally perfect, slay πŸ’…βœ¨


🌟 SEE ALSO 🌟


πŸ‘‘ AUTHOR πŸ‘‘

Gergely Szasz.


and that's the whole page bestie!! this one is version 1.4.6, dated 25th July, 2026 β€” fmfconv(1) supremacy, go convert something and eat πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from