# Download Video using streamlit and video is generated by opencv

**URL:** <https://discuss.streamlit.io/t/download-video-using-streamlit-and-video-is-generated-by-opencv/22296>\
**Category:** Using Streamlit\
**Tags:** opencv\
**Created:** [February 18, 2022, 5:15pm UTC](https://discuss.streamlit.io/t/download-video-using-streamlit-and-video-is-generated-by-opencv/22296 "2022-02-18T17:15:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jitesh\_Kumar](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/jitesh_kumar/32/13654_2.png) [@Jitesh\_Kumar](https://discuss.streamlit.io/u/Jitesh_Kumar)\
**Post date:** [February 18, 2022, 5:15pm UTC](https://discuss.streamlit.io/t/download-video-using-streamlit-and-video-is-generated-by-opencv/22296/1 "2022-02-18T17:15:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [February 22, 2022, 4:13pm UTC](https://discuss.streamlit.io/t/download-video-using-streamlit-and-video-is-generated-by-opencv/22296/2 "2022-02-22T16:13:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Raditya\_Saputra](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/raditya_saputra/32/13812_2.png) [@Raditya\_Saputra](https://discuss.streamlit.io/u/Raditya_Saputra)\
**Post date:** [March 5, 2022, 6:16pm UTC](https://discuss.streamlit.io/t/download-video-using-streamlit-and-video-is-generated-by-opencv/22296/3 "2022-03-05T18:16:19Z")

</div>

Me too

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [March 5, 2023, 6:16pm UTC](https://discuss.streamlit.io/t/download-video-using-streamlit-and-video-is-generated-by-opencv/22296/4 "2023-03-05T18:16:53Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
