Open AndriyAstakhov opened 7 years ago
Hmm, we haven't finished webM integration fully. Just managed to get a "barely working" solution and then had to stop because of other project deadlines.
WebM should work only for Win32 right now.
@kspes Since library version has been changed to 2.0 I've think that WebM is now fully integrated. Thanks for the info about current status, so we'll be with Theora for now. Nevertheless, when you'll return to WebM integration you know at least one issue :) @borisblizzard Yes, I've made builds for Win32 only.
Sample files: https://www.dropbox.com/sh/kvzxjsysyt98k0w/AADhYVREED6sm-62IGsqnYtta?dl=0 I've encode water.mov into WebM format with FFmpeg using this command line
ffmpeg -y -i water.mov -c:v libvpx-vp9 -b:v 0 -crf 10 -an water_gbrp.webm
This results with file that can be played by the library but all colors are corrupt. Using next command for encoding:ffmpeg -y -i water.mov -c:v libvpx-vp9 -b:v 0 -crf 10 -pix_fmt yuv420p -an water_yuv420p.webm
produces file that plays correctly by the library.MPC-HC (from https://www.codecguide.com/download_kl.htm) plays both files correctly and show next differences in file info: water_yuv420p.webm - vp9 profile 0, yuv420p water_gbrp.webm - vp9 profile 1, gbrp
Please note that I've tried Libvpx from Libtheoraplayer distribution and also build latest Libvpx from https://github.com/webmproject/libvpx/ separately. Since result is the same I think the problem somewhere in the Libtheoraplayer.