Used both shake presets.
Used both shake presets.
Check the comments of the youtube video. My problem is not an isolated problem.
Never really played around too much with the preset, but after a bit of doing so, I think I discovered what you’re talking about. But quite hard to describe.
Yea kind of like this, however I cant get the initial shake you have
I’ve just experimented with it out of curiosity and I can’t reproduce what either of you describe/show. Both presets and the shake preset I made for myself before the bundled ones work fine for me.
It’s only intended to be a one second shake and that’s exactly what I get, no bkackouts. Is it being combined with any other filters?
I think it comes from trying to position after applying the preset, which doesn’t work well if not at all.
And the size adapts to the set video mode when using the preset. The preset only works with Size Mode, Horizontal Fit & Vertical fit. Not touching anything else, it works like a charm. It may work great with just a 1 track video, but doesn’t work with 2 video tracks if you try and position a smaller graphic where you want that graphic to shake.
Here is the challenge, 2 track video. Place this image in any of the corners of the video and just have this image shake. The image is 64x64 and goes on V2. I can’t find a way to make this shake over V1’s source, outside of Size Mode, Horizontal Fit & Vertical fit limitations. I’ve been working on this what I thought was a simple task for 2 days.
After the Shake preset is applied, moving from the center, in any direction, gives you this.
Edit: I even tried using the numerical fields to set the position or size, and after you enter one number, then go the next, it glitches out.
Tried with these Shotcut versions: (Same results)
Audio Visualization Filter
Yeah it does the same for me when I try that. Normally if I set a size and position filter on something then put that in a second size and position “window” it appears as a virtual screen. That doesn’t seem to work on this combo.
Only way I can get it to work is to position the small image in position on a still image of the same pixel resolution of the video and export as a png - then it moves as expected.
I was thinking that would work because you are not moving the the actual box, but I had not tried that yet.
Both Shake presets work with 2 tracks.
I had the same thing too @sauron, but when I added video on v1 instead of background color, is where the problems take place. Post #2, I had the same type of gif you did.
Can you move that 200x200 image to any corner and make that happen?
For the gif I used the R&S filter to scale the image to 35% then added the S&P with shake. The range of motion is limited.
If you want to move the image to any corner you need to apply an S&P filter to the miage then apply another S&P filter with shake. In that order. Then you can size and move the image anywhere you want using the first S&P filters controls. If you touch the shake controls ii will go wonky.
I tried your steps. Still didn’t work. I’m not needing this for any project, just trying to learn, or perhaps find a work around until it’s fixed.
Step 1 as you outlined, apply filter #1, works great here.
Step 2 as you outlined, apply filter #2, image not visible now.
Applied Scale preset, image still not visible.
The true problem is when the image is not centered to the video mode is what makes things not work.
Just discovered how easy it was to use keyframes to make my own shake. Never really took an interest in them before. I don’t care about any presets now, lol.
My bad. The image needs to be full size in order for my steps to work. If you have a 1920x1080 video mode the image needs to be the same resolution as the video mode.
That’s exactly what I found when I tried @Hudson555x 's challenge. If I place the square in the corner of a 1920 x 1080 clear png it works, but moving it there with S&P doesn’t. It also fails to work with my own shake presets which puzzles me, because it seems to work OK layering S&P filters for other techniques.
I’m not a programmer, so I may have this all wrong, but I possibly spotted a few defects in the code.
So I copied & renamed it. Edited ( with Notepad ++) what I thought was bad. Just putting a space between = and - on two lines. It took me an hour to figure out there are two locations for the preset,
affineSizePosition being the one I didn’t know about while I was trying to figure out why the one I put into
movitSizePosition wouldn’t show up in the presets.
Shake Presets.zip (1.4 KB)
So I finally got the Shake effect (Scaled) to work. It still acts weird if you even attempt to manually position the effect, but I was able to use the Scale/Rotate filter to accomplish what I wanted to.
This is not required according to the parser source code.
affineSizePosition … movitSizePosition
Movit is the name of the GPU Effects library while “affine” refers to the MLT affine filter, which runs on the CPU. Some of the filters have a Movit (GPU) and non-Movit (CPU) implementation that are different in their detail and parameters. So, they have different UI and preset files in Shotcut while having the same name and parameter labels to create a superficial similarity.
Hello. First post here, so forgive me if this has been clarified before.
For me none of the presets are working. Tried two computers (nvidia and ati, Windows and Linux) and 3-4 versions. Same thing happens.
What I’ve seen is that the parameters are wrong. I put in the timeline a 1920x1080 image, and set the filter, and only one filter, set the preset and get the initial position and scale, that are:
Both X values are negative (negative size?) and Y values are clearly too big too. This is why we see a black screen. If I play the video, I can see a part of the image for a moment, so the shake is really working, but out of range.
I hope the explanation is clear enough.
Is there a way to fix this?
This bug is fixed for the next version 19.02 due by end of February. It was a bug in regions that use a comma for the decimal point. The main workaround until then is to use keyframes to slightly alter the position every 2 or so frames.
Yet another is to make a copy of the preset file in the same folder with your own name. Then, open the preset in a text editor and change all the periods in the number values to commas.
Shake 1 Second - Scaled, before:
transition.rect: "00:00:00.000= -7.937% -7.648% 115% 115%; 00:00:00.080= -7.781% -11.815% 115% 115%;00:00:00.160= -0.094% -13.019% 115% 115%; 00:00:00.240= -7.313% -9.037% 115% 115%;00:00:00.320= -7.469% -13.760% 115% 115%; 00:00:00.400=-10.229% -5.593% 115% 115%;00:00:00.480= -6.615% -11.074% 115% 115%; 00:00:00.560= -5.031% -6.074% 115% 115%;00:00:00.640= -2.990% -6.074% 115% 115%; 00:00:00.720= -3.260% -3.574% 115% 115%;00:00:00.800= -5.229% -7.093% 115% 115%; 00:00:00.880= -5.906% -3.574% 115% 115%;00:00:00.960=-10.958% -9.315% 115% 115%; 00:00:01.040= -7.500% -7.500% 115% 115%"
transition.rect: "00:00:00,000= -7,937% -7,648% 115% 115%; 00:00:00,080= -7,781% -11,815% 115% 115%;00:00:00,160= -0,094% -13,019% 115% 115%; 00:00:00,240= -7,313% -9,037% 115% 115%;00:00:00,320= -7,469% -13,760% 115% 115%; 00:00:00,400=-10,229% -5,593% 115% 115%;00:00:00,480= -6,615% -11,074% 115% 115%; 00:00:00,560= -5,031% -6,074% 115% 115%;00:00:00,640= -2,990% -6,074% 115% 115%; 00:00:00,720= -3,260% -3,574% 115% 115%;00:00:00,800= -5,229% -7,093% 115% 115%; 00:00:00,880= -5,906% -3,574% 115% 115%;00:00:00,960=-10,958% -9,315% 115% 115%; 00:00:01,040= -7,500% -7,500% 115% 115%"