Return to site

Gopro Cineform Codec

broken image


February 28th, 2013 / By Angelo Lorenzo / 11 Comments
  1. Gopro Cineform Codec For Windows 10
  2. Gopro Cineform Codec
  3. Gopro Cineform Codec Premiere
  4. Gopro Cineform Codec Vs Prores
  5. Gopro Cineform Codec Download
  6. Gopro Cineform Codec Youtube
  1. Reverse Engineering the GoPro Cineform codec. Jan 1, 2016 6 min read. Following the fine traditions of great codec reverse engineers it has now become the norm to write-up the.
  2. What I've found is that Premier Pro does not import AVI's with the GoPro Cineform codec. It does take MOV files that way, but for some reason, it can't handle the avi/cineform combo. Furthermore, Adobe is dropping support for the Quicktime 7 era formats, which I presume means eventually the MOV format may fall by the wayside.

Gopro Cineform Codec For Windows 10

CineForm Goes Open Source. 16 years is a long time for a piece of software to remain useful. The CineForm codec, initially developed in 2001, was designed to enable real-time consumer video editing. Was a team of engineers that knew image and video processing, but very little about codec design (which likely helped.).

If you have a properly tuned post production workflow then the amount of times you'll recompress an intermediate video is zero or once; the most common case is recompressing assets like intros, bumpers, motion graphics, and others once they make their way into a final program.

I wanted to do an informal test between Avid DNxHD, Apple ProRes HQ, and GoPro Cineform to see how they stacked up through 5 rounds of recompression. To illustrate the differences, I took my original test video into Adobe Photoshop, added the compressed video to the layer above, set the compressed video layer's blend mode to difference, and applied an exposure adjustment layer with gamma correction set to 2.0 to more clearly see the differences. This comparison should casually highlight the generation loss inherent in each format.

The Original Video

Recorded by the Canon 5DmkIII, h.264 all-I 1080p29.97. This was recorded for NBC as part of a web clip around the time of the 2012 Olympics.

Avid DNxHD 175 8-bit

First up is Avid DNxHD 175 8-bit. These were encoded by Adobe Media Encoder to the MOV container using Avid's official Quicktime codec. If you ever wondered what the number in each DNxHD preset means, it's the bitrate in megabits per second. 175 was chosen because it is similar to ProRes HQ's bitrate of ~180Mbps. Below is the normal screenshot followed by a difference comparison to the original frame. You'll see, quite easily, substantial blocking artifacts in both screenshots.

Avid DNxHD 175x 10-bit

Terence Curren of Burbank, CA based Alpha Dogs aptly pointed out a flaw in that I was comparing an 8-bit format to ProRes HQ and GoPro Cineform which are 10-bit formats. Below are screenshots of Avid DNxHD 175x 10-bit produced by Adobe Media Encoder for a more fair comparison. As you can see, blocky artifacts are still pronounced.

FFMPEG/FFMBC DNxHD 175 8-bit

FFMPEG/FFMBC's DNxHD 175 8-bit profile is processed through the command-line program FFMBC. Surprisingly, FFMPEG/FFMBC's implementation of DNxHD produces less compression artifacts overall and less blocking artifacts. FFMPEG/FFMBC's encoder, at time of writing, only supports 8-bit color.

Apple ProRes HQ

This sample is from the official Apple ProRes codec controlled by Adobe Media Encoder on Mac OSX. You'll see substantially less blocking artifacts in detailed areas in comparison to Avid DNxHD with some subtle blocking in areas of low detail.

FFMPEG/FFMBC ProRes HQ

This sample is from FFMPEG/FFMBC's ProRes HQ profile processed through the command-line program FFMBC. Similar to Apple's official codec, FFMPEG/FFMBC adds more compression artifacts overall but produces less blocking in areas of low detail.

GoPro Cineform

Last, but not least, is a sample of GoPro's Cineform codec processed through Adobe Media Encoder. The one odd thing about this implementation is that there are no controls to set bitrate. The calculate bitrate is ~235Mbps which makes this a less fair comparison; it puts Cineform closer to Apple ProRes4444 and Avid DNxHD 220. With that said, I am still including it for comparison as it appears to have more compression artifacts overall, but suffers less from blocking than the other intermediate formats.

Conclusion

