CN112689150A - Design of high-performance video conversion server - Google Patents

Design of high-performance video conversion server Download PDF

Info

Publication number
CN112689150A
CN112689150A CN202011476673.6A CN202011476673A CN112689150A CN 112689150 A CN112689150 A CN 112689150A CN 202011476673 A CN202011476673 A CN 202011476673A CN 112689150 A CN112689150 A CN 112689150A
Authority
CN
China
Prior art keywords
transcoding
hardware
server
video
interface
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.)
Pending
Application number
CN202011476673.6A
Other languages
Chinese (zh)
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.)
Beijing Institute of Computer Technology and Applications
Original Assignee
Beijing Institute of Computer Technology and Applications
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 Beijing Institute of Computer Technology and Applications filed Critical Beijing Institute of Computer Technology and Applications
Priority to CN202011476673.6A priority Critical patent/CN112689150A/en
Publication of CN112689150A publication Critical patent/CN112689150A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a design of a high-performance video transcoding server, which comprises a software part, a hardware part and a transcoding server, wherein the software part is arranged on the hardware part, and the transcoding server is arranged on the hardware part. The invention belongs to the technical field of videos, and particularly relates to a design of a high-performance video conversion server; the invention is mainly used in the field of video service, and can efficiently transcode video files and video streams with different formats to form new files or video streams, thereby effectively solving the problem of low processing speed of a general processor in the current market when processing a special algorithm.

Description

Design of high-performance video conversion server
Technical Field
The invention belongs to the technical field of videos, and particularly relates to a design of a high-performance video conversion server.
Background
Video coding and decoding: video coding is a process of compressing and transforming original image data through an algorithm to form a new video data representation format. The video decoding is a process of restoring a video image from an encoded video through algorithm inverse operation. Common coding and decoding algorithms are H264, H265, and the like.
ES: elementary Stream encoded raw data Stream.
Video packaging: rules for packing ES streams designed to facilitate storage, transmission, and expansion of encoded ES streams are commonly encapsulated with mp4, ps, mkv, and the like.
The general processor is designed for processing general computing tasks, and is not efficient in processing special algorithms and cannot guarantee real-time performance. The cost of the general-purpose processor is higher, and the general-purpose processor is not optimal in terms of efficiency and cost performance, the efficiency of the GPU acceleration scheme is improved greatly, but the energy efficiency of the GPU is still lower than that of a special circuit, and the cost is also higher.
Disclosure of Invention
In view of the above situation, in order to overcome the defects of the prior art, the invention provides a design of a high-performance video conversion server, which is mainly used in the field of video services to perform high-efficiency transcoding on video files and video streams in different formats to form new files or video streams, thereby effectively solving the problem of low processing speed of a general processor in the current market when processing a special algorithm.
The technical scheme adopted by the invention is as follows: the invention relates to a design of a high-performance video transcoding server, which comprises a software part, a hardware part and a transcoding server, wherein the software part is arranged on the hardware part, and the transcoding server is arranged on the hardware part; the software part comprises an application program interface, a Linux operating system and a driver, the application program interface is in communication connection with the Linux operating system, the driver is in communication connection with the Linux operating system, the application program interface is provided with a control protocol, a stream media and file conversion interface, the stream media is in communication connection with a transcoding server, the file conversion interface is in communication connection with the transcoding server, the driver is provided with a loading of an encapsulation/decapsulation program, a functional interface of data IO and a general processor, the FPGA is in communication connection with the loading of the encapsulation/decapsulation program, and the functional interface of the data IO is in communication connection with the general processor.
Further, the hardware part comprises a general processor and a hardware transcoding unit, the general processor is connected with the hardware transcoding unit in a communication mode, and the transcoding server is connected with the hardware transcoding unit in a communication mode.
The invention discloses a use method of a high-performance video conversion server, which is characterized by comprising the following steps:
the method comprises the following steps: the streaming media or file conversion interface can be transmitted to the transcoding server through a network;
step two: the file or video stream data with a specific format is transmitted to a hardware transcoding unit loaded with a corresponding transcoding algorithm through a data IO functional interface;
step three: and after high-speed transcoding by the hardware transcoding unit, acquiring transcoded data and storing the transcoded data into a video file or returning the video file to the Linux operating system in a video stream format.
The invention with the structure has the following beneficial effects: the scheme is that the design of a high-performance video conversion server is mainly used in the field of video services, video files and video streams in different formats are efficiently transcoded to form new files or video streams, and the problem of low processing speed of a general processor in the current market when a special algorithm is processed is effectively solved.
Drawings
Fig. 1 is a schematic diagram of a high-performance video converter server according to the present invention.
The system comprises a software part 1, a hardware part 2, a hardware part 3, a transcoding server 4, an application program interface 5, a Linux operating system 6, a driver 7, a control protocol 8, streaming media 9, a file conversion interface 10, FPGA encoding and decoding 11, loading of an encapsulation/decapsulation program 12, a functional interface of data IO 13, a general processor 14 and a hardware transcoding unit.
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments; all other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the design of the high-performance video transcoding server of the present invention includes a software portion 1, a hardware portion 2 and a transcoding server 3, wherein the software portion 1 is disposed on the hardware portion 2, and the transcoding server 3 is disposed on the hardware portion 2; the software part 1 comprises an application program interface 4, a Linux operating system 5 and a driver 6, the application program interface 4 is in communication connection with the Linux operating system 5, the driver 6 is in communication connection with the Linux operating system 5, the application program interface 4 is provided with a control protocol 7, a streaming media 8 and a file conversion interface 9, the streaming media 8 is in communication connection with a transcoding server 3, the file conversion interface 9 is in communication connection with the transcoding server 3, the driver 6 is provided with a loading 11 of an encapsulation/decapsulation program, a functional interface 12 of data IO and a general processor 13, the FPGA codec 10 is in communication connection with the loading 11 of the encapsulation/decapsulation program, and the functional interface 12 of the data IO is in communication connection with the general processor 13.
The hardware part 2 comprises a general processor 13 and a hardware transcoding unit 14, the general processor 13 is connected with the hardware transcoding unit 14 in a communication mode, and the transcoding server 3 is connected with the hardware transcoding unit 14 in a communication mode.
The invention discloses a use method of a high-performance video conversion server, which is characterized by comprising the following steps:
the method comprises the following steps: the streaming media 8 or the file conversion interface 9 can be transmitted to the transcoding server 3 through a network;
step two: the file or video stream data with a specific format is transmitted to a hardware transcoding unit 14 loaded with a corresponding transcoding algorithm through a data IO functional interface 12;
step three: after the high-speed transcoding by the hardware transcoding unit 14, the transcoded data is obtained and stored into a video file or is returned to the Linux operating system 5 in a video stream format.
When the method is used specifically, the streaming media 8 or the file conversion interface 9 can be transmitted to the transcoding server 3 through a network, the file or video stream data in a specific format is transmitted to the hardware transcoding unit 14 loaded with a corresponding transcoding algorithm through the data IO functional interface 12, transcoded at a high speed by the hardware transcoding unit 14 to obtain transcoded data, and the transcoded data is stored into a video file or returned to the Linux operating system 5 in the format of a video stream.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
The present invention and its embodiments have been described above, and the description is not intended to be limiting, and the drawings are only one embodiment of the present invention, and the actual structure is not limited thereto. In summary, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (3)

