Closed DenverGylee closed 3 weeks ago
.webm is the correct container format for the Linux editor, but are you using the correct codec? Needs to be VP8 iirc.
See: https://docs.unity3d.com/Manual/VideoSources-FileCompatibility.html
Hi @mfbrantner, yes I'm using VP8 for video and Vorbis for audio. Converted the files using the following ffmpeg command: ffmpeg -i file.mp4 -c:v libvpx -b:v 1M -c:a libvorbis file.webm
ffmpeg docs state libvpx is the encoder for VP8 (https://trac.ffmpeg.org/wiki/Encode/VP8)
The webm files do work if I create a build locally on my Windows machine. They only seem to fail in the container (note I haven't tested yet on a Linux machine)
I was able to resolve the issue. I had Transcode enabled on the VideoClip asset which seems to have been the problem. Disabling and leaving the asset as webm with VP8 video encoding and Vorbis audio encoding fixed it. The issue is nrelated to the game-ci image.
Is or is not related to the game-ci image?
Would be great if we could prevent others from having the same problem. Do you think it would be helpful to have this mentioned in the docs?
Bug description I switched my video files all to webm so that they can be compiled and distributed using the unity-builder image, what I assume is on top of a Linux distro. It appears these are not working, though. You can see below when my Addressables attempt to build, they fail on all webm files. When I run the build locally, they build the Addressables as expected.
Example log of error is provided in "Additional details"
How to reproduce
game-ci/unity-builder@v4
Expected behavior
This error log would not show up and the Addressable asset would be created for webm files.
Additional details