FFmpeg fourcc Avi编解码器支持列表? [英] FFmpeg fourcc Avi codec support list?

查看:260
本文介绍了FFmpeg fourcc Avi编解码器支持列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几个类似的问题是stackoverflow,但我无法弄清楚这个确切的问题。

A couple of similar questions are on stackoverflow, but I haven't been able to figure this exact problem out.

我想得到一个 fourcc s为FFMpeg可以解码的avi编解码器。

I want to get a list of the fourccs for the avi codecs that FFMpeg can decode.

我知道如何获取所有格式 ffmpeg -formats 和编解码器 ffmpeg -codecs 但是这两个列表都没有给我一个可访问的 fourccs 。我也没有找到文档。

I know how to get all the formats ffmpeg -formats and codecs ffmpeg -codecs but neither list gives me an accessible list of fourccs. Neither does the documentation I can find.

我需要这个列表,所以我的应用程序可以访问 fourcc 一个 avi 文件,并确定是否使用 ffmpeg VfW (或 DirectX )尝试解码文件。

I need this list, so that my application can access the fourcc of an avi file and determine whether to use ffmpeg or VfW (or DirectX) to try decode the file.

有没有一些可以给我这个列表的 ffmpeg 命令?

Is there some ffmpeg command that can give me this list?

推荐答案

我不知道是否全面,但源代码似乎包含一个FourCC的列表。

I don't know if it's comprehensive but the source code seems to contain a list of FourCCs.

看看 http://ffmpeg.org/doxygen/trunk/isom_8c-source.html

有很多行这样

{ CODEC_ID_AAC,             MKTAG('m', 'p', '4', 'a') }

你应该可以下载最新的来源,并写一个脚本来选择它们。

You should be able to download the latest source and write a script to pick them out.

这篇关于FFmpeg fourcc Avi编解码器支持列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