Ask Your Question

harry's profile - activity

2015-01-05 05:47:24 -0600 answered a question OPENCV2.4.9 with IP cam have h246 error

I have the same problem using OpenCV 3.0.0 ( build from GIT ) and

--   Media I/O: 

--     ZLib:                        /usr/lib64/libz.so (ver 1.2.8)
--     JPEG:                        /usr/lib64/libjpeg.so (ver )
--     WEBP:                        build (ver 0.3.1)
--     PNG:                         /usr/lib64/libpng.so (ver 1.6.13)
--     TIFF:                        build (ver 42 - 4.0.2)
--     JPEG 2000:                   /usr/lib64/libjasper.so (ver 1.900.1)
--     OpenEXR:                     build (ver 1.7.1)
--     GDAL:                        NO
-- 
--   Video I/O:
--     DC1394 1.x:                  NO
--     DC1394 2.x:                  YES (ver 2.2.2)
--     FFMPEG:                      YES
--       codec:                     YES (ver 55.69.100)
--       format:                    YES (ver 55.48.100)
--       util:                      YES (ver 52.92.100)
--       swscale:                   YES (ver 2.6.100)
--       gentoo-style:              YES
--     GStreamer:                   
--       base:                      YES (ver 1.4.3)
--       video:                     YES (ver 1.4.3)
--       app:                       YES (ver 1.4.3)
--       riff:                      YES (ver 1.4.3)
--       pbutils:                   YES (ver 1.4.3)

By trying to show the stream with ffplay I have no troubles:

ffplay rtsp://10.0.1.107:554/ipcam_h264.sdp
ffplay version 2.3.5 Copyright (c) 2003-2014 the FFmpeg developers
  built on Jan  2 2015 09:03:59 with gcc 4.8 (SUSE Linux)
  configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --disable-static --enable-debug --disable-stripping --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fPIC -I/usr/include/gsm' --enable-gpl --enable-x11grab --enable-version3 --enable-pthreads --enable-avfilter --enable-libpulse --enable-libvpx --enable-libopus --enable-libass --enable-libx265 --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libxvid --enable-libx264 --enable-libschroedinger --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-postproc --enable-libdc1394 --enable-librtmp --enable-libfreetype --enable-avresample --enable-libtwolame --enable-libvo-aacenc --enable-gnutls
  libavutil      52. 92.100 / 52. 92.100
  libavcodec     55. 69.100 / 55. 69.100
  libavformat    55. 48.100 / 55. 48.100
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.100 /  4. 11.100
  libavresample   1.  3.  0 /  1.  3.  0
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, rtsp, from 'rtsp://10.0.1.107:554/ipcam_h264.sdp':f=0/0   
  Metadata:
    title           : IPCam
  Duration: N/A, start: 0.041667, bitrate: N/A
    Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 1280x720, 24 fps, 24 tbr, 90k tbn, 180k tbc

Your post is from Aug.14 do you allready have a solution for it?