Again, I have to stress that the difference screenshots are brightened for better viewing and are not as severe as they initially appear. Almost all of these intermediate formats hold a decent amount of detail throughout rounds of recompression with the only, surprisingly, stand out failure being Avid's implementation of their own DNxHD codec because of severe visible blocking. Apple's official ProRes codec seems to perform the best in terms of introducing the least amount of artifacts after 5 generations.

So what exactly is the take away if you won't see this level of compression 'in the wild'? It seems that Avid's DNxHD either has more aggressive compression or pre filtering/blurring than the other codecs which may lead it to being less suitable for a greenscreen intermediate than ProRes or Cineform. Cineform may be sacrificing color fidelity to keep sharpness and edge detail; because of its uncontrollable bitrate it may be a hard 1:1 comparison. ProRes may be striking some kind of balance between overall fidelity and sharpness. Different design philosophies from each codec.

Related posts:

  • Wow, that all very depressing. All the more reason for Adobe to come out with its own codec. Thus will mean PC users dont have to rely on the old, slow qtserver.exe when exporting masters. And will allow PC users an alternate to Prores which is not supported on the PC.

  • You methods maybe in error when testing GoPro CineForm. There are quality controls for GoPro CineForm, just like most codecs. Failure to see these controls may mean you were accessed the codec in an usual manner. The quality control is not represented as bit-rate, just as ProRES offers Proxy, LT, 422, HQ and 4444, CineForm has 4:2:2 and 4:4:4:(4) modes with quality controls labled Low, Medium, High, Filmscan 1 and Filmscan 2. Bitrates aren't useful for a constant quality codec with no resolution restrictions: 140Mb/s average is fine for 4:2:2 1080p24, not so much for 4K 4:4:4 60p, so when you set a quality, it will maintain that independent of resolution or pixel format, bitrates climb and fall as needed.

    In Adobe Media Encoder, you select Format as 'CineForm MOV File', you will see all the quality controls in the video tab under 'Video Compression'. With Adobe tools make sure you set 'Use Maximum Render Quality' to force 32-bit float processing over 8-bit.

    While all this is included with the free software on the PC, the Mac seems to be missing the CSx components. So if you having any trouble, try installing GoPro CineForm Studio Premium, the trial has all the components you need to do the above.

    David Newman | Sr. Director of Software Engineering, GoPro

  • Why don't you try this with a real camera and real acquisition format like Alexa's ProRes 4444 or RED's R3D and get back to us.

    • What does it matter regarding formats that are best case scenario? The guide is far more practical using a junk codec that might commonly be used with that much generational loss per the mentioned bumpers etc that often get re compressed.

      • Starting with very clean, high color precision footage would give a different perspective as starting with a codec that is already so intensely lossy… Each compression type will likely function a bit differently with much cleaner source material.

        I would not say, however, that what you've already done here is 'pointless' in any way…DSLR-to-Intermediate post workflow is very common and I think this is useful.

  • As far as I know, DNxHD is specifically constant bitrate…not constant quality…ProRes is very high quality, but their bitrates are also hard-specified.

    The CineForm codec is variable bitrate, so analyzing the resulting filesize would have given you an average bitrate for comparison.

    CineForm's use of a wavelet transform means that whatever artifacts you produce in pulling a difference like you did, are far less visible than rounding errors inherent in the typical DCT-block transforms…a visual comparison of image detail tells the rest of that story. CineForm was the first codec to do a completely compressed feature finish and have the edited CineForm master clip be the source for the exhibition film scan. When all else is equal, a DCT-based codec would reveal itself through visible compression artifacts before a wavelet based codec will.

    These are all very high-quality codecs, but a ‘runnability' test would also be interesting as an installment in the overall comparison. Since QuickTime for Windows is still 32 bit, 'MOV' wrapped files are disproportionately crippled on Windows when using a 64 bit editing application…which unfortunately takes ProRes out of the running for Windows users in any practical sense until Apple decides to upgrade the best computer media infrastructure that 1998 had to offer.

  • I'd say the biggest error in this whole impromptu test is the initial video acquisition format. The Canon codec is horrid at compression and massive blocking and compression issues right off the bat! Low bit rate low color depth, Garbage in is always garbage out. Cineform is on par with R3d. Taking your highly compressed LGOP video and transcoding to a 10 bit, intraframe compressed format just helps prevent any further degeneration; it doesn't fix the canon codec flaws. An that's why they all practically looked the same!

Leave a Reply

Using the Project Manager

