MCEBuddy Profiles Basics

MCEBuddy profiles are in the profiles.conf file. 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:

[<Profile Name>]

e.g. [Convert to MP4]

Name of the profile as it will show up in MCEBuddy

Description=<Profile Description>

e.g. Description=Convert a file to MP4 format

Short description of what the profile does

order=<copy/ffmpeg/mencoder/handbrake>

e.g. order=ffmpeg,mencoder

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.

<encoder>-general=<general parameters>

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.

<encoder>-video=<video parameters>

e.g. ffmpeg-video=-ss 3 -vcodec copy

VideoParameters: For each encoder in the order these specific what video parameters are to be passed to the encoder. The video parameters follow the inputs file name while MCEBuddy builds the command line.

<encoder>-audio=<audio parameters>

e.g. ffmpeg-audio=-acodec copy

Audio Parameters: For each encoder in the order these specific what audio parameters are to be passed to the encoder. These are used if the inputs audio is NOT ac3. The audio parameters follow the video parameters while MCEBuddy builds the command line.

<encoder>-audioac3=<ac3audio parameters>

e.g. ffmpeg-audioac3=-acodec copy

AC3Audio Parameters: For each encoder in the order these specific what audio parameters are to be passed to the encoder if the inputs audio IS AC3. MCEBuddy will use EITHER the audio or the audioac3 parameters while building the command line depending on the inputs file audio format. The ac3audio parameters follow the video parameters while MCEBuddy builds the command line.

<encoder>-ext=<extension>

e.g. ffmpeg-ext=.avi

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

2pass=<true/false>

e.g. 2pass=true

If set to true then MCEBuddy will do a 2 pass during the conversion else 1 pass

<encoder>-remuxto=<extension>

e.g. mencoder-remuxto=.mp4

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, .avi, .m4v, .mp4 and .mkv

Note: As of v2.3.12 MCEBuddy supports almost all formats.

RenameExt=<extension>

e.g. RenameExt=.mpeg

This is used to rename the file extension just before copying the file to the output directory.

 

Refer to the MCEBuddy Advanced Parameters page MCEBuddy Advanced Commands to learn about advanced Profiles tweaking

Last edited Sep 10, 2014 at 4:27 PM by rboy1, version 12