Open lovelystrange opened 2 years ago
没有复现,参数用的什么
参数为默认值。
% autocut -t new.MOV
% autocut -c new.MOV new.srt new.md
出现此情况的视频是iPhone 12 mini拍摄后直接airdrop至电脑。此后使用电脑上其他软件剪辑生成的竖版视频测试,没有复现。
用 ffmpeg -i /path/to/input.mp4
看一下视频信息
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '\path\to\input.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.51.101
Duration: 00:02:09.57, start: 0.000000, bitrate: 318 kb/s
Stream #0:0[0x1](chi): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 182 kb/s, 15 fps, 15 tbr, 15360 tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1[0x2](chi): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 131 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
已复现: 原始视频(iPhone竖屏拍摄): Duration: 00:00:11.03, start: 0.000000, bitrate: 12102 kb/s Stream #0:00x1: Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709), 1920x1080, 11987 kb/s, 30 fps, 30 tbr, 600 tbn (default) Metadata: creation_time : 2022-11-21T00:37:45.000000Z handler_name : Core Media Video vendor_id : [0][0][0][0] encoder : HEVC Side data: displaymatrix: rotation of -90.00 degrees Stream #0:10x2: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 65 kb/s (default)
切割视频: Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf59.27.100 Duration: 00:00:04.90, start: 0.000000, bitrate: 3027 kb/s Stream #0:00x1: Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 2888 kb/s, 30 fps, 30 tbr, 15360 tbn (default) Metadata: handler_name : VideoHandler vendor_id : [0][0][0][0] encoder : Lavc59.37.100 libx264 Stream #0:10x2: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
有解决方案么?我也能复现
有解决方案么?我也能复现
方便的话分享一个出问题的视频吧,我们可以测试看看
原始: 1080x1920,H.264 剪辑后: 1920x1080,H.264