Open wxxxcxx opened 3 years ago
我也遇到这种情况,手动合并失败。只有在把视频和音频文件名前面的'-'都去掉的情况下才能合并成功。我的系统是Ubuntu.
$ ffmpeg -i '-白噪音美食-热乎乎暖胃又下饭的白菜豆腐煲[0].mp4' -i '-白噪音美食-热乎乎暖胃又下饭的白菜豆腐煲[1].m4a' '-白噪音美食-热乎乎暖胃又下饭的白菜豆腐煲.mp4'
ffmpeg version 4.2.7-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
...
...
Unrecognized option '白噪音美食-热乎乎暖胃又下饭的白菜豆腐煲.mp4'.
Error splitting the argument list: Option not found
下载b站视频后分别有一个 mp4 文件和一个 m4a 文件,mp4 文件只有画面,m4a 文件有声音。但是没有合并。
下面是输出:
操作系统:Archlinux Annie 版本:
FFmpeg 版本:
使用以下命令测试了下手动合并是可以的
看报错似乎是把视频标题识别成了 Option ?