[out#0/dash @ 0x55eee3309600] Codec AVOption minrate (minimum bitrate (in bits/s). Most useful in setting up a CBR encode. It is of little use otherwise.) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[out#0/dash @ 0x55eee3309600] Codec AVOption threads (set the number of threads) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[out#0/dash @ 0x55eee3309600] Codec AVOption maxrate (maximum bitrate (in bits/s). Used for VBV together with bufsize.) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Stream mapping:
Stream #0:0 -> #0:0 (av1 (libdav1d) -> vp9 (libvpx-vp9))
Stream #0:1 -> #0:1 (opus (native) -> opus (libopus))
Press [q] to stop, [?] for help
[libvpx-vp9 @ 0x55eee3356500] v1.11.0
[libvpx-vp9 @ 0x55eee3356500] Neither bitrate nor constrained quality specified, using default CRF of 32
[dash @ 0x55eee330c440] No bit rate set for stream 0
我的命令有什么问题?
我是否错误地标示了最高和最低费率?
ffmpeg -i /2160.mp4 -deadline best -speed 1 -movflags +faststart -map_metadata -1
-c:a libopus -b:a 128k -ar 48000
-c:v libvpx-vp9 -pix_fmt yuv420p -keyint_min 150 -g 240 -tile-columns 4 -frame-parallel 1
-map 0:v:0 -map 0:a:0
-filter:v:2 scale=-2:360,fps=30 -minrate:v:2 138k -b:v:2 276k -maxrate:v:2 400k -tile-columns:v:2 1 -threads:v:2 4
-init_seg_name "init-\$RepresentationID\$.\$ext\$"
-media_seg_name "chunk-\$RepresentationID\$-\$Number%05d\$.\$ext\$"
-dash_segment_type webm
-use_template 1 -use_timeline 1 -seg_duration 10
-adaptation_sets "id=0,streams=v id=1,streams=a"
-f dash /test/dash.mpd
您正在使用 来过滤/设置第二个流的最小-最大速率
v:2
,您可能需要将其更改为 以适用于流 0(主视频流,如 中所示map 0:v:0
)v:0
。完整命令如下: