It seems to be stretching vertical and horitonally so I am trying to figure out what to change to see if there is hope. Sample the input texture using the stretched UV coordinatesįloat4 color = tex2D(inputTexture, stretchedUV) If (stretchedUV.y (1.0 - stretchFactor))įloat stretchAmount = stretchFactor / (1.0 - stretchedUV.y) įloat4 main(float2 texCoord : TEXCOORD0) : COLORįloat2 stretchedUV = StretchUV(texCoord, 2.35 / 1.0) // Set the desired aspect ratio here So I was playing with CHATGPT asking for a script and it gave me thisįloat2 StretchUV(float2 uv, float aspectRatio)įloat stretchFactor = (1.0 - aspectRatio) * 0.5 You just distort it and that should work shouldn't it? You don't need to change the size the output can be forced to be the same size. I wonder if it can work with smplayer since from my understanding is using mpv. But until I've converted them, mpc-be is still the best way to watch them. I watch a lot of 3D and I convert them to TB for a couple of reasons. There isn't such a large difference as maybe there once was in picture quality between mpv and mpc-be. I recently tried mpc-be again and I really like it. Like the author I can't see the point of ever using it. It's a bit of a hack and the author says he doesn't see the point. I tried it on video and it's horrible which makes sense, so I modified my config to only run the script for images. In the mean time, I think mpc-be is the best direct-show player and is the only other player I have on my PC.īTW, thanks for the non-linear stretch, I've never heard of that before but it did look interesting. That flexibility comes at the cost of increased configuration complexity, but you can use an mpv GUI then slowly work towards a fully text based config. But with added flexibility because of a large open-source library of scripts, code and shaders which is why I've come to love it. You can look at mpv as a kind of a non-GUI version of mpc-be+madVR. I did a crap ton of reading and testing to get my script where it is today and I know that I've only scratched the surface lol. I started looking into mpv but boy is not very user friendly lol
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |