ffmpeg 2.1 支持YUVJ422P and YUVJ444P编码了(libx264),最新版的Live555支持H265了,看来H265马上就大范围用了!

We have made a new major release (2.1) It contains all features and bugfixes of the git master branch from 28th October. A partial list of new stuff is below:

- aecho filter
- perspective filter ported from libmpcodecs
- ffprobe -show_programs option
- compand filter
- RTMP seek support
- when transcoding with ffmpeg (i.e. not streamcopying), -ss is now accurate
  even when used as an input option. Previous behavior can be restored with
  the -noaccurate_seek option.
- ffmpeg -t option can now be used for inputs, to limit the duration of
  data read from an input file
- incomplete Voxware MetaSound decoder
- read EXIF metadata from JPEG
- DVB teletext decoder
- phase filter ported from libmpcodecs
- w3fdif filter
- Opus support in Matroska
- FFV1 version 1.3 is stable and no longer experimental
- FFV1: YUVA(444,422,420) 9, 10 and 16 bit support
- changed DTS stream id in lavf mpeg ps muxer from 0x8a to 0x88, to be
  more consistent with other muxers.
- adelay filter
- pullup filter ported from libmpcodecs
- ffprobe -read_intervals option
- Lossless and alpha support for WebP decoder
- Error Resilient AAC syntax (ER AAC LC) decoding
- Low Delay AAC (ER AAC LD) decoding
- mux chapters in ASF files
- SFTP protocol (via libssh)
- libx264: add ability to encode in YUVJ422P and YUVJ444P
- Fraps: use BT.709 colorspace by default for yuv, as reference fraps decoder does
- make decoding alpha optional for prores, ffv1 and vp6 by setting
  the skip_alpha flag.
- ladspa wrapper filter
- native VP9 decoder
- dpx parser
- max_error_rate parameter in ffmpeg
- PulseAudio output device
- ReplayGain scanner
- Enhanced Low Delay AAC (ER AAC ELD) decoding (no LD SBR support)
- Linux framebuffer output device
- HEVC decoder, raw HEVC demuxer, HEVC demuxing in TS, Matroska and MP4
- mergeplanes filter
红色的两个功能还是挺有用的。FFmpeg v2.1支持了下一代编码标准HEVC,以及Google提出的下一代编码标准VP9。
 
<think>好的,我现在需要回答用户关于HEVC Main profile视频流属性和编码细节的问题。首先,我要确保自己正确理解HEVC(H.265)和Main profile的基本概念。HEVC是H.264的后续标准,提供更高的压缩效率,Main profile则是其常用配置之一,适用于多数应用场景。 接下来,我应该回顾HEVC的关键技术,比如更编码单元、更灵活的分块结构、增强的预测和变换技术。这些技术如何影响视频流的属性,如分辨率、帧率、比特率等。同时,Main profile的具体特点需要明确,比如支持的色度格式(如4:2:0)、位深度(8位)以及编码工具的限制。 然后,结合用户提供的引用资料,特别是引用[2]中提到的AVCodecContext参数,比如codec_id设置为AV_CODEC_ID_HEVC,bit_rate的控制,以及可能的其他参数如profile和level的设置。需要说明在FFmpeg中如何配置这些参数来实现HEVC Main profile的编码,例如设置codec_type为视频流,指定编码器为libx265等。 此外,用户可能还关心HEVC Main profile的应用场景,比如流媒体、4K视频等,以及其相对于其他profile(如Main 10)的优势和限制。需要确保回答涵盖这些方面,并引用相关资料中的结构体和参数示例,如引用[3]中的codec_type用于区分音视频轨道。 最后,生成相关问题时要围绕HEVC的技术细节、配置方法、性能优化和应用场景展开,帮助用户进一步深入理解。同时检查所有LaTeX格式是否正确,行内公式使用$...$,独立公式使用$$...$$,并确保引用标识正确添加。</think>HEVC(High Efficiency Video Coding,H.265)的Main Profile(主要配置)是广泛应用在视频编码中的标准配置,特别适用于高分辨率(如4K/8K)和高压缩效率的场景[^1]。以下是其核心属性和编码细节: --- ### **HEVC Main Profile 关键属性** 1. **编码工具支持** - 支持**4:2:0色度采样**,8位色深,满足主流视频需求[^2]。 - 包含**Coding Unit (CU)** 最支持64x64,最小8x8,优化了块划分灵活性。 - 采用**先进预测技术**,如帧内预测(35种角度模式)、帧间预测(更精确的运动补偿)。 - **熵编码**使用CABAC(上下文自适应二进制算术编码),提高压缩率。 2. **编码参数配置(FFmpeg示例)** ```c // 配置AVCodecContext参数 AVCodecContext *codec_ctx = avcodec_alloc_context3(codec); codec_ctx->codec_id = AV_CODEC_ID_HEVC; // 指定HEVC编码器 codec_ctx->bit_rate = 5000000; // 目标比特率5Mbps codec_ctx->width = 1920; // 分辨率宽度 codec_ctx->height = 1080; // 分辨率高度 codec_ctx->profile = FF_PROFILE_HEVC_MAIN; // 设置为Main Profile[^2] codec_ctx->level = 51; // 指定编码级别(如Level 5.1) ``` 3. **典型应用场景** - **流媒体传输**(如HLS、DASH):通过高压缩率降低带宽占用。 - **超高清视频存储**(如4K蓝光、监控录像)。 - **实时通信**:结合硬件加速实现低延迟编码[^1]。 --- ### **编码性能优化** - **码率控制模式**:支持CBR(恒定码率)、VBR(可变码率)和CRF(恒定质量)模式。 - **并行处理**:通过Wavefront Parallel Processing(WPP)或切片划分提升编码速度。 - **复杂度权衡**:Main Profile通过限制某些高级工具(如10位色深)平衡性能与压缩率[^2]。 --- ### **与其他Profile对比** | 属性 | Main Profile | Main 10 Profile | |-----------------|--------------------|-----------------------| | **色深** | 8位 | 10位 | | **色度采样** | 4:2:0 | 4:2:0/4:2:2/4:4:4 | | **HDR支持** | 有限 | 完整(HDR10/HLG) | | **应用场景** | 通用场景 | 专业影视制作 | ---
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值