|
12-07-2018, 07:40 AM | #1 |
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,621
|
Preventing zoom of picture in video-window
I tried doing video editing in Reaper some time ago and it was quite cool, but it had one great flaw, that I didn't know how to get rid of.
When I had a picture inserted into my video-project, for overlay graphics, logos, etc, they were always zoomed when not being in the resolution of the video. Sure, I could now open a gfx-application, create a picture with the correct resolution, place my logo in there and reimport it into Reaper, but, to be honest: I just want a picture of, say, 100x120 pixels stay 100x120 pixels in the video, no matter what. Now my question, how can I prevent that automatic zooming? Even if I would need to use some kind of videoprocessor-code to achieve that. Especially when putting zooming-effects on other videos(don't remember, if I put them as Item or TrackFX, though), this zooming and blurring happened all the time, looking ugly. I don't want to use another video-editor, just to place some graphics into my video.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish On vacation for the time being... |
12-07-2018, 07:54 AM | #2 |
Human being with feelings
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
|
Yes, that's what I also recognized. I managed it by putting the logo - like you mentioned - in Photoshop in a blank screen as big as the source video. This was the best solution because no scaling took place and the image was sharp and crisp. But I also wondered why it didn't get recognized with original size in the first place.
Unfortunately I have found no other solution. |
12-09-2018, 02:42 PM | #3 |
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,621
|
Ahh...a pity. Hope this gets fixed at anytime.
I think, it's Feature Request time, then Thanx for helping
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish On vacation for the time being... |
12-09-2018, 07:13 PM | #4 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,721
|
You could put a video processor on your monitoring FX which would be:
Code:
project_w=1280; project_h=720; gfx_fillrect(0,0,project_w,project_h); input_info(0,w,h) && gfx_blit(0,0, (project_w-w)/2,(project_h-h)/2,w,h); |
12-10-2018, 11:43 AM | #5 |
Human being with feelings
Join Date: Aug 2011
Location: Near a big lake
Posts: 3,943
|
In the video processor preset "Overlay: Image overlay", I had noticed that you can change 2 lines to avoid resizing images.
Change these two lines: Code:
dw = (project_w*z)|0; dh = (sh*project_w/sw*z)|0; Code:
dw = (sw*z)|0; dh = (sh*z)|0; I was guessing at this since I don't really understand the code, but I figured it couldn't hurt to try it. I don't know if this is something that can be added into the preset as an option? |
12-11-2018, 08:42 AM | #6 |
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,621
|
Thanks Justin and James, I'll give it a try
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish On vacation for the time being... |
Thread Tools | |
Display Modes | |
|
|