WO2020224337A1 - 锁屏视频的分屏播放方法、装置、设备及存储介质 - Google Patents

锁屏视频的分屏播放方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2020224337A1
WO2020224337A1 PCT/CN2020/079995 CN2020079995W WO2020224337A1 WO 2020224337 A1 WO2020224337 A1 WO 2020224337A1 CN 2020079995 W CN2020079995 W CN 2020079995W WO 2020224337 A1 WO2020224337 A1 WO 2020224337A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
screen
state
playback
operation signal
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.)
Ceased
Application number
PCT/CN2020/079995
Other languages
English (en)
French (fr)
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 Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Wodong Tianjun Information 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 Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Wodong Tianjun Information Technology Co Ltd
Publication of WO2020224337A1 publication Critical patent/WO2020224337A1/zh
Priority to US17/505,248 priority Critical patent/US12108104B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43072Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of multiple content streams on the same device
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/34Indicating arrangements 
    • 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
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00007Time or data compression or expansion
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/36Monitoring, i.e. supervising the progress of recording or reproducing
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • 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
    • H04N21/4314Generation 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 for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • 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/4402Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • 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/47End-user applications
    • H04N21/482End-user interface for programme selection
    • H04N21/4821End-user interface for programme selection using a grid, e.g. sorted out by channel and broadcast time
    • 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/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
    • 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/812Monomedia components thereof involving advertisement data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2624Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects for obtaining an image which is composed of whole input images, e.g. splitscreen
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00007Time or data compression or expansion
    • G11B2020/00072Time or data compression or expansion the compressed signal including a video signal

