我是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()
环境详情: