Hello everyone !
It is my first post, so let me inquire myself - my name is Grzesiek, and I'm from Poland :)
And I have question, and hope, that you can help me a bit.
I'm working on application for video analysis using OpenCV. I need to capture video from camera via RTSP. I have tested many options, but only VLC seemed to work.
Simple capture = cvCaptureFromFile("rtsp://l:p@ip") didn't (hangs on). After hours of googling and reviewing code I decided to make use of libvlc.
But I couldn't find method that would give me frame data.
I've found this: http://wiki.videolan.org/LibVLC_SampleCode_Qt (I'm codding in C++ and using QT under Linux), but according to this example, there is no method to obtain frame data pointer.
I need frame data (image data) that will be processed for analysis (it can be QImage or OpenCV image type, as only headers are different, data is shared between QT and OpenCV).
I also found libvlc on-line documentation, but after reviewing I wasn't able to find appropriate method/function that will give me pointer to frame data.
Can you, please, help me with this ?
Thanks in advance !
Regards,
Grzesiek