<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin:0;"><span style="background-color: rgb(255, 255, 255); font-family: Arial; font-size: 16px;">Hello! <span class="VIiyi" jsaction="mouseup:BR6jm" jsname="jqKxS" lang="en" style="font-family: Arial; background-color: rgb(255, 255, 255); -webkit-tap-highlight-color: transparent; display: inline; white-space: pre-wrap;"><span jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb" jsname="txFAF" class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="zh-CN" data-phrase-index="0" jscontroller="Zl5N8" jsdata="uqLsIf;_;$1845" jsmodel="SsMkhd" style="font-family: Arial; cursor: pointer; background-color: rgb(255, 255, 255); -webkit-tap-highlight-color: transparent;">I encountered a problem when using a python program to get the rtsp video stream I built by myself.</span> <span jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb" jsname="txFAF" class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="zh-CN" data-phrase-index="1" jscontroller="Zl5N8" jsdata="uqLsIf;_;$1846" jsmodel="SsMkhd" style="font-family: Arial; cursor: pointer; background-color: rgb(255, 255, 255); -webkit-tap-highlight-color: transparent;">I successfully built the live555 media server on the Linux server and put the stream file in the /mediaServer/ directory.</span> <span jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb" jsname="txFAF" class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="zh-CN" data-phrase-index="2" jscontroller="Zl5N8" jsdata="uqLsIf;_;$1847" jsmodel="SsMkhd" style="font-family: Arial; cursor: pointer; background-color: rgb(255, 255, 255); -webkit-tap-highlight-color: transparent;">I want to use cap = cv2.VideoCapture("rtsp://IP:8554/data.264") to get a real-time rtsp stream in a python program, but it fails.</span> <span jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb" jsname="txFAF" class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="zh-CN" data-phrase-index="3" jscontroller="Zl5N8" jsdata="uqLsIf;_;$1848" jsmodel="SsMkhd" style="font-family: Arial; cursor: pointer; background-color: rgb(255, 255, 255); -webkit-tap-highlight-color: transparent;">Is there any way to get the rtsp video stream using python?</span></span></span></div><div style="margin:0;"><span style="background-color: rgb(255, 255, 255); font-family: Arial; font-size: 16px;"><span class="VIiyi" jsaction="mouseup:BR6jm" jsname="jqKxS" lang="en" style="font-family: Arial; background-color: rgb(255, 255, 255); -webkit-tap-highlight-color: transparent; display: inline; white-space: pre-wrap;"><span jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb" jsname="txFAF" class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="zh-CN" data-phrase-index="3" jscontroller="Zl5N8" jsdata="uqLsIf;_;$1848" jsmodel="SsMkhd" style="font-family: Arial; cursor: pointer; background-color: rgb(255, 255, 255); -webkit-tap-highlight-color: transparent;">Thanks.</span></span></span></div></div><br><br><span title="neteasefooter"><p> </p></span>