相关疑难解决方法(0)

OpenCV与网络摄像头

我在Windows下使用openCV 1.1pre1.我有一个网络摄像头,我需要从openCV抓取帧.该摄像机可以通过RTSP或mjpeg通过http传输标准mpeg4流.我已经看到很多线程都在谈论将ffmpeg与openCV一起使用,但我无法使其工作.

如何使用openCV从IP摄像头抓取帧?

谢谢

安德里亚

c++ windows networking opencv ffmpeg

23
推荐指数
4
解决办法
10万
查看次数

FFMPEG - 找不到编解码器参数

我试图通过FFMPEG将一系列图像转换为mpeg电影,虽然我不断收到错误,说它无法找到代码参数(视频:mjpeg).谷歌搜索没有带来太多有用的东西.

ffmpeg -f image2 -i /tmp/img%03d.jpg video.mpgFFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. …

ffmpeg image

12
推荐指数
2
解决办法
5万
查看次数

标签 统计

ffmpeg ×2

c++ ×1

image ×1

networking ×1

opencv ×1

windows ×1