I am currently trying to show a video which is generated by openCV’s VideoWriter and codec mp4v.
The video is indeed there and playable locally, but st.video() won’t show it.
I tried with st.video() argument being either:
Local path to video
IOBytes format
np.array
None of this was successful, do you have any idea why ?
OpenCV’s mp4v codec is just not supported by HTML5 Video Player at the moment, one just need to use another encoding option (most likely x264 for mp4 videos).