R S*_*R S 4 video ffmpeg command-line video-editing
我正在尝试并排合并两个视频(如此处)。
带有命令的完整日志:
ffmpeg -i input1.mp4 -i input2.mp4 -filter_complex '[0:v]pad=iw*2:ih[int];[int][1:v]overlay=W/2:0[vid]' -map [vid] -c:v libx264 -crf 23 -preset veryfast output.mp4
ffmpeg version N-90232-g0645698ecc Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (Ubuntu 7.2.0-8ubuntu3.2)
configuration: --disable-x86asm
libavutil 56. 8.100 / 56. 8.100
libavcodec 58. 13.102 / 58. 13.102
libavformat 58. 10.100 / 58. 10.100
libavdevice 58. 2.100 / 58. 2.100
libavfilter 7. 12.100 / 7. 12.100
libswscale 5. 0.102 / 5. 0.102
libswresample 3. 0.101 / 3. 0.101
Unrecognized option 'crf'.
Error splitting the argument list: Option not found
Run Code Online (Sandbox Code Playgroud)
但是收到标题中提到的消息。
我有来自 Ubuntu 17.10 存储库的 ffmpeg 版本 N-90232-g0645698ecc。
你ffmpeg
不是来自 Ubuntu 17.10 存储库,看起来它是在你的机器上编译的。它缺少--enable-gpl --enable-libx264
使用-c:v libx264
. 无关,但它--disable-x86asm
从来不推荐,因为它会导致缓慢。
您有多种选择来解决这个问题:
使用repo 中的ffmpeg包:sudo apt-get install ffmpeg
下载最近编译的ffmpeg
二进制文件并将其放入/usr/local/bin
或~/bin
.
归档时间: |
|
查看次数: |
14541 次 |
最近记录: |