Hi all I'm tryng to retrieve a MxPEG stream from a mobotix camera. I'm using ffmpeg 2.0.2.
If i try: ./ffmpeg -f mxg -i "http://192.168.0.78/control/faststream.jpg?stream=MxPEG" -y pipas.avi i have no problem. If i write my own sample code AVFormatContext formatContext; avformat_open_input( &formatContext, "http://192.168.0.78/control/faststream.jpg?stream=MxPEG&fps=6", NULL, NULL ) !=0 ) always return 0 without message. How can I force the value of format to "mxg"? I try: AVFormatContext *formatContext = avformat_alloc_context(); formatContext->video_codec_id = AV_CODEC_ID_MXPEG; but it doesn't work Thanks in advance
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
