我是 python 编码的新手,我正在尝试omxplayer
在openCV
.
omxplayer
包装器在 CV 之外工作正常。
示例代码:
from omxplayer import OMXPlayer
from time import sleep
file_path_or_url='rtsp://..' IPCamera path
player=OMXPlayer(file_path_or_url)
player.play()
sleep(5)
player.pause()
player.quit()
环境细节: