Hi guys, I did a search already but couldn't find the specific info I'm after.
I need some advice about codecs & compositing.
What I want to do is capture video via my firewire card and then use compositing software (jahshaka), to composite 3d images on to the video footage. Much like they do in the movies.
What I would like to know is - what codec would be the best to render my 3d models to? If the captured video is DV avi, then is it possible to render my 3d models to the DV codec? If not, would HuffYUV be a better option, or would that mess with the colours a bit?
+ Reply to Thread
Results 1 to 9 of 9
Thread: Codecs & compositing
targa files or tiff ... or if really serious , cineon files with 16bit or floating bit color ...
otherwise the sony yuv codec or huffyuv are good choices ..
you would not to use anything less really .."Each problem that I solved became a rule which served afterwards to solve other problems." - Rene Descartes (1596-1650)
You especially DON'T want to use a codec that is a combination of lossy, block-based, and reduced color sampling. But that is just what standard consumer DV is. There will be difficulties specifically with compositing if using a codec of this sort directly.
You want something with 4:2:2 or 4:4:4 color sampling, if you want to do it right. That's why lots of post houses bump up their DV stuff to DVCPro50 (4:2:2) if they have to composite with that footage.
Originally Posted by Cornucopia
Originally Posted by Cornucopia
After the composite is created, the program will resample to your specified output format (e.g. 4:1:1 for DV).
Originally Posted by thegooddale
Your software will handle these decompression and resizing steps internally. I usually create graphic elements in HD square pixel sizes 1920x1080 (16:9) or 1440x1080 (4:3) and let Premiere or Vegas handle the downscale to 480i or 480p.
Maybe I didn't make myself clear. edDV is correct. If you ALREADY have created your output with standard DV codecs, the damage has already pretty much been done. Most compositing apps do apply their blending/keying etc. in an uncompressed and full color sampling space (4:4:4:4 is common).
If you are starting fresh with source graphics/renders/vector-based media, it is MUCH better to export with the best quality possible.
I would list the types (in decending order of quality) this way:
1. RGBA, uncompressed
2. RGB, uncompressed
3. RGB, losslessly compressed
4. YUV, uncompressed
5. YUV, losslessly compressed
6. YUV or RGB with very slight lossy compression (avoid if possible)
Similarly, the color sampling would be:
1. 4:4:4 (:4)
3. 4:1:1 or 4:2:0 (avoid very much if possible)
And, if your compositor can wrangle it, making use of high bitdepth color is best AFA banding and smooth blending is concerned. Therefore, 16bit/color/pixel is better than 8bit/color/pixel (there are also some inbetween variations: 10bit, 12bit, etc).
The bump-up thing is a good future-proof archiving procedure for DV-sourced material, but was tangential to what you were asking about.
Originally Posted by edDVOriginally Posted by Cornucopia
Ok, great. That's what I wanted to know.
Thanks for all the help guys. This forum is invaluable.