1.一种高性能视频转服务器的设计,其特征在于:包括软件部分、硬件部分和转码服务器,所述软件部分设于硬件部分上,所述转码服务器设于硬件部分上;所述软件部分包括应用程序接口、Linux操作系统和驱动程序,所述应用程序接口和Linux操作系统通信连接,所述驱动程序和Linux操作系统通信连接,所述应用程序接口上设有控制协议、流媒体和文件转换接口,所述流媒体和转码服务器通信连接,所述文件转换接口和转码服务器通信连接,所述驱动程序上设有封装/解封装程序的加载、数据IO的功能接口和通用处理器,所述FPGA编解码和封装/解封装程序的加载通信连接,所述数据IO的功能接口和通用处理器通信连接。1. the design of a high-performance video transfer server, it is characterized in that: comprise software part, hardware part and transcoding server, described software part is located on hardware part, and described transcoding server is located on hardware part; The software part includes an application program interface, a Linux operating system and a driver, the application program interface is communicatively connected with the Linux operating system, the driver is communicatively connected with the Linux operating system, and the application program interface is provided with a control protocol, streaming media And file conversion interface, described streaming media and transcoding server communication connection, described file conversion interface and transcoding server communication connection, described driver is provided with the loading of encapsulation/decapsulation program, the functional interface of data IO and general The processor, the FPGA encoding/decoding is connected in communication with the loading of the encapsulation/decapsulation program, and the functional interface of the data IO is in communication connection with the general-purpose processor. 2.根据权利要求1所述的一种高性能视频转服务器的设计,其特征在于:所述硬件部分包括通用处理器和硬件转码单元,所述通用处理器和硬件转码单元通信连接,所述转码服务器和硬件转码单元通信连接。2. the design of a kind of high-performance video transfer server according to claim 1, is characterized in that: described hardware part comprises general-purpose processor and hardware transcoding unit, and described general-purpose processor and hardware transcoding unit are communicatively connected, The transcoding server is connected in communication with the hardware transcoding unit. 3.本发明一种高性能视频转服务器的设计的使用方法,其特征在于,包括如下步骤:3. the using method of the design of a kind of high-performance video transfer server of the present invention, is characterized in that, comprises the steps: 步骤一:流媒体或者文件转换接口可以通过网络传输到转码服务器;Step 1: The streaming media or file conversion interface can be transmitted to the transcoding server through the network; 步骤二:特定格式的文件或者视频流数据通过数据IO的功能接口传送到加载了相应转码算法的硬件转码单元;Step 2: The file or video stream data in a specific format is transmitted to the hardware transcoding unit loaded with the corresponding transcoding algorithm through the functional interface of the data IO; 步骤三:通过硬件转码单元的高速转码后取得转码后的数据存成视频文件或者以视频流的格式返回给Linux操作系统。Step 3: After high-speed transcoding by the hardware transcoding unit, the transcoded data is obtained and stored as a video file or returned to the Linux operating system in the format of a video stream.
CN202011476673.6A 2020-12-15 2020-12-15 Design of high-performance video conversion server Pending CN112689150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011476673.6A CN112689150A (en) 2020-12-15 2020-12-15 Design of high-performance video conversion server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011476673.6A CN112689150A (en) 2020-12-15 2020-12-15 Design of high-performance video conversion server

