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,