CN112804577A - Video switching display method and device, video processing equipment and storage medium - Google Patents

Video switching display method and device, video processing equipment and storage medium Download PDF

Info

Publication number
CN112804577A
CN112804577A CN201911113977.3A CN201911113977A CN112804577A CN 112804577 A CN112804577 A CN 112804577A CN 201911113977 A CN201911113977 A CN 201911113977A CN 112804577 A CN112804577 A CN 112804577A
Authority
CN
China
Prior art keywords
video
video frame
transition
drm
reading
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.)
Granted
Application number
CN201911113977.3A
Other languages
Chinese (zh)
Other versions
CN112804577B (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.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic 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 Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN201911113977.3A priority Critical patent/CN112804577B/en
Publication of CN112804577A publication Critical patent/CN112804577A/en
Application granted granted Critical
Publication of CN112804577B publication Critical patent/CN112804577B/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/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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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 or rendering scenes according to encoded video stream scene graphs
    • 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 or rendering scenes according to encoded video stream scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention discloses a DRM-based video switching display method and device, video processing equipment and a computer-readable storage medium. The DRM-based video switching display method includes, for example: reading an end video frame of a first video displayed on a display screen based on DRM; copying the ending video frame to a shared memory to obtain a transition video frame; reading the transition video frame, and displaying the transition video frame to the display screen based on DRM after the ending video frame stops being displayed; reading a second video; and stopping displaying the transition video frame and displaying the second video to the display screen based on DRM. The embodiment of the invention avoids the black field phenomenon in the transition time period during video switching, and improves the user experience.

Description

Video switching display method and device, video processing equipment and storage medium
Technical Field
The present invention relates to the field of video display technologies, and in particular, to a DRM-based video switching method, a DRM-based video switching apparatus, a video processing device, and a computer-readable storage medium.
Background
DRM (Direct Rendering Manager) is a mainstream graphics display framework currently in Linux. When the video is played based on DRM, if the video is switched in the video playing process, the current video main playing process exits, then restarting the main video playing process to start playing the next video, wherein a transition time period exists between the exit of the current video and the start of playing the first frame of the next video, a black field exists for a period of time, because the layer used by the DRM display is the highest level, the display cache of the display screen corresponding to the currently playing video is released when the video process exits, and the video main playing process of the next video is not started yet, and a new display cache based on DRM cannot be created, so that the display screen cannot continue to be based on the original picture of the DRM display system in the transition period, therefore, a black field phenomenon appears on the display screen, and the playing effect of the whole playing scheme is greatly influenced.
Disclosure of Invention
The embodiment of the invention provides a video switching display method based on DRM, a video switching device based on DRM, video processing equipment and a computer readable storage medium, which avoids the black field phenomenon in a transition period during video switching and improves the user experience.
On one hand, a DRM-based video switching display method provided by an embodiment of the present invention includes: reading an end video frame of a first video displayed on a display screen based on DRM; copying the ending video frame to a shared memory to obtain a transition video frame; reading the transition video frame, and displaying the transition video frame to the display screen based on DRM after the ending video frame stops being displayed; reading a second video; and stopping displaying the transition video frame and displaying the second video to the display screen based on DRM.
According to the embodiment of the invention, the ending video frame of the first video is played again in the transition time period existing in the sharing so as to wait for the reading and displaying of the second video, so that the switching of the video without the black field in the transition time period is realized, and the video playing control effect and the user experience degree are improved.
In an embodiment of the present invention, the displaying the second video to the display screen based on DRM specifically includes: and caching and outputting the second video to the uppermost layer of the display screen in a ping-pong operation mode.
In an embodiment of the present invention, the copying the ending video frame to the shared memory to obtain the transition video frame includes: copying the ending video frame to a shared memory through a main video playing process to obtain a transition video frame; sending a video frame playing ending signal to the shared memory; the reading the transition video frame and displaying the transition video frame to the display screen based on DRM after the ending video frame stops being displayed comprises: reading the ending video frame playing signal from the shared memory through a video auxiliary playing process, and reading the transition video frame from the shared memory according to the ending video frame playing signal; and displaying the transition video frame on the display screen.
In one embodiment of the present invention, the reading the second video includes: reading and decoding the second video through a video main playing process; and sending a transition video frame playing stopping signal to the shared memory after the decoding is finished; the stopping of displaying the transition video frame specifically includes: acquiring the transition video frame playing stopping signal from the shared memory through the video auxiliary playing process; and stopping displaying the transition video frame according to the transition video frame playing stopping signal.
On the other hand, an embodiment of the present invention provides a DRM-based video switching apparatus, including: a first video reading module for reading an ending video frame of a first video displayed on a display screen based on DRM; the end video frame copying module is used for copying the end video frame to the shared memory to obtain a transition video frame; a transition video frame display module for reading the transition video frame and displaying the transition video frame to the display screen based on DRM after the ending video frame stops displaying; the second video reading module is used for reading a second video; and the second video display module is used for stopping displaying the transition video frame and displaying the second video to the display screen based on DRM.
In an embodiment of the present invention, the displaying module of the second video displaying module, based on DRM, displays the second video to the display screen specifically: and caching and outputting the second video to the uppermost layer of the display screen in a ping-pong operation mode.
In an embodiment of the present invention, the end video frame copying module is specifically configured to: copying the ending video frame to a shared memory through a main video playing process to obtain a transition video frame; sending a video frame playing ending signal to the shared memory; the transition video frame display module is specifically configured to: reading the ending video frame playing signal from the shared memory through a video auxiliary playing process, and reading the transition video frame from the shared memory according to the ending video frame playing signal; and displaying the transition video frame on the display screen.
In an embodiment of the present invention, the second video reading module is specifically configured to: reading and decoding the second video through a video main playing process; and sending a transition video frame playing stopping signal to the shared memory after the decoding is finished; the second video display module ceasing to display the transition video frame comprises: acquiring the transition video frame playing stopping signal from the shared memory through the video auxiliary playing process; and stopping displaying the transition video frame according to the transition video frame playing stopping signal.
In another aspect, an embodiment of the present invention provides a video processing apparatus, including: the device comprises a memory and a processor connected with the memory, wherein the memory stores a computer program, and the processor executes any one of the above video switching display methods based on DRM when the computer program is run.
In another aspect, an embodiment of the present invention provides a computer-readable storage medium, which is a non-volatile memory and stores computer-executable instructions, where the computer-executable instructions are used to execute any one of the foregoing DRM-based video switching display methods.
One or more of the above technical solutions may have the following advantages or beneficial effects: the embedded processor in the embodiment of the invention waits for the reading and displaying of the second video by playing the ending video frame of the first video again in the transition time period existing in the sharing, thereby realizing the switching of the video without the black field in the transition time period and improving the video playing control effect and the user experience. In addition, when the video is displayed, the video frames are cached and output in a ping-pong operation mode, the problem of picture blocking or tearing caused by insufficient preparation of the video frame data is avoided, and the display effect is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a DRM-based video switching display method according to a first embodiment of the present invention.
Fig. 2A is a schematic structural diagram of a hardware architecture for implementing a DRM-based video switch display method according to a first embodiment of the present invention.
Fig. 2B is an interaction diagram of a video main playback process and a video auxiliary playback process of the embedded processor in fig. 2A.
Fig. 3 is a block diagram of a DRM-based video switching apparatus according to a second embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a video processing apparatus according to a third embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a computer-readable storage medium according to a fourth embodiment of the present 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.
[ first embodiment ] A method for manufacturing a semiconductor device
As shown in fig. 1, a first embodiment of the present invention provides a DRM-based video switching display method, which is suitable for video switching display under an embedded platform. Specifically, the method for switching and displaying the video based on the DRM provided by the embodiment of the present invention includes, for example, the steps of:
s11: reading an end video frame of a first video displayed on a display screen based on DRM;
s13: copying the ending video frame to a shared memory to obtain a transition video frame;
s15: reading the transition video frame, and displaying the transition video frame to the display screen based on DRM after the ending video frame stops being displayed;
s17: reading a second video;
s19: and stopping displaying the transition video frame and displaying the second video to the display screen based on DRM.
Therefore, in the transition time period between the first video and the second video, the video frame currently displayed by the first video is copied to the shared memory and the video frame is continuously played and ended in the transition time period, so that the black field phenomenon in the transition time period is avoided, and the user experience is improved.
Specifically, the reading of the end video frame of the first video displayed on the display screen based on DRM of step S13 includes:
copying the ending video frame to a shared memory through a main video playing process to obtain a transition video frame; and
and sending a video frame playing ending signal to the shared memory.
In step S15, the reading the transition video frame and displaying the transition video frame to the display screen based on DRM after the ending video frame stops being displayed includes:
reading the ending video frame playing signal from the shared memory through a video auxiliary playing process, and reading the transition video frame from the shared memory according to the ending video frame playing signal; and
and displaying the transition video frame to the display screen.
Further, the reading the second video of step S17 includes:
reading and decoding the second video through a video main playing process; and
and sending a transition video frame playing stopping signal to the shared memory after the decoding is finished.
In step S19, the stopping of displaying the transition video frame specifically includes:
acquiring the transition video frame playing stopping signal from the shared memory through the video auxiliary playing process; and
and stopping displaying the transition video frame according to the transition video frame playing stopping signal.
The displaying the second video to the display screen based on DRM of step S19 includes: and displaying the second video on the uppermost layer of the display screen.
In another embodiment of the present invention, the displaying the second video to the display screen based on DRM in step S19 is specifically caching and outputting the second video to the display screen in a ping-pong operation manner.
In another embodiment of the present invention, before displaying the second video to the display screen based on the DRM, the DRM-based video switching display method further includes decoding the second video.
In order to facilitate understanding of the present invention, the steps of the DRM-based video switching display method according to the present embodiment will be described in detail with reference to fig. 2A and 2B.
The DRM-based video switching display method provided by the embodiment of the present invention can be implemented, for example, by an embedded processor of an embedded device. Here an embedded device such as an embedded video processing device. For example, as shown in FIG. 2A, an embedded video processing device is connected to a display screen. The display screen may be, for example, an LED display screen, or may also be other display screens such as an LCD, and the invention is not limited thereto. The embedded video processing device mainly comprises an embedded processor, a programmable logic device connected with the embedded processor and a volatile memory connected with the embedded processor. The Programmable logic device is, for example, an FPGA (Field-Programmable Gate Array), and is configured to process an input video and output the processed video data to a subsequent device, such as a display control card and a display device. The volatile memory is, for example, a DDR (Double Data Rate SDRAM) for buffering some Data during the operation of the video embedded video processing device. Generally, the embedded processor plays the whole video scheme through the created video main playing process, and the whole video scheme comprises a plurality of videos. The video main playing process plays a plurality of videos, for example, including a first video and a second video, according to a preset playing sequence. The DRM-based video switching display method provided by the embodiment of the present invention can be implemented, for example, by an embedded processor through interaction of two processes, for example, a video main playing process and a video auxiliary playing process (see fig. 2B), so as to avoid a black field problem occurring when a currently playing first video is switched to playing a second video, and a specific process is as follows.
Firstly, after receiving a video switching signal, the embedded processor reads an ending video frame of a first video of an uppermost layer displayed on a display screen in a DRM mode according to the video switching signal and through a video main playing process. Because the first video is displayed on the uppermost layer of the display screen in the DRM mode, it can be ensured that the display picture of the first video is not blocked or covered by the display pictures of other videos. . The video switching signal here may be, for example, a signal generated by a video switching operation performed by a user, or may be an automatic switching signal generated according to a preset playing sequence setting. The ending video frame here may be the last frame of the first video, or may be the current video frame being displayed on the display screen when the embedded processor receives the switching signal.
And secondly, copying the ending video frame to a shared memory by the embedded processor to obtain a transition video frame. Specifically, the embedded processor copies the ending video frame to the shared memory of the volatile memory through the video main playing process to obtain the transition video frame. After the embedded processor copies the ending video frame to the shared memory through the video main playing process, the video main playing process sends an ending video frame playing signal to the shared memory. The shared memory here is, for example, a part of the volatile memory, and may be a memory space provided in the volatile memory for being accessed by a plurality of processes (as shown in fig. 2A), or may be another volatile memory separately connected to the embedded processor. Multiple processes may communicate through a shared memory.
And then, the embedded processor reads the transition video frame and displays the transition video frame to the display screen in a DRM mode after the ending video frame stops being displayed. Specifically, when a video frame playing ending signal sent by the video main playing process is acquired from the shared memory, the embedded processor reads the transition video frame from the shared memory through the video auxiliary playing process, and then after the video frame ending of the first video is displayed, the video auxiliary playing process displays the read transition video frame on the display screen. The display mode of the transition video frame is the same as that of the ending video frame of the first video, for example, a DRM display frame is adopted, so that the auxiliary video playing process can normally display the transition video frame to the display screen when the resource of the display cache of the display screen is cancelled after the main video playing process exits. It should be noted here that the video auxiliary playing process may always display the transition video frame in the uppermost layer of the display screen until the next video, i.e., the second video, starts to be played. The video auxiliary playing process and the video main playing process are communicated through a shared memory, for example, a video frame playing ending signal, a video playing stopping signal and the like are transmitted through the shared memory.
The embedded processor then reads the second video to be played. Specifically, the embedded processor restarts the video main playing process, loads and reads data of the starting video frame of the second video through the restarted video main playing process, and decodes the starting video frame of the second video. And after the decoding of the initial video frame of the second video is finished, the video main playing process sends a transition video frame playing stopping signal to the shared memory.
And finally, the embedded processor stops playing and displaying the transition video frame and displays the second video on the display screen. Specifically, the embedded processor acquires a transition video frame playing stopping signal from the shared memory through the video auxiliary playing process, and stops displaying the transition video frame according to the transition video frame playing stopping signal. And then the embedded processor displays the second video on the display screen from the initial video frame to the video frame by video frame through the video main playing process. Similarly, the first video is displayed in the same manner as the current video frame of the first video, for example, by using a DRM display frame displayed on the uppermost layer of the display screen. The embedded processor completes the display and playing of other videos in the whole playing scheme in the same way. Therefore, the embedded processor copies the ending video frame to the shared memory through the main video playing process, and plays the ending video frame again in the transition time period existing in the shared memory by adopting the auxiliary video playing process so as to wait for reading and displaying of the second video, so that the switching of the video without the black field in the transition time period is realized, and the video playing control effect and the user experience degree are improved.
In addition, for different embedded processing chips, the embedded processor can call the corresponding hardware decoding library to decode the video to be displayed, so that the decoding efficiency can be greatly improved, and the CPU occupation rate is reduced. For example, the embedded processor decodes each video frame of the second video by FFMPEG into video frame data in YUV format. Of course, the decoding here can also be accomplished by other decoding chips, and the invention is not limited here.
Further, the embedded processor may buffer, output, e.g., via a video master play process, video frames of the second video onto the display screen in a ping-pong operation prior to outputting the second video onto the display screen. Specifically, after the video main playing process reads the second video from the shared memory, the starting video frame of the second video is stored in the first buffer memory in the first period, the second video frame of the second video is stored in the second buffer memory in the second period, and the starting video frame in the first buffer memory is simultaneously output to the display screen for display, the third video frame of the second video is stored in the first buffer memory in the third period, and the second video frame in the second buffer memory is simultaneously output to the display screen for display, so that the second video is alternately buffered and output to the display screen. The embedded processor adopts the double-buffering mechanism, such as a ping-pong operation mode of buffering one frame and outputting and rendering one frame to display the second video, so that the phenomenon that the video display picture is torn and blocked due to the untimely preparation of the video frame data of the second video is avoided.
In summary, the embedded processor in the embodiment of the present invention copies the ending video frame to the shared memory through the main video playing process, and uses the auxiliary video playing process to play the ending video frame again within the transition time period existing in the shared memory to wait for reading and displaying of the second video, so as to implement black-field-free video switching within the transition time period, and improve the video playing control effect and the user experience. In addition, when the video is displayed, the video frames are cached and output in a ping-pong operation mode, the problem of picture blocking or tearing caused by insufficient preparation of the video frame data is avoided, and the display effect is further improved.
[ second embodiment ]
As shown in fig. 3, a second embodiment of the present invention provides a DRM-based video switching apparatus 400. The DRM-based video switching apparatus 400 includes, for example: a first video reading module 410, an ending video frame copying module 420, a transition video frame display module 430, a second video reading module 440, and a second video display module 450.
A first video reading module 410 for reading an ending video frame of the first video displayed on the display screen based on the DRM.
And an end video frame copying module 420, configured to copy the end video frame to the shared memory to obtain a transition video frame.
A transition video frame display module 430, configured to read the transition video frame, and display the transition video frame to the display screen based on DRM after the ending video frame stops being displayed.
And a second video reading module 440, configured to read a second video.
A second video display module 450, configured to stop displaying the transition video frame and display the second video to the display screen based on DRM.
For the detailed working process and technical effects among the modules in the DRM-based video switching apparatus 400 in this embodiment, reference is made to the description of the first embodiment, and details are not repeated here.
[ third embodiment ]
As shown in fig. 4, a third embodiment of the present invention provides a video processing apparatus 500. Typically, the video processing apparatus 500 may be, for example, a video processor, a video splicer, a video switcher, and the like having video and image processing functions. The video processing device 500 comprises, for example, a memory 510 and a processor 530 coupled to the memory 510. The memory 510 may be, for example, a non-volatile memory having stored thereon a computer program 511. Processor 530 may be, for example, an embedded processor. The processor 530 executes the video switching display method in the first embodiment described above when running the computer program 511.
The specific operation and technical effects of the video processing apparatus 500 in the present embodiment are described with reference to the foregoing first embodiment.
[ fourth example ] A
As shown in fig. 5, a fourth embodiment of the present invention provides a storage medium, such as a computer-readable storage medium 600. The computer-readable storage medium 600 is, for example, a nonvolatile memory, which is, for example: magnetic media (e.g., hard disks, floppy disks, and magnetic tape), optical media (e.g., CDROM disks and DVDs), magneto-optical media (e.g., optical disks), and hardware devices specially constructed for storing and executing computer-executable instructions (e.g., Read Only Memories (ROMs), Random Access Memories (RAMs), flash memories, etc.). Computer-readable storage medium 600 has stored thereon computer-executable instructions 610. The computer-readable storage medium 600 may execute the computer-executable instructions 610 by one or more processors or processing devices to implement the DRM-based video toggle display method in the foregoing first embodiment.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present invention, and the technical solutions of the embodiments can be arbitrarily combined and collocated without conflict between technical features and structural contradictions, which do not violate the purpose of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of one logic function, and an actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may also be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A DRM-based video switching display method is characterized by comprising the following steps:
reading an end video frame of a first video displayed on a display screen based on DRM;
copying the ending video frame to a shared memory to obtain a transition video frame;
reading the transition video frame, and displaying the transition video frame to the display screen based on DRM after the ending video frame stops being displayed;
reading a second video;
and stopping displaying the transition video frame and displaying the second video to the display screen based on DRM.
2. The method for displaying the video switch based on the DRM according to claim 1, wherein the displaying the second video to the display screen based on the DRM specifically comprises:
and caching and outputting the second video to the uppermost layer of the display screen in a ping-pong operation mode.
3. The DRM-based video switching display method according to claim 1,
the copying the ending video frame to the shared memory to obtain a transition video frame comprises:
copying the ending video frame to a shared memory through a main video playing process to obtain a transition video frame; and
sending a video frame playing ending signal to the shared memory;
the reading the transition video frame and displaying the transition video frame to the display screen based on DRM after the ending video frame stops being displayed comprises:
reading the ending video frame playing signal from the shared memory through a video auxiliary playing process, and reading the transition video frame from the shared memory according to the ending video frame playing signal; and
and displaying the transition video frame to the display screen.
4. The DRM-based video switching display method according to claim 1,
the reading the second video comprises:
reading and decoding the second video through a video main playing process; and
after decoding is finished, sending a transition video frame playing stopping signal to the shared memory;
the stopping of displaying the transition video frame specifically includes:
acquiring the transition video frame playing stopping signal from the shared memory through the video auxiliary playing process; and
and stopping displaying the transition video frame according to the transition video frame playing stopping signal.
5. A DRM-based video switching apparatus, comprising:
a first video reading module for reading an ending video frame of a first video displayed on a display screen based on DRM;
the end video frame copying module is used for copying the end video frame to the shared memory to obtain a transition video frame;
a transition video frame display module for reading the transition video frame and displaying the transition video frame to the display screen based on DRM after the ending video frame stops displaying;
the second video reading module is used for reading a second video;
and the second video display module is used for stopping displaying the transition video frame and displaying the second video to the display screen based on DRM.
6. The DRM-based video switching apparatus according to claim 5, wherein the displaying the second video to the display screen by the second video display module based on DRM specifically comprises:
and caching and outputting the second video to the uppermost layer of the display screen in a ping-pong operation mode.
7. The DRM based video switching device of claim 5,
the end video frame copying module is specifically configured to:
copying the ending video frame to a shared memory through a main video playing process to obtain a transition video frame; and
sending a video frame playing ending signal to the shared memory;
the transition video frame display module is specifically configured to:
reading the ending video frame playing signal from the shared memory through a video auxiliary playing process, and reading the transition video frame from the shared memory according to the ending video frame playing signal; and
and displaying the transition video frame to the display screen.
8. The DRM based video switching device of claim 5,
the second video reading module is specifically configured to:
reading and decoding the second video through a video main playing process; and
after decoding is finished, sending a transition video frame playing stopping signal to the shared memory;
the second video display module ceasing to display the transition video frame comprises:
acquiring the transition video frame playing stopping signal from the shared memory through the video auxiliary playing process; and
and stopping displaying the transition video frame according to the transition video frame playing stopping signal.
9. A video processing apparatus, comprising: a memory and a processor connected to the memory, the memory storing a computer program, the processor executing the computer program to perform the DRM-based video switch display method according to any one of claims 1 to 4.
10. A computer-readable storage medium that is a non-volatile memory and stores computer-executable instructions for performing the DRM-based video switch display method according to any one of claims 1 to 4.
CN201911113977.3A 2019-11-14 2019-11-14 Video switching display method and device, video processing equipment and storage medium Active CN112804577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911113977.3A CN112804577B (en) 2019-11-14 2019-11-14 Video switching display method and device, video processing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911113977.3A CN112804577B (en) 2019-11-14 2019-11-14 Video switching display method and device, video processing equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112804577A true CN112804577A (en) 2021-05-14
CN112804577B CN112804577B (en) 2023-10-20

Family

ID=75803991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911113977.3A Active CN112804577B (en) 2019-11-14 2019-11-14 Video switching display method and device, video processing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112804577B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007149444A2 (en) * 2006-06-16 2007-12-27 Droplet Technology, Inc. System, method and apparatus of video processing and applications
CN103796075A (en) * 2014-02-27 2014-05-14 广州视源电子科技股份有限公司 Method and device for switching television paths and channels
US20150020088A1 (en) * 2013-02-11 2015-01-15 Crestron Electronics, Inc. Systems, Devices and Methods for Reducing Switching Time in a Video Distribution Network
WO2015098376A1 (en) * 2013-12-27 2015-07-02 日立マクセル株式会社 Broadcast reception device and video display method
CN105491452A (en) * 2015-11-25 2016-04-13 浙江宇视科技有限公司 Multi-video-window hierarchy switching method and device
US20160182466A1 (en) * 2014-12-23 2016-06-23 CodeShop BV TransDRM for Streaming Media
WO2017185609A1 (en) * 2016-04-28 2017-11-02 乐视控股(北京)有限公司 Video processing method and device
CN107786890A (en) * 2017-10-30 2018-03-09 深圳Tcl数字技术有限公司 Video switching method, device and storage medium
WO2018090729A1 (en) * 2016-10-20 2018-05-24 广州视源电子科技股份有限公司 Method and apparatus for multi-channel switching in intelligent interaction tablet
CN108156520A (en) * 2017-12-29 2018-06-12 珠海市君天电子科技有限公司 Video broadcasting method, device, electronic equipment and storage medium
CN108337552A (en) * 2018-01-30 2018-07-27 庄再濠 A kind of Web TV quickly cuts platform method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007149444A2 (en) * 2006-06-16 2007-12-27 Droplet Technology, Inc. System, method and apparatus of video processing and applications
US20150020088A1 (en) * 2013-02-11 2015-01-15 Crestron Electronics, Inc. Systems, Devices and Methods for Reducing Switching Time in a Video Distribution Network
WO2015098376A1 (en) * 2013-12-27 2015-07-02 日立マクセル株式会社 Broadcast reception device and video display method
CN103796075A (en) * 2014-02-27 2014-05-14 广州视源电子科技股份有限公司 Method and device for switching television paths and channels
US20160182466A1 (en) * 2014-12-23 2016-06-23 CodeShop BV TransDRM for Streaming Media
CN105491452A (en) * 2015-11-25 2016-04-13 浙江宇视科技有限公司 Multi-video-window hierarchy switching method and device
WO2017185609A1 (en) * 2016-04-28 2017-11-02 乐视控股(北京)有限公司 Video processing method and device
WO2018090729A1 (en) * 2016-10-20 2018-05-24 广州视源电子科技股份有限公司 Method and apparatus for multi-channel switching in intelligent interaction tablet
CN107786890A (en) * 2017-10-30 2018-03-09 深圳Tcl数字技术有限公司 Video switching method, device and storage medium
CN108156520A (en) * 2017-12-29 2018-06-12 珠海市君天电子科技有限公司 Video broadcasting method, device, electronic equipment and storage medium
CN108337552A (en) * 2018-01-30 2018-07-27 庄再濠 A kind of Web TV quickly cuts platform method and device

Also Published As

Publication number Publication date
CN112804577B (en) 2023-10-20

Similar Documents

Publication Publication Date Title
KR101034080B1 (en) Uniform video decoding and display
CN110366033B (en) Video playing method, device, equipment and storage medium
WO2020248909A1 (en) Video decoding method and apparatus, computer device, and storage medium
CN106534952B (en) Source switching back-film source continuous playing method and smart television
CN108093292B (en) Method, device and system for managing cache
CN112804410A (en) Multi-display-screen synchronous display method and device, video processing equipment and storage medium
CN111526404B (en) Single frame playing method, video playing device, monitoring equipment and storage medium
US20170220283A1 (en) Reducing memory usage by a decoder during a format change
JP2008042566A (en) Information processor and decoding control method of the information processor
WO2017078846A1 (en) Updating regions for display based on video decoding mode
CN109862409A (en) Video decoding, playback method, device, system, terminal and storage medium
CN111432262A (en) Page video rendering method and device
CN110708609A (en) Video playing method and device
US7010046B2 (en) Method and/or architecture for implementing MPEG frame display using four frame stores
CN114710702A (en) Video playing method and device
CN113473226B (en) Method and device for improving video rendering efficiency, computer equipment and storage medium
CN103686195A (en) Video information processing method and video information processing equipment
KR102035759B1 (en) Multi-threaded texture decoding
CN113079408A (en) Video playing method, device and system
CN107888876B (en) Vehicle-mounted information entertainment system and early image display method thereof
CN112804577B (en) Video switching display method and device, video processing equipment and storage medium
EP2166536A1 (en) Video data processor with frame buffer size adapted to the type of processing
CN111467797B (en) Game data processing method and device, computer storage medium and electronic equipment
CN112511887B (en) Video playing control method, corresponding device, equipment, system and storage medium
CN102376291A (en) Method and device for controlling image display

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
GR01 Patent grant
GR01 Patent grant