博客
关于我
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/

    你可能感兴趣的文章
    Notepad++在线和离线安装JSON格式化插件
    查看>>
    notepad++最详情汇总
    查看>>
    notepad++正则表达式替换字符串详解
    查看>>
    notepad如何自动对齐_notepad++怎么自动排版
    查看>>
    Notes on Paul Irish's "Things I learned from the jQuery source" casts
    查看>>
    Notification 使用详解(很全
    查看>>
    NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty()
    查看>>
    NotImplementedError: Could not run torchvision::nms
    查看>>
    nova基于ubs机制扩展scheduler-filter
    查看>>
    Now trying to drop the old temporary tablespace, the session hangs.
    查看>>
    nowcoder—Beauty of Trees
    查看>>
    np.arange()和np.linspace()绘制logistic回归图像时得到不同的结果?
    查看>>
    np.power的使用
    查看>>
    NPM 2FA双重认证的设置方法
    查看>>
    npm build报错Cannot find module ‘webpack/lib/rules/BasicEffectRulePlugin‘解决方法
    查看>>
    npm build报错Cannot find module ‘webpack‘解决方法
    查看>>
    npm ERR! ERESOLVE could not resolve报错
    查看>>
    npm ERR! fatal: unable to connect to github.com:
    查看>>
    npm ERR! Unexpected end of JSON input while parsing near '...on":"0.10.3","direc to'
    查看>>
    npm ERR! Unexpected end of JSON input while parsing near ‘...“:“^1.2.0“,“vue-html-‘ npm ERR! A comp
    查看>>