tree: 5ece633494baa6050e4d1f3814b565bbd33a0407 [path history] [tgz]
  1. audio-decoder.any.js
  2. audio-encoder.any.js
  3. audio-frame-serialization.any.js
  4. four-colors.avif
  5. four-colors.gif
  6. four-colors.jpg
  7. four-colors.mp4
  8. four-colors.png
  9. four-colors.webp
  10. h264.mp4
  11. image-decoder-image-orientation-none.html
  12. image-decoder-utils.js
  13. image-decoder.any.js
  14. META.yml
  15. pattern.png
  16. README.md
  17. utils.js
  18. video-decoder.any.js
  19. video-encoder.any.js
  20. video-frame-serialization.any.js
  21. video-frame.any.js
  22. videoFrame-canvasImageSource.html
  23. videoFrame-createImageBitmap.any.js
  24. videoFrame-drawImage.any.js
  25. videoFrame-texImage.any.js
  26. vp9.mp4
  27. webgl-test-utils.js
webcodecs/README.md

WebCodecs Test Files

Instructions

To add, update or remove a test file, please update the list below.

Please provide full reference and steps to generate the test file so that any people can regenerate or update the file in the future.

List of Test Files

four-colors.png

Generated using MSPaint like a true professional.

four-colors.avif

Lossless encoding must be used to ensure colors are perfect.

avifenc -l four-colors.png -o four-colors.avif

four-colors.webp

Lossless encoding must be used to ensure colors are perfect.

ffmpeg -i four-colors.png -lossless 1 -y four-colors.webp

four-colors.gif

High quality encoding must be used to ensure colors are perfect.

cp four-colors.png four-colors2.png
gifski -o four-colors.gif four-colors*.png

four-colors.jpg

Used Sqoosh.app with MozJPEG compression then used exiftool to add an orientation marker.

exiftool -Orientation=1 -n four-colors.jpg

four-colors.mp4

Used a custom tool to convert four-colors.avif into a .mp4 file.