how to encode video using intel vaapi

  1. open up your terminal
  2. wget http://repository.mein-neues-blog.de:9000/PublicKey
  3. sudo apt-key add PublicKey && rm -rf PublicKey
  4. echo "deb http://repository.mein-neues-blog.de:9000/ /" | sudo tee -a /etc/apt/sources.list
  5. sudo aptitude update
  6. sudo aptitude install tragtor
  7. open tragtor
  8. choose your input file or files
  9. click on format
  10. under video settings click force codec
  11. choose your vaapi enabled codec (depending on hardware not all options may be usable), h264_vaapi is a good all rounder, and the one that was tested for this guide
  12. in additional options under render settings type in -vaapi_device /dev/dri/renderD128 -vf "format=nv12,hwupload"
  13. you're now ready to click proceed
  14. change the options as required and click show me the light!
  15. click apply, the quoted duration is incorrect, it will probably be much quicker

[source][source]