Ask Your Question

thor88's profile - activity

2016-07-08 16:19:46 -0500 received badge  Student (source)
2013-11-23 11:40:24 -0500 received badge  Editor (source)
2013-11-23 08:38:58 -0500 asked a question imshow stream video

Hi, I have a buffer,which contain a stream video; I want to show it. I use cvDecodeImage but don't work, infact it show only black image and no video. Can anyone help me please? It's very important forme. My code is:

u_int8_t *fReceiverBuffer; CvMat matbox = cvMat(480, 640, CV_8UC3, fReceiveBuffer); IplImage *mat=cvDecodeImage(&matbox,CV_LOAD_IMAGE_COLOR); cvShowImage("VideoClip2",mat); waitKey(30);

2013-11-15 03:10:12 -0500 asked a question Recover RTP Timestamps

Hi, I have a question for you. My friend and I have made a server and a client to send and receive two video streams through RTSP; we have made with OpenCV only the client. On the client we receive the video streams as:

VideoCapture capture; capture.open("rtsp://127.0.1.1:8554/mpegright"); VideoCapture capture1; capture1.open("rtsp://127.0.1.1:8554/mpegleft");

It work well, but we have to synchronize two video streams and we need the timestamps of the RTP packet. How can we get it? I hope that you can help us. Thank you so much.