Simple Daala Encoder

Created this simple encoder script while trying out daala

Features:

  • Select file
  • Number of frames to skip
  • Number of frames to encode
  • Uncompressed y4m output file
  • Lossless png file from daala encode (uses y4m file from dump_video)
  • Lossless png file from source
  • Linux Bash Version
  • and by unpopular demand a Batch Version for Windows

Requirments

  • encoder expects y4m, so you need to ffmpeg -pix_fmt yuv420p -i any-source-video.webm output.y4m
  • ffmpeg needed for png frame extracting

Install Linux

cd daala/examples/

wget https://raw.githubusercontent.com/nwgat/scripts/master/nwgatdaalaenc.sh

chmod +x nwgatdaalaenc.sh

./nwgatdaalaenc.sh

Install windows

Download https://raw.githubusercontent.com/nwgat/scripts/master/nwgatdaalaenc-win.bat

copy to daala folder

Run it

notes:

  • Need to figure out why echo says its off on windows
  • Inputing nothing into frames/encodeframes on windows fails, need to figure that out
  • Perhaps more options to say yes or no, but this works for me