博客
关于我
av sample相关
阅读量:134 次
发布时间:2019-02-28

本文共 537 字,大约阅读时间需要 1 分钟。

FFmpeg中定义的Audio Sample格式信息表

在FFmpeg中,音频样本格式信息由sample_fmt_info数组描述,包含多种音频样本格式的详细信息。每个格式类型对应一个结构体,包含name、bits、planar和altform四个字段。以下是具体的格式信息:

  • 这些格式信息用于描述不同音频样本类型的编码方式和数据布局。通过检查这些信息,可以了解如何处理和转换音频数据,确保兼容性和性能。

    相关的函数包括:

    • av_get_sample_fmt:获取指定格式的样本格式信息。
    • av_get_alt_sample_fmt:获取格式的替代形式信息。
    • av_get_packed_sample_fmt:获取压缩格式的样本信息。
    • av_get_planar_sample_fmt:判断格式是否为平面数据。
    • av_get_sample_fmt_string:获取格式名称。
    • av_get_bytes_per_sample:获取每个样本的字节数。
    • av_sample_fmt_is_planar:判断格式是否为平面数据。
    • av_samples_get_buffer_size:获取样本数据缓冲区大小。

    这些函数为开发者提供了便利,帮助他们在FFmpeg中处理音频样本数据。

    转载地址:http://xuld.baihongyu.com/

    你可能感兴趣的文章
    org.apache.commons.beanutils.BasicDynaBean cannot be cast to ...
    查看>>
    org.apache.dubbo.common.serialize.SerializationException: com.alibaba.fastjson2.JSONException: not s
    查看>>
    sqlserver学习笔记(三)—— 为数据库添加新的用户
    查看>>
    org.apache.ibatis.exceptions.PersistenceException:
    查看>>
    org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned
    查看>>
    org.apache.ibatis.type.TypeException: Could not resolve type alias 'xxxx'异常
    查看>>
    org.apache.poi.hssf.util.Region
    查看>>
    org.apache.xmlbeans.XmlOptions.setEntityExpansionLimit(I)Lorg/apache/xmlbeans/XmlOptions;
    查看>>
    org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /
    查看>>
    org.hibernate.HibernateException: Unable to get the default Bean Validation factory
    查看>>
    org.hibernate.ObjectNotFoundException: No row with the given identifier exists:
    查看>>
    SQL-CLR 类型映射 (LINQ to SQL)
    查看>>
    org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
    查看>>
    org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
    查看>>
    org.springframework.web.multipart.MaxUploadSizeExceededException: Maximum upload size exceeded
    查看>>
    org.tinygroup.serviceprocessor-服务处理器
    查看>>
    org/eclipse/jetty/server/Connector : Unsupported major.minor version 52.0
    查看>>
    org/hibernate/validator/internal/engine
    查看>>
    Orleans框架------基于Actor模型生成分布式Id
    查看>>
    SQL-36 创建一个actor_name表,将actor表中的所有first_name以及last_name导入改表。
    查看>>