Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 815 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 815 Bytes

Mock Codec

Mock implementations of the Alfalfa coder/decoder, built with ffmpeg.

  • import: convert arbitrary input on stdin to raw video (yuv4mpegpipe) on stdout

    Example: ./import <example.vp8 >example.y4m

  • encode: convert raw video (yuv4mpegpipe) on stdin to VP8 on stdout

    Example: ./encode <example.y4m >example-compressed.vp8

  • decode: convert VP8 video on stdin to raw video (yuv4mpegpipe) on stdout

    (Similar to import, but requires the input to be in VP8 IVF format.)

    Example: ./decode <example.vp8 >example.y4m

  • watch: play raw video (yuv4mpegpipe) from stdin on X display

    Example: ./watch <example.y4m

  • example.vp8, example2.vp8, example3.vp8: sample VP8 (IVF) files for testing