Definitions

  • the present invention relates to the field of electronic technology, and in particular to a split-screen playback method, device, equipment and storage medium of a locked screen video.
  • the background thread can be maintained to continue to play the video.
  • the existing video playback technology can only play a single video on the lock screen interface, which has low video playback efficiency and poor advertising effect.
  • the present invention provides a split-screen playback method, device, equipment and storage medium for lock-screen video, which can realize split-screen playback of lock-screen video without changing terminal hardware, which effectively improves video playback efficiency and is beneficial to Promote use, good user experience.
  • an embodiment of the present invention provides a split-screen playback method of a locked screen video, including:
  • the video files are respectively played on different display areas of the screen; wherein the number of the display areas is consistent with the number of the video files.
  • monitoring whether the screen enters the lock screen state includes:
  • Monitor whether the screen is in the screen off state through the system broadcast; if it is in the screen off state, it is determined that the screen enters the lock screen state.
  • playing the video files separately on different display areas of the screen includes:
  • the video information includes: video width, video height, coordinates of the upper left corner of the video, and video volume status;
  • the video volume status includes: mute state and non-mute state;
  • start decoding threads running in parallel and convert the video files into corresponding video images according to the video information of each video file; the number of the decoding threads is consistent with the number of the video files;
  • the video images are displayed on different display areas of the screen.
  • the video file is converted into a corresponding video image, including:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the fourth operation signal refers to: a sliding signal that is greater than the unlocking distance sensed in a preset area
  • it also includes:
  • an embodiment of the present invention provides a split-screen playback device for a locked screen video, including:
  • Monitoring module used to monitor whether the screen enters the lock screen state
  • An acquiring module configured to acquire at least two video files when it is detected that the screen enters the lock screen state
  • the playing module is used to play the video files on different display areas of the screen; wherein the number of the display areas is consistent with the number of the video files.
  • the monitoring module is specifically used for:
  • Monitor whether the screen is in the screen off state through the system broadcast; if it is in the screen off state, it is determined that the screen enters the lock screen state.
  • the playing module is specifically used for:
  • the video information includes: video width, video height, coordinates of the upper left corner of the video, and video volume status;
  • the video volume status includes: mute state and non-mute state;
  • start decoding threads running in parallel and convert the video files into corresponding video images according to the video information of each video file; the number of the decoding threads is consistent with the number of the video files;
  • the video images are displayed on different display areas of the screen.
  • the video file is converted into a corresponding video image, including:
  • a processing module for:
  • a processing module for:
  • it also includes:
  • the unlocking module is used to respond to the fourth operation signal input by the user and enter the unlocked state from the locked screen state according to the fourth operation signal;
  • the fourth operation signal refers to: the sensor sensed in the preset area is greater than the unlocked state Sliding signal of distance;
  • the storage module is used to save the current playback address, playback progress and video information of the video file.
  • the playback module is also used for:
  • an embodiment of the present invention provides a split-screen playback device for a lock screen video, including: a memory and a processor, the memory storing executable instructions of the processor; wherein the processor is configured to execute The executable instruction executes the split-screen playback method of the lock screen video described in any one of the first aspect.
  • an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method for split-screen playback of the lock screen video described in any one of the first aspect is realized .
  • an embodiment of the present invention provides a program product, the program product includes: a computer program, the computer program is stored in a readable storage medium, at least one processor of the server can read from the readable storage medium Taking the computer program, the at least one processor executes the computer program to make the server execute the method for split-screen playback of the lock screen video described in any one of the first aspect.
  • the present invention provides a split-screen playback method, device, equipment and storage medium of a lock screen video by monitoring whether the screen enters the lock screen state; if it is monitored that the screen enters the lock screen state, at least two video files are acquired; The video files are respectively played on different display areas of the screen; wherein the number of the display areas is the same as the number of the video files.
  • the present invention can realize the split-screen playback of the lock screen video without changing the terminal hardware, which effectively improves the video playback efficiency, is beneficial to popularization and use, and has a good user experience.
  • Figure 1 is a schematic diagram of the principle of an application scenario of the present invention
  • Embodiment 2 is a flowchart of a method for split-screen playback of a lock screen video provided by Embodiment 1 of the present invention
  • FIG. 3 is a schematic flowchart of a decoding thread provided by an embodiment of the present invention.
  • FIG. 4 is a flowchart of a split-screen playback method for a lock screen video provided by Embodiment 2 of the present invention.
  • FIG. 5 is a schematic diagram of a flow of full-screen playback provided by an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of the effect of split-screen playback provided by an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of the effect of full-screen playback provided by an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a split-screen playback device for a lock screen video provided in Embodiment 3 of the present invention.
  • FIG. 9 is a schematic structural diagram of a split-screen playback device for a lock screen video provided by Embodiment 4 of the present invention.
  • FIG. 10 is a schematic structural diagram of a device for split-screen playback of a lock screen video provided in Embodiment 5 of the present invention.
  • FFmpeg is a free software that can run recording, conversion, and streaming functions in multiple formats of audio and video, including libavcodec and libavformat.
  • libavcodec is a decoder library for audio and video in multiple projects
  • libavformat is an audio and video format conversion library.
  • AVFrame structure generally used to store original data (that is, uncompressed data, such as YUV, RGB for video, and PCM for audio), and also contains some related information. For example, data such as macroblock type table, QP table, and motion vector table are stored during decoding. Related data is also stored during encoding.
  • the background thread can be maintained to continue to play the video. Therefore, in order to further improve the efficiency of advertising, a scheme for split-screen video playback in the locked screen state is designed.
  • the present invention provides a split-screen playback method for lock-screen videos, which can realize split-screen playback of lock-screen videos without changing terminal hardware, which effectively improves the efficiency of video playback, is conducive to popularization and user experience good.
  • Figure 1 is a schematic diagram of the principle of an application scenario of the present invention.
  • the terminal monitors whether the screen is in the off state through the system broadcast; if it is in the off state, the screen enters Lock screen status. If the system broadcast is turned on, the lock screen playback application (Activity) is started. At this time, the terminal will block the button function of the mobile phone, and then load at least two video files. Then, the terminal determines the video information of each video file.
  • the video information includes: video width, video height, coordinates of the upper left corner of the video, and video volume status; the video volume status includes: mute state and non-mute state.
  • the decoding threads running in parallel are started, and the video files are converted into corresponding video images according to the video information of each video file; the number of decoding threads is consistent with the number of video files.
  • the terminal displays video images on different display areas of the screen. Among them, the number of display areas is consistent with the number of video files.
  • the terminal can respond to the first operation signal input by the user, and according to the first operation signal, control the playback state of any display area to the full-screen playback state; when in the full-screen playback state, the video files corresponding to the remaining hidden display areas are paused; Respond to the second operation signal input by the user, and switch from the full-screen playback state to the split-screen playback state according to the second operation signal.
  • the terminal can also receive notifications and display notifications in the message bar; where the message bar is located above or below the display area; responds to the user's third operation signal for the message bar, and enters the notification from the lock screen state according to the third operation signal The corresponding application interface.
  • the terminal can also respond to the fourth operation signal input by the user, and enter the unlocked state from the locked screen state according to the fourth operation signal; the fourth operation signal refers to: a sliding signal that is greater than the unlocking distance sensed in a preset area; save The current playback address, playback progress, and video information of the video file.
  • the terminal can also continue to play the video file according to the current playback address, playback progress, and video information of the saved video file when it enters the lock screen state next time.
  • the application of the above method can realize the split-screen playback of the lock screen video without changing the terminal hardware, which effectively improves the playback efficiency of the video, facilitates promotion and use, and has a good user experience.
  • FIG. 2 is a flowchart of a split-screen playback method of a lock screen video provided in Embodiment 1 of the present invention. As shown in FIG. 2, the method in this embodiment may include:
  • the system broadcast is triggered; the terminal monitors whether the screen is in the screen off state through the system broadcast; if it is in the screen off state, it is determined that the screen enters the lock screen state.
  • S102 Acquire at least two video files if it is detected that the screen enters the lock screen state.
  • the system broadcast when the screen enters the off state, the system broadcast will be triggered to turn on.
  • the service application running in the background will monitor the system broadcast, and if the system broadcast is enabled, the lock screen playback application (Activity) will be started.
  • the terminal At this time, the terminal will block the button function of the mobile phone, and then load at least two video files.
  • four videos are taken as an example for description, which will not be described later.
  • the method of loading the video can be the user manually selects to load the video, or automatically loads the last played video, or the video file under the default path set by the user or the terminal.
  • this embodiment does not limit the video acquisition manner, and those skilled in the art can increase or decrease the video acquisition manner according to actual conditions.
  • the way to obtain the video can be that the user manually selects to load the video, or it can automatically load the last played video, or it can be the video file under the default path set by the user or the terminal.
  • S103 Play video files separately on different display areas of the screen.
  • the terminal determines the video information of each video file.
  • the video information includes: video width, video height, coordinates of the upper left corner of the video, and video volume status; the video volume status includes: mute state and non-mute state.
  • the decoding threads running in parallel are started, and the video files are converted into corresponding video images according to the video information of each video file; the number of decoding threads is consistent with the number of video files.
  • the terminal displays video images on different display areas of the screen. Among them, the number of display areas is consistent with the number of video files.
  • video decoding and playback are performed in threads, usually one decoding thread and one display thread. Then for the playback of multiple videos, each additional video is decoded, a new decoding thread will be started. In addition, a thread that displays the overall screen must be added.
  • videoInfo contains variables such as desWidth, desHeight, x, y, and mute.
  • desWidth represents the video width corresponding to the video
  • desHeight represents the video height corresponding to the video
  • x represents the horizontal coordinate corresponding to the upper left corner of the video
  • y represents the horizontal coordinate corresponding to the upper left corner of the video
  • mute represents the volume state corresponding to the video, such as whether Mute etc.
  • a definition of an entire video frame is added to store the entire large image and finally display it in the window. For example, the size of the display window is 1280*720.
  • AVFrame Assign a value so that after the image is decoded, it is converted into an image of corresponding width and height, or a specific area on the screen is designated to store several video images. According to the position of each video, copy the current AVFrame (current frame) of the video to the total AVFrame (current total frame), and then call the Show function to display it. What is stored in AVFrame is the original data after decoding. AVFrame is the output of the decoder during the decoding process and the input of the encoder during the encoding process. Therefore, when using the ffmpeg codec for bit stream analysis, AVFrame is a very important structure.
  • the display thread assigns a value to the next frame of video (preFrame), so as to realize the flow of video playback. Because the playback of each video is independent of each other, the preFrame of each video is in a different thread. Therefore, the display needs to be protected by a lock, and a mutex lock called videoMutex is used. At the same time, you can set whether to mute each video according to your needs, so as to achieve the effect of simultaneous playback.
  • preFrame next frame of video
  • the video file is converted into a corresponding video image, including: registering the ffmpeg codec; inputting the file list corresponding to the video file; opening the control command for locking different decoding threads Mutual exclusion lock; open all video files through the decoding threads running in parallel; release the mutex lock; encapsulate the frame decoding process of the video file and release the ffmpeg codec to obtain the corresponding video image.
  • FIG. 3 is a schematic flow diagram of the decoding thread provided by an embodiment of the present invention.
  • the decoding process provided by this implementation includes: registering ffmpeg information, opening a video file list, opening a mutex lock, and multithreading. Play video, unlock, encapsulate the frame decoding process, release the decoder, release the mutex lock, and close the video file list.
  • the present invention can realize the split-screen playback of the lock screen video without changing the terminal hardware, which effectively improves the video playback efficiency, is beneficial to popularization and use, and has a good user experience.
  • FIG. 4 is a flowchart of a split-screen playback method of a lock screen video provided in Embodiment 2 of the present invention. As shown in FIG. 4, the method in this embodiment may include:
  • S203 Play video files separately on different display areas of the screen.
  • step S201 to step S203 in this embodiment please refer to the related description of step S101 to step S103 in the method shown in FIG. 2, which will not be repeated here.
  • the control of playing the video can also be performed in response to the operation signal input by the user, thereby improving the user experience.
  • all devices use dual-channel output. A volume list and a play status list are maintained on the client for different threads, and different defaults are set respectively. Volume, when there is an enlarged video, all other threads are muted, and playback is paused, and the file path, progress and volume information of the paused video are saved.
  • the minimum change principle is followed when setting the video playback position, and the largest blank area is found as the maximum size of the player without changing the original layout. Divide the area equally according to the number of video files. Outside the playing area, any position on the screen can detect unlocking sliding. Unlock the interface to make calls and turn on the camera. Can also detect double click, single click, long press and other operations. Double-click the home button to turn on the camera, and shield the home button. In the current version, you cannot directly shield the home button. Set the lock screen Activity (lock screen application) to Launcher (desktop) to avoid this problem. Start the real launcher after detecting the unlock gesture.
  • the player interface can be supported to move on the screen, and it can be moved within the Activity interface like dragging the App (application). When the interface is dragged, the screen interface will be re-layout.
  • FIG. 5 is a schematic diagram of a flow of full-screen playback provided by an embodiment of the present invention
  • FIG. 6 is a schematic diagram of effects of split-screen playback provided by an embodiment of the present invention
  • FIG. 7 is a schematic diagram of the effect of full-screen playback provided by an embodiment of the present invention.
  • the terminal may receive the notification and display the notification in the message bar; where the message bar is located above or below the display area; responding to the user's third operation signal for the message bar, and according to the third operation signal, from the lock screen Status enters the application interface corresponding to the notification.
  • the terminal may respond to the fourth operation signal input by the user, and enter the unlocked state from the locked screen state according to the fourth operation signal;
  • the fourth operation signal refers to: a sliding motion greater than the unlocking distance sensed in a preset area Signal; save the current playback address, playback progress and video information of the video file.
  • the video file continues to be played according to the current playback address, playback progress, and video information of the saved video file.
  • the present invention can realize the split-screen playback of the lock screen video without changing the terminal hardware, which effectively improves the video playback efficiency, is beneficial to popularization and use, and has a good user experience.
  • this implementation can also perform video playback control in response to an operation signal input by the user, thereby improving user experience.
  • FIG. 8 is a schematic structural diagram of an apparatus for split-screen playback of a lock screen video provided in Embodiment 3 of the present invention.
  • the apparatus for split-screen playback of a lock screen video in this embodiment may include:
  • the monitoring module 31 is used to monitor whether the screen enters the lock screen state
  • the obtaining module 32 is configured to obtain at least two video files when it is monitored that the screen enters the lock screen state;
  • the playing module 33 is used for playing video files on different display areas of the screen; the number of display areas is the same as the number of video files.
  • the monitoring module 31 is specifically used for:
  • the playback module 33 is specifically used for:
  • the video information includes: video width, video height, coordinates of the upper left corner of the video, video volume status; video volume status includes: mute state, non-mute state;
  • the decoding threads running in parallel, and convert the video files into corresponding video images according to the video information of each video file; the number of decoding threads is the same as the number of video files;
  • the video file is converted into a corresponding video image, including:
  • the device for split-screen playback of a lock screen video in this embodiment can execute the technical solution in the method shown in FIG. 2.
  • the specific implementation process and technical principle refer to the related description in the method shown in FIG. 2, and will not be repeated here.
  • the present invention can realize the split-screen playback of the lock screen video without changing the terminal hardware, which effectively improves the video playback efficiency, is beneficial to popularization and use, and has a good user experience.
  • FIG. 9 is a schematic structural diagram of a split-screen playback device for a lock screen video provided in Embodiment 4 of the present invention.
  • the split-screen playback device for a lock screen video in this embodiment is based on the device shown in FIG. 8, It can also include:
  • the processing module 34 is specifically configured to: respond to the first operation signal input by the user, and control the playback state of any display area to be the full-screen playback state according to the first operation signal; when in the full-screen playback state, the remaining hidden display areas correspond to Pause playback of the video file; respond to the second operation signal input by the user, and switch from the full-screen playback state to the split-screen playback state according to the second operation signal.
  • processing module 34 is specifically used for:
  • the message bar is located above or below the display area;
  • it also includes:
  • the unlocking module 35 is configured to respond to the fourth operation signal input by the user and enter the unlocked state from the locked screen state according to the fourth operation signal;
  • the fourth operation signal refers to: a sliding motion greater than the unlocking distance sensed in a preset area signal;
  • the storage module 36 is used to store the current playback address, playback progress, and video information of the video file.
  • the playback module 33 is also used to:
  • the split-screen playback device of the lock screen video of this embodiment can execute the technical solutions in the methods shown in FIG. 2 and FIG. 4.
  • the present invention can realize the split-screen playback of the lock screen video without changing the terminal hardware, which effectively improves the video playback efficiency, is beneficial to popularization and use, and has a good user experience.
  • this implementation can also perform video playback control in response to an operation signal input by the user, thereby improving user experience.
  • FIG. 10 is a schematic structural diagram of a device for split-screen playback of a lock screen video provided by Embodiment 5 of the present invention.
  • the device 40 for split-screen playback of a lock screen video in this embodiment may include: a processor 41 and a memory 42 .
  • the memory 42 is used to store programs; the memory 42 may include volatile memory (English: volatile memory), such as random access memory (English: random-access memory, abbreviation: RAM), such as static random access memory (English: volatile memory) : Static random-access memory, abbreviation: SRAM), double data rate synchronous dynamic random access memory (English: Double Data Rate Synchronous Dynamic Access Memory, abbreviation: DDR SDRAM), etc.; memory can also include non-volatile memory (English: non-volatile memory), such as flash memory (English: flash memory).
  • the memory 42 is used to store computer programs (such as application programs and functional modules that implement the above methods), computer instructions, etc., and the above computer programs, computer instructions, etc. may be partitioned and stored in one or more memories 42.
  • the aforementioned computer programs, computer instructions, data, etc. can be called by the processor 41.
  • the above-mentioned computer programs, computer instructions, etc. may be partitioned and stored in one or more memories 42.
  • the aforementioned computer programs, computer instructions, data, etc. can be called by the processor 41.
  • the processor 41 is configured to execute a computer program stored in the memory 42 to implement each step in the method involved in the foregoing embodiment.
  • the processor 41 and the memory 42 may be independent structures, or may be an integrated structure integrated together. When the processor 41 and the memory 42 are independent structures, the memory 42 and the processor 41 may be coupled and connected through the bus 43.
  • the server of this embodiment can execute the technical solutions in the methods shown in FIG. 2 and FIG. 4, and for the specific implementation process and technical principles, please refer to the related descriptions in the methods shown in FIG. 2 and FIG. 4, which will not be repeated here.
  • the embodiments of the present application also provide a computer-readable storage medium.
  • the computer-readable storage medium stores computer-executable instructions.
  • the user equipment executes the aforementioned various possibilities. Methods.
  • the computer-readable medium includes a computer storage medium and a communication medium
  • the communication medium includes any medium that facilitates the transfer of a computer program from one place to another.
  • the storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
  • An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and can write information to the storage medium.
  • the storage medium may also be an integral part of the processor.
  • the processor and the storage medium may be located in the ASIC.
  • the ASIC may be located in the user equipment.
  • the processor and the storage medium may also exist as discrete components in the communication device.
  • the program product includes a computer program.
  • the computer program is stored in a readable storage medium.
  • At least one processor of the server can read the computer program from the readable storage medium.
  • At least one processor executes the computer program so that The server implements any of the methods in the foregoing embodiments of the present invention.
  • a person of ordinary skill in the art can understand that all or part of the steps in the foregoing method embodiments can be implemented by a program instructing relevant hardware.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the steps including the foregoing method embodiments are executed; and the foregoing storage medium includes: ROM, RAM, magnetic disk, or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明提供一种锁屏视频的分屏播放方法、装置、设备及存储介质,该方法,包括:监测屏幕是否进入锁屏状态;若监测到屏幕进入锁屏状态,则获取至少两个视频文件;在屏幕的不同显示区域上,分别播放视频文件;其中,显示区域的数量与视频文件的数量一致。本发明可以在不改变终端硬件的前提下,实现锁屏视频的分屏播放,有效第提升了视频的播放效率,利于推广使用,用户体验佳。

