CN113473183B - Dynamic and static media stream batch processing method applied to fusion media - Google Patents

Dynamic and static media stream batch processing method applied to fusion media Download PDF

Info

Publication number
CN113473183B
CN113473183B CN202110729691.9A CN202110729691A CN113473183B CN 113473183 B CN113473183 B CN 113473183B CN 202110729691 A CN202110729691 A CN 202110729691A CN 113473183 B CN113473183 B CN 113473183B
Authority
CN
China
Prior art keywords
media
video
resources
code
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110729691.9A
Other languages
Chinese (zh)
Other versions
CN113473183A (en
Inventor
陈嘉
周俊杰
曾威
李伟坪
范曦东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Television Co ltd
Original Assignee
China United Television Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Television Co ltd filed Critical China United Television Co ltd
Priority to CN202110729691.9A priority Critical patent/CN113473183B/en
Publication of CN113473183A publication Critical patent/CN113473183A/en
Application granted granted Critical
Publication of CN113473183B publication Critical patent/CN113473183B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention is suitable for the field of data processing technology improvement, and provides a dynamic and static media stream batch processing method applied to a fusion medium, which comprises the following steps: s1, editing and uploading recorded media video to a system server by a user through a user terminal; s2, the server side receives videos uploaded by the user and counts the number M of the received videos; s3, setting the number N of the resources which can be processed according to the use condition of the server resources; s4, judging the sizes of the number M of received videos and the number N of processing resources, if M is less than or equal to N, simultaneously processing the media videos by the server side and returning to a user for browsing and playing, if M is more than N, preferentially converting all the resources into low-code-rate videos by the server side, returning to the user side, setting preview timeliness, and executing the next step; s5, storing the streaming media resources into a queue, and waiting for asynchronous processing to transcode the media video resources into video resources with high code rate. The method is simple to operate, and the user uploading media stream resource can be transcoded into the high-code-rate high-definition video resource.

Description

Dynamic and static media stream batch processing method applied to fusion media
Technical Field
The invention belongs to the field of data processing technology improvement, and particularly relates to a dynamic and static media stream batch processing method applied to a fusion medium.
Background
When processing dynamic and static media stream resources of the fusion media, the traditional method is to manually operate the media stream resources through desktop software one by one aiming at each media stream resource through the desktop software, edit and frame extraction and transcoding actions are carried out, and media resources which can be presented to users are obtained.
The prior art is based on desktop software, and media stream resources are processed through manual transcoding and frame extraction, so that once the media stream resources needing to be processed are large, the labor cost needing to be consumed is greatly increased, and the processing efficiency is improved.
Disclosure of Invention
The invention aims to provide a dynamic and static media stream batch processing method applied to a fusion medium, and aims to solve the technical problems.
The invention is realized in such a way that the method for processing the dynamic and static media streams applied to the fusion media comprises the following steps:
s1, editing and uploading recorded media video to a system server by a user through a user terminal;
s2, the server side receives videos uploaded by the user and counts the number M of the received videos;
s3, setting the number N of the resources which can be processed according to the use condition of the server resources;
s4, judging the sizes of the number M of received videos and the number N of processing resources, if M is less than or equal to N, simultaneously processing the media videos by the server side and returning to a user for browsing and playing, if M is more than N, preferentially converting all the resources into low-code-rate videos by the server side, returning to the user side, setting preview timeliness, and executing the next step;
s5, storing the streaming media resources into a queue, and waiting for asynchronous processing to transcode the media video resources into video resources with high code rate.
The invention further adopts the technical scheme that: the dynamic and static media stream batch processing method applied to the fusion media further comprises the following steps:
s6, judging whether the server resources are idle, if yes, maximizing conversion efficiency, processing and transcoding the media stream resources in the consumption queue into video resources with high code rate, and if no, executing the step S6 after preset time.
The invention further adopts the technical scheme that: the dynamic and static media stream batch processing method applied to the fusion media further comprises the following steps:
s7, after the server asynchronously transcodes the media stream resource into the high-code-rate video resource, the high-code-rate video resource address is replaced by the previous low-code-rate video resource address.
The invention further adopts the technical scheme that: in the step S4, when M is less than or equal to N, the server asynchronously transcodes the media stream video resource uploaded by the user into a high-code-rate video resource, stores the address of the high-code-rate video resource, sets an index link address, and sends the link address to the user for video browsing and playing.
The invention further adopts the technical scheme that: in the step S4, after the media stream video is converted into the high-bitrate video resource, the high-definition picture in a certain frame is extracted and captured in the video resource to be used as a cover or picture resource.
The invention further adopts the technical scheme that: the dynamic and static media stream batch processing method applied to the fusion media can be used for processing static picture resources and transcoding pictures into high-definition pictures.
The invention further adopts the technical scheme that: therefore, the user side adopts a mobile phone or a tablet personal computer provided with the client APP.
The invention further adopts the technical scheme that: the server side adopts a server cluster or cloud server with data processing capability.
The beneficial effects of the invention are as follows: the system can be provided with media stream resources for processing batches, and the problems of long time consumption, low efficiency and the like of manual operation are solved. The method is simple to operate, and a user can transcode and generate the high-code-rate video resource which accords with the media playing by only uploading the media stream resource.
Drawings
Fig. 1 is a flowchart of a method for processing a dynamic and static media stream batch applied to a fusion media according to an embodiment of the present invention.
Detailed Description
Fig. 1 shows a flow chart of a method for batch processing dynamic and static media streams applied to a fusion medium, which is provided in the invention, and is described in detail as follows:
when a large number of video files to be transcoded and clipped exist, the video files to be processed are added into a queue, the video files with low code rate are quickly transferred out to be provided for a user to preview, and when the detection server resources are idle, the high code rate output is processed one by one, and the method is also suitable for the picture resources.
Step S1, a user edits and uploads recorded media video to a system server through a user side; at the user end, the user edits and uploads the recorded media video to the system server end. The user terminal is a shooting-following device with shooting function, the device can be normally connected with a network, videos shot in time can be uploaded to the server terminal, and the device can be mobile devices such as a mobile phone, a tablet personal computer, a telephone watch and the like provided with an APP.
Step S2, the server receives videos uploaded by users and counts the number M of the received videos; the server receives the video uploaded by the user. And counting to obtain the video quantity M. The server receives videos uploaded by different users in real time, carries out statistics on the received videos, uniformly stores the received video data in a designated position and indexes the videos, so that each video corresponds to a corresponding uploading user, the video stream corresponding to each user can be one or more, and the video streams of each user are arranged according to natural sequencing; video sequencing is carried out on the received video streams according to the received time sequence, and a designated serial number of each day of received video streams is generated for convenient subsequent searching; the counted number of received videos is denoted as M, where M takes a natural number.
Step S3, setting the number N of the resources which can be processed according to the use condition of the server resources; the server sets the number N of resources which can be processed according to the service condition of the server resources. At the server side, the server can evaluate the speed, efficiency and the like of processing video resources according to the current running condition, and the number of the resources capable of processing the video or the picture at present is set according to the evaluated condition and is recorded as N, wherein the value of N is a natural number.
Step S4, judging the sizes of the received video quantity M and the processing resource quantity N, if M is less than or equal to N, the server side simultaneously processes the media video and returns to the user for browsing and playing, if M is more than N, the server side preferentially converts all the resources into low-code-rate video and returns the low-code-rate video to the user side, preview timeliness is set, and the next step is executed; when M is less than or equal to N, the server can process the media video uploaded by the user at the same time, transcode the resource into a high-code-rate video, store the high-code-rate video address, and return to the user for browsing and playing; the server side asynchronously transcodes the media stream video resources uploaded by the user into high-code-rate video resources, stores the addresses of the high-code-rate video resources, sets index link addresses and sends the link addresses to the user side for video browsing and playing. When M is greater than N, the server side preferably converts all the resources into low-code-rate video, returns the low-code-rate video to the user side and provides the user with preview timeliness. After converting the media stream video into a high-code rate video resource, the array is extracted from the video resource to capture a high-definition picture in a certain frame, and the high-definition picture is used as a cover or picture resource.
And S5, storing the streaming media resources into a queue, and waiting for asynchronous processing to transcode the media video resources into video resources with high code rate.
And S6, judging whether the server resources are idle, if so, maximizing the conversion efficiency, transcoding the media stream resources in the consumption queue into video resources with high code rate, and if not, executing the step S6 after the preset time. When the server resources are idle, the preset time is 15 minutes, 30 minutes, 1 hour, and the like, and the server resources can be maximally used for processing video frequency markets with high transcoding rate, and the media stream resources in the queues are consumed.
S7, after the server asynchronously transcodes the media stream resource into the high-code-rate video resource, the high-code-rate video resource address is replaced by the previous low-code-rate video resource address. The server side asynchronously transcodes the media stream resources into the high-code-rate video, replaces the high-code-rate video resource address with the previous low-code-rate resource, and when the user side obtains the media resources again, the high-code-rate video resource is pointed to and provided for the user side to play and browse.
In addition to processing dynamic media stream resources, static media stream resources such as picture resources can be processed to transcode pictures into high definition pictures and the like. And meanwhile, frame extraction can be performed, frame extraction operation is performed on the transcoded video resources, and a certain frame of high-definition picture is captured and used for covers or other picture resources.
By the method, batch media stream resources can be set in the system, and the problems of long time consumption, low efficiency and the like of manual operation are solved. The method is simple to operate, and a user can transcode and generate the high-code-rate video resource which accords with the media playing by only uploading the media stream resource.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (6)

1. The method for batched processing the dynamic and static media streams applied to the fusion media is characterized by comprising the following steps of:
s1, editing and uploading recorded media video to a system server by a user through a user terminal;
s2, the server side receives videos uploaded by the user and counts the number M of the received videos;
s3, setting the number N of the resources which can be processed according to the use condition of the server side resources;
s4, judging the sizes of the number M of the received videos and the number N of the processing resources, if M is less than or equal to N, simultaneously processing the media videos by the server side and feeding back the browsing and playing of the users, if M is more than N, preferentially converting all the media videos into low-code-rate videos by the server side, returning the low-code-rate videos to the user side, setting preview timeliness, and executing the next step;
s5, storing the media video into a queue, waiting for asynchronous processing to transcode the media video into video resources with high code rate;
s6, when the server-side resources are idle, maximizing conversion efficiency and transcoding the media video processing in the queue into high-code-rate video resources;
and in the step S4, when M is less than or equal to N, the server side asynchronously transcodes the media video uploaded by the user in the step S2 into a video resource with a high code rate, stores the address of the video resource with the high code rate, sets an index link address, and sends the link address to the user side for video browsing and playing.
2. The method for batch processing of dynamic and static media streams applied to a fusion medium according to claim 1, wherein the method for batch processing of dynamic and static media streams applied to a fusion medium further comprises the following steps:
s7, after the server side asynchronously transcodes the media video into the high-code-rate video resource, the high-code-rate video resource address is replaced by the previous low-code-rate video resource address.
3. The method of claim 2, wherein the frame is extracted from the video resource to capture a high definition picture in a frame as a cover or picture resource after converting the media video into the high rate video resource.
4. The method for moving and static media stream batch processing of the fusion media according to claim 3, wherein the moving and static media stream batch processing method applied to the fusion media can be used for processing static picture resources and transcoding pictures into high-definition pictures.
5. The method for batch processing of dynamic and static media streams applied to a converged medium according to claim 4, wherein the client adopts a mobile phone or a tablet personal computer provided with a client APP.
6. The method for batch processing of dynamic and static media streams applied to a converged medium according to claim 5, wherein the server side adopts a server cluster or cloud server with data processing capability.
CN202110729691.9A 2021-06-29 2021-06-29 Dynamic and static media stream batch processing method applied to fusion media Active CN113473183B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110729691.9A CN113473183B (en) 2021-06-29 2021-06-29 Dynamic and static media stream batch processing method applied to fusion media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110729691.9A CN113473183B (en) 2021-06-29 2021-06-29 Dynamic and static media stream batch processing method applied to fusion media

Publications (2)

Publication Number Publication Date
CN113473183A CN113473183A (en) 2021-10-01
CN113473183B true CN113473183B (en) 2023-05-05

Family

ID=77873872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110729691.9A Active CN113473183B (en) 2021-06-29 2021-06-29 Dynamic and static media stream batch processing method applied to fusion media

Country Status (1)

Country Link
CN (1) CN113473183B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760146A (en) * 2011-12-29 2012-10-31 新奥特(北京)视频技术有限公司 Method and system for releasing and interacting news contents
CN102945677A (en) * 2012-11-28 2013-02-27 上海北丞电子发展有限公司 System and method for image data rescue service
CN103237232A (en) * 2013-03-29 2013-08-07 秦祎芃 Idle-bandwidth self-adaption method for Internet video streaming media transmission
CN104581229A (en) * 2015-01-16 2015-04-29 京东方科技集团股份有限公司 Streaming media data transmission device, method and system
CN104660633A (en) * 2013-11-19 2015-05-27 上海欧忆智能网络有限公司 New media public service platform
WO2015180688A1 (en) * 2014-05-30 2015-12-03 华为技术有限公司 Media processing method and device
CN105429964A (en) * 2015-11-05 2016-03-23 河北远东通信系统工程有限公司 Resource control and distribution method of media server
CN108337533A (en) * 2017-01-17 2018-07-27 腾讯科技(深圳)有限公司 Video-frequency compression method and device
CN109756488A (en) * 2018-12-25 2019-05-14 深圳市网心科技有限公司 A kind of data flow acquisition methods, device, equipment and medium
CN110475125A (en) * 2018-05-10 2019-11-19 视联动力信息技术股份有限公司 Video transcoding method and device
CN112565774A (en) * 2020-11-26 2021-03-26 北京达佳互联信息技术有限公司 Video transcoding resource scheduling method and device
CN112954354A (en) * 2021-02-01 2021-06-11 北京字跳网络技术有限公司 Video transcoding method, device, equipment and medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281568B (en) * 2013-04-25 2016-11-09 网宿科技股份有限公司 Realize the method and system of live streaming media dynamic code rate
CN103248877A (en) * 2013-05-14 2013-08-14 重庆讯美电子有限公司 Decoding method and system capable of dynamically adjusting code rate
US20150281710A1 (en) * 2014-03-31 2015-10-01 Gopro, Inc. Distributed video processing in a cloud environment
CN105933283A (en) * 2016-03-31 2016-09-07 乐视控股(北京)有限公司 Method and device for providing multimedia content executed on server side
CN106488265A (en) * 2016-10-12 2017-03-08 广州酷狗计算机科技有限公司 A kind of method and apparatus sending Media Stream
CN106911939A (en) * 2017-01-06 2017-06-30 武汉烽火众智数字技术有限责任公司 A kind of video transcoding method, apparatus and system
CN110311953B (en) * 2019-05-24 2022-08-09 杭州网络传媒有限公司 Media data uploading and storing system and method
CN112035405B (en) * 2020-08-29 2023-10-13 平安科技(深圳)有限公司 Document transcoding method and device, scheduling server and storage medium
CN112422977A (en) * 2020-09-01 2021-02-26 上海哔哩哔哩科技有限公司 Distribution method and distribution device for audio and video transcoding tasks
CN112738525B (en) * 2020-12-11 2023-06-27 深圳万兴软件有限公司 Video processing method, apparatus and computer readable storage medium
CN112839184B (en) * 2020-12-31 2022-02-01 深圳追一科技有限公司 Image processing method, image processing device, electronic equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760146A (en) * 2011-12-29 2012-10-31 新奥特(北京)视频技术有限公司 Method and system for releasing and interacting news contents
CN102945677A (en) * 2012-11-28 2013-02-27 上海北丞电子发展有限公司 System and method for image data rescue service
CN103237232A (en) * 2013-03-29 2013-08-07 秦祎芃 Idle-bandwidth self-adaption method for Internet video streaming media transmission
CN104660633A (en) * 2013-11-19 2015-05-27 上海欧忆智能网络有限公司 New media public service platform
WO2015180688A1 (en) * 2014-05-30 2015-12-03 华为技术有限公司 Media processing method and device
CN104581229A (en) * 2015-01-16 2015-04-29 京东方科技集团股份有限公司 Streaming media data transmission device, method and system
CN105429964A (en) * 2015-11-05 2016-03-23 河北远东通信系统工程有限公司 Resource control and distribution method of media server
CN108337533A (en) * 2017-01-17 2018-07-27 腾讯科技(深圳)有限公司 Video-frequency compression method and device
CN110475125A (en) * 2018-05-10 2019-11-19 视联动力信息技术股份有限公司 Video transcoding method and device
CN109756488A (en) * 2018-12-25 2019-05-14 深圳市网心科技有限公司 A kind of data flow acquisition methods, device, equipment and medium
CN112565774A (en) * 2020-11-26 2021-03-26 北京达佳互联信息技术有限公司 Video transcoding resource scheduling method and device
CN112954354A (en) * 2021-02-01 2021-06-11 北京字跳网络技术有限公司 Video transcoding method, device, equipment and medium

Also Published As

Publication number Publication date
CN113473183A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
CN102111674B (en) System and method for playing on-line video by mobile terminal and mobile terminal
CN108848060B (en) Multimedia file processing method, processing system and computer readable storage medium
US20170311006A1 (en) Method, system and server for live streaming audio-video file
JP3526033B2 (en) Method, apparatus and storage medium for converting video and audio to streaming slide show
WO2013007148A1 (en) Transcoding method and system
EP3416335B1 (en) Optimization method and system on basis of network status of push terminal and push terminal
JP2009542046A (en) Video processing and application system, method and apparatus
CN103442071A (en) Mobile phone screen content real-time sharing method
CN108040286A (en) Video previewing method, device, electronic equipment and computer-readable recording medium
CN110392306B (en) Data processing method and equipment
US11800160B2 (en) Interruptible video transcoding
CN112672090B (en) Method for optimizing audio and video effects in cloud video conference
CN103595965B (en) The mobile video monitoring method controlled based on video flow
CN112423123A (en) Video loading method and device
CN113473183B (en) Dynamic and static media stream batch processing method applied to fusion media
CN114222156A (en) Video editing method, video editing device, computer equipment and storage medium
CN105592081A (en) Method for converting videos between terminal and server
CN112953944A (en) Audio-video transcoding method based on MapReduce
CN110569417A (en) cultural cloud platform resource pushing method
CN113613038A (en) Intelligent streaming media service system and video stream scheduling method thereof
CN102768841B (en) The method of online network flash front end recorded video and flash front end
CN110493649B (en) Cultural center digital resource processing method based on public satisfaction
CN108900876B (en) Mobile video content granulation method and system thereof
CN101938451A (en) System, method and related device for displaying interactive content
CN112584084A (en) Video playing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Chen Jia

Inventor after: Zhou Junjie

Inventor after: Zeng Wei

Inventor after: Li Weiping

Inventor after: Fan Xidong

Inventor before: Zhou Junjie

Inventor before: Zeng Wei

Inventor before: Li Weiping

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant