Loading...
Loading...
Compare original and translation side by side
ffprobe -v error -show_entries format=duration,size -show_entries stream=codec_name,width,height,r_frame_rate -of json "$INPUT_FILE"ffprobe -v error -show_entries format=duration,size -show_entries stream=codec_name,width,height,r_frame_rate -of json "$INPUT_FILE"# Scale filter to normalize resolution
-filter_complex "\
[0:v]scale=WIDTH:HEIGHT:force_original_aspect_ratio=decrease,pad=WIDTH:HEIGHT:(ow-iw)/2:(oh-ih)/2[v0];\
[1:v]scale=WIDTH:HEIGHT:force_original_aspect_ratio=decrease,pad=WIDTH:HEIGHT:(ow-iw)/2:(oh-ih)/2[v1];\
[v0][0:a][v1][1:a]concat=n=2:v=1:a=1[outv][outa]"# 缩放滤镜以统一分辨率
-filter_complex "\
[0:v]scale=WIDTH:HEIGHT:force_original_aspect_ratio=decrease,pad=WIDTH:HEIGHT:(ow-iw)/2:(oh-ih)/2[v0];\
[1:v]scale=WIDTH:HEIGHT:force_original_aspect_ratio=decrease,pad=WIDTH:HEIGHT:(ow-iw)/2:(oh-ih)/2[v1];\
[v0][0:a][v1][1:a]concat=n=2:v=1:a=1[outv][outa]""输出视频使用什么音频编码?" or "Which audio codec should be used for output?"
Options:
- "eac3 (from chapter3_full.mp4)" - Keep Dolby Digital Plus
- "aac (from Edinburgh.mp4)" - Keep AAC
- "Re-encode to AAC 128k" - Best compatibility
- "Re-encode to EAC3 384k" - High quality surround-c:a aac -b:a 128k-c:a aac -b:a 256k-c:a eac3 -b:a 384k-c:a ac3 -b:a 384k-c:a copy"输出视频使用什么音频编码?" 或 "Which audio codec should be used for output?"
选项:
- "eac3(来自chapter3_full.mp4)" - 保留杜比数字+
- "aac(来自Edinburgh.mp4)" - 保留AAC
- "重新编码为AAC 128k" - 最佳兼容性
- "重新编码为EAC3 384k" - 高品质环绕声-c:a aac -b:a 128k-c:a aac -b:a 256k-c:a eac3 -b:a 384k-c:a ac3 -b:a 384k-c:a copy检测到以下视频文件:
1. video1.mp4 (时长: 5:30, 分辨率: 1920x1080)
2. video2.mp4 (时长: 3:45, 分辨率: 1920x1080)
3. video3.mp4 (时长: 8:20, 分辨率: 1920x1080)检测到以下视频文件:
1. video1.mp4(时长: 5:30, 分辨率: 1920x1080)
2. video2.mp4(时长: 3:45, 分辨率: 1920x1080)
3. video3.mp4(时长: 8:20, 分辨率: 1920x1080)undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefined
Available xfade transitions: fade, fadeblack, fadewhite, distance, wipeleft, wiperight, wipeup, wipedown, slideleft, slideright, slideup, slidedown, smoothleft, smoothright, circlecrop, rectcrop, circleclose, circleopen, horzclose, horzopen, vertclose, vertopen, diagbl, diagbr, diagtl, diagtr, hlslice, hrslice, vuslice, vdslice, dissolve, pixelize, radial, hblur, wipetl, wipetr, wipebl, wipebr, squeezeh, squeezev, zoomin
可用的xfade转场效果:fade, fadeblack, fadewhite, distance, wipeleft, wiperight, wipeup, wipedown, slideleft, slideright, slideup, slidedown, smoothleft, smoothright, circlecrop, rectcrop, circleclose, circleopen, horzclose, horzopen, vertclose, vertopen, diagbl, diagbr, diagtl, diagtr, hlslice, hrslice, vuslice, vdslice, dissolve, pixelize, radial, hblur, wipetl, wipetr, wipebl, wipebr, squeezeh, squeezev, zoominundefinedundefinedundefinedundefinedffprobe -v error -show_entries format=duration,size -of json "OUTPUT_FILE"ffprobe -v error -show_entries format=duration,size -of json "OUTPUT_FILE"