-
Type:
Task
-
Resolution: Not A Defect
-
Priority:
Minor
-
Component/s: python-plugin
-
None
-
Environment:Jenkins 2.222.4, Python 3.5
Hi, I have been using jenkins for running some of the python scripts for capturing video stream using opencv in order to schedule the automation for some interval, I generated RTP stream on another system and receiving that using ethernet cable on the system where jenkins has been installed, I have already installed all the plugins required for jenkins,
Â
I am reading rtp stream using opencv in my script by giving path as below, I used opencv with ffmpeg to read it.
path = "rtp://192.168.1.9:5004"
cap =cv2.VideoCapture(path1,cv2.CAP_FFMPEG)
Jenkins is not able to read it while when I run the script locally on python idle, it works fine.
Â
However jenkins is able to read the local video by giving its path using the same opencv function which was used on local python idle.
Â
Please help me the way to read the rtp stream using jenkins
Â
Thanks