From b56ea1f3c4e68608415c44922ee0ff6d8dfc2cf9 Mon Sep 17 00:00:00 2001 From: jade Date: Tue, 28 Feb 2023 09:42:10 +0800 Subject: [PATCH] =?UTF-8?q?update=20*=20=E6=B3=A8=E9=87=8A=E6=89=93?= =?UTF-8?q?=E5=BC=80Rtsp=E8=A7=86=E9=A2=91=E6=B5=81=E7=9A=84=E8=BE=93?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 ++- acllite/videocapture.py | 22 +++++++++++----------- setup.py | 2 +- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 07cf9053..16c4e6bc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ -## Acllite v1.0.4 +## Acllite v1.0.5 ### 更新日志 +* 注释打开Rtsp视频流的输出 * 注释Decode channel %d frame %d failed输出 * 注释掉部分输出 * update 新增AclliteImage转cv2 Image diff --git a/acllite/videocapture.py b/acllite/videocapture.py index 8fd89523..1553998f 100644 --- a/acllite/videocapture.py +++ b/acllite/videocapture.py @@ -132,7 +132,7 @@ def _open(self): if self._status == DECODE_STATUS_READY: self._is_opened = True - acl_log.log_info("Ready to decode %s..." % (self._stream_name)) + # acl_log.log_info("Ready to decode %s..." % (self._stream_name)) else: acl_log.log_error("Open %s failed for wait ready timeout" % (self._stream_name)) @@ -161,15 +161,15 @@ def _get_param(self): self._width = video_context.width self._height = video_context.height - acl_log.log_info( - "Get %s infomation: width %d, height %d, profile %d, " - "codec %s, entype %d" % - (self._stream_name, - self._width, - self._height, - profile, - codec_id_name, - self._entype)) + # acl_log.log_info( + # "Get %s infomation: width %d, height %d, profile %d, " + # "codec %s, entype %d" % + # (self._stream_name, + # self._width, + # self._height, + # profile, + # codec_id_name, + # self._entype)) container.close() @@ -223,7 +223,7 @@ def _pyav_vdec(self): frame = 0 video = av.open(self._stream_name) stream = [s for s in video.streams if s.type == 'video'] - acl_log.log_info("Start decode %s frames" % (self._stream_name)) + # acl_log.log_info("Start decode %s frames" % (self._stream_name)) for packet in video.demux([stream[0]]): # Get frame data from packet and copy to dvpp frame_data, data_size = self._prepare_frame_data(packet) diff --git a/setup.py b/setup.py index 92a9014e..a31d1735 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ def find_packages(path,pack_list): find_packages("acllite",pack_list) setup( name="acllite", - version="1.0.4", + version="1.0.5", keywords=("pip", "acllite", ""), description="acllite", long_description=long_description,