Description

锁屏视频的分屏播放方法、装置、设备及存储介质
本申请要求于2019年05月07日提交中国专利局、申请号为201910374011.9、申请名称为“锁屏视频的分屏播放方法、装置、设备及存储介质的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及电子技术领域,尤其涉及一种锁屏视频的分屏播放方法、装置、设备及存储介质。
背景技术
随着电子技术的不断发展,手机、平板电脑等智能终端已经成为人们生活中不可或缺的一部分。通过智能终端登录各类视频客户端或者视频门户网站观看视频已成为人们生活中常见的娱乐方式。
目前,当终端处于锁屏状态时,可以通过维持后台线程的运行,来达到继续播放视频的目的。
但是,现有的视频播放技术只能在锁屏界面上播放单独的视频,其视频播放效率低,广告宣传效果差。
发明内容
本发明提供一种锁屏视频的分屏播放方法、装置、设备及存储介质,可以在不改变终端硬件的前提下,实现锁屏视频的分屏播放,有效的提升了视频的播放效率,利于推广使用,用户体验佳。
第一方面,本发明实施例提供一种锁屏视频的分屏播放方法,包括:
监测屏幕是否进入锁屏状态;
若监测到所述屏幕进入锁屏状态,则获取至少两个视频文件;
在屏幕的不同显示区域上,分别播放所述视频文件;其中,所述显示区域的数量与所述视频文件的数量一致。
在一种可能的设计中,监测屏幕是否进入锁屏状态,包括:
当屏幕熄灭时,触发生成系统广播;
通过所述系统广播监听屏幕是否处于屏幕关闭状态;若处于屏幕关闭状态,则确定屏幕进入锁屏状态。
在一种可能的设计中,在屏幕的不同显示区域上,分别播放所述视频文件,包括:
确定每个视频文件的视频信息,所述视频信息包括:视频宽度、视频高度、视频左上角的坐标、视频音量状态;所述视频音量状态包括:静音状态、非静音状态;
启动并行运行的解码线程,并根据每个视频文件的视频信息,将视频文件转换成对应的视频图像;所述解码线程的数量与所述视频文件的数量一致;
在屏幕的不同显示区域上,显示所述视频图像。
在一种可能的设计中,根据每个视频文件的视频信息,将视频文件转换成对应的视频图像,包括:
注册ffmpeg编解码器;
输入视频文件对应的文件列表;
开启用于锁定不同解码线程的控制指令的互斥锁;
通过并行运行的解码线程开启所有视频文件;
释放所述互斥锁;
对视频文件的帧解码过程进行封装,并释放ffmpeg编解码器,得到对应的视频图像。
在一种可能的设计中,在屏幕的不同显示区域上,分别播放所述视频文件之后,还包括:
响应用户输入的第一操作信号,并根据所述第一操作信号控制任一显示区域的播放状态为全屏播放状态;当处于全屏播放状态时,其余隐藏的显示区域所对应的视频文件暂停播放;
响应用户输入的第二操作信号,并根据所述第二操作信号从全屏播放状态切换为分屏播放状态。
在一种可能的设计中,在屏幕的不同显示区域上,分别播放所述视频文件之后,还包括:
接收通知,并在消息栏显示所述通知;其中,所述消息栏位于所述显示区域的上方或者下方位置;
响应用户针对所述消息栏的第三操作信号,并根据所述第三操作信号,从锁屏状态进入所述通知对应的应用界面。
在一种可能的设计中,在屏幕的不同显示区域上,分别播放所述视频文件之后,还包括:
响应用户输入的第四操作信号,并根据所述第四操作信号从锁屏状态进入解锁状态;所述第四操作信号是指:在预设的区域内感应得到的大于解锁距离的滑动信号;
保存所述视频文件的当前播放地址、播放进度以及视频信息。
在一种可能的设计中,还包括:
在下一次进入锁屏状态时,按照保存的所述视频文件的当前播放地址、播放进度以及视频信息,继续播放所述视频文件。
第二方面,本发明实施例提供一种锁屏视频的分屏播放装置,包括:
监测模块,用于监测屏幕是否进入锁屏状态;
获取模块,用于在监测到所述屏幕进入锁屏状态时,获取至少两个视频文件;
播放模块,用于在屏幕的不同显示区域上,分别播放所述视频文件;其中,所述显示区域的数量与所述视频文件的数量一致。
在一种可能的设计中,所述监测模块,具体用于:
当屏幕熄灭时,触发生成系统广播;
通过所述系统广播监听屏幕是否处于屏幕关闭状态;若处于屏幕关闭状态,则确定屏幕进入锁屏状态。
在一种可能的设计中,所述播放模块,具体用于:
确定每个视频文件的视频信息,所述视频信息包括:视频宽度、视频高度、视频左上角的坐标、视频音量状态;所述视频音量状态包括:静音状态、非静音状态;
启动并行运行的解码线程,并根据每个视频文件的视频信息,将视频文件转换成对应的视频图像;所述解码线程的数量与所述视频文件的数量一致;
在屏幕的不同显示区域上,显示所述视频图像。
在一种可能的设计中,根据每个视频文件的视频信息,将视频文件转换成对应的视频图像,包括:
注册ffmpeg编解码器;
输入视频文件对应的文件列表;
开启用于锁定不同解码线程的控制指令的互斥锁;
通过并行运行的解码线程开启所有视频文件;
释放所述互斥锁;
对视频文件的帧解码过程进行封装,并释放ffmpeg编解码器,得到对应的视频图像。
在一种可能的设计中,还包括:处理模块,用于:
响应用户输入的第一操作信号,并根据所述第一操作信号控制任一显示区域的播放状态为全屏播放状态;当处于全屏播放状态时,其余隐藏的显示区域所对应的视频文件暂停播放;
响应用户输入的第二操作信号,并根据所述第二操作信号从全屏播放状态切换为分屏播放状态。
在一种可能的设计中,还包括:处理模块,用于:
接收通知,并在消息栏显示所述通知;其中,所述消息栏位于所述显示区域的上方或者下方位置;
响应用户针对所述消息栏的第三操作信号,并根据所述第三操作信号,从锁屏状态进入所述通知对应的应用界面。
在一种可能的设计中,还包括:
解锁模块,用于响应用户输入的第四操作信号,并根据所述第四操作信号从锁屏状态进入解锁状态;所述第四操作信号是指:在预设的区域内感应得到的大于解锁距离的滑动信号;
存储模块,用于保存所述视频文件的当前播放地址、播放进度以及视频信息。
在一种可能的设计中,所述播放模块,还用于:
在下一次进入锁屏状态时,按照保存的所述视频文件的当前播放地址、播放进度以及视频信息,继续播放所述视频文件。
第三方面,本发明实施例提供一种锁屏视频的分屏播放设备,包括:存储器和处理器,存储器中存储有所述处理器的可执行指令;其中,所述处理器配置为经由执行所述可执行指令来执行第一方面中任一项所述的锁屏视频的分屏播放方法。
第四方面,本发明实施例提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现第一方面中任一项所述的锁屏视频的分屏播放方法。
第五方面,本发明实施例提供一种程序产品,所述程序产品包括:计算机程序,所述计算机程序存储在可读存储介质中,服务器的至少一个处理器可以从所述可读存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序使得服务器执行第一方面中任一所述的锁屏视频的分屏播放方法。
本发明提供一种锁屏视频的分屏播放方法、装置、设备及存储介质,通过监测屏幕是否进入锁屏状态;若监测到所述屏幕进入锁屏状态,则获取至少两个视频文件;在屏幕的不同显示区域上,分别播放所述视频文件;其中,所述显示区域的数量与所述视频文件的数量一致。本发明可以在不改变终端硬件的前提下,实现锁屏视频的分屏播放,有效第提升了视频的播放效率,利于推广使用,用户体验佳。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明一应用场景的原理示意图;
图2为本发明实施例一提供的锁屏视频的分屏播放方法的流程图;
图3为本发明实施例提供的解码线程的流程示意图;
图4为本发明实施例二提供的锁屏视频的分屏播放方法的流程图;
图5为本发明实施例提供的全屏播放的流程示意图;
图6为本发明实施例提供的分屏播放的效果示意图;
图7为本发明实施例提供的全屏播放的效果示意图;
图8为本发明实施例三提供的锁屏视频的分屏播放装置的结构示意图;
图9为本发明实施例四提供的锁屏视频的分屏播放装置的结构示意图;
图10为本发明实施例五提供的锁屏视频的分屏播放设备的结构示意图。
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描 述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
为了便于理解技术方案,对本发明中出现的专业术语进行解释。
1)FFmpeg:是一个自由软件,可以运行音频和视频多种格式的录影、转换、流功能,包含了libavcodec、libavformat。其中,libavcodec是一个用于多个项目中音频和视频的解码器库,libavformat是一个音频与视频格式转换库。
2)AVFrame结构体:一般用于存储原始数据(即非压缩数据,例如对视频来说是YUV,RGB,对音频来说是PCM),此外还包含了一些相关的信息。比如说,解码的时候存储了宏块类型表,QP表,运动矢量表等数据。编码的时候也存储了相关的数据。
下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。
随着电子技术的不断发展,手机、平板电脑等智能终端已经成为人们生 活中不可或缺的一部分。通过智能终端登录各类视频客户端或者视频门户网站观看视频已成为人们生活中常见的娱乐方式。
目前,当终端处于锁屏状态时,可以通过维持后台线程的运行,来达到继续播放视频的目的。因此,为了进一步地提升广告宣传效率,设计出了锁屏状态下分屏播放视频的方案。
但是,现有的锁屏视频分屏播放技术,需要对终端的硬件和软件层进行大量的改动,制作成本高,不利于推广使用。
因此,本发明提供一种锁屏视频的分屏播放方法,可以在不改变终端硬件的前提下,实现锁屏视频的分屏播放,有效第提升了视频的播放效率,利于推广使用,用户体验佳。
图1为本发明一应用场景的原理示意图,如图1所示,当屏幕熄灭时,触发生成系统广播;终端通过系统广播监听屏幕是否处于屏幕关闭状态;若处于屏幕关闭状态,则确定屏幕进入锁屏状态。若系统广播被开启,则启动锁屏播放应用(Activity)。此时,终端会屏蔽手机的按键功能,然后加载至少两个视频文件。然后,终端确定每个视频文件的视频信息,视频信息包括:视频宽度、视频高度、视频左上角的坐标、视频音量状态;视频音量状态包括:静音状态、非静音状态。然后,启动并行运行的解码线程,并根据每个视频文件的视频信息,将视频文件转换成对应的视频图像;解码线程的数量与视频文件的数量一致。最后,终端在屏幕的不同显示区域上,显示视频图像。其中,显示区域的数量与视频文件的数量一致。终端可以响应用户输入的第一操作信号,并根据第一操作信号控制任一显示区域的播放状态为全屏播放状态;当处于全屏播放状态时,其余隐藏的显示区域所对应的视频文件暂停播放;响应用户输入的第二操作信号,并根据第二操作信号从全屏播放状态切换为分屏播放状态。终端还可以接收通知,并在消息栏显示通知;其中,消息栏位于显示区域的上方或者下方位置;响应用户针对消息栏的第三操作信号,并根据第三操作信号,从锁屏状态进入通知对应的应用界面。终端也可以响应用户输入的第四操作信号,并根据第四操作信号从锁屏状态进入解锁状态;第四操作信号是指:在预设的区域内感应得到的大于解锁距离的滑动信号;保存视频文件的当前播放地址、播放进度以及视频信息。终端还可以在下一次进入锁屏状态时,按照保存的视频文件的当前播放地址、播 放进度以及视频信息,继续播放视频文件。
应用上述方法可以在不改变终端硬件的前提下,实现锁屏视频的分屏播放,有效第提升了视频的播放效率,利于推广使用,用户体验佳。
下面以具体地实施例对本发明的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本发明的实施例进行描述。
图2为本发明实施例一提供的锁屏视频的分屏播放方法的流程图,如图2所示,本实施例中的方法可以包括:
S101、监测屏幕是否进入锁屏状态。
本实施例中,当屏幕熄灭时,触发生成系统广播;终端通过系统广播监听屏幕是否处于屏幕关闭状态;若处于屏幕关闭状态,则确定屏幕进入锁屏状态。
S102、若监测到屏幕进入锁屏状态,则获取至少两个视频文件。
本实施例中,当屏幕进入熄灭状态时,会触发系统广播开启。后台运行的服务应用会监听系统广播,若系统广播被开启,则启动锁屏播放应用(Activity)。此时,终端会屏蔽手机的按键功能,然后加载至少两个视频文件。本实施例以四个视频为例进行说明,后续不再说明。加载视频的方式,可以是用户手工选择加载视频,也可以是自动加载上次播放的视频,还可以是用户或者终端设置的默认的路径下的视频文件。
需要说明的是,本实施例不限定视频的获取方式,本领域的技术人员可以根据实际情况增加或者减少视频的获取方式。获取视频的方式,可以是用户手工选择加载视频,也可以是自动加载上次播放的视频,还可以是用户或者终端设置的默认的路径下的视频文件。
S103、在屏幕的不同显示区域上,分别播放视频文件。
本实施例中,首先,终端确定每个视频文件的视频信息,视频信息包括:视频宽度、视频高度、视频左上角的坐标、视频音量状态;视频音量状态包括:静音状态、非静音状态。然后,启动并行运行的解码线程,并根据每个视频文件的视频信息,将视频文件转换成对应的视频图像;解码线程的数量与视频文件的数量一致。最后,终端在屏幕的不同显示区域上,显示视频图像。其中,显示区域的数量与视频文件的数量一致。
具体地,视频的解码与播放是在线程中进行的,通常是一个解码线程,一个显示线程。那么对于多个视频的播放,则每多解码一个视频,都会启动一个新的解码线程。此外,还要添加一个显示总画面的线程。当有多个视频时,把音视频相关的变量都提取出来,定义一个新的结构体videoInfo(视频信息),视频信息包含了desWidth、desHeight、x、y、mute等变量。其中,desWidth表示视频对应的视频宽度、desHeight表示视频对应的视频高度,x表示视频左上角对应的横轴坐标,y表示视频左上角对应的横轴坐标,mute表示视频对应的音量状态,例如是否静音等。另外添加了一个整个视频帧(allframe)的定义,用来存储整个大图,以及最后展示到窗口中。例如,显示窗口的大小为1280*720,在播放视频的时候,如果有两个或三个或四个视频,将会根据视频个数来对每个视频的VideoInfo中的图像宽高位置等参数进行赋值,从而在图像解码后,转化成对应宽高的图像,或者指定屏幕中的特定区域存放几个视频图像。根据各个视频的位置显示将视频当前的AVFrame(当前帧)拷贝到总的AVFrame(当前总帧)中,然后调用Show函数显示出来。AVFrame中存储的是经过解码后的原始数据,AVFrame即是解码过程中解码器的输出,也是编码过程中编码器的输入。因此,在使用ffmpeg编解码器进行码流分析的时候,AVFrame是一个很重要的结构体。当有新图像需要展示时,显示线程对下一帧视频(preFrame)进行赋值,从而实现视频的流程播放。因为每一个视频的播放都是相互独立的,每个视频的preFrame处于不同的线程中。因此,在显示时需要用锁保护起来,使用到了一个叫videoMutex的互斥锁。同时,还可以根据需要对每个视频设置是否要静音,从而达到同时播放的效果。
可选地,根据每个视频文件的视频信息,将视频文件转换成对应的视频图像,包括:注册ffmpeg编解码器;输入视频文件对应的文件列表;开启用于锁定不同解码线程的控制指令的互斥锁;通过并行运行的解码线程开启所有视频文件;释放互斥锁;对视频文件的帧解码过程进行封装,并释放ffmpeg编解码器,得到对应的视频图像。
具体地,图3为本发明实施例提供的解码线程的流程示意图,如图3所示,本实施提供的解码流程,包括:注册ffmpeg信息、打开视频文件列表、打开互斥锁、多线程开启播放视频、解锁,帧解码过程封装,释放解码器,释放互斥锁,关闭视频文件列表。
本实施例,通过监测屏幕是否进入锁屏状态;若监测到屏幕进入锁屏状态,则获取至少两个视频文件;在屏幕的不同显示区域上,分别播放视频文件;其中,显示区域的数量与视频文件的数量一致。本发明可以在不改变终端硬件的前提下,实现锁屏视频的分屏播放,有效第提升了视频的播放效率,利于推广使用,用户体验佳。
图4为本发明实施例二提供的锁屏视频的分屏播放方法的流程图,如图4所示,本实施例中的方法可以包括:
S201、监测屏幕是否进入锁屏状态。
S202、若监测到屏幕进入锁屏状态,则获取至少两个视频文件。
S203、在屏幕的不同显示区域上,分别播放视频文件。
本实施例中的步骤S201~步骤S203的技术原理和具体实现过程请参见图2所示方法中步骤S101~步骤S103的相关描述,此处不再赘述。
S204、响应用户输入的操作信号,执行播放视频的控制。
本实施例中,在屏幕的不同显示区域上,分别播放视频文件之后,还可以响应用户输入的操作信号,执行播放视频的控制,从而提升用户的体验。本实施例中,多个视频的音视频输出,为了优化输出效果,所有的设备均使用双声道输出,在客户端为不同的线程分别维护一个音量列表,播放状态列表,分别设置不同的默认音量,当有获得放大显示的视频时,其他线程全部静音,并暂停播放,并且在保存已暂停视频的文件路径、进度及音量信息。本实施例中,为了使锁屏播放的体验更好,在设置视频的播放位置时遵循了最小改变原则,在不改变原有布局的基础上寻找最大的空白区域作为播放器的最大尺寸,并把区域按视频文件个数平均分成分配。在播放区域外,屏幕上的任何位置都可以检测解锁滑动。解锁界面可以拨打电话,开启相机。还可以可检测双击,单击,长按等操作。双击home键开启相机,屏蔽单击Home键,在现在的版本中,不能直接屏蔽home键,将锁屏Activity(锁屏应用)设为Launcher(桌面)而规避该问题。当检测到解锁手势后再启动真正的launcher。同时,还提供一个动态布局功能,引用了之前的一个SDK(Software Development Kit,软件开发工具)。可以支持播放器界面在屏幕上移动,可像拖动App(应用)一样在Activity的界面内移动,当拖动该界面时会是屏幕界面重新布局。
可选地,响应用户输入的第一操作信号,并根据第一操作信号控制任一显示区域的播放状态为全屏播放状态;当处于全屏播放状态时,其余隐藏的显示区域所对应的视频文件暂停播放;响应用户输入的第二操作信号,并根据第二操作信号从全屏播放状态切换为分屏播放状态。以双击屏幕作为操作信号为例,图5为本发明实施例提供的全屏播放的流程示意图,图6为本发明实施例提供的分屏播放的效果示意图。图7为本发明实施例提供的全屏播放的效果示意图。
可选地,终端可以接收通知,并在消息栏显示通知;其中,消息栏位于显示区域的上方或者下方位置;响应用户针对消息栏的第三操作信号,并根据第三操作信号,从锁屏状态进入通知对应的应用界面。
可选地,终端可以响应用户输入的第四操作信号,并根据第四操作信号从锁屏状态进入解锁状态;第四操作信号是指:在预设的区域内感应得到的大于解锁距离的滑动信号;保存视频文件的当前播放地址、播放进度以及视频信息。
可选地,在下一次进入锁屏状态时,按照保存的视频文件的当前播放地址、播放进度以及视频信息,继续播放视频文件。
本实施例,通过监测屏幕是否进入锁屏状态;若监测到屏幕进入锁屏状态,则获取至少两个视频文件;在屏幕的不同显示区域上,分别播放视频文件;其中,显示区域的数量与视频文件的数量一致。本发明可以在不改变终端硬件的前提下,实现锁屏视频的分屏播放,有效第提升了视频的播放效率,利于推广使用,用户体验佳。
另外,本实施还可以响应用户输入的操作信号,执行播放视频的控制,从而提升用户体验。
图8为本发明实施例三提供的锁屏视频的分屏播放装置的结构示意图,如图8所示,本实施例的锁屏视频的分屏播放装置可以包括:
监测模块31,用于监测屏幕是否进入锁屏状态;
获取模块32,用于在监测到屏幕进入锁屏状态时,获取至少两个视频文件;
播放模块33,用于在屏幕的不同显示区域上,分别播放视频文件;其中,显示区域的数量与视频文件的数量一致。
在一种可能的设计中,监测模块31,具体用于:
当屏幕熄灭时,触发生成系统广播;
通过系统广播监听屏幕是否处于屏幕关闭状态;若处于屏幕关闭状态,则确定屏幕进入锁屏状态。
在一种可能的设计中,播放模块33,具体用于:
确定每个视频文件的视频信息,视频信息包括:视频宽度、视频高度、视频左上角的坐标、视频音量状态;视频音量状态包括:静音状态、非静音状态;
启动并行运行的解码线程,并根据每个视频文件的视频信息,将视频文件转换成对应的视频图像;解码线程的数量与视频文件的数量一致;
在屏幕的不同显示区域上,显示视频图像。
在一种可能的设计中,根据每个视频文件的视频信息,将视频文件转换成对应的视频图像,包括:
注册ffmpeg编解码器;
输入视频文件对应的文件列表;
开启用于锁定不同解码线程的控制指令的互斥锁;
通过并行运行的解码线程开启所有视频文件;
释放互斥锁;
对视频文件的帧解码过程进行封装,并释放ffmpeg编解码器,得到对应的视频图像。
本实施例的锁屏视频的分屏播放装置,可以执行图2所示方法中的技术方案,其具体实现过程和技术原理参见图2所示方法中的相关描述,此处不再赘述。
本实施例,通过监测屏幕是否进入锁屏状态;若监测到屏幕进入锁屏状态,则获取至少两个视频文件;在屏幕的不同显示区域上,分别播放视频文件;其中,显示区域的数量与视频文件的数量一致。本发明可以在不改变终端硬件的前提下,实现锁屏视频的分屏播放,有效第提升了视频的播放效率,利于推广使用,用户体验佳。
图9为本发明实施例四提供的锁屏视频的分屏播放装置的结构示意图,如图9所示,本实施例的锁屏视频的分屏播放装置在图8所示装置的基础上,还可以包括:
处理模块34,具体用于:响应用户输入的第一操作信号,并根据第一操作信号控制任一显示区域的播放状态为全屏播放状态;当处于全屏播放状态时,其余隐藏的显示区域所对应的视频文件暂停播放;响应用户输入的第二操作信号,并根据第二操作信号从全屏播放状态切换为分屏播放状态。
在一种可能的设计中,处理模块34,具体用于:
接收通知,并在消息栏显示通知;其中,消息栏位于显示区域的上方或者下方位置;
响应用户针对消息栏的第三操作信号,并根据第三操作信号,从锁屏状态进入通知对应的应用界面。
在一种可能的设计中,还包括:
解锁模块35,用于响应用户输入的第四操作信号,并根据第四操作信号从锁屏状态进入解锁状态;第四操作信号是指:在预设的区域内感应得到的大于解锁距离的滑动信号;
存储模块36,用于保存视频文件的当前播放地址、播放进度以及视频信息。
在一种可能的设计中,播放模块33,还用于:
在下一次进入锁屏状态时,按照保存的视频文件的当前播放地址、播放进度以及视频信息,继续播放视频文件。
本实施例的锁屏视频的分屏播放装置,可以执行图2、图4所示方法中的技术方案,其具体实现过程和技术原理参见图2、图4所示方法中的相关描述,此处不再赘述。
本实施例,通过监测屏幕是否进入锁屏状态;若监测到屏幕进入锁屏状态,则获取至少两个视频文件;在屏幕的不同显示区域上,分别播放视频文件;其中,显示区域的数量与视频文件的数量一致。本发明可以在不改变终端硬件的前提下,实现锁屏视频的分屏播放,有效第提升了视频的播放效率,利于推广使用,用户体验佳。
另外,本实施还可以响应用户输入的操作信号,执行播放视频的控制,从而提升用户体验。
图10为本发明实施例五提供的锁屏视频的分屏播放设备的结构示意图,如图10所示,本实施例的锁屏视频的分屏播放设备40可以包括:处理器41 和存储器42。
存储器42,用于存储程序;存储器42,可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM),如静态随机存取存储器(英文:static random-access memory,缩写:SRAM),双倍数据率同步动态随机存取存储器(英文:Double Data Rate Synchronous Dynamic Random Access Memory,缩写:DDR SDRAM)等;存储器也可以包括非易失性存储器(英文:non-volatile memory),例如快闪存储器(英文:flash memory)。存储器42用于存储计算机程序(如实现上述方法的应用程序、功能模块等)、计算机指令等,上述的计算机程序、计算机指令等可以分区存储在一个或多个存储器42中。并且上述的计算机程序、计算机指令、数据等可以被处理器41调用。
上述的计算机程序、计算机指令等可以分区存储在一个或多个存储器42中。并且上述的计算机程序、计算机指令、数据等可以被处理器41调用。
处理器41,用于执行存储器42存储的计算机程序,以实现上述实施例涉及的方法中的各个步骤。
具体可以参见前面方法实施例中的相关描述。
处理器41和存储器42可以是独立结构,也可以是集成在一起的集成结构。当处理器41和存储器42是独立结构时,存储器42、处理器41可以通过总线43耦合连接。
本实施例的服务器可以执行图2、图4所示方法中的技术方案,其具体实现过程和技术原理参见图2、图4所示方法中的相关描述,此处不再赘述。
此外,本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,当用户设备的至少一个处理器执行该计算机执行指令时,用户设备执行上述各种可能的方法。
其中,计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于用户设备中。当然,处理器和存储介质也可以作为分立组件存在于通信设备中。
本申请还提供一种程序产品,程序产品包括计算机程序,计算机程序存储在可读存储介质中,服务器的至少一个处理器可以从可读存储介质读取计算机程序,至少一个处理器执行计算机程序使得服务器实施上述本发明实施例任一的方法。
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或对其中部分或全部技术特征进行等同替换;而这些修改或替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (18)

  1. 一种锁屏视频的分屏播放方法,其特征在于,包括:
    监测屏幕是否进入锁屏状态;
    若监测到所述屏幕进入锁屏状态,则获取至少两个视频文件;
    在屏幕的不同显示区域上,分别播放所述视频文件;其中,所述显示区域的数量与所述视频文件的数量一致。
  2. 根据权利要求1所述的方法,其特征在于,监测屏幕是否进入锁屏状态,包括:
    当屏幕熄灭时,触发生成系统广播;
    通过所述系统广播监听屏幕是否处于屏幕关闭状态;若处于屏幕关闭状态,则确定屏幕进入锁屏状态。
  3. 根据权利要求1所述的方法,其特征在于,在屏幕的不同显示区域上,分别播放所述视频文件,包括:
    确定每个视频文件的视频信息,所述视频信息包括:视频宽度、视频高度、视频左上角的坐标、视频音量状态;所述视频音量状态包括:静音状态、非静音状态;
    启动并行运行的解码线程,并根据每个视频文件的视频信息,将视频文件转换成对应的视频图像;所述解码线程的数量与所述视频文件的数量一致;
    在屏幕的不同显示区域上,显示所述视频图像。
  4. 根据权利要求3所述的方法,其特征在于,根据每个视频文件的视频信息,将视频文件转换成对应的视频图像,包括:
    注册ffmpeg编解码器;
    输入视频文件对应的文件列表;
    开启用于锁定不同解码线程的控制指令的互斥锁;
    通过并行运行的解码线程开启所有视频文件;
    释放所述互斥锁;
    对视频文件的帧解码过程进行封装,并释放ffmpeg编解码器,得到对应的视频图像。
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,在屏幕的不同显示区域上,分别播放所述视频文件之后,还包括:
    响应用户输入的第一操作信号,并根据所述第一操作信号控制任一显示区域的播放状态为全屏播放状态;当处于全屏播放状态时,其余隐藏的显示区域所对应的视频文件暂停播放;
    响应用户输入的第二操作信号,并根据所述第二操作信号从全屏播放状态切换为分屏播放状态。
  6. 根据权利要求1-4中任一项所述的方法,其特征在于,在屏幕的不同显示区域上,分别播放所述视频文件之后,还包括:
    接收通知,并在消息栏显示所述通知;其中,所述消息栏位于所述显示区域的上方或者下方位置;
    响应用户针对所述消息栏的第三操作信号,并根据所述第三操作信号,从锁屏状态进入所述通知对应的应用界面。
  7. 根据权利要求1-4中任一项所述的方法,其特征在于,在屏幕的不同显示区域上,分别播放所述视频文件之后,还包括:
    响应用户输入的第四操作信号,并根据所述第四操作信号从锁屏状态进入解锁状态;所述第四操作信号是指:在预设的区域内感应得到的大于解锁距离的滑动信号;
    保存所述视频文件的当前播放地址、播放进度以及视频信息。
  8. 根据权利要求7所述的方法,其特征在于,还包括:
    在下一次进入锁屏状态时,按照保存的所述视频文件的当前播放地址、播放进度以及视频信息,继续播放所述视频文件。
  9. 一种锁屏视频的分屏播放装置,其特征在于,包括:
    监测模块,用于监测屏幕是否进入锁屏状态;
    获取模块,用于在监测到所述屏幕进入锁屏状态时,获取至少两个视频文件;
    播放模块,用于在屏幕的不同显示区域上,分别播放所述视频文件;其中,所述显示区域的数量与所述视频文件的数量一致。
  10. 根据权利要求9所述的装置,其特征在于,所述监测模块,具体用于:
    当屏幕熄灭时,触发生成系统广播;
    通过所述系统广播监听屏幕是否处于屏幕关闭状态;若处于屏幕关闭状态,则确定屏幕进入锁屏状态。
  11. 根据权利要求9所述的装置,其特征在于,所述播放模块,具体用于:
    确定每个视频文件的视频信息,所述视频信息包括:视频宽度、视频高度、视频左上角的坐标、视频音量状态;所述视频音量状态包括:静音状态、非静音状态;
    启动并行运行的解码线程,并根据每个视频文件的视频信息,将视频文件转换成对应的视频图像;所述解码线程的数量与所述视频文件的数量一致;
    在屏幕的不同显示区域上,显示所述视频图像。
  12. 根据权利要求11所述的装置,其特征在于,根据每个视频文件的视频信息,将视频文件转换成对应的视频图像,包括:
    注册ffmpeg编解码器;
    输入视频文件对应的文件列表;
    开启用于锁定不同解码线程的控制指令的互斥锁;
    通过并行运行的解码线程开启所有视频文件;
    释放所述互斥锁;
    对视频文件的帧解码过程进行封装,并释放ffmpeg编解码器,得到对应的视频图像。
  13. 根据权利要求9-12中任一项所述的装置,其特征在于,还包括:处理模块,用于:
    响应用户输入的第一操作信号,并根据所述第一操作信号控制任一显示区域的播放状态为全屏播放状态;当处于全屏播放状态时,其余隐藏的显示区域所对应的视频文件暂停播放;
    响应用户输入的第二操作信号,并根据所述第二操作信号从全屏播放状态切换为分屏播放状态。
  14. 根据权利要求9-12中任一项所述的装置,其特征在于,还包括:处理模块,用于:
    接收通知,并在消息栏显示所述通知;其中,所述消息栏位于所述显示区域的上方或者下方位置;
    响应用户针对所述消息栏的第三操作信号,并根据所述第三操作信号,从锁屏状态进入所述通知对应的应用界面。
  15. 根据权利要求9-12中任一项所述的装置,其特征在于,还包括:
    解锁模块,用于响应用户输入的第四操作信号,并根据所述第四操作信号从锁屏状态进入解锁状态;所述第四操作信号是指:在预设的区域内感应得到的大于解锁距离的滑动信号;
    存储模块,用于保存所述视频文件的当前播放地址、播放进度以及视频信息。
  16. 根据权利要求15所述的装置,其特征在于,所述播放模块,还用于:
    在下一次进入锁屏状态时,按照保存的所述视频文件的当前播放地址、播放进度以及视频信息,继续播放所述视频文件。
  17. 一种锁屏视频的分屏播放设备,其特征在于,包括:存储器、处理器,存储器中存储有所述处理器的可执行指令;其中,所述处理器配置为经由执行所述可执行指令来执行权利要求1-8所述的锁屏视频的分屏播放方法。
  18. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1-8任一项所述的锁屏视频的分屏播放方法。
