我在播放视频时遇到问题。有人能帮我吗? 我正在观察我的MELT序列1视频是否正确缩放,但其他视频被裁剪。
请建议解决方案。这是我的熔化命令。
熔化A_David_Beckham.mp4 in = 0 out = 650 \ -track -blank 49 C_KindleTouch.mp4 in = 0 out = 650 \ -transition composite start = 0/0:960x1080 end = 0/0:960x1080 distort = 1 a_track = 1 b_track = 0 \ -transition composite start = 960/0:960x1080 end = 960/0:960x1080 distort = 1 a_track = 0 b_track = 1 \ -transition mix:-1 in = 50 out = 650 a_track = 0 b_track = 1
A_Backham从第50帧开始正确缩放,但C_KindleTouch.mp4被裁剪。 两个视频都是高清视频,长度大于> 650帧。
答案 0 :(得分:3)
你需要有一个空白轨道才能实现这一壮举。
这是MELT命令在第二视频的并行音频播放下面的2个视频。切换曲目以切换音频。
melt colour:black out=650 \
-track A_David_Beckham.mp4 in=0 out=650 \
-track C_KindleTouch.mp4 in=0 out=650 \
-transition composite start=0/0:960x1080 end=0/0:960x1080 distort=1 a_track=0 b_track=1 \
-transition composite start=960/0:960x1080 end=960/0:960x1080 distort=1 a_track=0 b_track=2
如果您需要实施Credit Squeeze ..这是一种方式...... (电影频道通常需要在左侧挤入“结束演职员表”并在右侧开始播放下一部电影)
time melt colour:black out=599 \
-track C_KindleTouch.mp4 in=0 out=299 C_KindleTouch.mp4 in=300 out=349 -attach volume:0.1 C_KindleTouch.mp4 in=350 out=599 \
-track -blank 49 B_Samsung.mp4 in=0 out=599 \
-transition composite start=0/0:1920x1080 end=0/0:960x1080 distort=1 a_track=0 b_track=1 in=50 out=99 \
-transition composite start=1920/0:960x1080 end=960/0:960x1080 distort=1 a_track=0 b_track=2 in=50 out=99 \
-transition mix:-1 in=50 out=99 a_track=0 b_track=2 \
-transition composite start=0/0:960x1080 end=0/0:960x1080 distort=1 a_track=0 b_track=1 in=100 out=299 \
-transition composite start=960/0:960x1080 end=960/0:960x1080 distort=1 a_track=0 b_track=2 in=100 out=299 \
-transition composite start=0/0:960x1080 end=-960/0:960x1080 distort=1 a_track=0 b_track=1 in=300 out=349 \
-transition composite start=960/0:960x1080 end=0/0:1920x1080 distort=1 a_track=0 b_track=2 in=300 out=349 \
-transition mix:-1 in=300 out=349 a_track=0 b_track=2 \
-consumer avformat:output-squeeze_nd_back_final_v6.ts vcodec=nvenc_h264 vb=5000k acodec=aac ab=256k mlt_image_format=yuv420p
这就是效果的效果