
you should learn a bit more about the video rendering process.
Also you should learn one for good that it is not really nice to dig out old threads.
You might refer to one in a new thread, and then the moderators can still decide if they merge it or not.
Thanks
Now back to your question:
the game displays all 3D items and objects, and applies different optical features using the shaders.
Then the final image is given to the video rendering process, which is only there to create series of images for the video encoder (similar for the sound).
Now, if some option is not working as expected, it is certainly not the codec, but the game engine.
Furthermore you should really learn to use the search function, because this question has been asked a lot of times already.
In case of rendering still images to be used as wallpaper or just as enhanced screenshots,
the depth of field needs an additional parameter, the time, which is used to blur the image accordingly,
because there video card shaders cannot be used (nothing is moving) on steady shots.
In case of video rendering, the time parameter is taken as video duration.
Then the depth of field is done by shaders, and the result is taken from the 3D engine directly.
Additionally, you should check in your video configuration of the game, if you have enabled post-processing FX or not.
And finally, you should try not to forget all of the above
