How to programmingly stream webcam and access live video via browser

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to programmingly stream webcam and access live video via browser

Yixun Liu
Hi All,
I am new to ffmpeg and need your help to finish my project.
My project is to stream a webcam to a server and then restream the video
in order to allow many people access the live stream via browser.

I do not want to stream the original video, but the video modified by
OpenCV such as adding a contour on the original frame. So I want to know
how to programmingly encode the modified video and send it.

Thank you so much!

Yixun
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to programmingly stream webcam and access live video via browser

Michael Shaffer
I just had this article emailed to me today. It might help with your
project.
https://www.pyimagesearch.com/2019/04/15/live-video-streaming-over-network-with-opencv-and-imagezmq/

I've been wanting to do the same thing as you.. use OpenCV to modify a
camera feed and then restream it to youtube. However OpenCV doesn't have an
RTSP output method. Maybe the imagezmg library in that article will help. I
haven't had time to read it all yet.

On Mon, Apr 15, 2019 at 7:43 AM Yixun Liu <[hidden email]> wrote:

> Hi All,
> I am new to ffmpeg and need your help to finish my project.
> My project is to stream a webcam to a server and then restream the video
> in order to allow many people access the live stream via browser.
>
> I do not want to stream the original video, but the video modified by
> OpenCV such as adding a contour on the original frame. So I want to know
> how to programmingly encode the modified video and send it.
>
> Thank you so much!
>
> Yixun
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to programmingly stream webcam and access live video via browser

Yixun Liu
Thank you so much, Michael.
I went through this article and find it is very straightforward to use
imagezmq on a server to collect multiple streams from different clients.
However, in my project, I want to stream a video (modified by OpenCV or
other image processing lib) to a server, which can be accessed by web page.
Any suggestions?

Thank a lot.


On Mon, Apr 15, 2019 at 11:56 PM Michael Shaffer <[hidden email]>
wrote:

> I just had this article emailed to me today. It might help with your
> project.
>
> https://www.pyimagesearch.com/2019/04/15/live-video-streaming-over-network-with-opencv-and-imagezmq/
>
> I've been wanting to do the same thing as you.. use OpenCV to modify a
> camera feed and then restream it to youtube. However OpenCV doesn't have an
> RTSP output method. Maybe the imagezmg library in that article will help. I
> haven't had time to read it all yet.
>
> On Mon, Apr 15, 2019 at 7:43 AM Yixun Liu <[hidden email]> wrote:
>
> > Hi All,
> > I am new to ffmpeg and need your help to finish my project.
> > My project is to stream a webcam to a server and then restream the video
> > in order to allow many people access the live stream via browser.
> >
> > I do not want to stream the original video, but the video modified by
> > OpenCV such as adding a contour on the original frame. So I want to know
> > how to programmingly encode the modified video and send it.
> >
> > Thank you so much!
> >
> > Yixun
> > _______________________________________________
> > ffmpeg-user mailing list
> > [hidden email]
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > [hidden email] with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".