Tuning Comskip Commercial Detection
COMSKIP PERFORMANCE NOTE: If your source recorded files has h.264 video you may want to get the donator version of Comskip to speed up your commercial detection process. The free version included in MCEBuddy has a speed limitation of 30fps for h.264 video (i.e about 1 hour to process a 1 hour video) You can find more details for Comskip at http://www.comskip.org/. See this post for details on how to install the donator version of Comskip.
Comskip can be fine tuned to better detect and cut commercials for each country/region. There is a file called comskip.ini in the comskip directory in the MCEBuddy installation directory (by default C:\Program Files\MCEBuddy2x). The details of the tuning parameters can be found at: http://www.kaashoek.com/files/tuning.htm
Starting v2.4.1 there is a GUI based Comskip INI Editor included in the MCEBuddy\Comskip installation folder. You can use this to understand the various options and edit them through the GUI directly without having to manually edit/understand the options.
If the video appears to get cut for about 3 seconds after the commerical ends (i.e. the commercial skipping cuts 3 seconds into the actual video post the end of the commerical), this could be because of the -ss settings in the <encoder>-video section of the profile. the -ss 3 command is required to get rid of corrupted video at the beginning to avoid audio sync issues. Remove the -ss 3 from the video parameters to fix this issue. Refer to the Audio Sync Issues section at the end of this document for details on the -ss command.
Below an aggregation of custom Comskip.ini files created by various users across the globe. Comskip is used for commercial detection, but it isn’t perfect. However it can be heavily customized using the comskip.ini.
Users have created custom version of specific channels in specific countries. Feel free to use them and contribute back to this discussion.
Starting with MCEBuddy version 2.4.1 there is a GUI based Comskip INI Editor included in the
MCEBuddy\Comskip installation folder. You can use this tool to understand the various options and edit them through the GUI directly without having to manually edit/understand the options.
If you’re using the Premium Access versions of MCEBuddy, once you’ve downloaded/created your custom comskip INI file you can configure:
- Custom comskip INI for each conversion tasks - You can configure a separate INI file for each conversion task by configuring the option Conversion Task -> Expert Settings -> Comskip INI
- Custom comskip INI file for all conversion tasks - If you want to replace the default INI that ship with MCEBuddy, you can so that by replacing the comkip.ini file that lies in the
MCEBuddy\Comskip installation folder
Any custom INI files configured in option 1 (individual conversion tasks) will take precedence over the custom INI configured in option 2 (default/all conversion tasks)