hey bud, can you please work on this. I get it that you can't be bothered, but this is a real problem
hey bud, even though you've had problems implementing it in the past, would you mind taking another look at it? the way you're doing things in SMPlayer right now really is cumbersome. like eg i can only have video equalizer (only works in gpu) or rotation (only works in direct3d).
idk what gui toolkit you're using, but i imagine that when you display the image in smplayer you just take the bitmap from mpv and apply it to a rectangle canvas that's part of the smplayer window. you'll have to resize that canvas depending on the size of the image coming in - but that should be the extent of it, i believe.
"not maintaining the aspect ratio" but you should be able to calculate the aspect ratio yourself. why is that a problem? "You can always pass the option --video-rotate in preferences -> advanced -> options for mplayer/mpv." thanks, but that doesn't work. i need to be able to rotate the video as it is playing, using keyboard bindings.
(bear in mind that the example in OP shows that video-rotate can be changed during playback, in that case by using a key binding)
so specifically here's the comparison: using a filter - rotation doesn't work, video is still horizontal: /c/Program Files/SMPlayer/mpv $ ./mpv.exe F:\test.mp4 --vo=gpu-next --hwdec=dxva2 --vf-add=lavfi=[rotate=PI/2:ih:iw] (+) Video --vid=1 (*) (h264 1560x892 23.976fps) (+) Audio --aid=1 (*) (aac 2ch 48000Hz) AO: [wasapi] 48000Hz stereo 2ch float Using hardware decoding (dxva2). [ffmpeg] Impossible to convert between the formats supported by the filter 'mpv_src_in0' and the filter 'auto_scale_0'...
ok, but the original post mentions video-rotate and not rotate. when i was looking up how to do this on mpv standalone (i didn't know before) people repeatedly said that video-rotate should be used and not rotate. so why not use video-rotate in SMPlayer?
Thanks for the quick reply. Yes, the problem is with all videos. I believe the fact that you can't reproduce it might have to do with the fact that i'm on an AMD APU and you might not be. When I removed smplayer.ini, it would let me rotate, but that's only because it wasn't doing hardware decoding, so the framerate was like 2 fps. So I set gpu-next as the video output, turned on HW decoding, and did the following settings: performance/hardware decoding setting: d3d11va is the only one that gives...