Skip to content
lu-zero edited this page Feb 28, 2012 · 3 revisions

Libav examples

  • Given an input image, decode it to raw pixel, print how much time did it take.

  • Given an output image name and an optional format, encode a black frame and save it with that name and that format.

  • Given an input video, demux and decode it, print how much time did take each part and the timestamps for each packet/frame and if it is a keyframe.

  • Given an output name and optional container and encoding formats, encode and mux synthetic video data. (output-example.c is a base for it)

  • Add a synthetic audio stream

  • Add a synthetic subtitle stream

  • Add a generic data stream

  • Given a video input stream you pick only the keyframes and save them to an output stream.

Clone this wiki locally