PDA

View Full Version : Smart stretching, CLPV...


Snip
30th October 2005, 10:36
Hello

Somebody knows a software player that is able to make a "smart stretch" or a CLPV (CyberLink Pano Vision) on avi, wvm etc etc?

WinDvd and PowerDvd can do that on Dvds...The options are greyed for other type of movies.

Or is there a shader plugin for Media Player Classic that could do that kind of stretching?

PS: Smart stretch and CLPV are technologies than stretch 16/9 contents to 4/3 without cutting edges...

Thank you.
++

scharfis_brain
30th October 2005, 10:45
there is an AVISynth Filter called Warpedresize

Leak
30th October 2005, 21:52
Somebody knows a software player that is able to make a "smart stretch" or a CLPV (CyberLink Pano Vision) on avi, wvm etc etc?
Well, ffdshow has a "warped resize" resizer - I don't use it, but maybe it works for you? :)

np: Cage - Peeranoia (Hell's Winter)

gabest
30th October 2005, 23:34
I did a search on this resizing method and found some notes here:
http://mywebpages.comcast.net/trbarry/Readme_SimpleResize.txt

Using the pixel shader you can convert 16:9 to 4:3 with a code like this:
(put it in the main function)

float w = 1.2; // try to change w to fit your liking
tex.x -= 0.5;
tex.x = (w - 1) * pow(tex.x, 3) + tex.x*w;
tex.x += 0.5;
return tex2D(s0, tex);

Snip
2nd November 2005, 08:37
Hello and thank you for your answers!

Yeah I have tried the ffdshow warp resize and it's all good! I've never seen the settings where one can change the resize algorithm huhu! Thanks again!

I've also tried your shader plugin gabest. But it does not produce the expected effect, the movie seems over zoomed what ever "w" I input. Anyway I really thank you for your little code. At least it teach me a lot about how to code my own shaders!!

Thanks again everyone!
++

Snip
3rd November 2005, 09:13
I did a search on this resizing method and found some notes here:
http://mywebpages.comcast.net/trbarry/Readme_SimpleResize.txt

Using the pixel shader you can convert 16:9 to 4:3 with a code like this:
(put it in the main function)

float w = 1.2; // try to change w to fit your liking
tex.x -= 0.5;
tex.x = (w - 1) * pow(tex.x, 3) + tex.x*w;
tex.x += 0.5;
return tex2D(s0, tex);

My fault! your little shader does the job very well! I've just put ps1.4 instead of 2.0!

Thx again!