Download Video using streamlit and video is generated by opencv

I am having trouble making a download button for video.
And since the video is generated by opencv , its not being displayed.
My video relative path to my python file is vid/output.mp4

1 Like

Hi @Jitesh_Kumar, welcome to the Streamlit community!

Can you post the full code snippet you tried that doesn’t work? Also, where does it not work, locally or Streamlit Cloud?

Best,
Randy

Me too