PCT/CN2020/079995 2019-05-07 2020-03-18 锁屏视频的分屏播放方法、装置、设备及存储介质 Ceased WO2020224337A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/505,248 US12108104B2 (en) 2019-05-07 2021-10-19 Split-screen playback method, apparatus and device for lock screen video, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910374011.9A CN111787384A (zh) 2019-05-07 2019-05-07 锁屏视频的分屏播放方法、装置、设备及存储介质
CN201910374011.9 2019-05-07

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/505,248 Continuation US12108104B2 (en) 2019-05-07 2021-10-19 Split-screen playback method, apparatus and device for lock screen video, and storage medium

Publications (1)

Publication Number Publication Date
WO2020224337A1 true WO2020224337A1 (zh) 2020-11-12

Family

ID=72755260

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/079995 Ceased WO2020224337A1 (zh) 2019-05-07 2020-03-18 锁屏视频的分屏播放方法、装置、设备及存储介质

Country Status (3)

Country Link
US (1) US12108104B2 (zh)
CN (1) CN111787384A (zh)
WO (1) WO2020224337A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114168211A (zh) * 2022-02-14 2022-03-11 麒麟软件有限公司 系统兼容时使Android应用与Linux锁屏机制关联的方法
CN115243098A (zh) * 2022-07-19 2022-10-25 上海联影医疗科技股份有限公司 屏幕录制方法、装置、计算机设备和存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930973B (zh) * 2020-08-14 2022-06-21 北京字节跳动网络技术有限公司 多媒体数据的播放方法、装置、电子设备及存储介质
CN113094147A (zh) * 2021-06-08 2021-07-09 深圳掌酷软件有限公司 锁屏界面的播放窗口触发方法、装置、设备及存储介质
CN113377315A (zh) * 2021-06-29 2021-09-10 广州小鹏汽车科技有限公司 多屏管理方法及装置、电子设备及存储介质
CN113676779B (zh) * 2021-07-22 2023-09-26 南京信息职业技术学院 一种智能设备屏幕省电系统及方法
WO2025250116A1 (en) * 2024-05-30 2025-12-04 Lyiurov Denys A system and a process for playback of parts of a split video, a module and a process for determining viewing angles of screens of the system, a module and processes for creating a split video (2 embodiments)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103957447A (zh) * 2014-05-08 2014-07-30 济南四叶草信息技术有限公司 悬浮多窗口播放系统
CN104010230A (zh) * 2014-06-17 2014-08-27 合一网络技术(北京)有限公司 锁屏状态下的视频播放的方法和系统
CN104375742A (zh) * 2013-08-16 2015-02-25 觅豆(香港)股份有限公司 一种能在激活时呈现动态信息的便携式电子装置,系统和方法
CN104780418A (zh) * 2015-03-20 2015-07-15 四川长虹电器股份有限公司 智能电视上分屏同时播放不同影片的方法
US20160110028A1 (en) * 2014-10-21 2016-04-21 Samsung Electronics Co., Ltd. Method of Screen Splitting and Electronic Device Adapted to the Method

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7502546B2 (en) 2003-10-29 2009-03-10 Elbex Video Ltd. Method and apparatus for digitally recording and synchronously retrieving a plurality of video signals
US8719857B1 (en) * 2005-08-24 2014-05-06 Rovi Guides, Inc. Systems and methods for providing parental control features in video mosaic environments
KR101483776B1 (ko) * 2012-05-07 2015-01-26 이문상 락 스크린의 제공 방법 및 그 제공 방법이 구현된 단말 장치
EP2741199B1 (en) 2012-12-06 2020-08-05 Samsung Electronics Co., Ltd Application individual lock mechanism for a touch screen device
EP2866165B1 (en) 2013-10-28 2018-12-05 LG Electronics Inc. -1- Mobile terminal and controlling method thereof
CN104750384B (zh) 2015-03-09 2017-03-08 努比亚技术有限公司 移动终端及其分屏操作方法
CN105407323B (zh) * 2015-11-17 2019-03-26 浙江大华技术股份有限公司 一种监控视频的分屏方法及装置
CN106126027A (zh) * 2016-06-24 2016-11-16 北京奇虎科技有限公司 终端屏幕的分屏显示方法、装置及终端
CN106559560B (zh) * 2016-10-21 2020-03-24 北京金山安全软件有限公司 一种展示信息的方法、装置及电子设备
CN106713596B (zh) * 2016-12-20 2020-05-29 北京猎豹移动科技有限公司 视频播放方法、装置以及移动终端
CN106648325B (zh) * 2016-12-28 2020-11-03 北京金山安全软件有限公司 一种在锁屏界面上播放视频的方法、装置及电子设备
CN106878736A (zh) * 2017-03-17 2017-06-20 郑州云海信息技术有限公司 一种视频编解码的方法与装置
CN106993212B (zh) * 2017-03-20 2020-11-13 贵阳朗玛信息技术股份有限公司 浏览器窗口中播放多路视频的方法及装置
CN107483882A (zh) * 2017-07-07 2017-12-15 上海斐讯数据通信技术有限公司 一种多窗口显示系统及方法
CN108391074A (zh) * 2018-02-14 2018-08-10 深圳市道通科技股份有限公司 交通工具的诊断案例的处理方法、装置、诊断设备及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375742A (zh) * 2013-08-16 2015-02-25 觅豆(香港)股份有限公司 一种能在激活时呈现动态信息的便携式电子装置,系统和方法
CN103957447A (zh) * 2014-05-08 2014-07-30 济南四叶草信息技术有限公司 悬浮多窗口播放系统
CN104010230A (zh) * 2014-06-17 2014-08-27 合一网络技术(北京)有限公司 锁屏状态下的视频播放的方法和系统
US20160110028A1 (en) * 2014-10-21 2016-04-21 Samsung Electronics Co., Ltd. Method of Screen Splitting and Electronic Device Adapted to the Method
CN104780418A (zh) * 2015-03-20 2015-07-15 四川长虹电器股份有限公司 智能电视上分屏同时播放不同影片的方法

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114168211A (zh) * 2022-02-14 2022-03-11 麒麟软件有限公司 系统兼容时使Android应用与Linux锁屏机制关联的方法
CN115243098A (zh) * 2022-07-19 2022-10-25 上海联影医疗科技股份有限公司 屏幕录制方法、装置、计算机设备和存储介质
CN115243098B (zh) * 2022-07-19 2024-05-24 上海联影医疗科技股份有限公司 屏幕录制方法、装置、计算机设备和存储介质

