Fix 428088f to only affect the video contents.
Added some functions to the compilation process.