Template:Encoding with Daala: Difference between revisions

From XiphWiki
Jump to navigation Jump to search
No edit summary
(→‎Test Media: added video-hd-1 and ntt-short to test media collections)
Line 5: Line 5:
These videos are relatively large and will take a long time to encode.
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: [https://people.xiph.org/~tdaede/video-1-short/ video-1-short]
There are subsets of 1-second-long videos for faster encoding:
* [https://people.xiph.org/~tdaede/video-1-short/ video-1-short]
* [https://people.xiph.org/~tdaede/video-hd-1/ video-hd-1]
* [https://people.xiph.org/~tdaede/ntt-short-1/ ntt-short-1]


Xiph also maintains a set of still-image collections in .y4m format:
Xiph also maintains a set of still-image collections in .y4m format:

Revision as of 06:51, 17 April 2015

Encoding a Video

Test Media

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 subsets of 1-second-long videos for faster encoding:

Xiph also maintains 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 the video:

   ./examples/encoder_example -v 30 video.y4m -o video.ogv

where

  • -v ??? specifies the amount of compression (currently from 0 to 511, where 0 is lossless, 511 is very lossy)
  • video.y4m is the input video you want to encode
  • -o video.ogv is the name of the encoded video file to output.

Use encoder_example.exe -h for the in-built help.