0
$\begingroup$

I wanted to increase the brightness/contrast of an AVI video I have. What I did was go to the compositer, load the video file in the Movie Clip node, fixed what I wanted to fix but:

  1. The quality of the video seems to have dropped, looks more pixellated.
  2. I have no idea how to export the video file.

Does anybody know how to export a composited AVI file as an AVI or MP4 file?

Thank you.

$\endgroup$
3
  • $\begingroup$ Hard to know why the video quality dropped without more information from you. Do you have screenshots of your setup and what you're seeing. To render out of the compositor you'll have to render the animation the same way you would for a 3d scene. Setup output dimensions/file format/etc in the Scene panel and Render->Render Animation. You might consider using the Video Sequence Editor instead? docs.blender.org/manual/en/dev/video_editing/introduction.html $\endgroup$
    – scottywood
    Commented Feb 6, 2020 at 15:17
  • $\begingroup$ I tried to render it but it says there is no camera (I dont need one as Im compositing a loaded video.) And if I add a camera it just renders whats on the 3d viewer :/ $\endgroup$
    – Lechinor
    Commented Feb 6, 2020 at 18:24
  • $\begingroup$ Add a file output node in the compositor linked to your color corrected movie. docs.blender.org/manual/en/latest/compositing/types/output/… $\endgroup$
    – scottywood
    Commented Feb 6, 2020 at 20:56

2 Answers 2

0
$\begingroup$

As mentioned in the comment, use a file output node or connect your output to the composite node. It's important to make sure that you're telling Blender to use nodes, in the compositor windows make sure "use nodes" is checked.

enter image description here

enter image description here

$\endgroup$
0
$\begingroup$

REMOVE the Render Layer node, as otherwise Blender will try to render the scene, which is not needed and will waste your time.

There is no need for a File Output node AND a Composite at the same time, they will both output a file in such setup.

The composite node will output a file according to your scene's output settings in the Properties Editor → Output tab.
Whereas the file output node acts basically as its own independent output in addition to the composite.
Thing is, the compositing is done with the scene's output settings (specifically the resolution), so will have to adjust your scene's output no matter what. In other words: if you don't need an extra file output, just use the Composite node, as all the compositing is done with the scene's output settings anyway.

compositing

For the quality drop:

Don't fully trust the preview you get in the compositor: these are quick and dirty previews.

The only thing you should look at for quality is your actual output file.

Now there are a few things that you need to set up beforehand:

  • start/end frames
  • resolution
  • frame rate

You can get those info from your file browser, but you can also open your file in the movie clip editor to see the info you need:

matching settings

Then in the encoding panel, set it to FFMPEG Video. FFMPEG is an encoding software and it offers quite a lot of possibilities.

For your case, since you want AVI, you can set the container to AVI, but you will still need to chose codecs for both the video and audio streams.

You can go two ways here: if you need to further edit this footage later, you may want a high quality encoding at the cost of encoding time and bigger file size. Or in the contrary this is your final result you want to ship on the internet or a client, then you want an encoding that will lose quality but will remain decent while having a lighter file size.

Now, for a good production quality encoding, usually i would like to use DNxHD, but that's bugged at the moment so we will need to use something else in the meantime.

But for reference, here's the parameters for a 1920x1080px 30fps DNxHD:

DNxHD

Note: DNxHD requires to use specific profiles in order to work, particularly bitrates. Here's a reference list.

But we can replace it with HuffYUV at the moment:

HuffYUV

Using PCM as audio output.

Now, for a shipping video file, the gold standard right now is h264 contained in MP4, but it works with the AVI container too :

H264

Note that this one uses abstract "output quality" settings. You can easily change them to whatever you want or set it to "constant bitrate" to manually choose the bitrates yourself.

In any case: I highly recommend you to first try woring on a little 1 second long portion with different parameters, and see what works for you. Each video is different, what works for one can be horrible for another one.
With Blender's limited controls, what you should spend time playing with are bit rates. The bigger it is, the more quality you get but also bigger files.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .