CasparCG / client

Client software primarily used with the CasparCG Server software for audio and video playout, to control graphics and recording, but it can also be used for other tasks within television broadcast.
https://casparcg.com
GNU General Public License v3.0
288 stars 97 forks source link

Transform command not working when using custom video mode #311

Open janniksaxler opened 9 months ago

janniksaxler commented 9 months ago

Hi folks, I just tried the new RC from server version 2.4.0 and set up my server with 3 full HD outputs reacting as one canvas (5760x1080px). It's working! The only problem is that videos and images are stretched to the full width. This would be no problem, if I could just transform them back to their original aspect ratio. But the transform-tool in the client (v2.3.0, rev. 58e2267474) doesn't work. It only works with standard video modes (720, 1080, etc.). In the log I see that the client normally calculates the size or position values from 0-1920 (X) or 0-1080 (Y) to 0-1 for the AMCP command. I think this conversion doesn't work if the client detects a custom aspect ratio (e.g. 16:3 in my case).

The workaround with a custom command (e.g. MIXER 1-10 FILL 0.25 0 0.33 1) works. So the issue has to be within the client's transform-tool.

image

markusnygard commented 8 months ago

Can confirm that I have the same problem with custom resolution and transform-effect with 2.3.0 RC1-win