Personal View site logo
Make sure to join PV on Telegram or Facebook! Perfect to keep up with community on your smartphone.
Please, support PV!
It allows to keep PV going, with more focus towards AI, but keeping be one of the few truly independent places.
Proposition about variable ETC mode
  • I'm here to make the case again to Vitaliy to figure out how to control the GH2's cropping and downscaling features, and allow us to change them through ptool. (If it's not obvious, this post concerns video, not stills.)

    There's a universe of old C-mount lenses out there, in 1/3, 1/2, 2/3, 1 inch, and 16mm, each of which makes a different sized image circle. To use each of these lenses to their fullest, you want your camera's sensor to be slightly smaller than that image circle. With the GH2 we have a camera with the capability to have any sensor size you want, up to 4/3. The "universal-format camera" is in our hands, we just need some awesome hardware hacker to unlock it!

    The "proof" that the GH2 is capable of this is found in the facts that 1) the GH2 is currently able (has the processing power) to take the entire 4/3-inch, 4976x2800, 16:9 portion of the sensor, and downscale that to 1920x1080 or 1280x720 (did I see that some of you had got the GH2 to use other sizes?); and 2) the GH2 is also capable of using only part of the frame, with no downsampling (as demonstrated in ETC mode). So it's not much of a stretch to believe that the GH2 is capable of taking any 16:9 subset of the sensor's pixels AND downscaling that to any 16:9 pixel size! (Indeed, by de-centering the crop region, you could correct for the inevitable misalignment between lens and sensor.)

    So the challenge to you, Vitaliy, is to figure out how to choose that subset of pixels and add that item to ptool. Then, for example, I can take the 4160x2340 subset of the GH2 sensor's 4976x2800 pixels* that my cheap, fast, good 1-inch format C-mount lens can cover, and get great video. Right now, the only way to use this lens is to crop the video in post, which kills resolution (up-sampling, yecch) and wastes bandwidth encoding parts of the frame that are going to be cropped away.

    (*yes I know it's more complicated than that, since it's a Bayer sensor, and the full sensor is more like 4976x3456, but you know what I mean.)

    Further, as balazer pointed out in the posting "GH2 ETC-mode noise penalty" ( www.personal-view.com/talks/discussion/comment/27293 ) the GH2's downsampling achieves 95% of theoretical efficiency at noise reduction by binning. So in my example above, where I'd be using about 70% of the area of the whole 16:9 portion of the sensor, my lens would have only a half-stop noise penalty compared to some way overpriced lens that could light the whole 4/3 frame--if such a lens even exists in this focal length. And spatial resolution (as in lines per picture height) would still be excellent, since the downscaling to 1920x1080 would still be a reduction to around 45% of the raw image. So the result would look far better than the existing ETC mode.

    Suddenly, all that old C-mount glass, as ridiculously overpriced as some of it has become, will finally be worth using. No more dark corners. No more frustration with not knowing what image format a given C-mount lens that you find on eBay was designed for. If it's a C-mount lens, your GH2 would be able to use it to full advantage. As a side effect, this would encourage more reasonable pricing of Noktons, Noktors, and the rare cine lens that happens to fully cover 4/3.

    Here's hoping that with Panasonic's release of the v1.1 firmware, this level of control will finally be possible! Perhaps this feature can be implemented as a modification to ETC mode, which would provide a handy way of turning this feature on and off through the camera's menu in the field.

    Thanks again, Vitaliy, for all you've done.

  • 7 Replies sorted by
  • It is extremely low probablity that it'll be possible.
  • It's quite likely that the GH2's video downsampling is done in hardware by averaging groups of pixels, rather than by a generalized scaling algorithm. What you're asking for is probably not possible.

    Don't get too excited about old C-mount lenses. They are small-format lenses, with small apertures. (with the exception of 4/3"-format C-mount lenses, which exist but are uncommon) Small-format lenses can't match the picture quality of m43 lenses, at least not for anything but very bright light. There will always be some compromise of resolution, noise, or corner brightness.

    If you are intent on using C-mount lenses, you can do it now. Start by shooting regular 1080p mode, and figure out how much you need to crop to get inside the image circle with no dark corners. Then use software post-processing to crop and enlarge to 1080p, or crop and reduce to 720p. Or shoot 1080p ETC mode or 720p ETC mode. Cropping or downscaling to 720p is not all bad. You can't expect much better than that for small-format lenses. You can also crop to 4:3 instead of to 16:9. That's not a bad way to handle the dark corners problem.

    If you want your video to look like it was shot with an 8-mm film camera, by all means, use an 8-mm film camera's lens. Shoot in ETC mode to match the film camera's field of view and to give you some nice film grain-like noise. Crop the picture to 4:3. Approximate 18 fps by shooting in 720/60p and decimating frames by three (which yields 20 fps), or approximate 16-fps by shooting in variable movie mode 160%, which is 15 fps. Don't record any sound. Set the film mode to nostalgic, or apply some post-processing film color effect. Give your cast '70s hairdos. I think it will be very convincing. :)

  • I forgot to say in my original post that I'm willing to help in any way possible, including further donations.

    Vitaliy: should I take what you've written to be your sincere opinion as the world's foremost hacker of this camera that implementing this feature through a firmware hack is very likely impossible? Or are you just not that interested in the idea personally?





  • @stuckvoxel

    I already answered. See my post above.
  • Yes, Vitaliy, I saw your reply. I'm just wondering what you meant by it. Are you saying that in your opinion the proposed hack is likely to be impossible, in a technical sense? Or are you saying that there's a low probability that it will ever happen, because you lack interest in pursuing the idea?
  • Note the use of the word "possible" in his original post to describe the thing that had an extermely low probability, and the deliberate omission of words talking about "interest", etc. It's pretty clear to me that he means that this is probably technically impossible.
  • Thanks, KeithLommel, that's very helpful. But let's give Vitaliy a chance to speak for himself. My posting was directed to Vitaliy by name, after all.