You asked

Is the pentax hd da 40mm f 2 8 limited good for video?

The guide can't say whether the Pentax HD DA 40mm f/2.8 Limited is good for video. Its lens page covers stills specs only and doesn't mention focus smoothness, noise or any other video performance.

The page does give a few facts that bear on filming. The lens is a small pancake prime, so it keeps the camera compact. It has autofocus but no stabilisation. The guide's view is that stabilisation steadies the camera, not the subject, so handheld footage will depend on the camera's own stabilisation or on a support. On APS-C it frames like 60mm on full frame, and f/2.8 gives about the depth of field of f/4.2 there, so backgrounds will be less blurred than with a faster lens. The focal length page explains how aperture and crop factor affect this, and the lenses guide explains why wider apertures help in dim light.

The lens fits a range of APS-C Pentax K bodies, and the K-1 and K-1 Mark II in crop mode. Check each camera's own page before deciding, since video features aren't covered here.

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}.