Ask Your Question
1

How to play UDP multicast transport stream (not RTP!)

asked 2014-07-07 09:39:17 -0600

shlem gravatar image

Hi. How to play a live network transport stream by opencv in Windows7?

VideoCapture cap;

cap.open("rtp://234.1.2.3:1234); //works nice

but

cap.open("udp://234.1.2.3:1234); //does not work

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-07-08 11:25:02 -0600

abelis gravatar image

I've gotten UDP to work before for me(openCV 2.4.9). check your quotes there, looks like you are missing one. Then make sure that you are not opening the stream up elsewhere (like vlc on the side).

edit flag offensive delete link more
0

answered 2014-07-08 04:41:06 -0600

There is nu UDP support inside OpenCV, but there do exist interesting additional libraries like this one that could easily solve your problem and can operate besides OpenCV.

edit flag offensive delete link more

Comments

This is nice, but my TS contains not jpeg frames, but H264 video

shlem gravatar imageshlem ( 2014-07-08 07:28:27 -0600 )edit

Hmm no way of converting to frames first?

StevenPuttemans gravatar imageStevenPuttemans ( 2014-07-08 08:27:17 -0600 )edit

Question Tools

Stats

Asked: 2014-07-07 09:39:17 -0600

Seen: 3,261 times

Last updated: Jul 08 '14