The Project Manager provides several options that automate the process of consolidating your project. This means gathering together (collecting) all the media files you've used in one or more sequences.

Gopro Cineform Codec

Open the Project Manager now by choosing File > Project Manager.

Managing your project in this way is useful if you intend to archive your project or if you want to share your work. By using the Project Manager to gather all your media files, you can be confident nothing will be missing—or offline—when you hand the project over to colleagues or move it into storage for archiving.

The result of using the Project Manager is a new, separate project file and new copies of the associated media files. Because the new project file is independent of your current project, you should double-check it before deleting your original media or project file. It's ideal to check the new project on a different editing system, just to be certain you have all the files you need. Make sure all the clips you expect are in the Project panel and all media is online.

To configure the Project Manager, select the sequences you want to include in the new project in the Sequence section.

Gopro Cineform Codec Premiere

Next, choose one of the options in the Resulting Project section:

  • Collect Files And Copy To New Location: Duplicate the media files used in your selected sequences, and save them in a location you choose, as described in 'Collecting files and copying them to a new location.'

  • Consolidate And Transcode: Create new versions of the media files based on just the parts of clips included in those sequences (the trimmed clips). When this option is selected, several menus become available. These menus, described in 'Consolidating and transcoding,' allow you to choose from a range of formats and codecs.

Depending on your selection, further options may become available:

  • Exclude Unused Clips: With this option selected, the new project will include only clips that are used in the sequences you selected.

  • Include Handles: If you're creating a trimmed project using the Consolidate And Transcode option, this includes additional frames. The extra frames give you the flexibility to trim and adjust the timing of your edits later—a great idea that is usually worth the extra storage required.

  • Include Audio Conform Files: This includes the audio conform files that are already with your project, so Premiere Pro won't need to conduct analysis of your audio again. Premiere Pro will re-create these files automatically as required, but choosing this option can save time waiting for the processing to complete. This is particularly noticeable on longer projects.

  • Convert Image Sequences To Clips: If you have imported one or more image sequences as clips, this option converts them to regular video files. This is a useful option because it simplifies file management. It might also improve playback performance.

  • Include Preview Files: If you've already rendered your effects, you can include the preview files with your new project so you won't need to render them again. Like the audio conform files, these aren't necessary but can save you a considerable amount of time waiting for complex effects to render.

  • Rename Media Files To Match Clip Names: As the name implies, this option renames the new copies of your media files to match the names of the clips in your project (useful if you have renamed clips to make them easier to find). Consider carefully if you want to use this option, because it can make identifying the original source media difficult.

  • Convert After Effects Compositions To Clips: Choose this option to replace dynamically linked After Effects compositions with rendered video files. This option can be helpful because the Project Manager is unable to collect dynamically linked After Effects compositions or the media files associated with them. This is a good reason to stay extra organized when working with After Effects and Premiere Pro together. See 'Collecting files and copying them to a new location' for more information on collecting files.

  • Preserve Alpha: If you are transcoding your footage, you can choose to include alpha channel information so transparent areas will stay transparent. This will lead to larger media files but means retaining valuable picture information. Be sure to select this option if you have chosen to convert After Effects compositions to clips. If your sequence includes dynamically linked After Effects compositions with transparency, the alpha channel information will be used.

In the Destination Path section of the dialog box, choose a location for your new project and media files.

Finally, click Calculate in the Disk Space section to see an estimate of the total storage space needed for your new project, including the copies of the media files.

Provided the estimated project size will fit in the available disk space, you can click OK to create your new consolidated project.

Codec

Collecting files and copying them to a new location

Perhaps your media files are in several locations in your storage system. Or perhaps you're sharing your work with another editor. Perhaps you're taking an edit on the road. You may not need every clip incorporated into your newly created project.

Selecting Collect Files And Copy To New Location creates perfect copies of your original, complete media files in a new single location. If you select the Exclude Unused Clips option, only clips used in the selected sequences will be included.

