sample format
来源:互联网 发布:淘宝联盟的客服电话 编辑:程序博客网 时间:2024/04/30 06:33
Audio Sample Formats.
- The data described by the sample format is always in native-endian order. Sample values can be expressed by native C types, hence the lack of a signed 24-bit sample format even though it is a common raw audio data format.
- The floating-point formats are based on full volume being in the range [-1.0, 1.0]. Any values outside this range are beyond full volume level.
- The data layout as used in av_samples_fill_arrays() and elsewhere in FFmpeg (such as AVFrame in libavcodec) is as follows:
For planar sample formats, each audio channel is in a separate data plane, and linesize is the buffer size, in bytes, for a single plane. All data planes must be the same size. For packed sample formats, only the first data plane is used, and samples for each channel are interleaved. In this case, linesize is the buffer size, in bytes, for the 1 plane.
- Enumerator:
- AV_SAMPLE_FMT_NONE AV_SAMPLE_FMT_U8
unsigned 8 bits
AV_SAMPLE_FMT_S16signed 16 bits
AV_SAMPLE_FMT_S32signed 32 bits
AV_SAMPLE_FMT_FLTfloat
AV_SAMPLE_FMT_DBLdouble
AV_SAMPLE_FMT_U8Punsigned 8 bits, planar
AV_SAMPLE_FMT_S16Psigned 16 bits, planar
AV_SAMPLE_FMT_S32Psigned 32 bits, planar
AV_SAMPLE_FMT_FLTPfloat, planar
AV_SAMPLE_FMT_DBLPdouble, planar
AV_SAMPLE_FMT_NBNumber of sample formats. DO NOT USE if linking dynamically.
- sample format
- aplay: set_params:900: Sample format non available
- sample
- !!!sample
- sample
- specified sample format s16 is invalid or not supported(linux)
- Format
- Format
- format
- Format
- Format
- Format
- format
- format
- Format()
- Format
- $.format
- format
- C#乱序数组的简单方法
- Android应用开发详解【郭宏志】(奋斗之小鸟)_PDF 电子书
- 老员工职场法宝——年轻心态
- linux下静态库和动态库的创建
- ffmpeg提取音频存为PCM
- sample format
- Android 4学习(7):用户界面 - 基础
- Top 5 Questions about C/C++ Pointers 【转】
- HTML中<!DOCTYPE>标签的作用
- 数据流图的画法
- ORA-1536: space quota exceeded for tablespace "<name>"
- java 发邮件
- Android APK破解
- QT点滴记录,以便查阅