CN104837058A - Method and system for improving video image quality displayed by cloud terminal - Google Patents

Method and system for improving video image quality displayed by cloud terminal Download PDF

Info

Publication number
CN104837058A
CN104837058A CN201510226763.2A CN201510226763A CN104837058A CN 104837058 A CN104837058 A CN 104837058A CN 201510226763 A CN201510226763 A CN 201510226763A CN 104837058 A CN104837058 A CN 104837058A
Authority
CN
China
Prior art keywords
decoding
storehouse
data flow
cloud terminal
decoding storehouse
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
CN201510226763.2A
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.)
HUNAN SHENGYUN TECHNOLOGY Co Ltd
Original Assignee
HUNAN SHENGYUN TECHNOLOGY 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 HUNAN SHENGYUN TECHNOLOGY Co Ltd filed Critical HUNAN SHENGYUN TECHNOLOGY Co Ltd
Priority to CN201510226763.2A priority Critical patent/CN104837058A/en
Publication of CN104837058A publication Critical patent/CN104837058A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8193Monomedia components thereof involving executable data, e.g. software dedicated tools, e.g. video decoder software or IPMP tool

Abstract

The invention provides a method and system for improving video image quality displayed by a cloud terminal. The method comprises receiving a data stream to be played, initializing a GPU hardware decoding library of a cloud terminal, obtaining the decoding library, acquiring the data stream to be played, transmitting the data stream to be played to the decoding library to be decoded, obtaining the decoded data stream, writing the decoded data stream into a video input channel and starting playing. In the whole process, the decoding library having the GPU function is used for improving the video playing of Spicec software, hardware decoding is adopted for the data stream, a direct playing mode is used, and the video image quality of played by the cloud terminal is substantially improved.

Description

