gpt4 book ai didi

ffmpeg -acodec 和 -vcodec 参数输入列表

转载 作者:行者123 更新时间:2023-12-04 23:00:39 26 4
gpt4 key购买 nike

这个问题在这里已经有了答案:





What are all codecs and formats supported by FFmpeg?

(4 个回答)


去年关闭。




ffmpeg 是否有一个列表,其中列出了我们输入到 -acodec/-vcodec 参数支持的库?

例如:ffmpeg -vcodec x264 -acodec libmp3lame

我想要一个显示 x264/libmp3lame 支持的格式的列表。

还有一个列表显示 -vcodec 和 -acodec 参数的所有可能输入。

最佳答案

您可以使用 ffmpeg -codecs得到一份 list 。

$ ffmpeg -codecs
Codecs:
D..... = Decoding supported
.E.... = Encoding supported
..V... = Video codec
..A... = Audio codec
..S... = Subtitle codec
...I.. = Intra frame-only codec
....L. = Lossy compression
.....S = Lossless compression
-------
D.VI.S 012v Uncompressed 4:2:2 10-bit
D.V.L. 4xm 4X Movie
D.VI.S 8bps QuickTime 8BPS video
.EVIL. a64_multi Multicolor charset for Commodore 64 (encoders: a64multi )
.EVIL. a64_multi5 Multicolor charset for Commodore 64, extended with 5th color (colram) (encoders: a64multi5 )
D.V..S aasc Autodesk RLE
D.VIL. aic Apple Intermediate Codec
DEVI.S alias_pix Alias/Wavefront PIX image
DEVIL. amv AMV Video
D.V.L. anm Deluxe Paint Animation
<snip>
就您而言,您似乎会对这一行感兴趣:
 DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_crystalhd h264_v4l2m2m h264_vdpau h264_cuvid ) (encoders: libx264 libx264rgb h264_nvenc h264_omx h264_v4l2m2m h264_vaapi nvenc nvenc_h264 )
这行:
 DEA.L. mp3                  MP3 (MPEG audio layer 3) (decoders: mp3 mp3float ) (encoders: libmp3lame libshine )
如果您只想要视频编解码器,可以使用“V”过滤它们:
ffmpeg -codecs | grep '^ ..V'
和带有“A”的音频:
ffmpeg -codecs | grep '^ ..A'
这种方法的优点是它可以向您显示 ffmpeg 副本的编解码器。支持。还有一个编解码器列表,最新版本的 ffmpeg在这里支持:
https://ffmpeg.org/ffmpeg-codecs.html
有关的:
Determine FFmpeg codecs available for container
How can I determine if a codec / container combination is compatible with FFmpeg?
https://superuser.com/questions/655951/which-codecs-are-supported-by-ffmpeg-libraries-in-system

关于ffmpeg -acodec 和 -vcodec 参数输入列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23466746/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com