|
arduino-audio-tools
|
H.264 encoding/decoding using https://github.com/pschatzmann/TinyH264. More...
Classes | |
| class | H264Decoder |
| H.264 video decoder: wraps TinyH264Decoder (https://github.com/pschatzmann/TinyH264) as a VideoOutput, so it can be plugged directly into e.g. DemuxerAVI::setOutputVideo()/ DemuxerMP4::setOutputVideo(). Consumes an Annex-B H.264 bitstream via write() and, once a complete picture has been decoded, writes it - converted to setVideoFormat()'s format (RGB565 by default, the common TFT wire format) - to the Print target configured via setOutput(), one write() call per decoded picture. More... | |
| class | H264Encoder |
| H.264 video encoder: wraps TinyH264Encoder (https://github.com/pschatzmann/TinyH264). Configure via setSize()/ setQp() (or setTargetBitrate() for rate control) same as TinyH264Encoder and setVideoFormat() for the raw picture format write() expects (I420 - planar Y/U/V concatenated in one buffer - by default), then feed raw pictures via write() - the resulting Annex-B bitstream is written to the Print target configured via setOutput() (e.g. a Muxer's addVideoFrame() by way of an adapter, or any other Print) instead of a caller-supplied buffer. More... | |
H.264 encoding/decoding using https://github.com/pschatzmann/TinyH264.