Publications (1)

Publication Number Publication Date
CN112689150A true CN112689150A (en) 2021-04-20

Family

ID=75447835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011476673.6A Pending CN112689150A (en) 2020-12-15 2020-12-15 Design of high-performance video conversion server

Country Status (1)

Country Link
CN (1) CN112689150A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686209A (en) * 2013-12-13 2014-03-26 乐视网信息技术(北京)股份有限公司 Transcoding and processing method and system with diverse mechanisms
CN103702124A (en) * 2012-09-27 2014-04-02 深圳市快播科技有限公司 Transcoding acceleration method and transcoder
CN107396123A (en) * 2017-09-25 2017-11-24 南京荣膺软件科技有限公司 Portable intelligent dynamic software and hardware switches trans-coding system
CN109963191A (en) * 2017-12-14 2019-07-02 中兴通讯股份有限公司 A kind of processing method of video information, device and storage medium
CN110351533A (en) * 2019-08-12 2019-10-18 桂林电子科技大学 The network transmission monitoring system and its implementation of video image processing based on Linux
CN111107394A (en) * 2019-12-25 2020-05-05 北京恒泰实达科技股份有限公司 System and method for integrating video streams across platforms

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702124A (en) * 2012-09-27 2014-04-02 深圳市快播科技有限公司 Transcoding acceleration method and transcoder
CN103686209A (en) * 2013-12-13 2014-03-26 乐视网信息技术(北京)股份有限公司 Transcoding and processing method and system with diverse mechanisms
CN107396123A (en) * 2017-09-25 2017-11-24 南京荣膺软件科技有限公司 Portable intelligent dynamic software and hardware switches trans-coding system
CN109963191A (en) * 2017-12-14 2019-07-02 中兴通讯股份有限公司 A kind of processing method of video information, device and storage medium
CN110351533A (en) * 2019-08-12 2019-10-18 桂林电子科技大学 The network transmission monitoring system and its implementation of video image processing based on Linux
CN111107394A (en) * 2019-12-25 2020-05-05 北京恒泰实达科技股份有限公司 System and method for integrating video streams across platforms

Similar Documents

Publication Publication Date Title
KR101292490B1 (en) A method comprising encapsulating BC-1 information in an RTP packet, a computer readable medium for implementing the RTP data structure, an access unit data structure, a source module, a decoder module, a source module and a decoder module, and a target module.
CN104144349A (en) SPICE video coding and decoding expansion method and system based on H264
JP6511038B2 (en) Cloud streaming service providing method and apparatus therefor
WO2019228207A1 (en) Image encoding and decoding method , related device and storage medium
CN203015055U (en) Digital television set top box with transcoding function
CN110072119A (en) A kind of perception of content video adaptive transmission method based on deep learning network
US20140019583A1 (en) Ingest bandwidth reduction for cloud based media services
TWI637631B (en) Image processing device, video subsystem and video pipeline
TWI519967B (en) Cloud operation resource dynamic allocation system and method thereof
CN107342951A (en) Data transmission method and device
CN104980682A (en) Intelligent dynamic high-definition video transmission system
CN104935952A (en) Video transcoding method and system
WO2023078204A1 (en) Data processing method and apparatus, device, readable storage medium, and program product
US8681860B2 (en) Moving picture compression apparatus and method of controlling operation of same
CN112689150A (en) Design of high-performance video conversion server
CN105323593A (en) Multimedia transcoding scheduling method and multimedia transcoding scheduling device
CN110868610B (en) Streaming media transmission method, device, server and storage medium
CN102427531B (en) Cross-layer Interactive Image Quality Continuously Adjustable Real-time Video Coding and Decoding Method
CN206181265U (en) Based on network video transmission system H. 264
CN105338371B (en) A kind of multi-media transcoding dispatching method and device
WO2023130896A1 (en) Media data processing method and apparatus, computer device and storage medium
TW201330625A (en) Streaming transcoder with adaptive upstream and downstream transcode coordination
CN204131646U (en) A kind of digital video signal decoder
Huh et al. Ultra-high resolution video distributed transcoding system using memory-based high-speed data distribution method
CN110493244A (en) A kind of video capture method based on CMSP

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210420

RJ01 Rejection of invention patent application after publication