Answers for "video media encoder addframe texture format 5 expected to be 4"http://answers.unity.com/questions/1547556/video-media-encoder-addframe-texture-format-5-expe.html
The latest answers for the question "video media encoder addframe texture format 5 expected to be 4"Answer by KartikNKhttp://answers.unity.com/answers/1581357/view.html
@thecoon14 , I was also facing that issue, [this][1] post helped me...
AFAIK that error occurs when we pass a texture with unsupported format to **AddFrame** method.
So, creating a new texture with RGB24 format and setting pixels of **loadedTex** to it, worked for me. At last I've passed this newly created texture to **AddFrame** method.
[This][1] post neatly explains how to change Texture2D format.
[1]: https://stackoverflow.com/questions/50020051/change-texture2d-format-in-unitySat, 15 Dec 2018 16:51:37 GMTKartikNK