Clip format error

Good morning,

I’m new with Mocha but I have encountered basic error while trying to follow the tutorial on youtube for beginners. I Have a clip loaded in After effdects which is an MP4 format and works perfectly there. I get the following message with all my MP4 I tried to use too:
<p style=“margin: 12px 0px;”>Failed to open file ‘E:/film pompei/elements pour trucages/il Golfo di Napoli et vesuve.mp4’.</p>
<p style=“margin: 12px 0px;”>The file is corrupted or in an unsupported format.</p>
It really doesn’t make sense. Anyone can help me solve this fundamental problem?
<p style=“margin: 12px 0px;”>I’m using the last version of Cloud CC 2014 on a PC with Windows Ultimate 64 bits.</p>
<p style=“margin: 12px 0px;”>Here are the infos concerning the file:</p>
<p style=“margin: 12px 0px;”>General</p>
<p style=“margin: 12px 0px;”>Complete name : E:\film pompei\elements pour trucages\il Golfo di Napoli et vesuve.mp4</p>
<p style=“margin: 12px 0px;”>Format : MPEG-4</p>
<p style=“margin: 12px 0px;”>Format profile : Base Media</p>
<p style=“margin: 12px 0px;”>Codec ID : isom</p>
<p style=“margin: 12px 0px;”>File size : 55.6 MiB</p>
<p style=“margin: 12px 0px;”>Duration : 2mn 53s</p>
<p style=“margin: 12px 0px;”>Overall bit rate : 2 695 Kbps</p>
<p style=“margin: 12px 0px;”>Writing application : Lavf54.59.106</p>
<p style=“margin: 12px 0px;”>Video</p>
<p style=“margin: 12px 0px;”>ID : 1</p>
<p style=“margin: 12px 0px;”>Format : AVC</p>
<p style=“margin: 12px 0px;”>Format/Info : Advanced Video Codec</p>
<p style=“margin: 12px 0px;”>Format profile : High@L4.0</p>
<p style=“margin: 12px 0px;”>Format settings, CABAC : Yes</p>
<p style=“margin: 12px 0px;”>Format settings, ReFrames : 4 frames</p>
<p style=“margin: 12px 0px;”>Codec ID : avc1</p>
<p style=“margin: 12px 0px;”>Codec ID/Info : Advanced Video Coding</p>
<p style=“margin: 12px 0px;”>Duration : 2mn 53s</p>
<p style=“margin: 12px 0px;”>Bit rate : 2 500 Kbps</p>
<p style=“margin: 12px 0px;”>Width : 1 920 pixels</p>
<p style=“margin: 12px 0px;”>Height : 1 080 pixels</p>
<p style=“margin: 12px 0px;”>Display aspect ratio : 16:9</p>
<p style=“margin: 12px 0px;”>Frame rate mode : Constant</p>
<p style=“margin: 12px 0px;”>Frame rate : 25.000 fps</p>
<p style=“margin: 12px 0px;”>Color space : YUV</p>
<p style=“margin: 12px 0px;”>Chroma subsampling : 4:2:0</p>
<p style=“margin: 12px 0px;”>Bit depth : 8 bits</p>
<p style=“margin: 12px 0px;”>Scan type : Progressive</p>
<p style=“margin: 12px 0px;”>Bits/(Pixel*Frame) : 0.048</p>
<p style=“margin: 12px 0px;”>Stream size : 52.8 MiB (95%)</p>
<p style=“margin: 12px 0px;”></p>
<p style=“margin: 12px 0px;”>I hope this helps; thanks in advance</p>

There are certain types of codecs and file types that mocha does not support, usually native, unprocessed codecs off of cameras and AVIs on Windows. You may need to convert the file to something mocha supports, such as quicktime or an image sequence. If your screen is black or white for clips but not for images, it is most likely the codec for the movie files that is causing the issue.

Keep in mind a codec does not refer to a file type, like AVI or MP4, it refers to the compression type. Both must be considered. Make sure you have the proper codecs installed on your machine or try a more universal codec to bring into mocha.

View Documentation: supported file list

Other troubleshooting tips (because this sounds like it may be a driver or installed codec issue instead of a format issue):

Double-check that your quicktime drivers, codecs, and video card drivers are up to date, and that quicktime can open the file. (The most likely cause to these formats you listed not working is probably that the codecs need to be updated on your machine).
Try changing your codec to a more widespread codec. Usually any other quicktime format like animation, h.264, or JPEG compression should work, or another type of common .avi compression.
If the footage loads in quicktime but not in mocha, try converting the clip to a file we know for sure that mocha recognizes, like a TIFF or JPEG sequence, to test and make sure that mocha is running properly.

mocha supports most standard movie clip and image sequence formats. In order to use clips (ie. not image sequences) you must have QuickTime installed. Level of QuickTime support can vary depending on the operating system.

What to Do if mocha Does Not Support Your Footage
In the event that you are working in a format that mocha doesn’t support, we recommend converting the footage to an image sequence.

If you are just tracking, you can use any compressed format such as a JPG sequence and then use your original footage when you apply the data. If you are going to be doing rendering, such as using Mocha Pro’s remove or insert modules, then we recommend converting to a DPX or TIFF sequence.

Make sure of the following when converting to an image sequence:

The frame rate, aspect ratio and dimensions are the same as the original footage.
If you are creating proxy footage, make sure the aspect ratio and frame rate are the same.
If you are using a particular bit depth, make sure you convert to the same depth if you are using the footage for rendering inside mocha
If using compressed footage, don’t set the compression too low, as this will create artifacts that may hinder tracking and roto.
Make sure mocha supports the sequence you are converting to!
If you would prefer to convert to a movie clip format then we recommend a standard format that QuickTime would understand, such as Animation.

If you have any questions, I am happy to help. :slight_smile: