AVC / H.264 Video Encoding¶
AVC / H.264 is a widely used video compression standard for streaming, broadcast, Blu-ray, conferencing, and general-purpose video storage. These encoder samples produce Annex B elementary streams, where NAL units are separated by start codes and the SPS/PPS parameter sets are carried in the stream.
These samples show how to encode raw YUV video to AVC / H.264 Annex B with TTranscoder::run, TTranscoder::push and TTranscoder::pull.
AVC / H.264 Annex B Encoder (Run) - Encode raw YUV video to an H.264 Annex B elementary stream with
TTranscoder::run.AVC / H.264 Annex B Encoder (Push) - Push raw YUV frames into the transcoder to produce H.264 Annex B output.
AVC / H.264 Encoder (Pull) - Pull encoded H.264 Annex B samples from the transcoder with
TTranscoder::pulland write them to a file.