MCEBuddy Profiles Basics
MCEBuddy profiles are in the
profiles.conf file located in the
config directory where MCEBuddy is installed. One can create new profiles or customize existing ones to tweak them and match you requirements which very often differ from country to country.
The basic intent of the profiles is to create the command line parameter to pass onto the encoders, commercial cutting routines etc.
MCEBuddy uses the following format for building a command line parameter to pass to the encoder:
GeneralParameters + <InputFile> + VideoParameters + AudioParameters + <OutputFile>
Basic Format of a Profile
e.g. [Convert to MP4]
Name of the profile as it will show up in MCEBuddy
e.g. Description=Convert a file to MP4 format
Short description of what the profile does
Specify the order in which to use encoders (primary to backup) to convert the file. You can specify one, two or three encoders from the options listed above each separated by a comma. MCEBuddy will use the first encode to try to convert the file, if that fails then it will try the second and so on. In the above example it will try FFMPEG and if that fails then it will try MEncoder.
copy is a special case, where there is no recoding/encoding, the remuxed file (TS) incase of a WTV or DVRMS source video or the original source file is just copied to the output as the converted file without any processing.
NOTE: Each encoder in the order specified REQUIRES a <encoder>-general , <encoder>-video , <encoder>-audio , <encoder>-audioac3 and <encoder>-ext parameter. If any of these parameters are missing the encoder will fail (except for copy encoder). See below for details.
e.g. ffmpeg-general=-threads 0 -async 1
GeneralParameters: For each encoder in the order above the general encoding parameter needs to be specified for the encoder. The general parameters are the first in the command line parameters.
e.g. ffmpeg-video=-ss 3 -vcodec copy
VideoParameters: For each encoder in the order these specify what video parameters are to be passed to the encoder. The video parameters follow the inputs file name while MCEBuddy builds the command line.
e.g. ffmpeg-audio=-acodec copy
Audio Parameters: For each encoder in the order these specify what audio parameters are to be passed to the encoder. These are used if the input audio track is NOT ac3. The audio parameters follow the video parameters while MCEBuddy builds the command line.
e.g. ffmpeg-audioac3=-acodec copy
AudioAC3 Parameters: For each encoder in the order these specify what audio parameters are to be passed to the encoder if the input audio track IS AC3 (does not include e-AC3). MCEBuddy will use EITHER the <encoder>-audio or the <encoder>-audioac3 parameters while building the command line depending on the input audio track format. If this parameter is not defined, then MCEBuddy will use the <encoder>-audio parameters for ac3 and non-ac3 input tracks. The audioac3 parameters follow the video parameters while MCEBuddy builds the command line.
For each encoder in the order enter the extension of the output filename. Depending upon the extension the appropriate encoders, commercial cutting program and other parameters will be selected by MCEBuddy. Supported output formats include .wtv, .wmv, .mkv, .avi, .m4v, .mp4, .mpg and .ts
NOTE: As of v2.3.12 MCEBuddy supports almost all formats, however there are limitations on which encoder is being used, e.g. MEncoder works best with .avi, Handbrake with .mp4 and .m4v while FFmpeg can support nearly all formats.
Optional Parameters for the Profiles
If set to true then MCEBuddy will do a 2 pass during the conversion else 1 pass
For each encoder in the order one can specific of the output file needs to be remuxed into a different format at the end after the first extension is created. E.g. ffmpeg will work best when creating an avi file. It can then be remuxed into mp4. MCEBuddy will choose the appropriate remuxer based on the input and output extension Supported extensions are .wtv, .wmv, .avi, .ts, .mpg, .m4v, .mp4 and .mkv
NOTE: As of v2.3.12 MCEBuddy supports almost all formats.
This is used to rename the file extension just before copying the file to the output directory.