Template:Encoding with Daala
Encoding a Video
Test Media
If you do not have one, get a sample video or two in .y4m format from media.xiph.org. These videos are relatively large and will take a long time to encode. There are also subsets of 1 second long videos for faster encoding:
We also maintain a set of still-image collections in .y4m format:
- Subset 1 (50 images, small training set)
- Subset 2 (50 images, small testing set)
- Subset 3 (1000 images, large training set)
- Subset 4 (1000 images, large testing set)
Using the encoder
Encode a video:
./examples/encoder_example -v 30 video.y4m -o video.ogv
where
- video.y4m is the input video you want to encode,
- video.ogv is the name of the encoded video file to output,
- -v specifies the quality (currently from 0 to 511, where 0 is lossless)