Improve the method and system of cloud terminal plays video image quality
Technical field
The present invention relates to video display arts field, particularly relate to the method and system improving cloud terminal plays video image quality.
Background technology
Along with the development of desktop virtual technology, existing increasing company and enterprise start to dispose desktop virtual system at present.
In virtual desktop use procedure, user often experiences 1080P HD video, and in the hope of obtaining good visual enjoyment, but HD video is compared to SD video, and its data processing amount increases greatly.On the Qemu-kvm desktop virtual cloud computing platform of the Linux system of current main flow, cloud terminal carrys out connecting virtual machine by the integrated Spicec of increasing income (Simulation program with integrated circuit emphasis) software, its Spicec software utilizes soft decoding process to do the broadcasting of video, in embedded-type ARM, the mode of soft decoding will cause video playback card to pause, feel the real physical machine broadcasting smoothness that is far from, user can only play the HD video of wicket, wicket plays HD video cannot bring good visual experience to user again, which limit the popularization of virtualization system.
Visible in order to promote the popularization of desktop virtual system, be badly in need of a kind of method that can improve cloud terminal plays video image quality at present.
Summary of the invention
Based on this, be necessary, for there is no a kind of problem that effectively can improve the method for cloud terminal plays video image quality at present, to provide a kind of method and system that effectively can improve cloud terminal plays video image quality.
Improve a method for cloud terminal plays video image quality, comprise step:
GPU (Graphic Processing Unit, graphic process unit) storehouse of decoding in initialization cloud terminal, obtains decoding storehouse;
Obtain data flow to be played, and data flow to be played extremely with decoding, is obtained decoded data flow in decoding storehouse;
By decoded data flow write video output channel, start to play.
Improve a system for cloud terminal plays video image quality, comprising:
Initialization module, for GPU hard decoder storehouse in initialization cloud terminal, obtains decoding storehouse;
Decoder module, for obtaining data flow to be played, and extremely with decoding, obtains decoded data flow in decoding storehouse by data flow to be played;
Write playing module, for by decoded data flow write video output channel, starts to play.
The present invention improves the method and system of cloud terminal plays video image quality, GPU hard decoder storehouse in initialization cloud terminal, obtain decoding storehouse, obtain data flow to be played, and storehouse of extremely being decoded by data flow to be played is with decoding, obtain decoded data flow, by decoded data flow write video output channel, start to play.In whole process, utilize the decoding storehouse of GPU function to improve the video playback of Spicec software, hard decoder is adopted to data flow, the mode of play-overing, significantly improve cloud terminal plays video image quality.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that the present invention improves method first embodiment of cloud terminal plays video image quality;
Fig. 2 is the schematic flow sheet that the present invention improves method second embodiment of cloud terminal plays video image quality;
Fig. 3 is the structural representation that the present invention improves system first embodiment of cloud terminal plays video image quality;
Fig. 4 is the structural representation that the present invention improves system second embodiment of cloud terminal plays video image quality.
Embodiment
Cloud terminal refers to and utilizes embedded-type ARM to realize, it runs a network equipment of linux operating system, have the Peripheral Interfaces such as network VGA, USB, major function by running virtual machine on application Spicec client's side link virtualized server, thus realizes the function of remote desktop.In cloud terminal, GPU decoding storehouse, refers to the interface that A31 provides.
As shown in Figure 1 and Figure 2, a kind of method improving cloud terminal plays video image quality, comprises step:
S100: GPU hard decoder storehouse in initialization cloud terminal, obtains decoding storehouse.
GPU is display card " brain ", and it determines the class of video card and most of performance, is also the differentiation criterion of 2D display card and 3D display hardware simultaneously.2D display chip mainly relies on the disposal ability of CPU when processing 3D rendering and special efficacy, be called " soft acceleration ".3D display chip concentrates in display chip by 3-D view and special effect processing function, also i.e. so-called " hardware-accelerated " function.Wherein in an embodiment, it can be GPU hard decoder storehouse in initialization cloud terminal, obtain decoding storehouse proxy interface, wherein, the corresponding one group of function pointer of decoding storehouse proxy interface, function pointer can comprise open, close, ioctl, request_write, update_data, decode and dispaly_requet.
S200: obtain data flow to be played, and data flow to be played extremely with decoding, is obtained decoded data flow in decoding storehouse.
Data flow to be played such as to refer at the video data to be played, and these data can be the netcast data flow directly obtained from the Internet.Specifically, can be the data flow through virtualized server compression obtained from network, data flow extremely with decoding, is obtained decoded data flow in decoding storehouse.
Wherein in an embodiment, step S200 specifically comprises:
S220: call decoding storehouse proxy interface, initializes video output display interface, obtains data flow to be played.
Call render_init initializes video display translation interface, first open display translation equipment/dev/disp, utilize ioctl to obtain the video management layer ID of display translation.
S240: call decoding storehouse proxy interface, open decoding storehouse, obtain the buffer memory in decoding storehouse.
Call decoding storehouse proxy interface open, open decoding storehouse, call decoding storehouse proxy interface request_write, obtain the buffer memory in decoding storehouse.
S260: described data flow to be played write in the buffer memory in described decoding storehouse, obtains video cache data.
Call decoding storehouse proxy interface update_data, data flow is written in decoding banked cache.
S280: described video cache data of decoding, obtain decoded data flow.
Call decoding storehouse proxy interface decode and start decoding, call decoding storehouse proxy interface display_request, obtain decoded data flow ID.
S300: by decoded data flow write video output channel, start to play.
By decoded data flow write video output channel, start to play, screen playback terminal can start displaying video.
The present invention improves the method for cloud terminal plays video image quality, GPU hard decoder storehouse in initialization cloud terminal, obtain decoding storehouse, obtain data flow to be played, and storehouse of extremely being decoded by data flow to be played is with decoding, obtain decoded data flow, by decoded data flow write video output channel, start to play.In whole process, utilize the decoding storehouse of GPU function to improve the video playback of Spicec software, hard decoder is adopted to data flow, the mode of play-overing, significantly improve cloud terminal plays video image quality.
Wherein in an embodiment, described in call decoding storehouse proxy interface, open decoding storehouse, before obtaining the buffer memory in decoding storehouse also in steps:
Call decoding storehouse proxy interface, arrange decoding storehouse parameter, wherein, decoding storehouse parameter comprises the width of image, length, compress mode and frame speed.
Call decoding storehouse proxy interface set_vstream_info, decoding storehouse parameter is set, the width of image, length, compress mode and frame speed etc.
Wherein in an embodiment, described function pointer comprises open, close, ioctl, request_write, update_data, decode and dispaly_requet.
As shown in Figure 3, a kind of system improving cloud terminal plays video image quality, comprising:
Initialization module 100, for GPU hard decoder storehouse in initialization cloud terminal, obtains decoding storehouse;
Decoder module 200, for obtaining data flow to be played, and extremely with decoding, obtains decoded data flow in decoding storehouse by data flow to be played;
Write playing module 300, for by decoded data flow write video output channel, starts to play.
The present invention improves the system of cloud terminal plays video image quality, GPU hard decoder storehouse in initialization module 100 initialization cloud terminal, obtain decoding storehouse, decoder module 200 obtains data flow to be played, and storehouse of extremely being decoded by data flow to be played is with decoding, obtain decoded data flow, write playing module 300, by decoded data flow write video output channel, starts to play.In whole process, utilize the decoding storehouse of GPU function to improve the video playback of Spicec software, hard decoder is adopted to data flow, the mode of play-overing, significantly improve cloud terminal plays video image quality.
Wherein in an embodiment, described initialization module 100 specifically for, receive GPU hard decoder storehouse in data flow initialization cloud terminal to be played, obtain decoding storehouse proxy interface, wherein, the corresponding one group of function pointer of described decoding storehouse proxy interface.
As shown in Figure 4, wherein in an embodiment, described decoder module 200 specifically comprises:
Data flow acquiring unit 220, for calling decoding storehouse proxy interface, initializes video output display interface, obtains data flow to be played;
Buffer memory acquiring unit 240, for calling decoding storehouse proxy interface, opening decoding storehouse, obtaining the buffer memory in decoding storehouse;
Video cache data capture unit 260, for described data flow to be played being write in the buffer memory in described decoding storehouse, obtains video cache data;
Decoding unit 280, for described video cache data of decoding, obtains decoded data flow.
Wherein in an embodiment, described raising cloud terminal plays video image quality system also comprises:
Parameter set unit, for calling decoding storehouse proxy interface, arranges decoding storehouse parameter, and wherein, decoding storehouse parameter comprises the width of image, length, compress mode and frame speed.
Wherein in an embodiment, described function pointer comprises open, close, ioctl, request_write, update_data, decode and dispaly_requet.
In order to the beneficial effect that a nearlyer step is explained the technical scheme that the present invention improves the method and system of cloud terminal plays video image quality in detail and brought, below employing instantiation is explained.
Step one: initialization decoding storehouse libcedarv_init, obtain decoding storehouse proxy interface, the corresponding one group of function pointer of decoding storehouse proxy interface, comprises open, close, ioctl, request_write, update_data, decode and dispaly_requet.
Step 2: call render_init initializes video display translation interface, first open display translation equipment/dev/disp, utilizes ioctl to obtain the video management layer ID of display translation.
Step 3: call decoding storehouse proxy interface, arranges decoding storehouse parameter, and wherein, decoding storehouse parameter comprises the width of image, length, compress mode and frame speed.
Step 4: call decoding storehouse proxy interface open, opens decoding storehouse.Call decoding storehouse proxy interface request_write, obtain the buffer memory in decoding storehouse.
Step 5: call decoding storehouse proxy interface request_write, obtain the buffer memory in decoding storehouse.
Step 6: call decoding storehouse proxy interface update_data, is written to data flow in decoding banked cache.
Step 7: call decoding storehouse proxy interface decode and start decoding.
Step 8: call decoding storehouse proxy interface display_request, obtain decoded data flow ID.
Step 9: call video output channel render_render, data flow ID is written to video output channel.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be construed as limiting the scope of the patent.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (10)

