Ask Your Question

Diep's profile - activity

2019-04-15 02:06:03 -0600 received badge  Notable Question (source)
2017-01-03 09:17:06 -0600 received badge  Notable Question (source)
2015-06-18 07:10:53 -0600 received badge  Popular Question (source)
2014-10-24 15:43:19 -0600 received badge  Popular Question (source)
2013-04-18 02:54:00 -0600 commented answer How to build OpenCV-2.4.4 with ffmpeg by Microsoft Visual Studio 2010

Hi Steven First I built FFmpeg on this link ( http://ffmpeg.mplayerhq.hu/download.html ) version 1.2 . Then I compile OpenCV-2.4.5 by Cmake-GUI. And I configure it same like that:

Video I/O:
    Video for Windows:           YES
    ***FFMPEG:                      YES (prebuilt binaries)***
      codec:                     YES (ver 53.61.100)
      format:                    YES (ver 53.32.100)
      util:                      YES (ver 51.35.100)
      swscale:                   YES (ver 2.1.100)
      gentoo-style:              YES
    OpenNI:                      YES (ver 1.5.4, build 0)

But I don't know link FFMPEG which I have built it.Can you help me or give me some suggestions? Thanks!

2013-04-16 01:59:25 -0600 commented answer How to build OpenCV-2.4.4 with ffmpeg by Microsoft Visual Studio 2010

Hi Steven ! On Ubuntu 11.10, I built OpenCV-2.4.4 successfully by Cmake-GUI ( I did it follow this link http://karytech.blogspot.com/2012/05/opencv-24-on-ubuntu-1204.html ). When I ran my project on Qt Creator, I had been got my stream. Now I built OpenCV on Windows 7 and VS2010, I think I build successfullly but it doesn't get my stream with some errors "Could not find codec parameters ( ../../modules/highgui/src/cap_ffmpeg_impl.hpp:540". Do I have to build FFMEPG for windows first? Thank for reading !

2013-04-15 04:01:36 -0600 commented answer How to get MJPG stream video from android IPWebcam using opencv

Hi Alexander ! I have downloaded FFMPEG on http://ffmpeg.zeranoe.com/builds/ (Previous FFmpeg 32-bit Shared Versions). Open it I see 4 folders with some .DLL . Now I want to use some .DLL in VS2010. I have just added PATH C:/Direct/to/Folder/FFMEGP/bin and built my project but have the same error ( Could not find codec parameters ( ../../modules/highgui/src/cap_ffmpeg_impl.hpp:540) ) Do I need to rebuild Opencv-2.4.5 by Cmake-GUI and VS2010 and add FFMPEG ? Can you give me some suggests? Thank you so much !

2013-04-11 23:33:38 -0600 commented answer How to get MJPG stream video from android IPWebcam using opencv

Hi Alexander ! Thank you for help! I build OpenCV-2.4.4 on Ubuntu 11.10 and programming on Qt.I have got my stream from IP webcam Now I build OpenCV-2.4.5 on Windows 7 and programming on VS2010 but I don't get my stream video from IP webcam. Can you help me or give me some suggests?

2013-04-11 23:22:03 -0600 commented answer How use Opencv process signal input is Stream video on C#

I have just build Opencv-2.4.5 on Windows 7 but it doesn't support the stream from IP Webcam. Can you help me build full function of Opencv245?

2013-04-10 21:00:53 -0600 commented answer How to build OpenCV-2.4.4 with ffmpeg by Microsoft Visual Studio 2010

No no ! I have a stream video by my phone. On Laptop I install Opencv to get this stream ! On Ubuntu 11.10 I have got this stream Now I want to get stream on Windows 7 64bit? And I have some problems with build OpenCV-2.4.4

2013-04-10 03:16:36 -0600 commented answer How to build OpenCV-2.4.4 with ffmpeg by Microsoft Visual Studio 2010

My Android phone installed IP webcam apps. So I run it and have a stream [IP]:8080/videofeed I build Opencv244 on Ubuntu and get this stream very good. Now I want to programming on VS2010 ( Windows 7 64 bit). I have already builded Opencv244 ( http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html ) but dont get my stream ?

2013-04-08 22:29:14 -0600 asked a question How to build OpenCV-2.4.4 with ffmpeg by Microsoft Visual Studio 2010

Hi all ! I want to get stream video by OpenCV. I have a link stream ( [IP]:[Port]/videofeed ). I have builded OpenCV-2.4.4 on Ubuntu and get above link stream very good. Now, I want to build OpenCV-2.4.4 on Windows but some problems.After Building the end I run my project but it don't support my stream.

2013-03-11 23:37:52 -0600 commented answer How to get MJPG stream video from android IPWebcam using opencv

Thank Alex.I have builded OpenCV-2.4.4 successfully on Ubuntu 11.10.And It's working with my stream URL://IP:8080/videofeed.It's great ^^.Thank you so much !

2013-03-11 21:36:28 -0600 commented answer How to get MJPG stream video from android IPWebcam using opencv

My stream ( URL:[IP]:8080/videofeed ) is working with VLC, Firefox,IE,Chrome but use Opencv is not working :( .Now,I'm building Opencv-2.4.4.I hope it's working :|

2013-03-10 22:33:26 -0600 received badge  Editor (source)
2013-03-10 22:30:57 -0600 asked a question How to get MJPG stream video from android IPWebcam using opencv

I have an Android phone.I want to stream video from it by IPwebcam.It's an app for Android to stream video. I have just downloaded Opencv-2.3.1 and edit it. In the file OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp In the function bool CvCapture_FFMPEG::open( const char* _filename )

+replace:

int err = av_open_input_file(&ic, _filename, NULL, 0, NULL);

+by

AVInputFormat* iformat = av_find_input_format("mjpeg");
int err = av_open_input_file(&ic, _filename, iformat, 0, NULL);
ic->iformat = iformat;

+and comment:

err = av_seek_frame(ic, video_stream, 10, 0);
if (err < 0)
{
    filename=(char*)malloc(strlen(_filename)+1);
    strcpy(filename, _filename);
    // reopen videofile to 'seek' back to first frame
    reopen();
}
else
{
    // seek seems to work, so we don't need the filename,
    // but we still need to seek back to filestart
    filename=NULL;
    int64_t ts    = video_st->first_dts;
    int     flags = AVSEEK_FLAG_FRAME | AVSEEK_FLAG_BACKWARD;
    av_seek_frame(ic, video_stream, ts, flags);
}

But when I make it with follow some errors:

[ 30%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.o
In file included from /root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg.cpp:45:0:
/root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::reopen()’:
/root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:486:5: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1050) [-Wdeprecated-declarations]
/root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:486:52: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1050) [-Wdeprecated-declarations]
/root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:494:5: warning: ‘int avcodec_thread_init(AVCodecContext*, int)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3612) [-Wdeprecated-declarations]
/root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:494:50: warning: ‘int avcodec_thread_init(AVCodecContext*, int)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3612) [-Wdeprecated-declarations]
/root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:497:5: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3650) [-Wdeprecated-declarations]
/root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:497:28: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3650) [-Wdeprecated-declarations]
/root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::open(const char*)’:
/root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:525:15: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1050) [-Wdeprecated-declarations]
/root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:525:66: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1050) [-Wdeprecated-declarations]
/root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:543:9: warning: ‘int avcodec_thread_init(AVCodecContext*, int)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3612) [-Wdeprecated-declarations]
/root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:543:54: warning: ‘int avcodec_thread_init(AVCodecContext*, int)’ is ...
(more)
2013-03-10 20:51:37 -0600 commented answer How use Opencv process signal input is Stream video on C#

Thank for reply! When I builded Opencv with ffmpeg,I got stream video ex:VideoCapture cap("http://ceac9.ua-camp-farms.arizona.edu/mjpg/video.mjpg"); I use an app for Android to stream video is IP webcam.And I have link to stream is URL://IP:Port/videofeed but I don't get this stream video.Can you tell me edit ffmjpg to support it?

2013-03-04 01:06:53 -0600 answered a question How do I access an IP Camera?

How to build OpenCV-2.4.3 with ffmpeg? I can't do it!

2013-02-27 19:43:02 -0600 asked a question How use Opencv process signal input is Stream video on C#

I have a project about image processing.I need to process signal is stream video from server.I use opencv-2.4.3 and C#.

Now,I want to ask OpenCV.Org.Is opencv-2.4.3 support input signal is stream video ( not from camera or webcam connect computer) Thanks!