You asked

Is the nikon af s dx micro 40mm f 2 8g good for video?

The guide doesn't rate this lens for video, and its specs point to a limited fit. The Nikon AF-S DX Micro 40mm f/2.8G is an autofocus prime for Nikon F APS-C bodies, with no stabilisation. On APS-C it frames like about 60mm on full frame, which is tight for the kind of shooting the video guide describes. For vlogging it suggests a wide lens around 16-20mm full-frame equivalent, held at arm's length. A 40mm lens also puts you further from the subject, so the camera is harder to hold steady without a rig.

The lens's real strength is its f/2.8 aperture on a close-up prime, which gives pleasing background blur. The focal length guide explains how the crop factor changes that blur, and the sensor guide covers how a bigger sensor adds to it. Those points help with shallow-focus shots, but the site has no video-specific information about this lens, so the guide can't say how its autofocus performs while recording.

For video, a wider DX prime is a better place to start. The Nikon AF-S DX 35mm f/1.8G is on the site, though its page gives few details. At 35mm it frames wider than the 40mm, but on APS-C it still falls short of the 16-20mm range the guide recommends for arm's-length vlogging.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.