技术领域technical field
本发明涉及图像处理技术领域,尤其涉及一种视频直播图像处理方法。The present invention relates to the technical field of image processing, in particular to a video live image processing method.
背景技术Background technique
视频直播是指利用互联网及流媒体技术进行直播,视频因融合了图像、文字、声音等丰富元素,声形并茂,效果极佳,逐渐成为互联网的主流表达方式。视频通过真实、生动的传播,营造出强烈的现场感,吸引眼球,达成印象深刻、记忆持久的传播效果,能够真实、直观、全面的宣传、展示自己。视频直播吸取和延续了互联网的优势,利用视讯方式进行网上现场直播,可以将产品展示、相关会议、背景介绍、方案测评、网上调查、对话访谈、在线培训等内容现场发布到互联网上,利用互联网的直观、快速,表现形式好、内容丰富、交互性强、地域不受限制、受众可划分等特点,加强活动现场的推广效果。随着互联网经济的飞速发展,视频直播越来越多的应用到人们的工作生活当中,但视频直播对网络带宽及稳定性要求较高,在现有的技术中,人们在手机或电脑上观看视频直播值总会遇到因网络信号不稳定而导致视频播放过程中,频繁出现缓冲,或缓冲时间过长,甚至缓冲失败直接导致网页不显示,造成观看者的时间浪费,有时还会出现由于图像处理不够,导致的图像画质不佳,最终导致观看用户的观看效果不佳。基于上述问题,本发明提出了一种视频直播图像处理方法。Live video broadcasting refers to the use of the Internet and streaming media technology for live broadcasting. Video has gradually become the mainstream expression method of the Internet because it combines rich elements such as images, texts, and sounds. Through true and vivid dissemination, the video creates a strong sense of presence, attracts attention, and achieves a dissemination effect that is impressive and long-lasting. It can truly, intuitively and comprehensively publicize and show itself. The live video broadcast absorbs and continues the advantages of the Internet. It uses video to broadcast live online, and can post product demonstrations, related meetings, background introductions, program evaluations, online surveys, dialogues and interviews, online training, etc. on the Internet. Intuitive, fast, good form of expression, rich in content, strong in interactivity, unrestricted in geography, and audience can be divided, etc., to strengthen the promotion effect of the event site. With the rapid development of the Internet economy, more and more live video broadcasts are applied to people's work and life, but live video broadcasts have high requirements for network bandwidth and stability. In the existing technology, people watch on mobile phones or computers. The live video value always encounters frequent buffering during video playback due to unstable network signals, or the buffering time is too long, or even the buffering failure directly causes the web page not to be displayed, resulting in waste of time for the viewers, and sometimes due to Insufficient image processing leads to poor image quality, which eventually leads to poor viewing effects for viewing users. Based on the above problems, the present invention proposes a live video image processing method.
发明内容Contents of the invention
本发明的目的是为了解决现有技术中存在的缺点,而提出的一种视频直播图像处理方法。The object of the present invention is to propose a live video image processing method in order to solve the shortcomings in the prior art.
一种视频直播图像处理方法,包括以下步骤:A video live image processing method, comprising the following steps:
S1、检索需要处理的直播视频,通过视频输入模块输入检索到的直播视频,利用信息采集模块获取视频直播信息;S1. Retrieve the live video that needs to be processed, input the retrieved live video through the video input module, and use the information collection module to obtain live video information;
S2、对步骤S1中获取的视频直播信息进行检测分析处理,依据视频直播信息的检测分析结果,利用图像信号预处理器获取视频直播图像;S2. Perform detection, analysis, and processing on the live video information obtained in step S1, and use the image signal preprocessor to obtain live video images according to the detection and analysis results of the live video information;
S3、对步骤S2中获取的视频直播图像进行处理操作,然后将处理过的视频直播图像进行保存;S3. Perform a processing operation on the live video image acquired in step S2, and then save the processed live video image;
S4、利用网络状态检测模块,实时获取直播用户的终端网络状态,根据直播用户的终端网络状态,自动选择直播信号直接在客户端进行视频直播或视频输出模块向客户端输出进行视频直播。S4. Utilize the network status detection module to obtain the terminal network status of the live broadcast user in real time, and automatically select the live broadcast signal to directly perform video live broadcast on the client terminal or output the video output module to the client terminal for live video broadcast according to the terminal network status of the live broadcast user.
优选的,所述步骤S1中的视频直播信息包括视频流和视频帧。Preferably, the live video information in step S1 includes video streams and video frames.
优选的,所述步骤S2中的对视频直播信息进行检测分析处理具体包括将视频流转换为音效数据和视频数据,对视频帧中的像素进行加权处理。Preferably, the detection and analysis processing of the live video information in the step S2 specifically includes converting the video stream into audio data and video data, and performing weighting processing on the pixels in the video frame.
优选的,所述步骤S3中的视频直播图像的处理操作包括图像增强、色彩变换和图像去噪。Preferably, the processing operations of the live video image in step S3 include image enhancement, color transformation and image denoising.
优选的,所述图像增强的具体操作指调整对比度,进行光照补偿,对图像的轮廓及亮度进行强调或尖锐化,提升视频图像的质量。Preferably, the specific operation of the image enhancement refers to adjusting the contrast, performing light compensation, emphasizing or sharpening the outline and brightness of the image, and improving the quality of the video image.
优选的,所述步骤S3中直播图像的保存方式为:将处理后的直播图像转换为音频数据和视频数据进行保存。Preferably, the way of saving the live image in step S3 is: converting the processed live image into audio data and video data for storage.
优选的,所述步骤S4中的根据直播用户的终端网络状态进行直播的具体操作为:当直播用户的终端网络状态不佳,通过视频输出模块向客户端输出步骤S3中保存的视频直播图像;当直播用户的终端网络状态良好,则通过直播信号直接向客户端输出步骤S3中进行处理操作后的视频直播图像。Preferably, the specific operation of performing live broadcast according to the terminal network status of the live broadcast user in the step S4 is: when the terminal network status of the live broadcast user is not good, output the live video image saved in step S3 to the client through the video output module; When the terminal network status of the live broadcast user is good, the live video image after the processing operation in step S3 is directly output to the client through the live broadcast signal.
本发明提出的一种视频直播图像处理方法,通过对获取的视频直播中的视频流和视频帧进行检测分析,依据检测分析的结果,利用图像信号预处理器获取视频直播图像,对视频直播图像进行处理操作,并将处理操作后的视频直播图像进行保存,利用网络状态检测模块,实时获取直播用户的终端网络状态,根据直播用户的终端网络状态,自动自动选择直播信号直接在客户端进行视频直播或视频输出模块向客户端输出进行视频直播,本发明提出的一种视频直播图像处理方法,避免了现有技术中因网络信号不稳定而导致的频繁缓冲或缓冲时间过长,甚至缓冲失败导致网页不显示的情况,本发明会自动根据网络信号状态选择视频直播方式,并且播放的视频图像经过处理分析后,大大提高了图像质量,直播过程流畅,不会造成观看用户的时间浪费,提供给用户好的体验和好的观看效果,值得推广。A method for processing live video images proposed by the present invention, by detecting and analyzing the video streams and video frames in the acquired live video, according to the results of the detection and analysis, using the image signal preprocessor to obtain live video images, and processing the live video images Perform processing operations and save the live video images after processing operations, use the network status detection module to obtain the terminal network status of the live broadcast user in real time, and automatically select the live broadcast signal according to the terminal network status of the live broadcast user to directly perform video on the client side The live broadcast or video output module outputs live video to the client. A live video image processing method proposed by the present invention avoids frequent buffering or too long buffering time, or even buffering failure, caused by unstable network signals in the prior art. If the webpage is not displayed, the present invention will automatically select the video live broadcast mode according to the network signal status, and after the video image played is processed and analyzed, the image quality is greatly improved, the live broadcast process is smooth, and the time for watching the user will not be wasted, providing Give users a good experience and good viewing effect, it is worth promoting.
具体实施方式detailed description
下面结合具体实施例对本发明作进一步解说。The present invention will be further explained below in conjunction with specific embodiments.
实施例Example
本发明提出的一种视频直播图像处理方法,包括以下步骤:A kind of live video image processing method that the present invention proposes, comprises the following steps:
S1、检索需要处理的直播视频,通过视频输入模块输入检索到的直播视频,利用信息采集模块获取视频直播信息,其中视频直播信息包括视频流和视频帧;S1. Retrieve the live video that needs to be processed, input the retrieved live video through the video input module, and use the information collection module to obtain live video information, wherein the live video information includes video stream and video frame;
S2、对步骤S1中获取的视频直播中的视频流和视频帧进行检测分析处理,具体包括将视频流转换为音效数据和视频数据,对视频帧中的像素进行加权处理,依据视频流转换的音效数据和视频数据和对视频帧中的像素进行加权处理,利用图像信号预处理器获取视频直播图像;S2. Detection, analysis and processing of the video stream and video frame in the live video broadcast obtained in step S1, specifically including converting the video stream into sound effect data and video data, weighting the pixels in the video frame, and converting the video stream according to Sound effect data and video data and weighted processing of pixels in the video frame, using the image signal preprocessor to obtain live video images;
S3、对步骤S2中获取的视频直播图像进行处理操作,具体包括图像增强、色彩变换和图像去噪,其中图像增强的具体操作指调整对比度,进行光照补偿,对图像的轮廓及亮度进行强调或尖锐化,提升视频图像的质量,然后将处理过的视频直播图像转换成音频数据和视频数据进行保存;S3. Perform processing operations on the live video image acquired in step S2, specifically including image enhancement, color transformation, and image denoising, wherein the specific operations of image enhancement refer to adjusting contrast, performing light compensation, and emphasizing or Sharpen, improve the quality of video images, and then convert the processed live video images into audio data and video data for storage;
S4、利用网络状态检测模块,实时获取直播用户的终端网络状态,根据直播用户的终端网络状态,自动选择直播信号直接在客户端进行视频直播或视频输出模块向客户端输出进行视频直播,当直播用户的终端网络状态不佳,通过视频输出模块向客户端输出步骤S3中保存的音频数据和视频数据,进行视频直播;当直播用户的终端网络状态良好,则通过直播信号直接向客户端输出步骤S3中进行处理操作后的视频直播图像,进行直播。S4. Utilize the network status detection module to obtain the terminal network status of the live broadcast user in real time, and automatically select the live broadcast signal to directly perform live video broadcast on the client terminal or the video output module to output the live video to the client terminal according to the terminal network status of the live broadcast user. The user's terminal network status is not good, output the audio data and video data saved in step S3 to the client through the video output module, and perform live video; when the live broadcast user's terminal network status is good, then directly output the step to the client through the live signal The live video images after processing in S3 are broadcast live.
本发明提出的一种视频直播图像处理方法,通过对获取的视频直播中的视频流和视频帧进行检测分析,依据检测分析的结果,利用图像信号预处理器获取视频直播图像,对视频直播图像进行处理操作,并将处理操作后的视频直播图像进行保存,利用网络状态检测模块,实时获取直播用户的终端网络状态,根据直播用户的终端网络状态,自动自动选择直播信号直接在客户端进行视频直播或视频输出模块向客户端输出进行视频直播,本发明提出的一种视频直播图像处理方法,避免了现有技术中因网络信号不稳定而导致的频繁缓冲或缓冲时间过长,甚至缓冲失败导致网页不显示的情况,本发明会自动根据网络信号状态选择视频直播方式,并且播放的视频图像经过处理分析后,大大提高了图像质量,直播过程流畅,不会造成观看用户的时间浪费,提供给用户好的体验和好的观看效果,值得推广。A method for processing live video images proposed by the present invention, by detecting and analyzing the video streams and video frames in the acquired live video, according to the results of the detection and analysis, using the image signal preprocessor to obtain live video images, and processing the live video images Perform processing operations and save the live video images after processing operations, use the network status detection module to obtain the terminal network status of the live broadcast user in real time, and automatically select the live broadcast signal according to the terminal network status of the live broadcast user to directly perform video on the client side The live broadcast or video output module outputs live video to the client. A live video image processing method proposed by the present invention avoids frequent buffering or too long buffering time, or even buffering failure, caused by unstable network signals in the prior art. If the webpage is not displayed, the present invention will automatically select the video live broadcast mode according to the network signal status, and after the video image played is processed and analyzed, the image quality is greatly improved, the live broadcast process is smooth, and the time for watching the user will not be wasted, providing Give users a good experience and good viewing effect, it is worth promoting.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,根据本发明的技术方案及其发明构思加以等同替换或改变,都应涵盖在本发明的保护范围之内。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, any person familiar with the technical field within the technical scope disclosed in the present invention, according to the technical solution of the present invention Any equivalent replacement or change of the inventive concepts thereof shall fall within the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610917689.3ACN106488258A (en) | 2016-10-21 | 2016-10-21 | A kind of net cast image processing method |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610917689.3ACN106488258A (en) | 2016-10-21 | 2016-10-21 | A kind of net cast image processing method |
| Publication Number | Publication Date |
|---|---|
| CN106488258Atrue CN106488258A (en) | 2017-03-08 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610917689.3APendingCN106488258A (en) | 2016-10-21 | 2016-10-21 | A kind of net cast image processing method |
| Country | Link |
|---|---|
| CN (1) | CN106488258A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140053222A1 (en)* | 2012-08-17 | 2014-02-20 | Flextronics Ap, Llc | Automated dlna scanning with notification |
| CN104935948A (en)* | 2015-05-13 | 2015-09-23 | 深圳市中幼国际教育科技有限公司 | Video direct broadcast image processing method and system |
| CN105959705A (en)* | 2016-05-10 | 2016-09-21 | 武汉大学 | Video live broadcast method for wearable devices |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140053222A1 (en)* | 2012-08-17 | 2014-02-20 | Flextronics Ap, Llc | Automated dlna scanning with notification |
| CN104935948A (en)* | 2015-05-13 | 2015-09-23 | 深圳市中幼国际教育科技有限公司 | Video direct broadcast image processing method and system |
| CN105959705A (en)* | 2016-05-10 | 2016-09-21 | 武汉大学 | Video live broadcast method for wearable devices |
| Publication | Publication Date | Title |
|---|---|---|
| US20220108351A1 (en) | Device functionality-based content selection | |
| CN102111601B (en) | Content Adaptable Multimedia Processing System and Processing Method | |
| US11418832B2 (en) | Video processing method, electronic device and computer-readable storage medium | |
| CN107172476B (en) | System for recording video resume by interactive script and implementation method | |
| CN106937130B (en) | A system and method for placing advertisements in live video | |
| US20180310043A1 (en) | Media information delivery method and system, terminal, server, and storage medium | |
| CN109862388A (en) | Method, device, server and storage medium for generating live video highlights | |
| CN109361949B (en) | Video processing method, video processing device, electronic equipment and storage medium | |
| CN108932451A (en) | Audio-video frequency content analysis method and device | |
| WO2007011889A3 (en) | Methods and apparatus for providing content and services coordinated with television content | |
| US11206441B2 (en) | Automated media production pipeline for generating personalized media content | |
| CN107333164B (en) | An image data processing method and device | |
| US20180288461A1 (en) | Web Analytics for Video Level Events | |
| WO2016127857A1 (en) | Method, device, and system for adjusting application setting of terminal | |
| Sullivan et al. | Podcasting in transition: Formalization and its discontents | |
| CN117440209B (en) | Implementation method and system based on singing scene | |
| CN108173873A (en) | A kind of Android realizes the solution of record screen plug-flow acquired with camera | |
| RU2012101492A (en) | METHOD AND SYSTEM FOR RECEIVING AND DECODING PACKAGE VIDEO SIGNALS | |
| CN101159829A (en) | An information display method, video equipment and system | |
| CN106488258A (en) | A kind of net cast image processing method | |
| CN105681897A (en) | Advertisement detection method and system | |
| CN205726152U (en) | A kind of internet video interaction systems | |
| KR102301076B1 (en) | Apparatus for broadcast contents process and control method thereof | |
| TWM495578U (en) | Video advertising system | |
| CN109040778A (en) | Determination method, user equipment, storage medium and the device of video cover |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20170308 | |
| RJ01 | Rejection of invention patent application after publication |