1. improve a method for cloud terminal plays video image quality, it is characterized in that, comprise step:
GPU hard decoder storehouse in initialization cloud terminal, obtains decoding storehouse;
Obtain data flow to be played, and data flow to be played extremely with decoding, is obtained decoded data flow in decoding storehouse;
By decoded data flow write video output channel, start to play.
2. the method for raising cloud terminal plays video image quality according to claim 1, is characterized in that, GPU hard decoder storehouse in described initialization cloud terminal, obtains decoding storehouse and is specially:
GPU hard decoder storehouse in initialization cloud terminal, obtains decoding storehouse proxy interface, wherein, and the corresponding one group of function pointer of described decoding storehouse proxy interface.
3. the method for raising cloud terminal plays video image quality according to claim 2, is characterized in that, described acquisition data flow to be played, and data flow to be played extremely with decoding, is obtained decoded data flow and specifically comprises step in decoding storehouse:
Call decoding storehouse proxy interface, initializes video output display interface, obtains data flow to be played;
Call decoding storehouse proxy interface, open decoding storehouse, obtain the buffer memory in decoding storehouse;
Described data flow to be played is write in the buffer memory in described decoding storehouse, obtain video cache data;
To decode described video cache data, obtain decoded data flow.
4. the method for raising cloud terminal plays video image quality according to claim 3, is characterized in that, described in call decoding storehouse proxy interface, open decoding storehouse, before obtaining the buffer memory in decoding storehouse also in steps:
Call decoding storehouse proxy interface, arrange decoding storehouse parameter, wherein, decoding storehouse parameter comprises the width of image, length, compress mode and frame speed.
5. the method for the raising cloud terminal plays video image quality according to Claims 2 or 3 or 4, it is characterized in that, described function pointer comprises open, close, ioctl, request_write, update_data, decode and dispaly_requet.
6. improve a system for cloud terminal plays video image quality, it is characterized in that, comprising:
Initialization module, for GPU hard decoder storehouse in initialization cloud terminal, obtains decoding storehouse;
Decoder module, for obtaining data flow to be played, and extremely with decoding, obtains decoded data flow in decoding storehouse by data flow to be played;
Write playing module, for by decoded data flow write video output channel, starts to play.
7. the system of raising cloud terminal plays video image quality according to claim 6, is characterized in that, described initialization module specifically for, GPU hard decoder storehouse in initialization cloud terminal, obtain decoding storehouse proxy interface, wherein, the corresponding one group of function pointer of described decoding storehouse proxy interface.
8. the system of raising cloud terminal plays video image quality according to claim 7, it is characterized in that, described decoder module specifically comprises:
Data flow acquiring unit, for calling decoding storehouse proxy interface, initializes video output display interface, obtains data flow to be played;
Buffer memory acquiring unit, for calling decoding storehouse proxy interface, opening decoding storehouse, obtaining the buffer memory in decoding storehouse;
Video cache data capture unit, for described data flow to be played being write in the buffer memory in described decoding storehouse, obtains video cache data;
Decoding unit, for described video cache data of decoding, obtains decoded data flow.
9. the system of raising cloud terminal plays video image quality according to claim 8, is characterized in that, also comprise:
Parameter set unit, for calling decoding storehouse proxy interface, arranges decoding storehouse parameter, and wherein, decoding storehouse parameter comprises the width of image, length, compress mode and frame speed.
10. the system of the raising cloud terminal plays video image quality according to claim 7 or 8 or 9, it is characterized in that, described function pointer comprises open, close, ioctl, request_write, update_data, decode and dispaly_requet.
CN201510226763.2A 2015-05-06 2015-05-06 Method and system for improving video image quality displayed by cloud terminal Pending CN104837058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510226763.2A CN104837058A (en) 2015-05-06 2015-05-06 Method and system for improving video image quality displayed by cloud terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510226763.2A CN104837058A (en) 2015-05-06 2015-05-06 Method and system for improving video image quality displayed by cloud terminal