Also Published As

Publication number Publication date
CN111787384A (zh) 2020-10-16
US20220078512A1 (en) 2022-03-10
US12108104B2 (en) 2024-10-01

Similar Documents

Publication Publication Date Title
WO2020224337A1 (zh) 锁屏视频的分屏播放方法、装置、设备及存储介质
WO2021136158A1 (zh) 一种视频窗口画面显示方法及装置
CN111625214B (zh) 音频控制方法、装置、设备及存储介质
WO2018133800A1 (zh) 视频画面处理方法、装置、电子设备及存储介质
US9883137B2 (en) Updating regions for display based on video decoding mode
RU2619089C2 (ru) Способ и устройство для воспроизведения множества видео
CN103488371A (zh) 一种在移动终端上制作动画的方法及移动终端
US12096001B2 (en) Systems and methods for video decoding
WO2020249044A1 (zh) 窗口层级切换的方法、装置、设备和存储介质
US12019669B2 (en) Method, apparatus, device, readable storage medium and product for media content processing
TWI717317B (zh) 對顯示裝置的顯示圖像進行截屏的方法及裝置
WO2020244553A1 (zh) 字幕越界的处理方法、装置和电子设备
CN114785887A (zh) 投屏控制方法、装置、电子设备和计算机可读存储介质
CN117319736A (zh) 视频处理方法、装置、电子设备及存储介质
WO2026021362A1 (zh) 内容播放方法及相关设备
CN113453069B (zh) 一种显示设备及缩略图生成方法
CN115509480A (zh) 基于投屏的控制方法、装置、存储介质及电子设备
CN115348478B (zh) 设备交互显示方法、装置、电子设备及可读存储介质
CN119135820B (zh) 视频录制方法、装置、存储介质以及终端
WO2020097908A1 (zh) 页面的跳转方法、装置、存储介质及电子设备
US11698767B1 (en) Designated share window for sharing content data
CN111435978A (zh) 一种叠加osd的方法、装置及电子设备
US20250165132A1 (en) Method and related device for presenting content
WO2020019668A1 (zh) 图像显示方法、装置、电子设备及计算机可读存储介质
WO2025189443A1 (zh) 媒体数据处理方法、显示设备以及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20801918

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21-04-2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20801918

Country of ref document: EP

Kind code of ref document: A1