Multi-process decoding playing method and device
A playback method and playback device technology, applied in the field of video processing, can solve problems such as stop broadcasting, a single-process player cannot meet the simultaneous playback of multiple programs, and jump to other frame interfaces, so as to improve independence and stability Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] figure 1 It is a flow chart of the multi-process decoding and playing method provided by Embodiment 1 of the present invention.
[0055] refer to figure 1 , applied to the client, the client is provided with a main process and a plurality of sub-processes, the sub-processes include Libvlc player, the method comprises the following steps:
[0056] Step S101, acquiring the selection mode of the user;
[0057] Step S102, creating a main window on the main process according to the selected mode;
[0058] Step S103, generating a plurality of sub-windows on the main window, wherein each sub-process corresponds to a corresponding sub-window;
[0059] Step S104, drawing the corresponding video stream on each sub-window to obtain a plurality of drawn video streams;
[0060] Step S105, demultiplexing and decoding multiple drawn video streams by the Libvlc player to obtain multiple decoded video streams;
[0061] Step S106, displaying multiple decoded video streams.
[0062]...
Embodiment 2
[0121] Figure 5 It is a schematic diagram of a multi-process decoding and playing device provided by Embodiment 2 of the present invention.
[0122] refer to Figure 5 , applied to the client, the client is provided with a main process and a plurality of sub-processes, the sub-processes include Libvlc player, the device includes:
[0123] The player group management sub-module 1 is used to obtain the user's selection mode; create a main window on the main process according to the selection mode; generate multiple sub-windows on the main window, wherein each sub-process corresponds to a corresponding sub-window;
[0124] The player video drawing sub-module 2 is used to draw the corresponding video stream on each sub-window to obtain multiple drawn video streams;
[0125] Libvlc player 3 is used to demultiplex and decode multiple drawn video streams to obtain multiple decoded video streams; display multiple decoded video streams.
[0126] Furthermore, Libvlc player 3 is spec...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


