WO2018218897A1 - 一种视频处理方法及设备 - Google Patents

一种视频处理方法及设备 Download PDF

Info

Publication number
WO2018218897A1
WO2018218897A1 PCT/CN2017/113265 CN2017113265W WO2018218897A1 WO 2018218897 A1 WO2018218897 A1 WO 2018218897A1 CN 2017113265 W CN2017113265 W CN 2017113265W WO 2018218897 A1 WO2018218897 A1 WO 2018218897A1
Authority
WO
WIPO (PCT)
Prior art keywords
stream
scrambled
clear
control instruction
video processing
Prior art date
Application number
PCT/CN2017/113265
Other languages
English (en)
French (fr)
Inventor
李春生
杨春
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2018218897A1 publication Critical patent/WO2018218897A1/zh

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/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
    • H04N21/47217End-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 for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • 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/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • 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
    • 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/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • 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
    • 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/440245Processing 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 the reformatting operation being performed only on part of the stream, e.g. a region of the image or a time segment
    • 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/4405Processing 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 stream decryption
    • 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
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a video processing method and device.
  • a Set Top Box is a device that connects a television (TV) and an external signal source, and can process and play a transport stream (TS) of a received television program, and then pass the TV.
  • the displayed television program is displayed so that the user can watch the television program on the TV.
  • the operator In order to protect the content of the TV program, the operator usually encrypts or scrambles the TS of the TV program.
  • the TS generated by the scrambling technology is called a scramble stream; in order to enable the user to watch the TV program, the TS of the TV program is required. Decryption is performed, and the decrypted TS is called clear stream.
  • the current STB can use a Common Interface (CI)/CI+ card to decrypt the scrambled stream, and is limited by cost. Usually, the CI/CI+ card only supports scrambling streams of one TV program at a time.
  • CI Common Interface
  • the STB receives the scrambled stream of at least two television programs transmitted by the external signal source, and demultiplexes the scrambled stream of the at least two television programs, that is, the scrambled stream of the at least two television programs is shunted into Scrambling the stream of each program, and decrypting the scrambled stream of the television program (such as the scrambled stream of the television program A), obtaining the clear stream of the television program A, and then playing the clear stream of the television program A, and The television program A played by the TV is displayed.
  • the scrambled stream of the at least two television programs that is, the scrambled stream of the at least two television programs is shunted into Scrambling the stream of each program, and decrypting the scrambled stream of the television program (such as the scrambled stream of the television program A), obtaining the clear stream of the television program A, and then playing the clear stream of the television program A, and The television program A played by the TV is displayed.
  • the clear stream of the television program A or the scrambled stream of the undecrypted one-way television program (such as the scramble stream of the television program B) can be recorded, and the clear stream or television program of the television program A is recorded.
  • the user can play back TV program A or TV program B.
  • the method only supports recording of clear stream programs or scrambled stream programs, and does not support recording of mixed code streams (including clear stream and scrambled stream), so when playing clear stream program A, and Switching program B is not supported, and trick play (for fast-forward playback and fast-back playback) is not supported (for recorded scrambled programs).
  • the present application provides a video processing method and device, which can switch to play a second clear stream during playback of the first clear stream and record the second scrambled stream; and, during playback of the recorded second scrambled stream For fast forward playback or fast reverse playback.
  • a first aspect of the present application provides a video processing method, the method comprising: receiving a transport stream TS, the TS including a first scrambled stream and a second scrambled stream; and the first scrambled stream and the second scrambled stream Transmitting to the decryption device; transmitting, to the decryption device, a first control instruction, the first control instruction is used to instruct the decryption device to decrypt the first scrambled stream; and receiving the first clear stream and the second scrambled stream transmitted by the decryption device, the first clear stream Decrypted by the first scrambled stream; playing the first clear stream, recording the second scrambled stream, and generating at least one scrambled stream index during the recording of the second scrambled stream;
  • the scrambling stream index corresponds to a data packet of a second scrambled stream recorded during a recording period and a recording period.
  • the second scrambled stream may be recorded while the first clear stream is being played, and at least one scrambled stream index is generated by the software during the recording of the second scrambled stream. Since each scrambled stream index corresponds to one recording period and the TS packet recorded in the recording period (ie, one packet of the second scrambled stream), during playback of the recorded second scrambled stream, The at least one scrambled stream index generated when the second scrambled stream is recorded is quickly located to the position of the frame to be played, so that the frame data is quickly read and played, and the fast forward or fast reverse function is implemented.
  • the method of the present application may further include: sending, to the decryption device, a second control instruction, where the second control instruction is used to instruct the decryption device to decrypt the second scrambled stream.
  • the first clear stream can be switched to play the second clear stream.
  • the second clear stream is recorded, and the recorded TS is a mixed stream (the second scramble stream and the second clear stream) ). Since at least one scrambled stream index is generated during the recording of the second scrambled stream, at least one clear stream index is generated during the recording of the second clear stream, so when playing back the recorded TS, at least one scrambled stream index and At least one clear stream index implements a fast forward or fast reverse function.
  • the method of the present application may further include: receiving the first remote control instruction, The first remote control instruction is used to indicate a fast forward operation or a fast reverse operation; the first partial data packet in the recorded second scrambled stream is read according to the first remote control instruction and the at least one scrambled stream index; and the first partial data packet is transmitted To the decryption device; sending a third control instruction to the decryption device, the third control instruction is for indicating the first partial data packet; receiving the third clear stream transmitted by the decryption device, the third clear stream being obtained by decrypting the first partial data packet; a remote command, setting the decoding mode of the third clear stream to the I frame decoding mode or the first I frame decoding mode, and setting the decoding speed of the third clear stream; the decoding is decoded in the I frame decoding mode or the first I frame decoding mode.
  • the third clear stream since the first part of the data packet of the recorded second scrambled stream includes not only I frame data, but also P frame and/or B frame data, the scene for high speed fast forward or high speed fast rewind The chip decoding speed will also reach the bottleneck and cannot decode all the video frames of the packet. In order to achieve a better user experience of fast forward or fast reverse, the present application may extract an I frame in the first partial data packet for playing.
  • the indexing method of reading the first partial data packet in the recorded second scrambled stream may include: uniformly reading the second scrambling according to the fast forward operation and the at least one scrambled flow index in the case of the first fast forward mode
  • the first fast forward mode is a mode in which the fast forward multiple is less than the preset multiple speed; or, in the case of the second fast forward mode, according to the fast forward operation and the at least one scrambled stream index, the jump read
  • the first part of the data packet is scrambled
  • the second fast forward mode is a mode in which the fast forward multiplication speed is greater than or equal to the preset double speed.
  • the method of “setting the decoding mode of the third clear stream to the I frame decoding mode or the first I frame decoding mode and setting the decoding speed of the third clear stream according to the first remote command” may include: indicating according to the first remote command Fast forward operation, set the decoding mode of the third clear stream to the I frame decoding mode, and set the decoding speed of the third clear stream; or, according to the fast rewind operation indicated by the first remote command, set the decoding mode of the third clear stream to be the first I frame decoding mode, and setting the decoding speed of the third clear stream.
  • a second aspect of the present application provides a video processing method, the method comprising: receiving a transport stream TS, the TS including a first scrambled stream and a second scrambled stream; and the first scrambled stream and the second scrambled stream Transmitting to the decryption device; transmitting, to the decryption device, a first control instruction, the first control instruction is used to instruct the decryption device to decrypt the first scrambled stream; and receiving the first clear stream and the second scrambled stream transmitted by the decryption device, the first clear stream Decrypted by the first scrambled stream; playing the first clear stream, recording the first clear stream, and generating at least one clear stream index in the process of recording the first clear stream, wherein a clear stream index includes attribute information of a data frame; The device sends a second control instruction, where the second control instruction is used to instruct the decryption device to decrypt the second scrambled stream; the second clear stream transmitted by the decryption device is
  • the second scramble stream while playing the first clear stream, can be recorded, and the second clear stream can be switched and played; and, during playback of the recorded second scrambled stream, at least one clear stream index can be used. At least one scrambled stream index is quickly located to the position of the frame to be played, so that the frame data is quickly read and played for fast forwarding or fast rewinding.
  • the method of the present application may further include: receiving a first remote control instruction, where the first remote control instruction is used to Instructing a fast forward operation or a fast reverse operation; reading at least one data frame in the recorded first clear stream according to the first remote control instruction and the at least one clear stream index, and reading the recording according to the first remote control instruction and the at least one scrambled stream index
  • the first part of the first scrambled stream; the first part of the data packet is transmitted to the decryption device; the third control instruction is sent to the decryption device, the third control instruction is used to indicate the first part of the data packet; a clear stream, the third clear stream is obtained by decrypting the first part of the data packet; according to the first remote command, setting the decoding mode of the third clear stream to the I frame decoding mode or the first I frame decoding mode, and setting the decoding of the third clear stream Speed; playing
  • a third aspect of the present application provides a video processing device, including: a receiving module, a sending module, a playing module, a recording module, and a generating module.
  • the receiving module is configured to receive a transport stream TS, where the TS includes a first scrambled stream and a second scrambled stream.
  • a sending module configured to transmit the first scrambled stream and the second scrambled stream to the decryption device.
  • the sending module is further configured to send a first control instruction to the decryption device, where the first control instruction is used to instruct the decryption device to decrypt the first scrambled stream.
  • the receiving module is configured to receive the first clear stream and the second scramble stream transmitted by the decryption device, where the first clear stream is decrypted by the first scramble stream.
  • a play module for playing the first clear stream.
  • a recording module for recording a second scrambled stream.
  • a generating module configured to generate at least one scrambled stream index during the recording of the second scrambled stream by the recording module, where the scrambled stream index corresponds to a recording period and a second scrambled stream recorded during the recording period data pack.
  • the sending module is further configured to send, to the decrypting device, a second control instruction, where the second control instruction is used to instruct the decrypting device to decrypt the second scrambled stream.
  • the receiving module is further configured to receive a second clear stream transmitted by the decryption device, where the second clear stream is decrypted by the second scramble stream.
  • the play module is also used to play the second clear stream.
  • the recording module is further configured to record the second clear stream after receiving the second clear stream.
  • the generating module is further configured to generate at least one clear stream index, wherein a clear stream index includes attribute information of a data frame.
  • the receiving module is further configured to: after the recording module records the second scrambled stream, receive the first remote control instruction, where the first The remote command is used to indicate a fast forward operation or a fast reverse operation.
  • the video processing device in this application may further include: a reading module and a setting module.
  • the reading module is configured to read the first partial data packet in the recorded second scrambled stream according to the first remote control instruction and the at least one scrambled stream index.
  • the sending module is further configured to transmit the first part of the data packet to the decryption device.
  • the sending module is further configured to send a third control instruction to the decryption device, where the third control instruction is used to indicate the first part of the data packet.
  • the receiving module is further configured to receive a third clear stream transmitted by the decryption device, where the third clear stream is obtained by decrypting the first partial data packet.
  • a setting module configured to set a decoding mode of the third clear stream to an I frame decoding mode or a first I frame decoding mode according to the first remote control instruction, and set a decoding speed of the third clear stream.
  • the playing module is further configured to play the third clear stream decoded in the I frame decoding mode or the first I frame decoding mode.
  • the reading module may be specifically used to: In the case of the advance mode, the first part of the second scrambled stream is uniformly read according to the fast forward operation and the at least one scrambled stream index, and the first fast forward mode is a mode in which the fast forward multiple is less than the preset multiple speed; or In the case of the second fast forward mode, according to the fast forward operation and the at least one scrambled stream index, the first part of the second scrambled stream is skipped, and the second fast forward mode is that the fast forward multiple is greater than or equal to the preset multiple speed. mode.
  • the setting module may be specifically configured to: set a decoding mode of the third clear stream to an I frame decoding mode according to the fast forward operation indicated by the first remote control instruction, and set a decoding speed of the third clear stream; or, according to the first remote control instruction
  • the fast rewind operation sets the decoding mode of the third clear stream to the first I frame decoding mode, and sets the decoding speed of the third clear stream.
  • the respective functional units of the third aspect and various possible implementation manners of the embodiments of the present invention are for performing the video processing methods of the foregoing first aspect and various alternative manners of the first aspect, but The logical division of the video processing device.
  • the various functional units of the third aspect and its various possible implementations, and the beneficial effects analysis reference may be made to the corresponding descriptions and technical effects in the foregoing first aspect and various possible implementation manners, and details are not described herein again.
  • a fourth aspect of the present application provides a video processing device, including: a receiving module, a sending module, a playing module, a recording module, and a generating module.
  • the receiving module is configured to receive a transport stream TS, where the TS includes a first scrambled stream and a second scrambled stream.
  • a sending module configured to transmit the first scrambled stream and the second scrambled stream to the decryption device.
  • the sending module is further configured to send a first control instruction to the decryption device, where the first control instruction is used to instruct the decryption device to decrypt the first scrambled stream.
  • the receiving module is further configured to receive the first clear stream and the second scramble stream transmitted by the decryption device, where the first clear stream is decrypted by the first scramble stream.
  • a play module for playing the first clear stream.
  • Recording module for recording the first clear stream.
  • the generating module is configured to generate at least one clear stream index during the recording of the first clear stream by the recording module, where a clear stream index includes attribute information of a data frame.
  • the sending module is further configured to send a second control instruction to the decryption device, where the second control instruction is used to instruct the decryption device to decrypt the second scrambled stream.
  • the receiving module is further configured to receive a second clear stream transmitted by the decryption device, where the second clear stream is decrypted by the second scramble stream.
  • the play module is also used to play the second clear stream.
  • the recording module is further configured to record the first scrambled stream after the receiving module receives the first scrambled stream.
  • the generating module is further configured to generate at least one scrambled stream index during the recording of the first scrambled stream by the recording module, where the scrambled stream index corresponds to a recording period and a first scrambled stream recorded during the recording period Packet.
  • the receiving module is further used in the recording mode. After the block records the first scrambled stream, a first remote control command is received, the first remote control command being used to indicate a fast forward operation or a fast reverse operation.
  • the video processing device in this application may further include: a reading module and a setting module.
  • the reading module is configured to read at least one data frame in the recorded first clear stream according to the first remote command and the at least one clear stream index, and read the recorded according to the first remote command and the at least one scrambled stream index.
  • the sending module is further configured to transmit the first part of the data packet to the decryption device.
  • the sending module is further configured to send a third control instruction to the decryption device, where the third control instruction is used to indicate the first part of the data packet.
  • the receiving module is further configured to receive a third clear stream transmitted by the decryption device, where the third clear stream is obtained by decrypting the first partial data packet.
  • a setting module configured to set a decoding mode of the third clear stream to an I frame decoding mode or a first I frame decoding mode according to the first remote control instruction, and set a decoding speed of the third clear stream.
  • the playing module is further configured to play at least one data frame in the decoded first clear stream, and a third clear stream decoded in the I frame decoding mode or the first I frame decoding mode.
  • each of the functional units of the fourth aspect and various possible implementation manners of the embodiments of the present invention is a video processing method for performing the foregoing second aspect and various alternative manners of the second aspect, but The logical division of the video processing device.
  • the various functional units of the fourth aspect and its various possible implementations, and the beneficial effects analysis reference may be made to the corresponding descriptions and technical effects in the foregoing second aspect and various possible implementation manners, and details are not described herein again.
  • a video processing device comprising: a processor, a memory, and a communication interface.
  • the memory is used to store computer execution instructions, and the processor, the communication interface and the memory are connected by a bus.
  • the processor executes the memory stored computer to execute instructions, so that the video processing device performs the first aspect and the first aspect.
  • a sixth aspect of the present application provides a computer storage medium having stored therein one or more program codes, when the processor of the video processing device in the fifth aspect executes the program code, the video processing device executes A video processing method according to the first aspect and the various alternatives of the first aspect, and the video processing method according to the second aspect and the various alternatives of the second aspect.
  • a computer program product when a computer program product is run on a computer, causing the computer to perform the video processing method as described in the first aspect and the various alternative aspects of the first aspect, and The video processing method of the second aspect and the various alternatives of the second aspect.
  • FIG. 1 is a schematic structural diagram of a system according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of an interaction process between modules or components of a video processing device according to an embodiment of the present invention
  • FIG. 3 is a flowchart 1 of a video processing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an example of at least one scrambled stream index according to an embodiment of the present invention.
  • FIG. 5 is a second flowchart of a video processing method according to an embodiment of the present invention.
  • FIG. 6 is a flowchart 3 of a video processing method according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of an example of fast rewinding according to an embodiment of the present invention.
  • FIG. 8 is a flowchart 4 of a video processing method according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram 1 of a video processing device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram 2 of a video processing device according to an embodiment of the present disclosure.
  • FIG. 11 is a third schematic structural diagram of a video processing device according to an embodiment of the present disclosure.
  • first and second in the specification and claims of the embodiments of the present invention are used to distinguish different objects, and are not intended to describe a specific order of the objects.
  • first scrambled stream and the second scrambled stream, etc. are used to distinguish different scrambled streams, rather than to describe a particular order of scrambled streams.
  • the words “exemplary” or “such as” are used to mean an example, illustration, or illustration. Any embodiment or design described as “exemplary” or “for example” in the embodiments of the present application should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the words “exemplary” or “such as” is intended to present the concepts in a particular manner.
  • the video processing method and device provided by the embodiments of the present invention can be applied to a process of playing and recording a TS.
  • FIG. 1 is a schematic diagram of a system architecture provided by an embodiment of the present invention.
  • the system architecture may include a video processing device 01, a decryption device 02, and a TV 03.
  • the decryption device 02 can be placed in the video processing device 01, and the video processing device 01 is communicatively connected to the TV 03.
  • the video processing device 01 includes a core chip 10 and a memory chip 11.
  • a demultiplexer 101, a central processing unit (CPU) 102, and a decoder 103 are integrated on the core chip 10.
  • the demultiplexer 101 includes a demultiplexing 0 module and a demultiplexing 1 module (not shown in FIG. 1), and the demultiplexing 0 module and the demultiplexing 1 module are independent identical functions in the demultiplexer 101. Submodule.
  • the video processing device 01 can be an STB, which is a device that connects the TV 03 to an external signal source, is capable of receiving digital signals, and can convert digital signals into analog signals, ie, television content that a user can view.
  • the video processing device 01 can receive the scrambled stream of the television program transmitted by the external source, process the scrambled stream of the television program, and output the TS of the processed television program to the TV 03.
  • the video processing device 01 can also record the TS of the television program.
  • the memory chip 11 can be a double rate synchronous dynamic random access memory (Double Data Rate, DDR). It can be used to run computer program code, run data, and/or modules.
  • DDR Double Rate synchronous dynamic random access memory
  • the demultiplexer 101 on the core chip 10 can be used to distinguish different television program programs, demultiplex the scrambled stream of the television program, and extract corresponding audio, video streams and data streams.
  • the demultiplexer 101 can split the scrambled stream of at least two television programs into a scrambled stream for each program.
  • the CPU 102 is a control center of the video processing device 01, which can perform functions such as network management, display management, conditional reception management, teletext decoding, data decoding, and up-and-down conversion of video signals.
  • the CPU 102 can control the memory chip 11 to run or execute computer program code and/or various modules to perform various functional applications of the computer and perform data processing control.
  • the decoder 103 can perform decompression of digital signals such as audio and video to restore analog audio signals and analog video signals. For example, the decoder 103 can decode the TS of the television program and convert the TS decoding of the television program into television content that the user can view.
  • the demultiplexing 0 module can be used to establish a broadcast service, and play the TS of the television program.
  • the demultiplexing module can be used to establish a recording service and record the TS of the television program.
  • the decryption device 02 can be a CI/CI+ card that can decrypt and descramble the scrambled stream of the television program for the user to watch the television program normally.
  • the TV 03 is used to play the TS of the television program output by the video processing device 01 so that the user can watch the television program on the TV 03.
  • the TS received by the video processing device 01 is a TS of at least two television programs
  • the TS includes at least a first scrambled stream and a second scrambled stream
  • the first scrambled stream corresponds to one television program
  • the second The scrambled stream corresponds to a TV program.
  • the video processing method will be described only by taking the TS as the first scrambled stream and the second scrambled stream as an example.
  • the TS is received through the input port 1 of the video processing device 01, and the TS is the TS of the two-way television program; the demultiplexer 101 demultiplexes the TS to obtain the first scrambled stream.
  • the first scrambled stream and the second scrambled stream are transmitted to the decryption device 02 through the output port 0 of the video processing device 01; the decryption device 02 decrypts the first scrambled stream and performs video processing
  • the input port 2 of the device 01 transmits the first clear stream (ie, the decrypted first scrambled stream) to the demultiplexing 0 module, and transmits the second scrambled stream to the demultiplexing 1 through the input port 2 of the video processing device 01.
  • demultiplexing 0 module plays the first clear stream, and displays the broadcasted TV program through TV03, demultiplexing 1 module records the second scrambled stream, and saves it to the hard disk of video processing device 01, during recording During the second scrambled stream, at least one scrambled stream index is generated.
  • the second scrambled stream After the second scrambled stream is recorded, playback of the television program can be achieved by reading the recorded second scrambled stream from the hard disk. Specifically, as shown in FIG. 2, the recorded second scrambled stream is read from the hard disk, and the read second scrambled stream is transmitted to the core chip 10 through the RAM 0 port of the video processing device 01; the core chip 10 The read second scrambled stream is transmitted to the decryption device 02 via the output port 0 of the video processing device 01; the decryption device 02 decrypts the second scrambled stream and passes the second clear stream through the input port 2 of the video processing device 01 (ie, the decrypted second scrambled stream) is transmitted to the demultiplexing 0 module; the demultiplexing 0 module transmits the second clear stream to the decoder 103 for decoding, and the decoder 103 outputs the decoded second clear stream to the TV 03. .
  • the fast forward module or the fast reverse module in the video processing device 01 may be configured according to the first remote control command (the first remote control command is used to indicate the fast forward operation or fast).
  • Retracting operation and at least one scrambled stream index, reading the first part of the recorded second scrambled stream, setting the decoding mode of the second clear stream to the I frame decoding mode or the first I frame decoding mode, and setting the The decoding speed of Sanqing Stream
  • the trick play of the second scrambled stream that is currently recorded (such as fast forward playback or fast reverse playback).
  • the embodiment of the present invention provides a video processing method for each module or component of the system shown in FIG. 1 and the interaction process between the modules or components in FIG. Or the interaction process between the components is described in detail.
  • the video processing method may include S301-S310:
  • the video processing device receives the TS.
  • the TS received by the video processing device is a TS of a multi-channel television program, and each program corresponds to one TS; and, because the operator protects the content of the television program, the TS of the television program is usually encrypted or scrambled.
  • the TS generated by the scrambling technique is called a scrambled stream; therefore, the TS received by the video processing device is a scrambled stream of the multi-channel television program.
  • only the TS received by the video processing device is a scrambled stream of two TV programs.
  • the video processing device in the video processing device controls the demultiplexer to demultiplex the TS to obtain a first scrambled stream and a second scrambled stream.
  • the first scrambled stream corresponds to television program A
  • the second scrambled stream corresponds to television program B.
  • the TS can come from cable, satellite antennas, broadband networks, and terrestrial broadcasts.
  • the video processing device can be connected to an external source and receive a digital line number (ie, TS) transmitted by an external source.
  • TS can be a video stream, an audio stream, a program special stream, and other data packets.
  • the video processing device can also receive electronic program guides, Internet web pages, subtitles, and the like, enabling users to view television programs on the TV and interactive digital entertainment, education, and commercialization activities over the network.
  • the video processing device transmits the first scrambled stream and the second scrambled stream to the decryption device.
  • the decryption device may be a CI/CI+ card, and the CI/CI+ card may decrypt the first scrambled stream or the second scrambled stream.
  • the video processing device may transmit the first scrambled stream and the second scrambled stream to the decryption device through the output port 0 shown in FIG. 2.
  • the decryption device receives the first scrambled stream and the second scrambled stream.
  • the video processing device sends a first control instruction to the decryption device.
  • the first control instruction is used to instruct the decryption device to decrypt the first scrambled stream.
  • the video processing device can receive the infrared signal sent by the infrared remote controller to acquire a remote control command, and send the first control command to the decryption device according to the remote control command.
  • the infrared remote controller can perform human-computer interaction with the user, and send a remote control instruction to the video processing device according to the first operation instruction of the user, and the remote control instruction corresponds to the first operation instruction of the user.
  • the user selects the television program A by operating the infrared remote controller, and the infrared remote controller sends an infrared signal to the video processing device according to the first operation instruction of the user (ie, selecting the television program A), and the infrared signal carries the first control instruction and the video.
  • the processing device After receiving the infrared signal, the processing device sends a first control instruction to the decryption device to instruct the decryption device to decrypt the scrambled stream corresponding to the television program A (ie, the first scrambled stream).
  • the user can directly interact with the video processing device through a keyboard, a mouse, a voice, and a touch screen.
  • the decryption device receives the first control instruction.
  • the decryption device decrypts the first scrambled stream to obtain a first clear stream.
  • the decryption device After receiving the first control instruction, decryption device decrypts the first scrambled stream according to the instruction of the first control instruction to obtain a first clear stream.
  • the decryption device sends the first clear stream and the second scramble stream to the video processing device.
  • the video processing device receives the first clear stream and the second scramble stream.
  • the video processing device can receive the first clear stream and the second scramble stream through the input port 2 shown in FIG. 2.
  • the video processing device plays the first clear stream.
  • the video processing device includes a demultiplexing 0 module, and after receiving the first clear stream, the video processing device can play the first clear stream through the demultiplexing 0 module, and the user can watch the television program A through the TV (ie, A clear stream corresponds to the TV program).
  • the video processing device records the second scrambled stream, and generates at least one scrambled stream index in the process of recording the second scrambled stream.
  • the scrambling stream index corresponds to a data packet of a second scrambled stream recorded during a recording period and a recording period.
  • the video processing device After receiving the first clear stream and the second scrambled stream, the video processing device demultiplexes the first clear stream by using the demultiplexing 0 module, and then transmits the audio data and the video data to the decoder for decoding and playing, and simultaneously solves the solution.
  • the multiplex 1 module records the second scrambled stream. And, in the process of recording the second scrambled stream, the video processing device generates a corresponding scrambled stream index for each data packet of the second scrambled stream, and each scrambled stream index includes at least the time for recording the segment of the data packet.
  • the index information cannot be established for each frame in the scrambled stream, but the scrambled stream index information including at least the above-mentioned necessary information may be established for each segment of the data packet.
  • the scrambled stream index of the piece of data is corresponding to a period of time recorded and a piece of data recorded during the recording period (ie, A packet of the second scrambled stream).
  • each piece of data recorded is represented by one frame of data, but is not a frame in the conventional sense (such as an I frame, a P frame, or a B frame).
  • one frame of data represents only one segment of data packets corresponding to one scrambled stream index.
  • the video processing device starts recording the first frame data of the second scrambled stream at time t1, and completes recording the first frame data at time t2, and the scrambling generated by the video processing device at time t2.
  • the stream index 1 corresponds to the first recording time period t2-t1, and the data packet of the first frame data recorded in the first recording time period;
  • the video processing device starts recording the second frame data of the second scrambled stream at time t2, and
  • the second frame data is recorded at time t3.
  • the scrambled stream index 2 generated by the video processing device at time t3 corresponds to the second recording time period t3-t2, and the data of the second frame data recorded in the second recording time period. package.
  • the video processing device can play back the recorded second scrambled stream.
  • the decryption device may decrypt the second scrambled stream to obtain a second clear stream, and the decryption device decrypts the second plus when decrypting the second scrambled stream.
  • Each frame of data is spoiled, and then each frame of data is sent to the video processing device. Therefore, when the video processing device plays back the recorded second scrambled stream, the decryption device decrypts one frame of data, and the video processing device plays one frame of data. .
  • the video processing device may implement the trick play function by generating at least one scrambled stream index during playback of the recorded second scrambled stream. Specifically, the video processing device may acquire a control instruction, and then locate the position of the frame to be played in the recorded second scrambled stream according to the control instruction and the at least one scrambled stream index, thereby quickly reading out the The frame data is played.
  • the video processing device generates a scrambled stream index every second.
  • the user selects 8x fast forward (that is, 8 seconds of data for 1 second) by operating the infrared remote controller, and the infrared remote controller sends an infrared signal to the video processing device, and the infrared signal carries a control command, and the control command is used for Instructing the video processing device to fast play the recorded second disturbing stream at 8 times speed, and after the video processing device receives the control command, the method for reading data according to the fast forward mode described in the present scheme in one second time And the data packet indicated by the scrambled stream index 1 (ie, the scrambled stream index of the 1st second) is sequentially read to be played back according to the packet indicated by the scrambled stream index 8 (ie, the scrambled stream index of the 8th second). With the I frame decoding mode, 8x fast forward playback is achieved.
  • S302 may be performed first, and then S304 may be performed; S304 may be performed first, then S302 may be performed; and S302 and S304 may be simultaneously performed.
  • the embodiment of the present invention does not limit the order in which S302 and S304 are executed. S309 and S310 can be simultaneously performed in the embodiment of the present invention.
  • An embodiment of the present invention provides a video processing method, in which a video processing device can record a second scrambled stream while playing the first clear stream, and generate at least one scrambled stream index by software during the process of recording the second scrambled stream. . Since each scrambled stream index corresponds to one recording period and the TS packet recorded in the recording period (ie, one packet of the second scrambled stream), during playback of the recorded second scrambled stream, the at least one scrambled stream index generated when the second scrambled stream is recorded is quickly located to the position of the frame to be played, so that the frame data is quickly read and played, and the fast forward or fast reverse function is implemented.
  • the video processing device when the video processing device plays the first clear stream and records the second scrambled stream, the video processing device may also switch to play the second clear stream, and at this time, the second clear stream is recorded.
  • FIG. 3 as shown in FIG. 5, another video processing method provided by an embodiment of the present invention is shown.
  • the video processing method illustrated in FIG. 5 further performs S501-S507 after S310. Now explain S501-S507:
  • the video processing device sends a second control instruction to the decryption device.
  • the second control instruction is used to instruct the decryption device to decrypt the second scrambled stream.
  • the video processing device can receive the infrared signal sent by the infrared remote controller to acquire a remote control command, and send a second control command to the decryption device according to the remote control command.
  • the infrared remote controller can perform human-computer interaction with the user, and send a remote control instruction to the video processing device according to the second operation instruction of the user, and the remote control instruction corresponds to the second operation instruction of the user.
  • the user selects the television program B by operating the infrared remote controller, and the infrared remote controller sends an infrared signal to the video processing device according to the second operation instruction of the user (ie, selecting the television program B), where the infrared signal carries the second control instruction, and the video
  • the processing device sends a second control instruction to the decryption device to instruct the decryption device to decrypt the scrambled stream corresponding to the television program B (ie, the second scrambled stream).
  • the decryption device receives the second control instruction.
  • the decryption device decrypts the second scrambled stream to obtain a second clear stream.
  • the decryption device After receiving the second control instruction, the decryption device decrypts the second scrambled stream according to the instruction of the second control instruction to obtain a second clear stream.
  • the decryption device sends a second clear stream to the video processing device.
  • the video processing device receives the second clear stream.
  • the video processing device can receive the second clear stream through the input port 2 shown in FIG. 2.
  • the video processing device plays the second clear stream.
  • the video processing device is playing the first clear stream before playing the second clear stream; after receiving the second clear stream, the video processing device stops playing the first clear stream and switches to start playing the second clear stream.
  • the video processing device records the second clear stream after receiving the second clear stream, and generates at least one clear stream index.
  • a clear stream index contains attribute information of a data frame.
  • the video processing device plays the second clear stream through the demultiplexing 0 module, and simultaneously records the second clear stream through the demultiplexing module. Moreover, the video processing device generates a corresponding clear stream index for each frame of the second clear stream in the process of recording the second clear stream.
  • a clear stream index includes attribute information of a data frame
  • the attribute information of the one data frame may include a frame type of the data frame (such as an I frame/P frame/B frame), a frame length, a frame offset, and Timestamps, etc.
  • the TS recorded by the video processing device in the embodiment of the present invention includes the second scrambled stream and the second clear stream, that is, the TS recorded by the video processing device is a mixed stream.
  • S309 and S501 can be simultaneously performed in the embodiment of the present invention
  • S506 and S507 can be simultaneously executed in the embodiment of the present invention.
  • the video processing device may switch from playing the first clear stream to playing the second clear stream.
  • the video processing device records the second clear stream
  • the video processing device records the TS. It is a mixed stream (second scrambled stream and second cleaned stream). Since the video processing device generates at least one scrambled stream index during the recording of the second scrambled stream, the video processing device generates at least one clear stream index during the recording of the second clear stream, so when the video processing device plays back the recorded TS,
  • the fast forward or fast reverse function can be implemented by at least one scrambled stream index and at least one clear stream index.
  • the video processing device may implement a fast forward or rewind function according to the first remote command and the at least one scrambled stream index.
  • FIG. 6 another video processing method provided by an embodiment of the present invention is shown.
  • the video processing method illustrated in FIG. 5 further performs S601-S610 after S310. Now explain S601-S610:
  • the video processing device receives the first remote control instruction.
  • the first remote control instruction is used to indicate a fast forward operation or a fast reverse operation.
  • the video processing device can receive an infrared signal sent by the infrared remote controller to acquire the first remote control command.
  • the infrared remote controller can perform human-computer interaction with the user, and send a first remote control instruction to the video processing device according to the third operation instruction of the user, where the first remote control instruction corresponds to the third operation instruction of the user.
  • the user selects 4x fast forward (ie, 4 seconds of data for 1 second) by operating the infrared remote controller, and the infrared remote controller sends an infrared signal to the video processing device, where the infrared signal carries the first remote control command, the first A remote control command is used to instruct the video processing device to perform a fast forward operation, that is, to play the recorded second scrambled stream at 4x fast forward.
  • 4x fast forward ie, 4 seconds of data for 1 second
  • the infrared remote controller sends an infrared signal to the video processing device, where the infrared signal carries the first remote control command, the first A remote control command is used to instruct the video processing device to perform a fast forward operation, that is, to play the recorded second scrambled stream at 4x fast forward.
  • the video processing device reads the first partial data packet in the recorded second scrambled stream according to the first remote control instruction and the at least one scrambled stream index.
  • the video processing device may read the first partial data packet in the recorded second scrambled stream according to the at least one scrambled stream index.
  • the fast forward multiple is less than the preset multiple speed (ie, in the case of the first fast forward mode), according to the fast forward operation and the at least one scrambled stream index, uniform Reading the first partial data packet in the second scrambled stream; when the fast forward multiplication speed is greater than or equal to the preset multiple speed (in the case of the second fast forward mode), skip reading according to the fast forward operation and the at least one scrambled stream index The first part of the data packet in the second scrambled stream.
  • the preset multiple speed is a boundary value for distinguishing the first fast forward mode and the second fast forward mode set for the fast forward operation.
  • the preset double speed can be 8 times speed.
  • the transmission rate limited by the CI/CI+ card port is not able to correspond to all data corresponding to the double speed in unit time (for example, the 1S time corresponds to the 8x fast forward case)
  • the recording data of 8S is transmitted to the CI/CI+ card for processing.
  • the second fast forward mode in the present application adopts a method of skipping and reading the recorded data for processing and playing, so as to realize the fast forward playback function.
  • the video processing device For example, assume that the video processing device generates a scrambled stream index every second. The user selects 4x fast forward by operating the infrared remote controller, and the infrared remote controller sends an infrared signal to the video processing device. After receiving the first remote control command, the video processing device starts reading from the data packet corresponding to the scrambled stream index 1. The data packet corresponding to the spoiler index 4 (ie, the scrambled stream index of the 4th second).
  • the video processing device transmits the first part of the data packet to the decryption device.
  • the decryption device receives the first partial data packet.
  • the video processing device sends a third control instruction to the decryption device.
  • the third control instruction is used to indicate the first part of the data packet.
  • the video processing device can receive the infrared signal sent by the infrared remote controller to acquire the first remote control instruction, and send the third control instruction to the decryption device according to the first remote control instruction.
  • the infrared remote controller can perform human-computer interaction with the user, and send a remote control instruction to the video processing device according to the fourth operation instruction of the user, and the remote control instruction corresponds to the fourth operation instruction of the user.
  • the decryption device decrypts the first part of the data packet to obtain a third clear stream.
  • the decryption device After receiving the third control instruction, decryption device decrypts the first partial data packet according to the instruction of the third control instruction to obtain a third clear stream.
  • the decryption device sends a third clear stream to the video processing device.
  • the video processing device receives the third clear stream.
  • the video processing device sets the decoding mode of the third clear stream to the I frame decoding mode or the first I frame decoding mode according to the first remote command, and sets the decoding speed of the third clear stream.
  • the video processing device sets the decoding mode of the third clear stream to the I frame decoding mode, that is, the video processing device only decodes the I frame data in the third clear stream; when the first remote control instruction indicates In the fast rewind operation, the video processing device sets the decoding mode of the third clear stream to the first I frame decoding mode, that is, the video processing device decodes only the first I frame data in the third clear stream.
  • an I frame is a full-frame compression-encoded frame.
  • the data volume of an I-frame is generally large.
  • An I-frame does not need to be referenced to other frames. It is a reference frame of a P-frame or a B-frame.
  • the frame can reconstruct a complete image. Since the first part of the recorded data packet recorded by the video processing device contains not only I frame data but also P frame and/or B frame data, the video processing device can set the decoding of the third clear stream.
  • the mode is an I frame decoding mode or a first I frame decoding mode, instructing the video processing device to decode only I frame data.
  • the infrared remote controller When the user selects the 4x speed fast forward by operating the infrared remote controller, the infrared remote controller sends an infrared signal to the video processing device, where the infrared signal carries a first remote control command, and the first remote control command is used to instruct the video processing device to perform the 4x speed.
  • the video processing device sets the decoding speed of the decoder to be 4 times of the current decoding speed according to the instruction of the first remote control instruction, and decodes the I frame data in the third clear stream at a decoding speed of 4 times, the low multiple speed ( The I frame data in the third clear stream under 4 times is the I frame data in the partial data uniformly read by the video processing device.
  • the video processing device decodes the I frame data in the third clear stream in the third clear stream by 16 times the decoding speed.
  • the I frame data in the third clear stream at the high speed (16 times) is the I frame data in the partial data read by the video processing device.
  • the video processing device when the first remote control instruction indicates the fast rewind operation, the video processing device only needs to decode the first I frame data in each of the third data streams in the third clear stream according to the fast rewind operation.
  • the embodiment of the present invention may extract the I frame in the first partial data packet for playing.
  • the video processing device plays a third clear stream that is decoded in an I frame decoding mode or a first I frame decoding mode.
  • the P0 position is the tail of the recorded second scrambled stream.
  • the process of the video processing device implementing fast rewinding is as follows: the video processing device jumps from the P0 position to the P1 position according to the rewinding operation indicated by the first remote control instruction, and then reads the data of the P1P1' time period for playing, and P1P1 ⁇ P0P1.
  • the decoder since the decoder is set to the "first I frame decoding" mode, only the first I frame in the piece of data is decoded by the decoder, and the video processing device plays the decoded The first I frame in the segment of data.
  • the second time is to jump from the P1 position to the P2 position, then play the P2P2' time period data in the above manner, and so on.
  • the video processing device records the second clear stream while playing the first clear stream, and switches to play the second clear stream; and the video processing device can also record the first clear stream while playing the first clear stream. And switch to play the second clear stream.
  • the embodiment of the present invention further provides another video processing method, which is described in detail for an implementation process in which a video processing device plays a first clear stream while playing a first clear stream and switches to play a second clear stream. Specifically, as shown in FIG. 8, the video processing method includes S801-S817:
  • the video processing device receives the TS.
  • the TS includes a first scrambled stream and a second scrambled stream.
  • the video processing device transmits the first scrambled stream and the second scrambled stream to the decryption device.
  • the decryption device may be a CI/CI+ card, and the CI/CI+ card may decrypt the first scrambled stream or the second scrambled stream.
  • the decryption device receives the first scrambled stream and the second scrambled stream.
  • the video processing device sends a first control instruction to the decryption device.
  • the first control instruction is used to instruct the decryption device to decrypt the first scrambled stream.
  • the decryption device receives the first control instruction.
  • the decryption device decrypts the first scrambled stream to obtain a first clear stream.
  • the decryption device After receiving the first control instruction, decryption device decrypts the first scrambled stream according to the instruction of the first control instruction to obtain a first clear stream.
  • the decryption device sends the first clear stream and the second scramble stream to the video processing device.
  • the video processing device receives the first clear stream and the second scramble stream.
  • the video processing device can receive the first clear stream and the second scramble stream through the input port 2 shown in FIG. 2.
  • the video processing device plays the first clear stream.
  • the video processing device includes a demultiplexing 0 module, and after receiving the first clear stream, the video processing device can play the first clear stream by using the demultiplexing 0 module.
  • the video processing device records the first clear stream, and generates at least one clear stream index during the recording of the first clear stream.
  • a clear stream index contains attribute information of a data frame.
  • the video processing device sends a second control instruction to the decryption device.
  • the second control instruction is used to instruct the decryption device to decrypt the second scrambled stream.
  • the decryption device receives the second control instruction.
  • the decryption device decrypts the second scrambled stream to obtain a second clear stream.
  • the decryption device After receiving the second control instruction, the decryption device decrypts the second scrambled stream according to the instruction of the second control instruction to obtain a second clear stream.
  • the decryption device sends a second clear stream to the video processing device.
  • the video processing device receives the second clear stream.
  • the video processing device can receive the second clear stream through the input port 2 shown in FIG. 2.
  • the video processing device plays the second clear stream.
  • the video processing device records the first scrambled stream after receiving the first scrambled stream, and generates at least one scrambled stream index during the recording of the first scrambled stream.
  • the scrambling stream index corresponds to a data packet of the first scrambled stream recorded during a recording period and a recording period.
  • steps S801-S809 of the video processing method provided by the embodiment of the present invention are in one-to-one correspondence with the steps S301-S309 of the foregoing embodiment, and the S811-S816 corresponds to the steps S501-S506 of the foregoing embodiment.
  • the processing method refer to the above, and details are not described herein again.
  • the video processing device may implement a fast forward or rewind function according to the first remote command, the at least one scrambled stream index, and the at least one clear stream index.
  • the embodiment of the present invention provides another video processing method. Compared with the video processing method shown in FIG. 8, the S901-S910 is added after S817:
  • the video processing device receives the first remote control instruction.
  • the first remote control instruction is used to indicate a fast forward operation or a fast reverse operation.
  • the video processing device reads at least one data frame in the recorded first clear stream according to the first remote control instruction and the at least one clear stream index, and reads the recorded first plus according to the first remote control instruction and the at least one scrambled stream index. The first part of the packet in the spoiler.
  • the TS recorded by the video processing device includes a first clear stream and a first scrambled stream, and the video processing device is connected. After receiving the first remote control command, the at least one data frame in the recorded first clear stream may be read according to the at least one clear stream index, and the first part of the recorded second scrambled stream is read according to the at least one scrambled stream index.
  • At least one clear stream index in the embodiment of the present invention may be compatible with at least one scrambled stream index.
  • the video processing device transmits the first part of the data packet to the decryption device.
  • the decryption device receives the first partial data packet.
  • the video processing device sends a third control instruction to the decryption device.
  • the third control instruction is used to indicate the first part of the data packet.
  • the decryption device decrypts the first part of the data packet to obtain a third clear stream.
  • the decryption device After receiving the third control instruction, decryption device decrypts the first partial data packet according to the instruction of the third control instruction to obtain a third clear stream.
  • the decryption device sends a third clear stream to the video processing device.
  • the video processing device receives the third clear stream.
  • the video processing device sets the decoding mode of the third clear stream to the I frame decoding mode or the first I frame decoding mode according to the first remote command, and sets the decoding speed of the third clear stream.
  • the video processing device plays at least one data frame in the decoded first clear stream, and the third clear stream decoded in the I frame decoding mode or the first I frame decoding mode.
  • the video processing device reads at least one data frame of the first clear stream into an I frame when the video processing device reads at least one data frame in the first clear stream, and the video processing device decodes at least one of the first clear stream.
  • the data frame does not need to be set to the I frame decoding mode or the first I frame decoding mode.
  • step S901 of the video processing method provided by the embodiment of the present invention corresponds to step S601 of the foregoing embodiment
  • S903-S909 corresponds to steps S603-S609 of the foregoing embodiment
  • a detailed description of the video processing method is provided. The embodiments of the present invention are not described herein again.
  • the solution provided by the embodiment of the present invention is mainly introduced from the perspective of a video processing device.
  • the video processing device includes corresponding hardware structures and/or software modules for performing the respective functions in order to implement the above functions.
  • the present invention can be implemented in hardware, or a combination of hardware and computer software, in conjunction with the video processing apparatus and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
  • the embodiment of the present invention may divide a function module or a function unit into a video processing device according to the foregoing method example.
  • each function module or function unit may be divided according to each function, or two or more functions may be integrated into one.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules or functional units.
  • the division of a module or a unit in the embodiment of the present invention is schematic, and is only a logical function division. In actual implementation, there may be another division manner.
  • FIG. 9 is a schematic diagram showing a possible structure of a video processing device involved in the above embodiment.
  • the video processing device 900 can include a receiving module 901, a sending module 902, a playing module 903, a recording module 904, and a generating module 905.
  • the receiving module 901 is configured to support S301, S308, S505, S601, S608, S801, S808, S815, S901, and S908 in the above embodiments, and/or other processes for the techniques described herein.
  • the transmitting module 902 is configured to support S302, S304, S501, S603, S605, S802, S804, S811, S903, and S905 in the above embodiments, and/or other processes for the techniques described herein.
  • the play module 903 is used to support S309, S506, S610, S809, S816, and S910 in the above embodiments, and/or other processes for the techniques described herein.
  • Recording module 904 is used to support S310, S507, S810, and S817 in the above-described embodiments, and/or other processes for the techniques described herein.
  • the generation module 905 is for supporting S310, S507, S810, and S817 in the above embodiments, and/or other processes for the techniques described herein.
  • the video processing device 900 shown in FIG. 9 may further include: a reading module 906 and a setting module 907.
  • the reading module 906 is used to support S602 and S902 in the above embodiments, and/or other processes for the techniques described herein.
  • the setting module 907 is for supporting S308 and S609 and S909 in the above embodiments, and/or other processes for the techniques described herein.
  • the video processing device 900 provided by the embodiment of the present invention includes, but is not limited to, the module described above.
  • the video processing device 900 may further include a storage module.
  • the storage module can be configured to store at least one scrambled stream index in an embodiment of the present invention.
  • the above-mentioned play module 903, recording module 904, generation module 905, reading module 906, and setting module 907 can be integrated into one processing module, which can be a processor or a controller.
  • a processing module which can be a processor or a controller.
  • it may be a CPU, a general purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA), or the like.
  • DSP digital signal processor
  • ASIC application-specific integrated circuit
  • FPGA Field Programmable Gate Array
  • Programmable logic device transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processing unit may also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the receiving module 901 and the transmitting module 902 can be implemented by being integrated in one communication module, which can be a communication interface.
  • the storage module can be a memory.
  • the video processing device 900 may be the video processing device 1100 shown in FIG. As shown in FIG. 11, the video processing device 1100 includes a processor 1101, a memory 1102, and a communication interface 1103. The processor 1101, the memory 1102, and the communication interface 1103 are connected to each other through a bus 1104.
  • the bus 1104 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the above bus 1104 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 11, but it does not mean that there is only one bus or one type of bus.
  • Video processing device 1100 can include one or more processors 1101, ie, video processing device 1100 can include a multi-core processor.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores one or more program codes.
  • the processor 1101 of the video processing device 1100 executes the program code
  • the video processing device 1100 executes FIG. Related method steps in any of Figures 5, 6 and 8.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a flash memory, a mobile hard disk, a read only memory, a random access memory, a magnetic disk, or an optical disk, and the like, which can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明实施例公开了一种视频处理方法及设备,涉及通信技术领域,可以在播放第一清流,且录制第二加扰流的过程中,切换为播放第二清流;并且,在回放录制的第二加扰流的过程中,实现快进播放或快退播放。具体方案为:接收传送流TS,该TS包括第一加扰流和第二加扰流;将第一加扰流和第二加扰流传输至解密设备;向解密设备发送第一控制指令;接收解密设备传输的第一清流和第二加扰流,该第一清流由第一加扰流解密而得;播放第一清流,录制第二加扰流,并在录制第二加扰流的过程中生成至少一个加扰流索引。本发明实施例应用于视频播放与录制TS的过程中。

