我有一个txt文件,其中所有mp4文件都与ffmpeg连接。我看到了documentation of FFMPEG,但看不到哪里做错了。
这是我的txt文件:
file '/home/leandre/PycharmProjects/video_test/1.mp4'
file '/home/leandre/PycharmProjects/video_test/2.mp4'
file '/home/leandre/PycharmProjects/video_test/3.mp4'
file '/home/leandre/PycharmProjects/video_test/4.mp4'
file '/home/leandre/PycharmProjects/video_test/5.mp4'
file '/home/leandre/PycharmProjects/video_test/6.mp4'
file '/home/leandre/PycharmProjects/video_test/7.mp4'
file '/home/leandre/PycharmProjects/video_test/8.mp4'
file '/home/leandre/PycharmProjects/video_test/9.mp4'
file '/home/leandre/PycharmProjects/video_test/10.mp4'
这是我的ffmpeg命令:ffmpeg -f concat -safe 0 -i listfile.txt -c copy out_concat.mp4
还有我的错误listfile.txt: Invalid data found when processing input