Publications (1)

Publication Number Publication Date
CN104837058A true CN104837058A (en) 2015-08-12

Family

ID=53814652

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510226763.2A Pending CN104837058A (en) 2015-05-06 2015-05-06 Method and system for improving video image quality displayed by cloud terminal

Country Status (1)

Country Link
CN (1) CN104837058A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109640179A (en) * 2018-11-27 2019-04-16 Oppo广东移动通信有限公司 Video frequency decoding control method, device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404624A (en) * 2011-11-07 2012-04-04 深圳市佳创视讯技术股份有限公司 All-format media player capable of supporting hardware decoding for digital STB (Set Top Box)
CN202565315U (en) * 2012-05-07 2012-11-28 成都国腾实业集团有限公司 Cloud terminal video decoding BOX
CN104159150A (en) * 2014-08-19 2014-11-19 龙芯中科技术有限公司 Cloud terminal, cloud server, media data stream playing system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404624A (en) * 2011-11-07 2012-04-04 深圳市佳创视讯技术股份有限公司 All-format media player capable of supporting hardware decoding for digital STB (Set Top Box)
CN202565315U (en) * 2012-05-07 2012-11-28 成都国腾实业集团有限公司 Cloud terminal video decoding BOX
CN104159150A (en) * 2014-08-19 2014-11-19 龙芯中科技术有限公司 Cloud terminal, cloud server, media data stream playing system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109640179A (en) * 2018-11-27 2019-04-16 Oppo广东移动通信有限公司 Video frequency decoding control method, device and electronic equipment
US11456013B2 (en) 2018-11-27 2022-09-27 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Video decoding control method, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
US10229651B2 (en) Variable refresh rate video capture and playback
CA2922867C (en) Desktop-cloud-based media control method and device
CN110647375A (en) Image rendering method and device of cloud desktop and cloud server
CN111433743B (en) APP remote control method and related equipment
US20220007083A1 (en) Method and stream-pushing client for processing live stream in webrtc
JP5896389B2 (en) Graphics rendering alignment for displays
US20120159090A1 (en) Scalable multimedia computer system architecture with qos guarantees
US10805570B2 (en) System and method for streaming multimedia data
WO2020248900A1 (en) Panoramic video processing method and apparatus, and storage medium
CN111240631A (en) Method and system for virtually transmitting Linux virtual machine screen picture based on AMD display card
US20170195617A1 (en) Image processing method and electronic device
CN113946402A (en) Cloud mobile phone acceleration method, system, equipment and storage medium based on rendering separation
CN111491208B (en) Video processing method and device, electronic equipment and computer readable medium
CN112055254B (en) Video playing method, device, terminal and storage medium
CN114902686A (en) Web browser multimedia redirection
US10043302B2 (en) Method and apparatus for realizing boot animation of virtual reality system
CN113473226B (en) Method and device for improving video rendering efficiency, computer equipment and storage medium
CN113411660B (en) Video data processing method and device and electronic equipment
CN112565883A (en) Video rendering processing system and computer equipment for virtual reality scene
CN113422980A (en) Video data processing method and device, electronic equipment and storage medium
CN104837058A (en) Method and system for improving video image quality displayed by cloud terminal
WO2023093792A1 (en) Image frame rendering method and related apparatus
WO2022116709A1 (en) Audio playback method, apparatus, head-mounted display device, and storage medium
CN114222185A (en) Video playing method, terminal equipment and storage medium
US9384276B1 (en) Reducing latency for remotely executed applications

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150812