nilaoda / BBDown

Bilibili Downloader. 一个命令行式哔哩哔哩下载器.
MIT License
9.93k stars 1.29k forks source link

使用 --debug 参数时 mp4box 合并音视频出现参数错误 #914

Closed puteulanus closed 16 minutes ago

puteulanus commented 3 months ago

1. 你使用的BBDown版本是什么?(指明 Release / Actions / DotnetTool)

1.6.2 Actions

2. 你在什么系统使用本软件?(Win/Linux/Mac)

Mac

3. 你使用的完整命令是什么?

BBDown --use-mp4box https://www.bilibili.com/video/BV12j411o738 --debug

4. 遇到了什么问题?

开始合并音视频时 mp4box 报错 Option -verbose unknown, please check usage.

5. 运行截图(最好开启--debug;注意自行将Cookie/Token等敏感信息隐藏)

[2024-07-29 16:48:17.011] - 开始合并音视频...
[2024-07-29 16:48:17.012] - mp4box命令:  -verbose  -inter 500 -noprog  -add "446150236/446150236.P1.1203931368.mp4#trackID=1:name="  -add "446150236/446150236.P1.1203931368.m4a:lang=und"  -itags tool=:cover="446150236/446150236.jpg":title="一片栏杆引发的物理危机":comment="技术支持:海拉鲁火鸡工程院
部分参考:
栏杆科技原理解析BV1Cm4y1j791
飞天栏杆操控方法以及极简喷气式飞机BV1CN411m7Zo
原来我对火箭的力量一无所知BV1Gh4y1M77U":artist="lolo今天玩什么" -new -- "一片栏杆引发的物理危机.mp4"
[2024-07-29 16:48:17.066] - Option -verbose unknown, please check usage.
[2024-07-29 16:48:17.066] - Possible options are:
--mvex
[2024-07-29 16:48:17.067] -
[2024-07-29 16:48:17.068] - 合并失败
[2024-07-29 16:48:17.068] - 任务完成

mp4box 为使用 brew 安装的 gpac https://formulae.brew.sh/formula/gpac 在版本 2.2.1_1 与最新的 2.4.0 上均遇到这个问题

mp4box help 输出

 $ mp4box -h
MP4Box [option] input [option]

General Options:

-h (string):                   print help
    * general: general options help
    * hint: hinting options help
    * dash: DASH segmenter help
    * split: split options help
    * import: import options help
    * encode: scene description encoding options help
    * meta: meta (HEIF, MPEG-21) handling options help
    * extract: extraction options help
    * dump: dump options help
    * swf: Flash (SWF) options help
    * crypt: ISMA E&A options help
    * format: supported formats help
    * live: BIFS streamer help
    * core: libgpac core options
    * all: print all the above help screens
    * opts: print all options
    * tags: print supported iTunes tags
    * cicp: print various CICP code points
    * VAL: search for option named VAL (without - or --) in MP4Box, libgpac core and all filters

-hx (string):                  look for given string in name and descriptions of all MP4Box and filters options
-nodes:                        list supported MPEG4 nodes
-nodex:                        list supported MPEG4 nodes and print nodes
-node (string):                get given MPEG4 node syntax and QP infolist
-xnodes:                       list supported X3D nodes
-xnodex:                       list supported X3D nodes and print nodes
-xnode (string):               get given X3D node syntax
-snodes:                       list supported SVG nodes
-languages:                    list supported ISO 639 languages
-boxes:                        list all supported ISOBMF boxes and their syntax
-stats,-fstat:                 print filter session statistics (import/export/encrypt/decrypt/dashing)
-graph,-fgraph:                print filter session graph (import/export/encrypt/decrypt/dashing)
-v:                            verbose mode
-version:                      get build version
-- INPUT:                      escape option if INPUT starts with - character

Return codes are 0 for no error, 1 for error
Kyouichirou commented 3 months ago

同样遇到此问题, 合并音频失败 2024-08-11 10 36 22.png

puteulanus commented 3 months ago

同样遇到此问题, 合并音频失败 2024-08-11 10 36 22.png

这个不是一个问题吧,看起来是用的 FFmpeg,也没开 --debug。我试了下 mp4box 下载合并你那个视频正常。

你自己开个 issue 把视频地址、环境、版本和带 debug 的完整日志那些都写清楚吧,方便作者复现一点。