fmfconv(1) | Emulators | fmfconv(1) |
NAME¶
fmfconv — Fuse Movie File converter
SYNOPSIS¶
fmfconv [options] [infile [outfile [soundfile]]]
DESCRIPTION¶
fmfconv is a Fuse Movie File converter. It can read .fmf files produced by Fuse ZX Spectrum emulator and write audio files, video files or sequences of images in a variety of popular formats. It can also stream data to external tools through a pipe, so you can get virtually any possible format (see EXAMPLES).
fmfconv has built-in support for AIFF, AU and WAV sound formats, PPM and SCR image formats, AVI and YUV4MPEG2 video formats. Supports PNG and JPEG/MJPEG formats internally if libpng and libjpeg are available respectively.
OPTIONS¶
General options:¶
-h
--help
--info
-i filename
--input filename
-o filename
--output filename
-y
--overwrite
-g form
--progress form
-q
--quiet
-v
--verbose
-V
--version
Audio options:¶
--aifc
-m
--aiff
-u
--au
--mono
--raw-sound
-s filename
--sound filename
--sound-only
-E rate
--srate rate
-w
--wav
Video/image options:¶
--avi
-f timing
--frate timing
For video output formats (AVI/MJPEG/YUV4MPEG2) fmfconv set frame rate to 25 fps (PAL timing). If you want to keep the original frame rate use `raw' timing.
-C cut
--out-cut cut
-P
--ppm
-S
--scr
-Y
--yuv
--yuv-format frm
The following options are available when PNG files are supported:¶
--greyscale
-G
--png
--png-compress level
--progressive
The following options are available when JPEG files are supported:¶
--avi-mjpeg
--avi-uncompr
--greyscale
-J
--jpeg
--jpeg-fast
--jpeg-float
--jpeg-optimize
-Q
--jpeg-quality q
--jpeg-smooth factor
-M
--mjpeg
--progressive
EXAMPLES¶
Some of the following examples use ffmpeg(1) as an external tool for doing the final conversion. In some distributions avconv(1) is available, which accepts the same parameters.
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.
SEE ALSO¶
avconv(1), ffmpeg(1), fuse(1), fuse-utils(1), imagemagick(1).
The Fuse Movie File specification, at
http://sourceforge.net/p/fuse-emulator/wiki/FMF%20File%20Format/.
The comp.sys.sinclair Spectrum FAQ, at
http://www.worldofspectrum.org/faq/index.html.
AUTHOR¶
Gergely Szasz.
1st July, 2018 | Version 1.4.3 |