Skip to content

Latest commit

 

History

History
80 lines (46 loc) · 1.94 KB

m64conv.md

File metadata and controls

80 lines (46 loc) · 1.94 KB

NAME

m64conv - converts movies for C64 fullscreen playback

SYNOPSIS

mc64conv [-f fps] [-r rate] [-v volume] [-m] [-n] [-d size] [-p] [-j number] videofile [audiofile] > destination

DESCRIPTION

Converts audio and video from any format that is recognized by ffmpeg (including separate PNG files for each frame) to the m64 format. The converted data is output to stdout, and should be redirected to a file. The ffmpeg command line binary must be present in $PATH.

If no separate audiofile is specified, audio is taken from the videofile.

Options

-f fps

Number of frames per second in the input movie

The converter will skip or duplicate frames as needed to reach the target rate of 50 (60) frames per second.

-r rate

Target audio samples per second

Audio will be resampled to this rate during conversion. The valid range is 5000-48000 Hz, but note that rates over 16000 Hz will not work well due to badlines. Rates of 12000 Hz and below result in all audio data fitting within the header block (file size is unaffected by audio). The default target audio sample rate is 16000 Hz.

-v volume

Volume gain

If specified, the input volume will be multiplied by this number. Output values are clipped to the maximum value.

-m

Enable multicolor mode

-n

Target NTSC (60 Hz) C64:s

This will make the target rate 60 frames per second.

-d size

Set dithering size

A size larger than 0 enables dithering with dots of the specified size. Size 2 is recommended for multicolor mode.

-p

Enables a preview window with the converted video

The command fflplay must be available. No audio preview is available.

-j number

Sets number of threads for multithreaded video encoding

Default is to use one thread for video encoding. Note that video decoding always happens in a separate process.