Ask Your Question

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;"rtp://; //works nice

but"udp://; //does not work

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

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

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


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


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

Seen: 3,148 times

Last updated: Jul 08 '14