Hi,
I have just joined up and would like to share my non-linear stretch tool allowing you to watch in real time your full image sensor height videos without cropping the top and bottom. Many cameras do not have this feature built in.
Realtime-Superview-Stretch
https://github.com/sickgreg/Realtime...retch/releases
An HLSL (High Level Shader Language) pixel shader that works in HLSL supported players like Media Player Classic (MPC-HC) to apply a non-linear horizontal stretch (actually exponential, reversing the lens' fisheye squishy effect at the edges) in real time. This allows you to get the absolute most out of your 4:3 sensor and works great in my case for FPV drone footage.
I'm not a programmer but i "needed" this and went at it boots and all. I was inspired by the fantastic https://github.com/Niek/superview video converter tool which of course re-encodes the whole video on your CPU, great if you want to upload to YouTube, but not so great for just reviewing (in my case) the flight footage.
Please enjoy
Feel free to edit the code. It's a miracle that I even got it working using basic linear interpolation as the method of remapping pixels. The stretch can look a bit blocky because of this method. It is beyond my ability to utilize a nicer resize algorithm but probably not rocket science either. That being said, it still looks really great, especially if added to your player post resize on a large monitor.
Cheers
Greg
I have just joined up and would like to share my non-linear stretch tool allowing you to watch in real time your full image sensor height videos without cropping the top and bottom. Many cameras do not have this feature built in.
Realtime-Superview-Stretch
https://github.com/sickgreg/Realtime...retch/releases
An HLSL (High Level Shader Language) pixel shader that works in HLSL supported players like Media Player Classic (MPC-HC) to apply a non-linear horizontal stretch (actually exponential, reversing the lens' fisheye squishy effect at the edges) in real time. This allows you to get the absolute most out of your 4:3 sensor and works great in my case for FPV drone footage.
I'm not a programmer but i "needed" this and went at it boots and all. I was inspired by the fantastic https://github.com/Niek/superview video converter tool which of course re-encodes the whole video on your CPU, great if you want to upload to YouTube, but not so great for just reviewing (in my case) the flight footage.
Please enjoy
Feel free to edit the code. It's a miracle that I even got it working using basic linear interpolation as the method of remapping pixels. The stretch can look a bit blocky because of this method. It is beyond my ability to utilize a nicer resize algorithm but probably not rocket science either. That being said, it still looks really great, especially if added to your player post resize on a large monitor.
Cheers
Greg
Comment