# US 10,771,733 B2 · Method and apparatus for processing video playing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,771,733 B2
- Document ID: US10771733B2
- Status: Granted
- Kind: B2
- Application number: 16/335,577
- Filed: 2017-08-23
- Published: 2020-01-16
- Granted: 2020-09-08
- Earliest claimed: 2016-09-30
- Assignees: Hangzhou Hikvision Digital Technology Co., Ltd.
- Applicants: Hangzhou Hikvision Digital Technology Co., Ltd.
- Inventors: Yang Wu; Bingquan Han; Xiaojun Chen; Chunyu Xu; Zheng Huang
- Web page: https://patentgrep.com/patent/US10771733B2

## CPC

- H04N 5/76: Television signal recording
- H04N 5/92: Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
- G11B 27/36: Monitoring, i.e. supervising the progress of recording or reproducing {(for digital recording G11B20/00 and s.gr.; for monitoring, testing or measuring of TV recorders of the type covered by H04N5/76 and subgroups, see H04N17/06)}
- H04N 5/268: Signal distribution or switching
- H04N 7/01: Conversion of standards {, e.g. involving analogue television standards or digital television standards processed at pixel level}
- H04N 21/4316: {for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window}
- H04N 21/47: End-user applications
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)

## Abstract

Embodiments of the application disclose a method and apparatus for processing video playing, and relate to the technology field of video. The method includes: obtaining an adjustment instruction for a first video being played; determining whether the first video is being recorded; if the first video is being recorded, acquiring and storing a bit stream of the first video based on a current bit stream type of the first video. With the embodiment of the application, the complete recording of a video is ensured.

## Claims

### Claim 1

A method for processing video playing, comprising:
obtaining a split screen mode switch instruction;
when the number of split screens corresponding to a target split screen mode in the split screen mode switch instruction is smaller than the number of split screens corresponding to a current split screen mode, determining that a first video(s) being played that is to be hidden exists;
if the first video(s) being played that is to be hidden exists, generating a hiding instruction for each of the first video(s); and
when the first video(s) is being recorded, acquiring and storing a bit stream of the first video(s) based on a current bit stream type of the first video(s), and stopping the decoding and rendering of the first video(s).

### Claim 2 (depends on 1)

The method of claim 1, wherein, when a hidden first video is displayed, the method further comprises:
determining whether the hidden first video is being recorded;
if the hidden first video is being recorded, recovering the decoding and rendering of the hidden first video, wherein the acquiring of the bit stream of the hidden first video is ongoing during the recording of the hidden first video; and
if the hidden first video is not being recorded, restarting the acquiring of the bit stream of the hidden first video, the decoding and rendering of the hidden first video.

### Claim 3 (depends on 1)

The method of claim 1,
further comprising:
obtaining a bit stream type switch instruction for a video being played in a split screen; and
when the video being played corresponding to the bit stream type switch instruction is being recorded, acquiring and storing a bit stream of this video being played based on a bit stream type of this video being played before the acquiring of the bit stream type switch instruction, and continuing the decoding and rendering of this video being played.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
receiving a bit stream type forced-switch instruction input by a user for a video being played;
switching a bit stream type of the video being played corresponding to the bit stream type forced-switch instruction to a target bit stream type in the bit stream type forced-switch instruction;
determining whether the video being played corresponding to the bit stream type forced-switch instruction is being recorded; and
if the video being played corresponding to the bit stream type forced-switch instruction is being recorded, generating a video-recording file for this video being played based on a video that is recorded based on a bit stream type of this video being played, and acquiring and storing the bit stream of this video being played based on the target bit stream type; and
after the recording of the video being played corresponding to the bit stream type forced-switch instruction is closed, obtaining and merging all of the video-recording files for this video being played.

### Claim 5 (depends on 1)

A non-transitory storage medium, configured for storing an application program which, when executed, implements the method for processing video playing of claim 1.

### Claim 6

An electronic device, comprising a memory and a processor, wherein,
the memory is configured for storing an application program; and
the processor is configured for executing the application program stored in the memory, so as to perform operations of:
obtaining a split screen mode switch instruction;
when the number of split screens corresponding to a target split screen mode in the split screen mode switch instruction is smaller than the number of split screens corresponding to a current split screen mode, determining that a first video(s) being played that is to be hidden exists;
if the first video(s) being played that is to be hidden exists, generating a hiding instruction for each of the first video(s); and
when the first video(s) is being recorded, acquiring and storing a bit stream of the first video(s) based on a current bit stream type of the first video(s), and stopping the decoding and rendering of the first video(s).

### Claim 7 (depends on 6)

The electronic device of claim 6, wherein, when a hidden first video is displayed, the processor is further caused to perform operations of:
determining whether the hidden first video is being recorded;
if the hidden first video is being recorded, recovering the decoding and rendering of the hidden first video, wherein the acquiring of the bit stream of the hidden first video is ongoing during the recording of the hidden first video; and
if the hidden first video is not being recorded, restarting the acquiring of the bit stream of the hidden first video, the decoding and rendering of the hidden first video.

### Claim 8 (depends on 6)

The electronic device of claim 6, wherein,
the processor is further caused to perform operations of:
obtaining a bit stream type switch instruction for a video being played in a split screen; and
when the video being played corresponding to the bit stream type switch instruction is being recorded, acquiring and storing a bit stream of this video being played based on a bit stream type of this video being played before the acquiring of the bit stream type switch instruction, and continuing the decoding and rendering of this video being played.

### Claim 9 (depends on 6)

The electronic device of claim 6, the processor is further caused to perform operations of:
receiving a bit stream type forced-switch instruction input by a user for a video being played;
switching a bit stream type of the video being played corresponding to the bit stream type forced-switch instruction to a target bit stream type in the bit stream type forced-switch instruction;
determining whether the video being played corresponding to the bit stream type forced-switch instruction is being recorded; and
if the video being played corresponding to the bit stream type forced-switch instruction is being recorded, generating a video-recording file for this video being played based on a video that is recorded based on a bit stream type of this video being played, and acquiring and storing the bit stream of this video being played based on the target bit stream type; and
after the recording of the video being played corresponding to the bit stream type forced-switch instruction is closed, obtaining and merging all of the video-recording files for this video being played.