Description

一种视频处理方法及设备
本申请要求于2017年05月31日提交中国专利局、申请号为201710399456.3、申请名称为“一种视频处理方法及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及通信技术领域,尤其涉及一种视频处理方法及设备。
背景技术
机顶盒(Set Top Box,STB)是一种连接电视机(Television,TV)与外部信号源的设备,其可以对接收的电视节目的传送流(Transport Stream,TS)进行处理并播放,然后通过TV显示播放的电视节目,使得用户可以在TV上观看电视节目。
运营商为了保护电视节目的内容,通常会对电视节目的TS进行加密或加扰,采用加扰技术生成的TS称为加扰流;为了使得用户可以观看电视节目,则需要对电视节目的TS进行解密,解密后的TS称为清流。目前的STB可以采用通用接口(Common Interface,CI)/CI+卡对加扰流进行解密,且受限于成本通常CI/CI+卡每次只支持解密一路电视节目的加扰流。
具体的,STB接收外部信号源传输的至少两路电视节目的加扰流,并对该至少两路电视节目的加扰流进行解复用处理,即将至少两路电视节目的加扰流分流为每一路节目的加扰流,并对一路电视节目的加扰流(如电视节目A的加扰流)进行解密处理,得到电视节目A的清流,然后对该电视节目A的清流进行播放,并通过TV显示播放的电视节目A。在播放电视节目A的清流的过程中,可以录制电视节目A的清流或未解密的一路电视节目的加扰流(如电视节目B的加扰流),在录制电视节目A的清流或电视节目B的加扰流之后,用户可以回放电视节目A或电视节目B。
但是,由上述实现过程可以看出:该方法仅支持录制清流节目或者加扰流节目,并不能支持录制混合码流(包括清流和加扰流)的节目,因此在播放清流节目A时,并不支持切换节目B,以及不支持(针对录制的加扰节目的)特技播放(如快进播放和快退播放)。
发明内容
本申请提供一种视频处理方法及设备,可以在播放第一清流,且录制第二加扰流的过程中,切换为播放第二清流;并且,在回放录制的第二加扰流的过程中,实现快进播放或快退播放。
为达到上述目的,本申请采用如下技术方案:
本申请的第一方面,提供一种视频处理方法,该方法包括:接收传送流TS,该TS包括第一加扰流和第二加扰流;将第一加扰流和第二加扰流传输至解密设备;向解密设备发送第一控制指令,该第一控制指令用于指示解密设备解密第一加扰流;接收解密设备传输的第一清流和第二加扰流,该第一清流由第一加扰流解密而得;播放第一清流,录制第二加扰流,并在录制第二加扰流的过程中生成至少一个加扰流索引; 其中,一个加扰流索引对应一个录制时间段和录制时间段录制的第二加扰流的数据包。本申请中,在播放第一清流的同时,可以录制第二加扰流,并在录制第二加扰流的过程中由软件生成至少一个加扰流索引。由于每个加扰流索引对应一个录制时间段和该录制时间段录制的TS数据包(即第二加扰流的一个数据包),因此在回放录制的第二加扰流的过程中,可以通过录制第二加扰流时生成的至少一个加扰流索引快速定位到所需播放的帧的位置,从而快速读取出该帧数据进行播放,实现快进或快退功能。
结合第一方面,在本申请的一种可能的实现方式中,本申请的方法还可以包括:向解密设备发送第二控制指令,该第二控制指令用于指示解密设备解密第二加扰流;接收解密设备传输的第二清流,该第二清流由第二加扰流解密而得;由播放第一清流切换为播放第二清流,在接收到第二清流后录制第二清流,并生成至少一个清流索引,其中,一个清流索引包含一个数据帧的属性信息。其中,在录制第二加扰流时,可以由播放第一清流切换为播放第二清流,此时录制的为第二清流,则录制的TS为混合流(第二加扰流和第二清流)。由于在录制第二加扰流的过程中生成至少一个加扰流索引,在录制第二清流的过程中生成至少一个清流索引,因此在回放录制的TS时,可以通过至少一个加扰流索引和至少一个清流索引实现快进或快退功能。
结合第一方面和上述可能的实现方式,在本申请的另一种可能的实现方式中,在上述“录制第二加扰流”之后,本申请的方法还可以包括:接收第一遥控指令,该第一遥控指令用于指示快进操作或快退操作;根据第一遥控指令以及至少一个加扰流索引,读取录制的第二加扰流中第一部分数据包;将第一部分数据包传输至解密设备;向解密设备发送第三控制指令,该第三控制指令用于指示第一部分数据包;接收解密设备传输的第三清流,该第三清流由第一部分数据包解密而得;根据第一遥控指令,设置第三清流的解码模式为I帧解码模式或第一个I帧解码模式,以及设置第三清流的解码速度;播放以I帧解码模式或第一个I帧解码模式解码后的第三清流。其中,由于读取的录制的第二加扰流中第一部分数据包包含不仅有I帧数据,可能还包含有P帧和/或B帧数据,针对高倍速快进或高倍速快退的场景,芯片解码速度也会达到瓶颈而无法解码该数据包的全部视频帧。为了实现快进或者快退的较好用户体验,本申请可以提取该第一部分数据包中的I帧进行播放。
结合第一方面和上述可能的实现方式,在本申请的另一种可能的实现方式中,在第一遥控指令指示快进操作的情况下,上述“根据第一遥控指令以及至少一个加扰流索引,读取录制的第二加扰流中第一部分数据包”的方法可以包括:在第一快进模式情况下,根据快进操作以及至少一个加扰流索引,均匀读取第二加扰流中第一部分数据包,第一快进模式为快进倍速小于预设倍速的模式;或者,在第二快进模式情况下,根据快进操作以及至少一个加扰流索引,跳跃读取第二加扰流中第一部分数据包,第二快进模式为快进倍速大于或等于预设倍速的模式。上述“根据第一遥控指令,设置第三清流的解码模式为I帧解码模式或第一个I帧解码模式,以及设置第三清流的解码速度”的方法可以包括:根据第一遥控指令指示的快进操作,设置第三清流的解码模式为I帧解码模式,以及设置第三清流的解码速度;或者,根据第一遥控指令指示的快退操作,设置第三清流的解码模式为第一个I帧解码模式,以及设置第三清流的解码速度。
本申请的第二方面,提供一种视频处理方法,该方法包括:接收传送流TS,该TS包括第一加扰流和第二加扰流;将第一加扰流和第二加扰流传输至解密设备;向解密设备发送第一控制指令,该第一控制指令用于指示解密设备解密第一加扰流;接收解密设备传输的第一清流和第二加扰流,该第一清流由第一加扰流解密而得;播放第一清流,录制第一清流,并在录制第一清流的过程中生成至少一个清流索引,其中,一个清流索引包含一个数据帧的属性信息;向解密设备发送第二控制指令,该第二控制指令用于指示解密设备解密第二加扰流;接收解密设备传输的第二清流,该第二清流由第二加扰流解密而得;由播放第一清流切换为播放第二清流,在接收到第一加扰流后录制第一加扰流,并在录制第一加扰流的过程中生成至少一个加扰流索引,其中,一个加扰流索引对应一个录制时间段和录制时间段录制的第一加扰流的数据包。本申请中,在播放第一清流的同时,可以录制第二加扰流,并支持切换播放第二清流;并且,在回放录制的第二加扰流的过程中,可以通过至少一个清流索引和至少一个加扰流索引快速定位到所需播放的帧的位置,从而快速读取出该帧数据进行播放,实现快进或快退功能。
结合第二方面,在本申请的一种可能的实现方式中,在上述“录制第一加扰流”之后,本申请的方法还可以包括:接收第一遥控指令,该第一遥控指令用于指示快进操作或快退操作;根据第一遥控指令和至少一个清流索引,读取录制的第一清流中至少一个数据帧,以及根据第一遥控指令和至少一个加扰流索引,读取录制的第一加扰流中第一部分数据包;将第一部分数据包传输至解密设备;向解密设备发送第三控制指令,该第三控制指令用于指示第一部分数据包;接收解密设备传输的第三清流,该第三清流由第一部分数据包解密而得;根据第一遥控指令,设置第三清流的解码模式为I帧解码模式或第一个I帧解码模式,以及设置第三清流的解码速度;播放解码后的第一清流中至少一个数据帧,以及以I帧解码模式或第一个I帧解码模式解码后的第三清流。其中,在录制第一加扰流之后,可以根据第一遥控指令、至少一个加扰流索引以及至少一个清流索引,实现快进或快退功能。
本申请的第三方面,提供一种视频处理设备,该视频处理设备包括:接收模块、发送模块、播放模块、录制模块和生成模块。其中,接收模块,用于接收传送流TS,该TS包括第一加扰流和第二加扰流。发送模块,用于将第一加扰流和第二加扰流传输至解密设备。发送模块,还用于向解密设备发送第一控制指令,该第一控制指令用于指示解密设备解密第一加扰流。接收模块,用于接收解密设备传输的第一清流和第二加扰流,该第一清流由第一加扰流解密而得。播放模块,用于播放第一清流。录制模块,用于录制第二加扰流。生成模块,用于在录制模块录制第二加扰流的过程中,生成至少一个加扰流索引,其中,一个加扰流索引对应一个录制时间段和录制时间段录制的第二加扰流的数据包。
结合第三方面,在本申请的一种可能的实现方式中,发送模块,还用于向解密设备发送第二控制指令,该第二控制指令用于指示解密设备解密第二加扰流。接收模块,还用于接收解密设备传输的第二清流,该第二清流由第二加扰流解密而得。播放模块,还用于播放第二清流。录制模块,还用于在接收到第二清流后录制第二清流。生成模块,还用于生成至少一个清流索引,其中,一个清流索引包含一个数据帧的属性信息。
结合第三方面和上述可能的实现方式,在本申请的另一种可能的实现方式中,接收模块,还用于在录制模块录制第二加扰流之后,接收第一遥控指令,该第一遥控指令用于指示快进操作或快退操作。本申请中的视频处理设备还可以包括:读取模块和设置模块。其中,读取模块,用于根据第一遥控指令以及至少一个加扰流索引,读取录制的第二加扰流中第一部分数据包。发送模块,还用于将第一部分数据包传输至解密设备。发送模块,还用于向解密设备发送第三控制指令,该第三控制指令用于指示第一部分数据包。接收模块,还用于接收解密设备传输的第三清流,该第三清流由第一部分数据包解密而得。设置模块,用于根据第一遥控指令,设置第三清流的解码模式为I帧解码模式或第一个I帧解码模式,以及设置第三清流的解码速度。播放模块,还用于播放以I帧解码模式或第一个I帧解码模式解码后的第三清流。
结合第三方面和上述可能的实现方式,在本申请的另一种可能的实现方式中,在第一遥控指令指示快进操作的情况下,读取模块,具体可以用于:在第一快进模式情况下,根据快进操作以及至少一个加扰流索引,均匀读取第二加扰流中第一部分数据包,第一快进模式为快进倍速小于预设倍速的模式;或者,在第二快进模式情况下,根据快进操作以及至少一个加扰流索引,跳跃读取第二加扰流中第一部分数据包,第二快进模式为快进倍速大于或等于预设倍速的模式。设置模块,具体可以用于:根据第一遥控指令指示的快进操作,设置第三清流的解码模式为I帧解码模式,以及设置第三清流的解码速度;或者,根据第一遥控指令指示的快退操作,设置第三清流的解码模式为第一个I帧解码模式,以及设置第三清流的解码速度。
需要说明的是,本发明实施例的第三方面及其各种可能的实现方式的各个功能单元,是为了执行上述第一方面以及第一方面的各种可选方式的视频处理方法,而对视频处理设备进行的逻辑上的划分。第三方面及其各种可能的实现方式的各个功能单元的详细描述以及有益效果分析可以参考上述第一方面及其各种可能的实现方式中的对应描述及技术效果,此处不再赘述。
本申请的第四方面,提供一种视频处理设备,该视频处理设备包括:接收模块、发送模块、播放模块、录制模块和生成模块。其中,接收模块,用于接收传送流TS,该TS包括第一加扰流和第二加扰流。发送模块,用于将第一加扰流和第二加扰流传输至解密设备。发送模块,还用于向解密设备发送第一控制指令,该第一控制指令用于指示解密设备解密第一加扰流。接收模块,还用于接收解密设备传输的第一清流和第二加扰流,该第一清流由第一加扰流解密而得。播放模块,用于播放第一清流。录制模块,用于录制第一清流。生成模块,用于在录制模块录制第一清流的过程中,生成至少一个清流索引,其中,一个清流索引包含一个数据帧的属性信息。发送模块,还用于向解密设备发送第二控制指令,该第二控制指令用于指示解密设备解密第二加扰流。接收模块,还用于接收解密设备传输的第二清流,该第二清流由第二加扰流解密而得。播放模块,还用于播放第二清流。录制模块,还用于在接收模块接收到第一加扰流后,录制第一加扰流。生成模块,还用于在录制模块录制第一加扰流的过程中,生成至少一个加扰流索引,其中,一个加扰流索引对应一个录制时间段和录制时间段录制的第一加扰流的数据包。
结合第四方面,在本申请的一种可能的实现方式中,接收模块,还用于在录制模 块录制第一加扰流之后,接收第一遥控指令,该第一遥控指令用于指示快进操作或快退操作。本申请中的视频处理设备还可以包括:读取模块和设置模块。其中,读取模块,用于根据第一遥控指令和至少一个清流索引,读取录制的第一清流中至少一个数据帧,以及根据第一遥控指令和至少一个加扰流索引,读取录制的第一加扰流中第一部分数据包。发送模块,还用于将第一部分数据包传输至解密设备。发送模块,还用于向解密设备发送第三控制指令,该第三控制指令用于指示第一部分数据包。接收模块,还用于接收解密设备传输的第三清流,该第三清流由第一部分数据包解密而得。设置模块,用于根据第一遥控指令,设置第三清流的解码模式为I帧解码模式或第一个I帧解码模式,以及设置第三清流的解码速度。播放模块,还用于播放解码后的第一清流中至少一个数据帧,以及以I帧解码模式或第一个I帧解码模式解码后的第三清流。
需要说明的是,本发明实施例的第四方面及其各种可能的实现方式的各个功能单元,是为了执行上述第二方面以及第二方面的各种可选方式的视频处理方法,而对视频处理设备进行的逻辑上的划分。第四方面及其各种可能的实现方式的各个功能单元的详细描述以及有益效果分析可以参考上述第二方面及其各种可能的实现方式中的对应描述及技术效果,此处不再赘述。
本申请的第五方面,提供一种视频处理设备,该视频处理设备包括:处理器、存储器和通信接口。存储器用于存储计算机执行指令,处理器、通信接口与存储器通过总线连接,当视频处理设备运行时,处理器执行存储器存储的计算机执行指令,以使视频处理设备执行如第一方面以及第一方面的各种可选方式所述的视频处理方法,以及如第二方面以及第二方面的各种可选方式所述的视频处理方法。
本申请的第六方面,提供一种计算机存储介质,该计算机存储介质中存储有一个或多个程序代码,当第五方面中的视频处理设备的处理器执行该程序代码时,视频处理设备执行如第一方面以及第一方面的各种可选方式所述的视频处理方法,以及如第二方面以及第二方面的各种可选方式所述的视频处理方法。
本申请的第七方面,提供一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行如第一方面以及第一方面的各种可选方式所述的视频处理方法,以及如第二方面以及第二方面的各种可选方式所述的视频处理方法。
上述第五方面中视频处理设备的各个模块的详细描述和相应技术效果分析可参见上述第一方面及其各种可能的实现方式中的详细描述,以及上述第二方面及其各种可能的实现方式中的详细描述,本发明实施例这里不再赘述。
附图说明
图1为本发明实施例提供的一种系统架构示意图;
图2为本发明实施例提供的一种视频处理设备各模块或组成部分之间的交互过程示意图;
图3为本发明实施例提供的一种视频处理方法流程图一;
图4为本发明实施例提供的一种至少一个加扰流索引的实例示意图;
图5为本发明实施例提供的一种视频处理方法流程图二;
图6为本发明实施例提供的一种视频处理方法流程图三;
图7为本发明实施例提供的一种快退播放的实例示意图;
图8为本发明实施例提供的一种视频处理方法流程图四;
图9为本发明实施例提供的一种视频处理设备的可能的结构示意图一;
图10为本发明实施例提供的一种视频处理设备的可能的结构示意图二;
图11为本发明实施例提供的一种视频处理设备的可能的结构示意图三。
具体实施方式
以下,本发明实施例的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一加扰流和第二加扰流等是用于区别不同的加扰流,而不是用于描述加扰流的特定顺序。
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
本发明实施例提供的视频处理方法及设备可以应用于播放和录制TS的过程中。
下面对本发明实施例中的涉及的技术术语的英文缩略语以及对应的完整的英文表述/英文标准用语、中文表述/中文术语进行解释说明,以便于本领域技术人员理解,具体如表1所示:
表1
Figure PCTCN2017113265-appb-000001
请参考图1,其示出了本发明实施例提供的一种系统架构示意图。如图1所示,该系统架构可以包括视频处理设备01、解密设备02和TV 03。其中,解密设备02可以放置在视频处理设备01中,视频处理设备01与TV 03通信连接。
其中,视频处理设备01中包括核心芯片10和内存芯片11。核心芯片10上集成有解复用器101、中央处理器(Central Processing Unit,CPU)102和解码器103。解复用器101包括解复用0模块和解复用1模块(图1中并未画出),解复用0模块与解复用1模块是解复用器101中的独立的相同功能的子模块。
视频处理设备01可以为STB,其是一种连接TV 03与外部信号源的设备,能够接收数字信号,并可以将数字信号转换为模拟信号,即用户可以观看的电视内容。例如,视频处理设备01可以接收外部信号源传输的电视节目的加扰流,并对电视节目的加扰流进行处理,并向TV 03输出处理后的电视节目的TS。视频处理设备01还可以对电视节目的TS进行录制。
内存芯片11可以为双倍速率同步动态随机存储器(Double Data Rate,DDR), 其可以用于运行计算机程序代码、运行数据和/或模块。
核心芯片10上的解复用器101可以用于区分不同的电视节目节目,对电视节目的加扰流进行解复用处理,提取相应的音频、视频流和数据流。例如,解复用器101可以将至少两路电视节目的加扰流分流为每一路节目的加扰流。
CPU 102是视频处理设备01的控制中心,其可以完成网络管理、显示管理、有条件接收管理、图文电视解码、数据解码以及视频信号的上下变换等功能。例如,CPU 102可以控制内存芯片11运行或执行计算机程序代码和/或各个模块,从而执行计算机的各种功能应用并进行数据处理控制。
解码器103可以完成音频和视频等数字信号的解压缩,还原出模拟音频信号和模拟视频信号。例如解码器103可以解码电视节目的TS,将电视节目的TS解码转换为用户能够观看的电视内容。解复用0模块可以用于建立播放业务,对电视节目的TS进行播放,解复用1模块可以用于建立录制业务,对电视节目的TS进行录制。
解密设备02可以为CI/CI+卡,其可以对电视节目的加扰流进行解密与解扰,以供用户正常观看电视节目。
TV 03用于播放视频处理设备01输出的电视节目的TS,使得用户可以在TV 03上观看电视节目。
下面基于图2对图1中各模块或组成部分之间的交互过程进行简单说明。需要说明的是,视频处理设备01接收的TS为至少两路电视节目的TS,该TS至少包括第一加扰流和第二加扰流,且第一加扰流对应一路电视节目,第二加扰流对应一路电视节目。图2中仅以TS包括第一加扰流和第二加扰流为例,对视频处理方法进行说明。
具体的,如图2所示,通过视频处理设备01的输入端口1接收TS,该TS为两路电视节目的TS;解复用器101对TS进行解复用处理,得到第一加扰流和第二加扰流;通过视频处理设备01的输出端口0将第一加扰流和第二加扰流传输至解密设备02;解密设备02对第一加扰流进行解密,并通过视频处理设备01的输入端口2将第一清流(即解密后的第一加扰流)传输至解复用0模块,通过视频处理设备01的输入端口2将第二加扰流传输至解复用1模块;解复用0模块对第一清流进行播放,并通过TV03显示播放的电视节目,解复用1模块对第二加扰流进行录制,并保存至视频处理设备01的硬盘中,在录制第二加扰流的过程中,生成至少一个加扰流索引。
在录制第二加扰流之后,可以通过从硬盘中读取录制的第二加扰流,实现电视节目的回放。具体的,如图2所示,从硬盘中读取录制的第二加扰流,并通过视频处理设备01的RAM 0端口将读取的第二加扰流传输至核心芯片10;核心芯片10通过视频处理设备01的输出端口0将读取的第二加扰流传输至解密设备02;解密设备02对第二加扰流进行解密,并通过视频处理设备01的输入端口2将第二清流(即解密后的第二加扰流)传输至解复用0模块;解复用0模块将第二清流传输至解码器103进行解码,解码器103将解码后的第二清流输出至TV 03。
如图2所示,在回放录制的第二加扰流过程中,视频处理设备01中的快进模块或者快退模块可以根据第一遥控指令(第一遥控指令用于指示快进操作或快退操作)以及至少一个加扰流索引,读取录制的第二加扰流中第一部分数据包,设置第二清流的解码模式为I帧解码模式或第一个I帧解码模式,以及设置第三清流的解码速度,实 现录制的第二加扰流的特技播放(如快进播放或快退播放)。
基于图1所示的系统的各模块或组成部分,以及图2中各模块或组成部分之间的交互过程,本发明实施例提供一种视频处理方法,该方法对图2所示的各模块或组成部分之间的交互过程进行了详细的介绍。具体的,如图3所示,该视频处理方法可以包括S301-S310:
S301、视频处理设备接收TS。
其中,视频处理设备接收的TS为由多路电视节目的TS,且每路节目对应一个TS;并且,由于运营商为了保护电视节目的内容,通常会对电视节目的TS进行加密或加扰,采用加扰技术生成的TS称为加扰流;因此,视频处理设备接收的TS为多路电视节目的加扰流。
本发明实施例中仅以视频处理设备接收的TS为两路电视节目的加扰流为例。视频处理设备在接收TS后,视频处理设备中的CPU控制解复用器对TS进行解复用处理,得到第一加扰流和第二加扰流。例如,第一加扰流对应电视节目A,第二加扰流对应电视节目B。
示例性的,TS可以来自有线电缆、卫星天线、宽带网络以及地面广播等。视频处理设备可以与外部信号源连接,并接收外部信号源传输的数字线号(即TS)。TS可以为视频流、音频流、节目特殊信息流和其他数据包等。
当然,视频处理设备还可以接收电子节目指南、因特网网页、字幕等等,使得用户能够在TV上观看电视节目,并通过网络进行交互式数字化娱乐、教育和商业化活动。
S302、视频处理设备将第一加扰流和第二加扰流传输至解密设备。
其中,解密设备可以为CI/CI+卡,该CI/CI+卡可以对第一加扰流或第二加扰流解密。
示例性的,视频处理设备可以通过图2所示的输出端口0将第一加扰流和第二加扰流传输至解密设备。
S303、解密设备接收第一加扰流和第二加扰流。
S304、视频处理设备向解密设备发送第一控制指令。
其中,第一控制指令用于指示解密设备解密第一加扰流。
示例性的,视频处理设备可以接收红外遥控器发送的红外信号,以获取一个遥控指令,并根据该遥控指令向解密设备发送第一控制指令。其中,红外遥控器可以与用户进行人机交互,根据用户的第一操作指令向视频处理设备发送一个遥控指令,该遥控指令与用户的第一操作指令对应。
例如,用户通过操作红外遥控器选择电视节目A,红外遥控器根据用户的第一操作指令(即选择电视节目A)向视频处理设备发送红外信号,该红外信号中携带有第一控制指令,视频处理设备在接收到红外信号后,向解密设备发送第一控制指令,以指示解密设备解密电视节目A对应的加扰流(即第一加扰流)。
当然,用户还可以通过键盘、鼠标、语音以及触摸屏等方式,直接与视频处理设备进行人机交互。
S305、解密设备接收第一控制指令。
S306、解密设备解密第一加扰流,得到第一清流。
其中,解密设备在接收到第一控制指令后,根据第一控制指令的指示解密第一加扰流,得到第一清流。
S307、解密设备向视频处理设备发送第一清流和第二加扰流。
S308、视频处理设备接收第一清流和第二加扰流。
其中,视频处理设备可以通过图2所示的输入端口2接收第一清流和第二加扰流。
S309、视频处理设备播放第一清流。
其中,视频处理设备中包含有解复用0模块,视频处理设备在接收第一清流后,可以通过解复用0模块对第一清流进行播放,用户便可以通过TV观看电视节目A(即第一清流对应的电视节目)。
S310、视频处理设备录制第二加扰流,并在录制第二加扰流的过程中生成至少一个加扰流索引。
其中,一个加扰流索引对应一个录制时间段和录制时间段录制的第二加扰流的数据包。
视频处理设备在接收到第一清流和第二加扰流后,通过解复用0模块对第一清流进行解复用,然后将音频数据、视频数据传输至解码器解码后播放,同时通过解复用1模块对第二加扰流进行录制。并且,视频处理设备在录制第二加扰流的过程中,针对第二加扰流的每一个数据包生成对应的加扰流索引,每一个加扰流索引至少包含录制该段数据包的时间点信息、该段数据包的字节长度信息和该段数据包相对于录制的第二加扰流起始位置信息。
示例性的,视频处理设备在录制第二加扰流时,无法针对该加扰流中的每一帧建立索引信息,但是可以针对每一段数据包建立至少包含上述必要信息加扰流索引信息。在一个录制时间段录制一段数据,并在录制每一段数据时生成该段数据的加扰流索引,该段数据的加扰流索引对应该录制时间段和该录制时间段录制的一段数据(即第二加扰流的一个数据包)。
为了便于描述,下文中针对录制加扰流时,录制的每一段数据包用一帧数据表示,但并非传统意义上的一个帧(如I帧、P帧、B帧)。针对录制的加扰流描述时,一帧数据仅表示一个加扰流索引对应的一段数据包。
例如,如图4所示,视频处理设备在t1时刻开始录制第二加扰流的第一帧数据,并在t2时刻完成录制第一帧数据,此时视频处理设备在t2时刻生成的加扰流索引1对应第一录制时间段t2-t1,以及该第一录制时间段录制的第一帧数据的数据包;视频处理设备在t2时刻开始录制第二加扰流的第二帧数据,并在t3时刻完成录制第二帧数据,此时视频处理设备在t3时刻生成的加扰流索引2对应第二录制时间段t3-t2,以及该第二录制时间段录制的第二帧数据的数据包。
本发明实施例中,视频处理设备在录制第二加扰流后,可以回放录制的第二加扰流。在视频处理设备回放录制的第二加扰流的过程中,解密设备可以对第二加扰流进行解密,得到第二清流,并且解密设备在解密第二加扰流时,是解密第二加扰流的每一帧数据,然后将每一帧数据发送至视频处理设备,因此视频处理设备在回放录制的第二加扰流时,是解密设备解密一帧数据,视频处理设备播放一帧数据。
示例性的,视频处理设备在回放录制的第二加扰流的过程中,可以通过生成的至少一个加扰流索引实现特技播放功能。具体的,视频处理设备可以获取到一个控制指令,然后根据该控制指令和至少一个加扰流索引在录制的第二加扰流中定位到所需播放的帧的位置,从而快速读取出该帧数据进行播放。
例如,假设视频处理设备每隔一秒钟生成一个加扰流索引。用户通过操作红外遥控器选择8倍速快进(即1秒钟播放8秒钟的数据),红外遥控器向视频处理设备发送红外信号,该红外信号中携带有一个控制指令,该控制指令用于指示视频处理设备以8倍速快进播放录制的第二加扰流,视频处理设备在接收到控制指令后,在一秒钟时间内,根据本方案所述快进模式描述的读取数据的方法,从加扰流索引1(即第1秒的加扰流索引)所指示的数据包依次读到根据加扰流索引8(即第8秒的加扰流索引)指示的数据包进行回放,配合I帧解码模式从而实现8倍速快进播放。
需要说明的是,本发明实施例中可以先执行S302,再执行S304;也可以先执行S304,再执行S302;还可以同时执行S302和S304。本发明实施例对于S302和S304执行的先后顺序不做限制。本发明实施例中可以同时执行S309和S310。
本发明实施例提供一种视频处理方法,视频处理设备在播放第一清流的同时,可以录制第二加扰流,并在录制第二加扰流的过程中由软件生成至少一个加扰流索引。由于每个加扰流索引对应一个录制时间段和该录制时间段录制的TS数据包(即第二加扰流的一个数据包),因此在回放录制的第二加扰流的过程中,可以通过录制第二加扰流时生成的至少一个加扰流索引快速定位到所需播放的帧的位置,从而快速读取出该帧数据进行播放,实现快进或快退功能。
进一步的,本发明实施例中视频处理设备在播放第一清流,并录制第二加扰流时,还可以切换为播放第二清流,此时录制第二清流。具体的,结合图3,如图5所示,其示出了本发明实施例提供的另一种视频处理方法。图5示出的视频处理方法在S310之后,还执行S501-S507。现对S501-S507进行说明:
S501、视频处理设备向解密设备发送第二控制指令。
其中,第二控制指令用于指示解密设备解密第二加扰流。
示例性的,视频处理设备可以接收红外遥控器发送的红外信号,以获取一个遥控指令,并根据该遥控指令向解密设备发送第二控制指令。其中,红外遥控器可以与用户进行人机交互,根据用户的第二操作指令向视频处理设备发送一个遥控指令,该遥控指令与用户的第二操作指令对应。
例如,用户通过操作红外遥控器选择电视节目B,红外遥控器根据用户的第二操作指令(即选择电视节目B)向视频处理设备发送红外信号,该红外信号中携带有第二控制指令,视频处理设备在接收到红外信号后,向解密设备发送第二控制指令,以指示解密设备解密电视节目B对应的加扰流(即第二加扰流)。
S502、解密设备接收第二控制指令。
S503、解密设备解密第二加扰流,得到第二清流。
其中,解密设备在接收到第二控制指令后,根据第二控制指令的指示解密第二加扰流,得到第二清流。
S504、解密设备向视频处理设备发送第二清流。
S505、视频处理设备接收第二清流。
其中,视频处理设备可以通过图2所示的输入端口2接收第二清流。
S506、视频处理设备播放第二清流。
其中,视频处理设备在播放第二清流之前,正在播放第一清流;视频处理设备在接收到第二清流后,停止播放第一清流,切换为开始播放第二清流。
S507、视频处理设备在接收到第二清流后录制第二清流,并生成至少一个清流索引。
其中,一个清流索引包含一个数据帧的属性信息。视频处理设备在接收到第二清流后,通过解复用0模块对第二清流进行播放,同时通过解复用1模块对第二清流进行录制。并且,视频处理设备在录制第二清流的过程中,针对第二清流的每一帧数据生成对应的清流索引。
示例性的,一个清流索引包含一个数据帧的属性信息,该一个数据帧的属性信息可以包括该数据帧的帧类型(如I帧/P帧/B帧)、帧长度、帧偏移量和时间戳等。
需要说明的是,本发明实施例中视频处理设备录制的TS包括第二加扰流和第二清流,即视频处理设备录制的TS为混合流。
需要说明的是,本发明实施例中可以同时执行S309和S501;本发明实施例中可以同时执行S506和S507。
本发明实施例中,视频处理设备在录制第二加扰流时,可以由播放第一清流切换为播放第二清流,此时视频处理设备录制的为第二清流,则视频处理设备录制的TS为混合流(第二加扰流和第二清流)。由于视频处理设备在录制第二加扰流的过程中生成至少一个加扰流索引,视频处理设备在录制第二清流的过程中生成至少一个清流索引,因此视频处理设备在回放录制的TS时,可以通过至少一个加扰流索引和至少一个清流索引实现快进或快退功能。
进一步的,下面具体介绍了视频处理设备在回放录制的第二加扰流过程中,实现快进或快退功能的具体过程。视频处理设备在录制第二加扰流之后,可以根据第一遥控指令和至少一个加扰流索引,实现快进或快退功能。具体的,结合图3,如图6所示,示出了本发明实施例提供的另一种视频处理方法。图5示出的视频处理方法在S310之后,还执行S601-S610。现对S601-S610进行说明:
S601、视频处理设备接收第一遥控指令。
其中,第一遥控指令用于指示快进操作或快退操作。
示例性的,视频处理设备可以接收红外遥控器发送的红外信号,以获取第一遥控指令。其中,红外遥控器可以与用户进行人机交互,根据用户的第三操作指令向视频处理设备发送第一遥控指令,该第一遥控指令与用户的第三操作指令对应。
例如,用户通过操作红外遥控器选择4倍速快进(即1秒钟播放4秒钟的数据),红外遥控器向视频处理设备发送红外信号,该红外信号中携带有第一遥控指令,该第一遥控指令用于指示视频处理设备进行快进操作,即以4倍速快进播放录制的第二加扰流。
S602、视频处理设备根据第一遥控指令以及至少一个加扰流索引,读取录制的第二加扰流中第一部分数据包。
其中,视频处理设备在接收到第一遥控指令后,可以根据至少一个加扰流索引读取录制的第二加扰流中第一部分数据包。
示例性的,在第一遥控指令指示快进操作的情况下,当快进倍速小于预设倍速(即第一快进模式情况下)时,根据快进操作以及至少一个加扰流索引,均匀读取第二加扰流中第一部分数据包;当快进倍速大于或等于预设倍速(在第二快进模式情况下)时,根据快进操作以及至少一个加扰流索引,跳跃读取第二加扰流中第一部分数据包。其中,预设倍速为针对快进操作设置的用于区分第一快进模式和第二快进模式的分界值。例如,预设倍速可以为8倍速。在快进倍速大于或等于预设倍速的情况下,受限于CI/CI+卡端口的传输速率,并不能够在单位时间将对应倍速的全部数据(例如1S时间在8倍速快进情况下对应8S的录制数据)传输给CI/CI+卡进行处理,本申请中的第二快进模式采用跳跃读取录制数据进行处理播放的方式,以实现快进播放功能。
例如,假设视频处理设备每隔一秒钟生成一个加扰流索引。用户通过操作红外遥控器选择4倍速快进,红外遥控器向视频处理设备发送红外信号,视频处理设备在接收到第一遥控指令后,从加扰流索引1对应的数据包开始读取到加扰流索引4(即第4秒的加扰流索引)对应的数据包。
S603、视频处理设备将第一部分数据包传输至解密设备。
S604、解密设备接收第一部分数据包。
S605、视频处理设备向解密设备发送第三控制指令。
其中,第三控制指令用于指示第一部分数据包。
示例性的,视频处理设备可以接收红外遥控器发送的红外信号,以获取第一遥控指令,并根据该第一遥控指令向解密设备发送第三控制指令。其中,红外遥控器可以与用户进行人机交互,根据用户的第四操作指令向视频处理设备发送一个遥控指令,该遥控指令与用户的第四操作指令对应。
S606、解密设备解密第一部分数据包,得到第三清流。
其中,解密设备在接收到第三控制指令后,根据第三控制指令的指示解密第一部分数据包,得到第三清流。
S607、解密设备向视频处理设备发送第三清流。
S608、视频处理设备接收第三清流。
S609、视频处理设备根据第一遥控指令,设置第三清流的解码模式为I帧解码模式或第一个I帧解码模式,以及设置第三清流的解码速度。
其中,当第一遥控指令指示快进操作时,视频处理设备设置第三清流的解码模式为I帧解码模式,即视频处理设备仅解码第三清流中的I帧数据;当第一遥控指令指示快退操作时,视频处理设备设置第三清流的解码模式为第一个I帧解码模式,即视频处理设备仅解码第三清流中的第一个I帧数据。
一般而言,I帧是一个全帧压缩编码帧,I帧的数据量一般比较大,I帧不需要参考其他帧而生成,它是P帧或是B帧的参考帧,解码时仅用I帧就可以重构一个完整的图像。由于视频处理设备读取的录制的第二加扰流中第一部分数据包中包含不仅有I帧数据,可能还包含有P帧和/或B帧数据,视频处理设备可以设置第三清流的解码模式为I帧解码模式或第一个I帧解码模式,指示视频处理设备仅解码I帧数据。
当用户通过操作红外遥控器选择4倍速快进时,红外遥控器向视频处理设备发送红外信号,该红外信号中携带有第一遥控指令,该第一遥控指令用于指示视频处理设备进行4倍速快进操作,视频处理设备根据第一遥控指令的指示,设置解码器的解码速度为当前解码速度的4倍,且以4倍的解码速度解码第三清流中的I帧数据,该低倍速(4倍)下的第三清流中的I帧数据为视频处理设备均匀读取的部分数据中的I帧数据。而当用户通过操作红外遥控器选择16倍速快进(如1秒钟播放16秒钟的数据)时,视频处理设备以16倍的解码速度解码第三清流中的第三清流中的I帧数据,该高倍速(16倍)下的第三清流中的I帧数据为视频处理设备跳跃读取的部分数据中的I帧数据。
示例性的,当第一遥控指令指示快退操作时,视频处理设备只需要根据快退操作解码第三清流中的每段下发数据包中的第一个I帧数据。
其中,由于读取的录制的第二加扰流中第一部分数据包包含不仅有I帧数据,可能还包含有P帧和/或B帧数据,针对高倍速快进或高倍速快退的场景,芯片解码速度也会达到瓶颈而无法解码该数据包的全部视频帧。为了实现快进或者快退的较好用户体验,本发明实施例可以提取该第一部分数据包中的I帧进行播放。
S610、视频处理设备播放以I帧解码模式或第一个I帧解码模式解码后的第三清流。
例如,如图7所示,假设P0位置为录制的第二加扰流的尾部。视频处理设备实现快退播放的过程如下:视频处理设备根据第一遥控指令指示的快退操作,从P0位置跳跃到P1位置,然后读取P1P1`时间段的数据用于播放,且P1P1`<P0P1。当该段数据通过解码器时,由于解码器被设置为“第一个I帧解码”模式,因此只有该段数据中的第一个I帧会被解码器解码,视频处理设备播放解码后的该段数据中的第一个I帧。第二次是从P1位置跳跃到P2位置,然后用上述方式播放P2P2`时间段的数据,以此类推。
上述实施例提供的方法中,视频处理设备在播放第一清流的同时,录制第二清流,并切换为播放第二清流;而视频处理设备在播放第一清流的同时,也可以录制第一清流,并切换为播放第二清流。本发明实施例还提供另一种视频处理方法,针对视频处理设备在播放第一清流的同时,录制第一清流,并切换为播放第二清流的实现过程进行详细描述。具体的,如图8所示,该视频处理方法包括S801-S817:
S801、视频处理设备接收TS。
其中,TS包括第一加扰流和第二加扰流。
S802、视频处理设备将第一加扰流和第二加扰流传输至解密设备。
其中,解密设备可以为CI/CI+卡,该CI/CI+卡可以对第一加扰流或第二加扰流解密。
S803、解密设备接收第一加扰流和第二加扰流。
S804、视频处理设备向解密设备发送第一控制指令。
其中,第一控制指令用于指示解密设备解密第一加扰流。
S805、解密设备接收第一控制指令。
S806、解密设备解密第一加扰流,得到第一清流。
其中,解密设备在接收到第一控制指令后,根据第一控制指令的指示解密第一加扰流,得到第一清流。
S807、解密设备向视频处理设备发送第一清流和第二加扰流。
S808、视频处理设备接收第一清流和第二加扰流。
其中,视频处理设备可以通过图2所示的输入端口2接收第一清流和第二加扰流。
S809、视频处理设备播放第一清流。
其中,视频处理设备中包含有解复用0模块,视频处理设备在接收第一清流后,可以通过解复用0模块对第一清流进行播放。
S810、视频处理设备录制第一清流,并在录制第一清流的过程中生成至少一个清流索引。
其中,一个清流索引包含一个数据帧的属性信息。
S811、视频处理设备向解密设备发送第二控制指令。
其中,第二控制指令用于指示解密设备解密第二加扰流。
S812、解密设备接收第二控制指令。
S813、解密设备解密第二加扰流,得到第二清流。
其中,解密设备在接收到第二控制指令后,根据第二控制指令的指示解密第二加扰流,得到第二清流。
S814、解密设备向视频处理设备发送第二清流。
S815、视频处理设备接收第二清流。
其中,视频处理设备可以通过图2所示的输入端口2接收第二清流。
S816、视频处理设备播放第二清流。
S817、视频处理设备在接收到第一加扰流后录制第一加扰流,并在录制第一加扰流的过程中生成至少一个加扰流索引。
其中,一个加扰流索引对应一个录制时间段和录制时间段录制的第一加扰流的数据包。
需要说明的是,本发明实施例提供的视频处理方法的步骤S801-S809与上述实施例的步骤S301-S309一一对应,S811-S816与上述实施例的步骤S501-S506一一对应,该视频处理方法的具体描述请参考上文,本发明实施例这里不再赘述。
进一步的,下面具体介绍了视频处理设备在回放录制第一加扰流过程中,实现快进或快退功能的具体过程。视频处理设备在录制第一加扰流之后,可以根据第一遥控指令、至少一个加扰流索引以及至少一个清流索引,实现快进或快退功能。具体的,本发明实施例提供另一种视频处理方法,与图8所示的视频处理方法相比,主要是在S817之后增加了S901-S910:
S901、视频处理设备接收第一遥控指令。
其中,第一遥控指令用于指示快进操作或快退操作。
S902、视频处理设备根据第一遥控指令和至少一个清流索引,读取录制的第一清流中至少一个数据帧,以及根据第一遥控指令和至少一个加扰流索引,读取录制的第一加扰流中第一部分数据包。
其中,视频处理设备录制的TS包括第一清流和第一加扰流,视频处理设备在接 收到第一遥控指令后,可以根据至少一个清流索引读取录制的第一清流中至少一个数据帧,根据至少一个加扰流索引读取录制的第二加扰流中第一部分数据包。
需要说明的是,本发明实施例中的至少一个清流索引与至少一个加扰流索引可以兼容。
S903、视频处理设备将第一部分数据包传输至解密设备。
S904、解密设备接收第一部分数据包。
S905、视频处理设备向解密设备发送第三控制指令。
其中,第三控制指令用于指示第一部分数据包。
S906、解密设备解密第一部分数据包,得到第三清流。
其中,解密设备在接收到第三控制指令后,根据第三控制指令的指示解密第一部分数据包,得到第三清流。
S907、解密设备向视频处理设备发送第三清流。
S908、视频处理设备接收第三清流。
S909、视频处理设备根据第一遥控指令,设置第三清流的解码模式为I帧解码模式或第一个I帧解码模式,以及设置第三清流的解码速度。
S910、视频处理设备播放解码后的第一清流中至少一个数据帧,以及以I帧解码模式或第一个I帧解码模式解码后的第三清流。
其中,视频处理设备在读取的录制的第一清流中至少一个数据帧时,读取该第一清流中至少一个数据帧的帧类型为I帧,视频处理设备在解码第一清流中至少一个数据帧时并不需要设置为I帧解码模式或第一个I帧解码模式。
需要说明的是,本发明实施例提供的视频处理方法的步骤S901与上述实施例的步骤S601对应,S903-S909与上述实施例的步骤S603-S609一一对应,该视频处理方法的具体描述请参考上文,本发明实施例这里不再赘述。
上述主要从视频处理设备的角度对本发明实施例提供的方案进行了介绍。可以理解的是,视频处理设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的视频处理设备及算法步骤,本发明能够以硬件,或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
本发明实施例可以根据上述方法示例对视频处理设备进行功能模块或者功能单元的划分,例如,可以对应各个功能划分各个功能模块或者功能单元,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块或者功能单元的形式实现。其中,本发明实施例中对模块或者单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
图9示出了上述实施例中所涉及的视频处理设备的一种可能的结构示意图。该视频处理设备900可以包括:接收模块901、发送模块902、播放模块903、录制模块904和生成模块905。
其中,接收模块901用于支持上述实施例中的S301、S308、S505、S601、S608、S801、S808、S815、S901和S908,和/或用于本文所描述的技术的其它过程。发送模块902用于支持上述实施例中的S302、S304、S501、S603、S605、S802、S804、S811、S903和S905,和/或用于本文所描述的技术的其它过程。播放模块903用于支持上述实施例中的S309、S506、S610、S809、S816和S910,和/或用于本文所描述的技术的其它过程。录制模块904用于支持上述实施例中的S310、S507、S810和S817,和/或用于本文所描述的技术的其它过程。生成模块905用于支持上述实施例中的S310、S507、S810和S817,和/或用于本文所描述的技术的其它过程。
进一步的,如图10所示,图9所示的视频处理设备900还可以包括:读取模块906和设置模块907。其中,读取模块906用于支持上述实施例中的S602和S902,和/或用于本文所描述的技术的其它过程。设置模块907用于支持上述实施例中的S308和S609和S909,和/或用于本文所描述的技术的其它过程。
当然,本发明实施例提供的视频处理设备900包括但不限于上述所述的模块,例如视频处理设备900中还可以包括存储模块。存储模块可以用于存储本发明实施例中的至少一个加扰流索引。
在采用集成的单元的情况下,上述播放模块903、录制模块904、生成模块905、读取模块906和设置模块907等可以集成在一个处理模块中实现,该处理模块可以是处理器或控制器,例如可以是CPU,通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种举例说明逻辑方框,模块和电路。处理单元也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等。接收模块901和发送模块902可以集成在一个通信模块中实现,该通信模块可以是通信接口。存储模块可以是存储器。
当上述处理模块为处理器,存储模块为存储器,通信模块为收发器时,本发明实施例所涉及的视频处理设备900可以为图11所示的视频处理设备1100。如图11所示,视频处理设备1100包括:处理器1101、存储器1102和通信接口1103。其中,处理器1101、存储器1102和通信接口1103通过总线1104相互连接。
其中,总线1104可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。上述总线1104可以分为地址总线、数据总线、控制总线等。为便于表示,图11中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
视频处理设备1100可以包括一个或多个处理器1101,即视频处理设备1100可以包括多核处理器。
本发明实施例还提供一种计算机存储介质,该计算机存储介质中存储有一个或多个程序代码,当视频处理设备1100的处理器1101执行该程序代码时,该视频处理设备1100执行图3、图5、图6和图8中任一附图中的相关方法步骤。
其中,本发明实施例提供的视频处理设备1100中各个模块的详细描述以及各个模 块或单元执行图3、图5、图6和图8中任一附图中的相关方法步骤后所带来的技术效果可以参考本发明方法实施例中的相关描述,此处不再赘述。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (15)

  1. 一种视频处理方法,其特征在于,包括:
    接收传送流TS,所述TS包括第一加扰流和第二加扰流;
    将所述第一加扰流和第二加扰流传输至解密设备;
    向所述解密设备发送第一控制指令,所述第一控制指令用于指示所述解密设备解密所述第一加扰流;
    接收所述解密设备传输的第一清流和所述第二加扰流,所述第一清流由所述第一加扰流解密而得;
    播放所述第一清流,录制所述第二加扰流,并在录制所述第二加扰流的过程中生成至少一个加扰流索引;其中,一个所述加扰流索引对应一个录制时间段和所述录制时间段录制的第二加扰流的数据包。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    向所述解密设备发送第二控制指令,所述第二控制指令用于指示所述解密设备解密所述第二加扰流;
    接收所述解密设备传输的第二清流,所述第二清流由所述第二加扰流解密而得;
    由播放所述第一清流切换为播放所述第二清流,在接收到所述第二清流后录制所述第二清流,并生成至少一个清流索引;其中,一个所述清流索引包含一个数据帧的属性信息。
  3. 根据权利要求1所述的方法,其特征在于,在所述录制所述第二加扰流之后,所述方法还包括:
    接收第一遥控指令,所述第一遥控指令用于指示快进操作或快退操作;
    根据第一遥控指令以及所述至少一个加扰流索引,读取录制的第二加扰流中第一部分数据包;
    将所述第一部分数据包传输至所述解密设备;
    向所述解密设备发送第三控制指令,所述第三控制指令用于指示所述第一部分数据包;
    接收所述解密设备传输的第三清流,所述第三清流由所述第一部分数据包解密而得;
    根据所述第一遥控指令,设置所述第三清流的解码模式为I帧解码模式或第一个I帧解码模式,以及设置所述第三清流的解码速度;
    播放以所述I帧解码模式或所述第一个I帧解码模式解码后的第三清流。
  4. 根据权利要求3所述的方法,其特征在于,在所述第一遥控指令指示快进操作的情况下,所述根据第一遥控指令以及所述至少一个加扰流索引,读取录制的第二加扰流中第一部分数据包,包括:
    在第一快进模式情况下,根据所述快进操作以及所述至少一个加扰流索引,均匀读取所述第二加扰流中第一部分数据包,所述第一快进模式为快进倍速小于预设倍速的模式;
    或者,
    在第二快进模式情况下,根据所述快进操作以及所述至少一个加扰流索引,跳跃读取所述第二加扰流中第一部分数据包,所述第二快进模式为快进倍速大于或等于所述预设倍速的模式;
    根据所述第一遥控指令,设置所述第三清流的解码模式为I帧解码模式或第一个I帧解码模式,以及设置所述第三清流的解码速度,包括:
    根据所述第一遥控指令指示的快进操作,设置所述第三清流的解码模式为I帧解码模式,并设置所述第三清流的解码速度;
    或者,
    根据所述第一遥控指令指示的快退操作,设置所述第三清流的解码模式为第一个I帧解码模式,并设置所述第三清流的解码速度。
  5. 一种视频处理方法,其特征在于,包括:
    接收传送流TS,所述TS包括第一加扰流和第二加扰流;
    将所述第一加扰流和第二加扰流传输至解密设备;
    向所述解密设备发送第一控制指令,所述第一控制指令用于指示所述解密设备解密所述第一加扰流;
    接收所述解密设备传输的第一清流和所述第二加扰流,所述第一清流由所述第一加扰流解密而得;
    播放所述第一清流,录制所述第一清流,并在录制所述第一清流的过程中生成至少一个清流索引;其中,一个所述清流索引包含一个数据帧的属性信息;
    向所述解密设备发送第二控制指令,所述第二控制指令用于指示所述解密设备解密所述第二加扰流;
    接收所述解密设备传输的第二清流,所述第二清流由所述第二加扰流解密而得;
    由播放所述第一清流切换为播放所述第二清流,在接收到所述第一加扰流后录制所述第一加扰流,并在录制所述第一加扰流的过程中生成至少一个加扰流索引;其中,一个所述加扰流索引对应一个录制时间段和所述录制时间段录制的第一加扰流的数据包。
  6. 根据权利要求5所述的方法,其特征在于,在所述录制所述第一加扰流之后,所述方法还包括:
    接收第一遥控指令,所述第一遥控指令用于指示快进操作或快退操作;
    根据第一遥控指令和所述至少一个清流索引,读取录制的第一清流中至少一个数据帧,以及根据第一遥控指令和所述至少一个加扰流索引,读取录制的第一加扰流中第一部分数据包;
    将所述第一部分数据包传输至所述解密设备;
    向所述解密设备发送第三控制指令,所述第三控制指令用于指示所述第一部分数据包;
    接收所述解密设备传输的第三清流,所述第三清流由所述第一部分数据包解密而得;
    根据所述第一遥控指令,设置所述第三清流的解码模式为I帧解码模式或第一 个I帧解码模式,以及设置所述第三清流的解码速度;
    播放解码后的第一清流中至少一个数据帧,以及以所述I帧解码模式或所述第一个I帧解码模式解码后的第三清流。
  7. 一种视频处理设备,其特征在于,包括:
    接收模块,用于接收传送流TS,所述TS包括第一加扰流和第二加扰流;
    发送模块,用于将所述第一加扰流和第二加扰流传输至解密设备;
    所述发送模块,还用于向所述解密设备发送第一控制指令,所述第一控制指令用于指示所述解密设备解密所述第一加扰流;
    所述接收模块,还用于接收所述解密设备传输的第一清流和所述第二加扰流,所述第一清流由所述第一加扰流解密而得;
    播放模块,用于播放所述第一清流;
    录制模块,用于录制所述第二加扰流;
    生成模块,用于在所述录制模块录制所述第二加扰流的过程中,生成至少一个加扰流索引;其中,一个所述加扰流索引对应一个录制时间段和所述录制时间段录制的第二加扰流的数据包。
  8. 根据权利要求7所述的视频处理设备,其特征在于,所述发送模块,还用于向所述解密设备发送第二控制指令,所述第二控制指令用于指示所述解密设备解密所述第二加扰流;
    所述接收模块,还用于接收所述解密设备传输的第二清流,所述第二清流由所述第二加扰流解密而得;
    所述播放模块,还用于播放所述第二清流;
    所述录制模块,还用于在接收到所述第二清流后录制所述第二清流;
    所述生成模块,还用于生成至少一个清流索引;其中,一个所述清流索引包含一个数据帧的属性信息。
  9. 根据权利要求7所述的视频处理设备,其特征在于,所述接收模块,还用于在所述录制模块录制所述第二加扰流之后,接收第一遥控指令,所述第一遥控指令用于指示快进操作或快退操作;
    所述视频处理设备还包括:
    读取模块,用于根据第一遥控指令以及所述至少一个加扰流索引,读取录制的第二加扰流中第一部分数据包;
    所述发送模块,还用于将所述第一部分数据包传输至所述解密设备;
    所述发送模块,还用于向所述解密设备发送第三控制指令,所述第三控制指令用于指示所述第一部分数据包;
    所述接收模块,还用于接收所述解密设备传输的第三清流,所述第三清流由所述第一部分数据包解密而得;
    设置模块,用于根据所述第一遥控指令,设置所述第三清流的解码模式为I帧解码模式或第一个I帧解码模式,以及设置所述第三清流的解码速度;
    所述播放模块,还用于播放以所述I帧解码模式或所述第一个I帧解码模式解码后的第三清流。
  10. 根据权利要求9所述的视频处理设备,其特征在于,在所述第一遥控指令指示快进操作的情况下,所述读取模块,具体用于:
    在第一快进模式情况下,根据所述快进操作以及所述至少一个加扰流索引,均匀读取所述第二加扰流中第一部分数据包,所述第一快进模式为快进倍速小于预设倍速的模式;
    或者,
    在第二快进模式情况下,根据所述快进操作以及所述至少一个加扰流索引,跳跃读取所述第二加扰流中第一部分数据包,所述第二快进模式为快进倍速大于或等于所述预设倍速的模式;
    所述设置模块,具体用于:
    根据所述第一遥控指令指示的快进操作,设置所述第三清流的解码模式为I帧解码模式,以及设置所述第三清流的解码速度;
    或者,
    根据所述第一遥控指令指示的快退操作,设置所述第三清流的解码模式为第一个I帧解码模式,以及设置所述第三清流的解码速度。
  11. 一种视频处理设备,其特征在于,包括:
    接收模块,用于接收传送流TS,所述TS包括第一加扰流和第二加扰流;
    发送模块,用于将所述第一加扰流和第二加扰流传输至解密设备;
    所述发送模块,还用于向所述解密设备发送第一控制指令,所述第一控制指令用于指示所述解密设备解密所述第一加扰流;
    所述接收模块,还用于接收所述解密设备传输的第一清流和所述第二加扰流,所述第一清流由所述第一加扰流解密而得;
    播放模块,用于播放所述第一清流;
    录制模块,用于录制所述第一清流;
    生成模块,用于在所述录制模块录制所述第一清流的过程中,生成至少一个清流索引;其中,一个所述清流索引包含一个数据帧的属性信息;
    所述发送模块,还用于向所述解密设备发送第二控制指令,所述第二控制指令用于指示所述解密设备解密所述第二加扰流;
    所述接收模块,还用于接收所述解密设备传输的第二清流,所述第二清流由所述第二加扰流解密而得;
    所述播放模块,还用于播放所述第二清流;
    所述录制模块,还用于在所述接收模块接收到所述第一加扰流后,录制所述第一加扰流;
    所述生成模块,还用于在所述录制模块录制所述第一加扰流的过程中,生成至少一个加扰流索引;其中,一个所述加扰流索引对应一个录制时间段和所述录制时间段录制的第一加扰流的数据包。
  12. 根据权利要求11所述的视频处理设备,其特征在于,所述接收模块,还用于在所述录制模块录制所述第一加扰流之后,接收第一遥控指令,所述第一遥控指令用于指示快进操作或快退操作;
    所述视频处理设备还包括:
    读取模块,用于根据第一遥控指令和所述至少一个清流索引,读取录制的第一清流中至少一个数据帧,以及根据第一遥控指令和所述至少一个加扰流索引,读取录制的第一加扰流中第一部分数据包;
    所述发送模块,还用于将所述第一部分数据包传输至所述解密设备;
    所述发送模块,还用于向所述解密设备发送第三控制指令,所述第三控制指令用于指示所述第一部分数据包;
    所述接收模块,还用于接收所述解密设备传输的第三清流,所述第三清流由所述第一部分数据包解密而得;
    设置模块,用于根据所述第一遥控指令,设置所述第三清流的解码模式为I帧解码模式或第一个I帧解码模式,以及设置所述第三清流的解码速度;
    所述播放模块,还用于播放解码后的第一清流中至少一个数据帧,以及以所述I帧解码模式或所述第一个I帧解码模式解码后的第三清流。
  13. 一种视频处理设备,其特征在于,所述视频处理设备包括:处理器、存储器和通信接口;
    所述存储器用于存储计算机执行指令,所述处理器、所述通信接口与所述存储器通过总线连接,当所述视频处理设备运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述视频处理设备执行如权利要求1-6中任一项所述的视频处理方法。
  14. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在一个视频处理设备上运行时,使得所述视频处理设备执行如权利要求1-6中任一项所述的视频处理方法。
  15. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-6中任一项所述的视频处理方法。
PCT/CN2017/113265 2017-05-31 2017-11-28 一种视频处理方法及设备 WO2018218897A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710399456.3 2017-05-31
CN201710399456.3A CN108989895A (zh) 2017-05-31 2017-05-31 一种视频处理方法及设备

Publications (1)

Publication Number Publication Date
WO2018218897A1 true WO2018218897A1 (zh) 2018-12-06

Family

ID=64455158

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/113265 WO2018218897A1 (zh) 2017-05-31 2017-11-28 一种视频处理方法及设备

Country Status (2)

Country Link
CN (1) CN108989895A (zh)
WO (1) WO2018218897A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798713B (zh) * 2019-10-25 2021-07-13 北京东方广视科技股份有限公司 时移电视点播方法、终端、服务器及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202900A (zh) * 2007-03-12 2008-06-18 深圳市同洲电子股份有限公司 一种数字电视直播与回放的切换方法及视频服务器
CN101986712A (zh) * 2010-11-23 2011-03-16 华亚微电子(上海)有限公司 数字电视接收装置及其换台方法
US20120294586A1 (en) * 2010-11-18 2012-11-22 David John Weaver Controlling time-sensitive content in a time-shifted environment
CN106658162A (zh) * 2015-11-03 2017-05-10 中兴通讯股份有限公司 一种换台方法、装置及机顶盒

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202900A (zh) * 2007-03-12 2008-06-18 深圳市同洲电子股份有限公司 一种数字电视直播与回放的切换方法及视频服务器
US20120294586A1 (en) * 2010-11-18 2012-11-22 David John Weaver Controlling time-sensitive content in a time-shifted environment
CN101986712A (zh) * 2010-11-23 2011-03-16 华亚微电子(上海)有限公司 数字电视接收装置及其换台方法
CN106658162A (zh) * 2015-11-03 2017-05-10 中兴通讯股份有限公司 一种换台方法、装置及机顶盒

Also Published As

Publication number Publication date
CN108989895A (zh) 2018-12-11

Similar Documents

Publication Publication Date Title
US11838279B2 (en) Wireless display streaming of protected content
US8521009B2 (en) Systems and methods to modify playout or playback
KR20080006628A (ko) 암호화된 데이터 스트림을 처리하는 디바이스 및 방법
WO2014079239A1 (zh) 实时视频通讯回放数据流的获取方法、装置及系统
KR20080069370A (ko) 영상처리장치 및 그 방법
WO2017220017A1 (zh) 接收信号源的方法与系统
US20130121666A1 (en) Playback device and audio selection method
WO2018218897A1 (zh) 一种视频处理方法及设备
JP4291525B2 (ja) スクランブル方法、送信方法、送信装置、及び受信機
JPWO2004075549A1 (ja) 番組データ通信システム
JP5932459B2 (ja) 表示制御装置、及び表示制御方法
JPH07250314A (ja) Catvシステム及びビデオサーバ装置
JP2009004850A (ja) デジタル映像信号のダイジェスト再生装置
US9338503B2 (en) Decoding apparatus for a set top box
KR20020069825A (ko) 미디어 라우팅 장치
JP2011049918A (ja) 受信装置
JP6271169B2 (ja) 番組関連プログラム
JP2016123008A (ja) 電子機器及び記録再生方法
KR100848495B1 (ko) 동영상 탐색 시스템 및 그 방법.
JP2007288499A (ja) 情報記録装置及び情報記録制御装置
JP5355742B2 (ja) 再生装置および再生方法
JP2008066811A (ja) デジタル放送受信システム
JP4762340B2 (ja) 信号処理装置及び信号処理方法
JP2012034231A (ja) 放送受信装置及び放送受信方法
JP6412794B2 (ja) 電子機器、及び録画方法

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: 17912117

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17912117

Country of ref document: EP

Kind code of ref document: A1