录音/制作/创作 吉他 扩声技术 视频技术 作品展示 生活 信息 更多... | 音频应用专卖店
REAPER

[请教/求助] 请教大神,Reaper是否有裁剪视频画面的插件?

( 12 )
 
[收藏]

272
#1 22-9-19 08:35

请教大神,Reaper是否有裁剪视频画面的插件?

如题~
本帖最后由 yjl123 于 22-9-19 11:14 编辑

1339
#2 22-9-19 09:40
reaper裁剪视频,不需要插件啊
装VLC后所有的视频都能识别,能识别就能剪辑

272
#3 22-9-19 11:13
凉如箫 发表于 22-9-19 09:40
reaper裁剪视频,不需要插件啊
装VLC后所有的视频都能识别,能识别就能剪辑

谢谢回复,可能是我的问题没说明白,我是指裁剪画面,不是视频长度。


本帖最后由 yjl123 于 22-9-19 11:21 编辑

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

272
#4 22-9-19 14:37
  1. // Crop Region
  2. //@param1:width 'Width' 0 0 1 0.5 0.01
  3. //@param2:height 'Height' 0 0 1 0.5 0.01
  4. //@param3:leftOffset 'Left' 0 -1 1 0 0.01
  5. //@param4:topOffset 'Top' 0 -1 1 0 0.01

  6. gfx_blit(-10000);
  7. input_info(0, w, h);
  8. gfx_blit(0, 1,
  9.     (width*w)/2, (height*h)/2,
  10.     w - (width*w), h - (height*h),
  11.     (width*w)/2 - leftOffset*(width*w)/2,
  12.     (height*h)/2 - topOffset*(height*h)/2,
  13.     w - (width*w), h - (height*h) );
复制代码


官方找了一个,不能去掉黑色背景。不知道还有没有更好的。
,如果能去掉背景,再配合软件自带的缩放移动插件,视频拼接就可以实现了。


本帖最后由 yjl123 于 22-9-19 15:01 编辑

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

3766
#5 22-9-19 15:28
自带的不行,第三方可以,如楼上,没那么直观,Reaper处理视频目前就支持靠Video processor这个内置插件能过代码来实现。

专业视频处理交给专业软件做会方便。
观众反应
:代码支持也行,还是比较期待。

1579
#6 22-9-20 01:37
用自带的就能实现了,而且楼上说的去除黑色背景也能实现(我没理解错的话,就是能把下一层的视频画面显示出来吧),不过就是麻烦点,需要挂4个video processor,每一个控制一条边

Transition: Horizontal wipe:
left input 0 right input 1 = 控制右边缘
left input 1 right input 0 = 控制左边缘

Transition: Vertical wipe:
top input 1 bottom input 0 = 控制上边缘
top input 0 bottom input 1 = 控制下边缘
观众反应
:真的可以,感谢!!!

272
#7 22-9-20 09:17
调节Wipe pos 的是可以实现裁剪,只是裁剪的大小并不能做准确的微调。

75
#8 22-9-20 12:25
Track opacity/zoom/pan 通过放大上下移动试试能否实现

1339
#9 22-9-24 11:09
//. Moon Video Controls
//We want to specify the top, bottom, width and height of the video view.
//This will never change as zoom and pan change
// 'name'                       [defval minval maxval centval  step]
//@param 1:opacity 'Opacity'       1       0      1     0.5    0.01;
//@param 2:zoom 'Zoom'             1       1      5    2.25    0.05
//@param 3:x_pan 'Horiz Pan'       0      -1      1      0     0.01
//@param 4:y_pan 'Vert Pan '       0      -1      1      0     0.01
//@param 6:coarse_y 'Bottom/Top'  .5       0      1     .5     0.01
//@param 7:coarse_x 'Left/right'  .5       0      1     .5     0.01
//@param 8:coarse_h 'Height'      .5       0      1     .5     0.01
//@param 9:coarse_w 'Width'       .5       0      1     .5     0.01
//@param 11:fine_y 'Top-fine'      0      -1      1      0     0.01
//@param 12:fine_x 'Left-fine'     0      -1      1      0     0.01
//@param 13:fine_h 'Height-fine'   0      -1      1      0     0.01
//@param 14:fine_w 'Width-fine'    0      -1      1      0     0.01
//@param 16:asp 'Keep Aspect'      1       0      1      0      1;

img1=0;
img2=input_track(0);  //this is the actual image
gfx_blit(img2);
input_info(img1, sourceW, sourceH);
fine = .01;

//HEIGHT AND WIDTH
percentH = (coarse_h + (fine * fine_h));
percentW = (coarse_w + (fine * fine_w));
percentX = (coarse_x + (fine * fine_x));
percentY = 1 - (coarse_y + (fine * fine_y));  //for more natural knob motion

//dont allow frame to go off the edges
rangeX = percentX * (1 - percentW);
rangeY = percentY * (1 - percentH);

//convert percents to pixels
frameH = percentH * project_h;
frameW = percentW * project_w;
frameX = rangeX * project_w;
frameY = rangeY * project_h;

//don't let us zoom out too far,
//the minimum zoom should be larger for smaller frames
smaller = min(percentH, percentW);
zoomAdj = zoom / smaller;

viewW = sourceW / zoomAdj;
viewH = sourceH / zoomAdj;

//this code works pefectly for the minimum dimension
//in the denominator of zoomAdj, but allows way too much in the max dim.
xPanAdj = x_pan;
yPanAdj = y_pan;
//The following gets closer, but still allows too much pan in one direction
xPanAdj  = x_pan * (smaller / percentW);
yPanAdj  = y_pan * (smaller / percentH);

viewX = ((sourceW - viewW) / 2)  * (1 - xPanAdj);
viewY = ((sourceH - viewH) / 2)  * (1 - yPanAdj);

//Ideally we would never see this painful color...
gfx_set(1,0,0,opacity);

gfx_mode = 256;

//gfx_blit(input,aspect,x,y,w,h,srcx,srcy,srcw,srch);
gfx_blit(img1,asp,
   frameX, frameY, frameW|0, frameH|0,    //pipe-zero truncates any decimal
   viewX, viewY, viewW|0, viewH|0
   );
观众反应

272
#10 22-9-26 21:10
凉如箫 发表于 22-9-24 11:09
//. Moon Video Controls
//We want to specify the top, bottom, width and height of the video view.
...

很感谢,这个功能还很全面的。就是微调(fine)范围还是小了一点。

574
#11 22-10-10 07:10
用vegas吧 操作差不多

57
#12 23-4-1 22:08
yjl123 发表于 22-9-19 14:37
官方找了一个,不能去掉黑色背景。不知道还有没有更好的。
,如果能去掉背景,再配合软件自带的 ...

来看一下好

105
#13 24-4-22 16:15
学习一下
您需要登录后才可以回帖 登录 | 注册

本版积分规则

搜索