Video stream playing method, device and system and storage medium

A playback method and video playback technology, applied in the fields of instruments, electrical digital data processing, electrical components, etc., can solve the problems of unsupported operating environment and poor supporting effect, etc., and achieve the effect of solving unsupported operating environment or poor supporting effect.

Active Publication Date: 2021-02-23
PIXELHUE TECH LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In the above technical solution, by generating and displaying a video stream playback interface based on QML, then receiving the gstreamer video stream, and decoding the gstreamer video stream, Convert the image data; then store the image data in the QImage type object of the video presentation class, and then draw the QImage type object to the QML-based video stream playback interface for playback, thus realizing the QML-based gstreamer video stream The playback function does not need to use QT or third-party gstreamer plug-ins for QML to display video, thus solving the problem that the operating environment does not support or the support effect is poor when playing gstreamer video streams on different systems or hardware platforms (especially embedded platforms) question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Video stream playing method, device and system and storage medium
  • Video stream playing method, device and system and storage medium
  • Video stream playing method, device and system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0028] see figure 1 , which is a schematic flowchart of the video stream playing method provided in the first embodiment of the present invention. The video streaming playing method comprises the following steps:

[0029] S10, generating and displaying a QML-based video stream playback interface;

[0030] S20, receiving the gstreamer video stream, and decoding and converting the gstreamer video stream to obtain image data;

[0031] S30, storing the image data into a QImage type object of the video presentation class; and

[0032] S40. Draw the QImage type object to the QML-based video stream playback interface for playback.

[0033] Specifically, the QML-based video stream playback interface in step S10 is, for example, a video stream playback window presented by using QML.

[0034] In a specific implementation manner, the step S20 specifically includes: receiving the gstreamer video stream through the appsink plug-in of the gstreamer pipeline of the video playing class, and...

no. 2 example

[0046] Such as Figure 4 As shown, the second embodiment of the present invention provides a video stream playing device 300 . The video stream playback device 300 includes, for example, an interface generation and display module 310 , a video stream processing module 320 , an image data storage module 330 , and an interface drawing module 340 .

[0047] Specifically, the interface generation and display module 310 is used to generate and display a QML-based video stream playback interface.

[0048]The video stream processing module 320 is used for receiving the gstreamer video stream, decoding and converting the gstreamer video stream to obtain image data.

[0049] The image data storage module 330 is used to store the image data into a QImage type object of the video presentation class.

[0050] The interface drawing module 340 is used for drawing the QImage type object to the QML-based video stream playback interface for playing.

[0051] In a specific implementation man...

no. 3 example

[0055] Such as Figure 6 As shown, the third embodiment of the present invention provides a video stream playing system 400 . The video stream playing system 400 includes a memory 410 and a processor 430 connected to the memory 410 . The memory 410 may be, for example, a non-volatile memory on which the computer program 411 is stored. Processor 430 may include, for example, an embedded processor. When the processor 430 runs the computer program 411, it executes the video stream playing method provided in the foregoing first embodiment.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a video stream playing method, device and system and a storage medium. The video stream playing method comprises the following steps: generating and displaying a QML-based video stream playing interface; receiving a greader video stream, decoding the greader video stream, and converting the greader video stream to obtain image data; storing the image datainto a QImage type object of a video presentation class; and drawing the QImage type object to the QML-based video stream playing interface for playing. According to the embodiment of the invention, the rendering relationship between the greader video stream and the QML interface is established in a user-defined manner, and the greader plug-in for displaying the video by adopting QT or other thirdparties and aiming at the QML is avoided, so that the problems that the operation environment is not supported or the supporting effect is poor when different systems or hardware platforms (particularly embedded platforms) play the greader video stream are solved.

Description

technical field [0001] The present invention relates to the field of display technology, in particular to a method for playing video streams, a device for playing video streams, a system for playing video streams and a storage medium. Background technique [0002] At present, the embedded GUI (graphical user interface) design based on LINUX usually adopts QT to build the interface, and it is often considered to play the gstreamer video stream on the interface developed by the cross-platform C++ graphical user interface application development framework QT developed by Qt Company, but , because different from the QT Graphical User Interface (GUI, Graphical User Interface) using software rendering, the descriptive scripting language QML uses GPU hardware rendering technology, so the gstreamer video codec plug-in adapted by ARM chip manufacturers is usually adapted to QT GUI The window is not suitable for the QML window. As a result, the gstreamer video codec plug-in does not s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/431H04N21/4402G06F8/38
CPCH04N21/431H04N21/440236G06F8/38
Inventor 张旭冉王伙荣
Owner PIXELHUE TECH LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products