> > HI Denis, > > > > Thanks for your reply! > > Firstly, I will use ffmpeg to capture live video, then http stream the > > live video in the format of mjpeg. > > How can I do? Does ffmpeg has some APIs to do it? > > > I think yes but I use OpenCv for capture from camera. For send across the > network I use ffmpeg to produce h264 or mpg stream. For mjpg I only send > directly a stream of jpg images. > I think you must extract the avframe or avimage from the stream, convert it > in jpg and then send. > Hi Denis, Could you please give some code example? I also use OPenCV to capture video. I save the jpg image in the memory. But I don't know how to stream with HTTP. How can you send a stream of jpg images? When you use ffmpeg to produce H264 from OpenCv videoCapture and stream it, how long is the latency?
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