There's no need for you to go right through the process with this Lesson 17 Working project, but let's take a look at the options you'd select to collect all the files used in your selected sequences to a new, single location.

  1. If it's not already open, choose File > Project Manager.

  2. Select the sequences you want to be included in your new project.

  3. Select Collect Files And Copy To New Location.

  4. Select Exclude Unused Clips.

    If you want to include every clip in your project, regardless of whether they are used in a sequence, deselect this option. Deselect this option if you are creating a new project to organize your media files a little better—perhaps because you imported them from lots of different locations.

    When the new consolidated project is created, every media file used in the selected sequence(s) will be copied to the new project location.

  5. Decide if you want to include Audio Conform Files to save Premiere Pro from having to analyze the audio files again for the new project.

  6. Decide whether you want to include existing preview files to save you from having to re-render effects in the new project.

  7. Decide whether you want to rename your media files to match their clip names. Generally, it's better to leave your media files with their original names. However, if you're producing a project to share with another editor, it might be helpful for them to identify the media files if they are renamed. If you are sure you will never need to reference your original source media again, renaming your clips is a great idea.

  8. Click Browse, and choose a location for your new project file and associated media.

  9. Click Calculate to see an estimate of the total new size of your project, based on your selections. Then click OK.

Premiere Pro will create copies of the original files in a single location. If you intend to create an archive of your entire original project, this is the way to do it.

Consolidating and transcoding

Premiere Pro can transcode (convert) all the media in your project to a new format and codec in a single step if you select Consolidate And Transcode in the Project Manager.

This is useful if you plan to use a so-called mezzanine codec (sometimes called a house codec). This means all media is converted to one codec (and usually one format) before being stored on a media server or edited. These codecs are usually easier for editing systems to play back than the original in-camera codecs, as well as being high quality, maintaining the quality of the original media. These codecs don't add quality but do help maintain it.

To create copies of all your media, deselect Exclude Unused Clips. Otherwise, the options are similar to those you'd choose when creating a trimmed project.

Creating a trimmed project

To create a new trimmed project file with new media files, including only the parts of clips used in your selected sequences, do the following:

  1. Choose File > Project Manager.

  2. Select the sequence or sequences you want to include in the new project.

  3. Select Consolidate And Transcode.

  4. From the Source menu, choose one of the following options:

    • Sequence: If clips in the selected sequence (or sequences) match the sequence settings (frame size, frame rate, and so on), the newly created media files will be formatted to match the sequence they are used in. If they don't match, the media files are copied instead to minimize format conversion.

    • Individual Clips: The newly created clips will match their original frame size and format (though it is possible you will be changing the codec). It's likely you will generally choose this option to maintain the maximum quality of your footage by minimizing conversion.

    • Preset: This allows you to specify a new format using the Preset menu; many choices are available.

  5. Use the Format menu to choose one of the following options:

    • DNxHR/DNxHD MXF OP1a: This is an MXF file type with DNxHR/ DNxHD preselected as the codec. DNxHR and DNxHD are the preferred codecs for Avid Media Composer, but playback performance is also excellent in Premiere Pro.

    • MXF OP1a: This selects an MXF file type with a range of other codec options in the Preset menu.

    • QuickTime: This selects a QuickTime MOV file type, giving access to the GoPro CineForm codec and Apple ProRes codec in the Preset menu.

  6. Choose the codec you prefer from the Preset menu or click to import a preset. You can create a transcoding preset in Adobe Media Encoder, export it as a file, and import it here. For more information about codecs and export options, see Lesson 16, 'Exporting frames, clips, and sequences.'

  7. Select Exclude Unused Clips.

  8. Add some handles. The default is one second on each end of the clips used in your sequences. Consider adding more if you'd like to have more flexibility to trim and adjust your edits in the new project (the maximum number of frames is 999).

  9. Decide if you want to rename your media files to match your clip names. Generally, it's better to leave your media files with the original names. However, if you're producing a trimmed project to share with another editor, it might be helpful for that editor to identify the media files if they are renamed.

  10. Click Browse, and choose a location for your new project file.

  11. Click Calculate to have Premiere Pro estimate the new total size of your project, based on your selections. Then, click OK to close the dialog box and create the new project and associated media files.

Gopro Cineform Codec Vs Prores

The benefit of creating a newly transcoded, trimmed project is that you no longer have unwanted media files filling up your hard drive. It's a convenient way to transfer your project to a new location using the minimum storage space, and it's great for archiving.

Gopro Cineform Codec Download

The danger with this option is that once your unused media files are deleted, they're gone! Be sure that you have a backup of your unused media or at least double-check that you definitely do not want the unused media before you create a trimmed project.

Gopro Cineform Codec Youtube

When you create your trimmed project, Premiere Pro will not delete your original files automatically. Just in case you selected the wrong items, you can always go back and check before deleting the files manually.





broken image