Glitchy mp4与ffmpeg concat串联

时间:2017-06-20 10:29:23

标签: video ffmpeg

我正在使用以下命令来连接一组mp4文件:

ffmpeg -auto_convert 1 -f concat -safe 0 -i files.txt -c copy output/all.mp4

files.txt看起来像这样:

file './SAM_1050.MP4'
file './SAM_1051.MP4'
file './SAM_1052.MP4'
...

输出是干净的,直到第一个剪辑结束。之后,最后一个剪辑的最后一帧是可见的,但变得越来越扭曲。视频的内容就是中途:

The entire frame is just plain grey, with some glitches here and there.

这是我的ffmpeg -version输出:

$ ffmpeg -version
ffmpeg version 3.3.1 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.1.1 (GCC) 20170516
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-shared --enable-version3
libavutil      55. 58.100 / 55. 58.100
libavcodec     57. 89.100 / 57. 89.100
libavformat    57. 71.100 / 57. 71.100
libavdevice    57.  6.100 / 57.  6.100
libavfilter     6. 82.100 /  6. 82.100
libavresample   3.  5.  0 /  3.  5.  0
libswscale      4.  6.100 /  4.  6.100
libswresample   2.  7.100 /  2.  7.100
libpostproc    54.  5.100 / 54.  5.100

0 个答案:

没有答案