WO2017092340A1 - 一种视频压缩、播放方法以及装置 - Google Patents

一种视频压缩、播放方法以及装置 Download PDF

Info

Publication number
WO2017092340A1
WO2017092340A1 PCT/CN2016/089349 CN2016089349W WO2017092340A1 WO 2017092340 A1 WO2017092340 A1 WO 2017092340A1 CN 2016089349 W CN2016089349 W CN 2016089349W WO 2017092340 A1 WO2017092340 A1 WO 2017092340A1
Authority
WO
WIPO (PCT)
Prior art keywords
scene
video
key frame
video data
video segment
Prior art date
Application number
PCT/CN2016/089349
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 乐视控股(北京)有限公司
Priority to US15/250,002 priority Critical patent/US20170163992A1/en
Publication of WO2017092340A1 publication Critical patent/WO2017092340A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/179Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a scene or a shot
    • 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream decryption
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/49Segmenting video sequences, i.e. computational techniques such as parsing or cutting the sequence, low-level clustering or determining units such as shots or scenes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/107Selection of coding mode or of prediction mode between spatial and temporal predictive coding, e.g. picture refresh
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/142Detection of scene cut or scene change
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/87Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving scene cut or scene change detection in combination with video compression
    • 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44012Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs

Definitions

  • the present invention relates to the field of multimedia, and in particular, to a video compression and playback method, and a video compression and playback device.
  • existing video segmentation methods include segmenting a complete video into multiple video segments, but may occur in one segment, including one or more scenes; and may also occur, one A scene consists of one or more segments.
  • the inventors found that because the standards of video segmentation are not uniform, the compression of subsequent videos, the decoding of video, and the playback of video have a great influence. For example, in the video encoding process, it is not guaranteed that the starting frame of the scene is an I frame in each scene switching. Generally, the compression ratio of the I frame is 7, the P frame is 20, and the B frame can reach 50. If the starting frame of the scene is a P frame or a B frame, when a new scene is encoded, the compression ratio is too high, so that the encoded key data is missing, resulting in poor compression of the video.
  • a problem to be solved by those skilled in the art is to provide a video frequency compression and playback method and apparatus for solving the problem that the video processing standards in the prior art are not uniform.
  • the embodiment of the invention provides a video compression and playing method and device, which are used to solve the problem that the video processing standard in the prior art is not uniform.
  • An embodiment of the present invention discloses a video compression method, which includes: determining, according to a scenario, split information of video data in advance; dividing the video data according to the split information, and determining video segments and video scores corresponding to each scene. a starting key frame of the segment; encoding corresponding video segments of each scene according to the starting key frame, generating encoded video data and corresponding scene information table, The player is caused to decode the encoded video data according to the scene information table.
  • an embodiment of the present invention discloses a video compression apparatus, including: an information determining module, configured to determine, according to a scenario, split information of video data in advance; and a segment determining module, configured to use the split data to view the video data. Performing a division to determine a video segment corresponding to each scene and a starting key frame of the video segment; and an execution module, configured to sequentially encode corresponding video segments of each scene according to the starting key frame to generate encoded video data. And a corresponding scene information table, so that the player decodes the encoded video data according to the scene information table.
  • the embodiment of the invention further discloses a video playing method, comprising: acquiring encoded video data, searching for a scene information table corresponding to the encoded video data; determining a starting key frame of each video segment according to the scene information table, according to the starting The key frames sequentially decode each video segment; the decoded video data is sequentially played according to each video segment.
  • the embodiment of the invention further discloses a video playing device, comprising: an obtaining module, configured to acquire encoded video data, and search for a scene information table corresponding to the encoded video data; and a decoding module, configured to determine each video according to the scene information table.
  • the segmented initial key frame sequentially decodes each video segment according to the initial key frame; and the playing module is configured to sequentially play the decoded video data according to each video segment.
  • Embodiments of the present invention provide a computer program comprising computer readable code that, when executed on an electronic device, causes the electronic device to perform the video compression method described above.
  • Embodiments of the present invention provide a computer program comprising computer readable code that, when executed on an electronic device, causes the electronic device to perform the video playback method described above.
  • Embodiments of the present invention provide a computer readable medium in which the above computer program is stored.
  • An embodiment of the present invention provides an electronic device, including:
  • One or more processors are One or more processors;
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the video segments corresponding to the scenes are sequentially encoded according to the initial key frame, and the encoded video data and the corresponding scene information table are generated, so that the player decodes the encoded video data according to the scene information table.
  • An embodiment of the present invention provides an electronic device, including:
  • One or more processors are One or more processors;
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the decoded video data is sequentially played in accordance with each video segment.
  • the video compression and playing method and device determine the division information of the video data according to the scene in advance; divide the video data according to the division information, and determine the start of the video segment and the video segment corresponding to each scene.
  • the key frame is sequentially encoded according to the initial key frame, and the coded video data and the corresponding scene information table are generated, and the video division standard and coding standard are unified, and each video segment is divided by the scene.
  • each video segment is encoded with the starting key frame as a starting point, ensuring the compression effect of each scene, and also improving the compression ratio of the video data.
  • FIG. 1 is a flow chart showing the steps of a video compression method according to an embodiment of the present invention
  • FIG. 2 is a flow chart showing the steps of a video compression method according to another embodiment of the present invention.
  • FIG. 3 is a flow chart showing the steps of a video playing method according to an embodiment of the present invention.
  • FIG. 4 is a flow chart showing the steps of a video playing method according to another embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a video compression apparatus according to an embodiment of the present invention.
  • FIG. 6 is a block diagram showing the structure of a video compression apparatus according to another embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a video playback apparatus according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram of a video playback apparatus according to another embodiment of the present invention.
  • Figure 9 is a schematic block diagram showing an electronic device for performing the method according to the present invention.
  • Fig. 10 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
  • the core idea of the embodiment of the present invention is to adopt a scene corresponding video segment, that is, segment the video data according to the scene, and determine the standard of the video data encoding and decoding playback.
  • FIG. 1 a flow chart of steps of a video compression method according to an embodiment of the present invention is shown, which may specifically include the following steps:
  • Step S102 Determine the division information of the video data according to the scene in advance.
  • each scene in the video data wherein each scene corresponds to scene information, and scene information and scene switching time of each scene in the video data are used as division information of the video data.
  • Step S104 Divide the video data according to the split information, and determine a video segment corresponding to each scene and a start key frame of the video segment.
  • the scene information corresponding to each scene in the split information and the switching time of each scene are searched, and accordingly, the video segments corresponding to each scene are determined.
  • Find the starting frame of each video segment in turn, configure the starting frame of each video segment as the starting key frame, and configure the starting key frame for each video segment to be encoded or decoded. Both can be encoded or decoded starting from the starting key frame, wherein the starting key frame can include an I frame.
  • Step S106 The video segments corresponding to the scenes are sequentially encoded according to the initial key frame, and the encoded video data and the corresponding scene information table are generated.
  • the video segment corresponding to the first scene is searched, and the starting key frame of the first video segment is used as a starting point for encoding, and then the starting key frame of the video segment corresponding to the second scene is used. Encode the starting point and encode each video segment in turn. And at the same time of encoding, the position information of the starting key frame of each video segment in the encoded video data is sequentially recorded.
  • the compression of the initial key frame is relatively low, which ensures that the basic frame of the video segmentation image data is saved when each video segment starts encoding, so that the subsequent frame data can select more P frames or B frames, P
  • the compression ratio of the frame and the B frame is high, which increases the compression ratio of the video.
  • the encoded video data is obtained, and the specific location data of the initial key frame of each video segment in the encoded video data is obtained, and the location data is generated to generate a corresponding scene information table.
  • the scene information table is a basis for subsequent decoding and playing of the encoded video data, so that the player decodes the encoded video data according to the scene information table.
  • the embodiment of the present invention determines the division information of the video data according to the scene in advance; divides the video data according to the division information, and determines a video segment corresponding to each scene and a starting key frame of the video segment; and each scene according to the initial key frame
  • the corresponding video segments are sequentially encoded, and the encoded video data and the corresponding scene information table are generated, and the video division standard and coding standard are unified, and each video segment is divided by the scene, and each video segment is started with a key.
  • the frame is encoded as a starting point to ensure the compression effect of each scene, and also to improve the compression ratio of the video data.
  • FIG. 2 a flow chart of steps of a video compression method according to another embodiment of the present invention is shown, which may specifically include the following steps:
  • step S202 the scene identifier of each scene and the switching time corresponding to the scene identifier are determined in advance, and the scene identifier and the switching time of each scene are used as the division information.
  • each scene in the video data where each scene corresponds to a scene identifier, and the scene identifier and the scene switching time of each scene in the video data are used as split information of the video data. For example, during video recording, the entire video data is recorded in advance according to the scene, and each scene is numbered.
  • each video segment During the recording of the video segment, record the time when each video segment starts recording and finishes recording, that is, the time when the scene is switched. When a scene recording is completed and the next scene is recorded, the time is recorded.
  • Each video segment corresponds to a scene switching time.
  • the scenario identifier corresponding to each video segment and the switching time corresponding to the scenario are used as the split information, and are used for segmenting the recorded video data according to the split information, thereby facilitating subsequent encoding steps.
  • each scene there is currently one video data, there are three scenes, and the recording time of each scene is 30S, 60S, and 90S in sequence, and then three scenes are sequentially encoded as scene 1, scene 2, and scene 3, and the scene switching time is 0S, 30S and 90S.
  • Step S204 The video data is divided according to the switching time in the split information, and the video segment corresponding to each scene identifier is determined.
  • the video has a corresponding playing time, that is, the duration of the video, such as 90 minutes, 120 minutes, etc., according to the time of each scene switching in the divided information, the video data can be divided into multiple video segments.
  • the corresponding video segment corresponds to a scene, and the segmentation information further includes a scene identifier, and the scene and the video segment can be segment-to-one corresponding according to the scene identifier, for example, each video segment is determined according to the scene label.
  • Step S206 Configure a starting frame of each video segment as a starting key frame.
  • each start frame of each video segment is searched, and each start frame is configured as a start key frame, wherein the start key frame includes an I frame, and the I frame is also called a key frame.
  • Frame in general, the compression ratio of the I frame is 7, the P frame is 20, the B frame can reach 50, and the I frame is used as the starting frame, that is, the first frame. The purpose is that the compression rate of the I frame is low, which can be ensured in each frame.
  • the basic frame of the video segmentation image data is saved, so that the subsequent frame data can select more P frames or B frames, which improves the compression ratio of the video.
  • Step S208 encoding and compressing each video segment separately to generate encoded video data.
  • Step S210 Record location information of each video segment start key frame in the encoding compression process, and generate a scene information table.
  • the number of I frames may be appropriately increased according to the size of the video segmentation duration corresponding to the scenario.
  • a preferred embodiment of the present invention is extended in the video coding specification and the data organization format of the system layer, adding a table definition so that when the video is encoded, each video segmentation start key frame is encoded.
  • the location information in the video data is generated to generate a scene information table, so that decoding, playing, editing, and the like of the subsequent video can be performed according to the scene information table.
  • the Scene offset box which holds the offset of the starting position of each scene (a complete scene called a scene). How many scenes are included in the video, the length of the box is the length of the 64-bit address data.
  • the scene offset box is defined as follows:
  • Type uuid (indicating user customization);
  • Sub-type stso (for the scene offset box);
  • Offset1 (8-byte value): the starting address of the first scene
  • Offset2 (8-byte value): the starting address of the second scene
  • Offset3 (8-byte value): the starting address of the third scene
  • Offset20 (8-byte value): The starting address of the 20th scene.
  • the scene identifiers of the scenes and the switching time corresponding to the scene identifiers are determined in advance, and the scene identifiers and switching times of the scenes are used as the split information, and the video data is divided according to the switching time in the split information, and the scene identifiers are determined.
  • the starting frame of each video segment is configured as a starting key frame, and each video segment is separately encoded and compressed to generate encoded video data, and each video segmentation starting key is recorded in the encoding compression process.
  • Position information of the frame generating a scene information table; unifying the division standard and coding standard of the video, each video segment is divided by a scene, each scene has a scene identifier, and each video segment is a starting key frame Encoding for the starting point, ensuring the compression effect of each scene, and increasing the compression ratio of the video data; recording the position information of the starting key frame of each video segment in the entire video data for later video decoding , play, edit, etc. provide the basis.
  • FIG. 3 a flow chart of steps of a video playing method according to an embodiment of the present invention is shown, which may specifically include the following steps:
  • Step S302 Acquire encoded video data, and look up a scene information table corresponding to the encoded video data.
  • the encoded video data corresponding to the video to be played is obtained, and the scene information table corresponding to the encoded video data is searched according to the encoded video data, so that the subsequent decoder decodes the code according to the scene information table.
  • Video data When the player receives the play video instruction, according to the play video instruction, the encoded video data corresponding to the video to be played is obtained, and the scene information table corresponding to the encoded video data is searched according to the encoded video data, so that the subsequent decoder decodes the code according to the scene information table.
  • Step S304 Determine a starting key frame of each video segment according to the scene information table, and sequentially decode each video segment according to the starting key frame.
  • Step S306 The decoded video data is sequentially played according to each video segment.
  • the obtained scene information table is parsed, and the position of the starting key frame of each video segment is recorded in the scene information table, and each video segment is sequentially decoded according to the first starting key frame in the encoded video data.
  • the decoded video segmentation data may be from different servers.
  • the decoded video segment may be segmented, and the scene corresponding to each video segment is determined according to the scene information table, and sorted according to the scene, and each video segment is sequentially ordered. Play it.
  • the embodiment of the present invention divides the video segment by the scene, and each video segment is independent. In the absence of a certain video segment, that is, a certain scene is missing, and the playback of the entire video is not affected. When the video segment is played, the video segment is skipped and the next video segment is played.
  • the embodiment of the present invention obtains the encoded video data, searches for the scene information table corresponding to the encoded video data, determines the starting key frame of each video segment according to the scene information table, and sequentially decodes each video segment according to the initial key frame, and The decoded video data is sequentially played according to each video segment, so that the decoding is performed according to the scene information table in the encoding process, so that each video segment can be guaranteed to be the starting key frame when decoding, and the player can The video data of the video segment is quickly decoded by the initial key frame.
  • FIG. 4 a flow chart of steps of a video playing method according to another embodiment of the present invention is shown, which may specifically include the following steps:
  • Step S402 Acquire encoded video data, and look up a scene information table corresponding to the encoded video data.
  • the encoded video data corresponding to the video to be played is obtained, and the scene information table corresponding to the encoded video data is searched according to the encoded video data, so that the subsequent decoder decodes the code according to the scene information table.
  • Video data When the player receives the play video instruction, according to the play video instruction, the encoded video data corresponding to the video to be played is obtained, and the scene information table corresponding to the encoded video data is searched according to the encoded video data, so that the subsequent decoder decodes the code according to the scene information table.
  • Step S404 Determine a starting key frame of each video segment according to location information in the scene information table.
  • Step S406 Decoding the video segment from the start key frame.
  • Step S408 The decoded video data is sequentially played according to each video segment.
  • the video segmentation data in which the initial key frame is the starting point for sequentially decoding the video segments may be from different servers.
  • the decoded video segment may be segmented, and the scenario corresponding to each video segment may be determined according to the scene information table. And sort according to the scene, and each video segment is played in order.
  • Step S410 When receiving the search instruction, determine that the current video playing time corresponds to the current scene of the video segment.
  • the player When the player receives the search instruction, it searches for the video segment corresponding to the current playing time, and determines the scenario corresponding to the current video segment according to the video segment.
  • the search instruction may include fast forwarding, that is, searching for the next scene instruction; and may also include a fast rewind instruction, that is, searching for the previous scene instruction.
  • Step S412 Searching, in the scene information table, location information of the current scene corresponding to the adjacent scene.
  • Step S414 Determine a starting key frame of the adjacent scene according to the location information, and start playing the video segment of the adjacent scene from the initial key frame.
  • the video information segment corresponding to the current scene in the current scene is searched in the scene information table, the position information of the video segment is determined, and the starting key frame of the video segment is searched to start playing from the initial key frame.
  • Video segmentation of adjacent scenes includes a previous scene or a next scene.
  • the fast forward command is received, and an instruction for finding a video segment corresponding to the next scene is issued, and the currently played video segment is obtained according to the fast forward command as scene 6, and then The instruction for finding the video segment corresponding to the next scene is determined, the video segment encoded as the scene 7 is determined, and the initial key frame of the video segment of the scene 7 is determined, and the scene 7 is played as the starting point of the scene segment of the scene segment of the video segment 7 Corresponding video segmentation.
  • the embodiment of the present invention obtains the encoded video data, searches the scene information table corresponding to the encoded video data, determines the starting key frame of each video segment according to the position information in the scene information table, and decodes the video segment from the initial key frame.
  • the decoded video data is sequentially played according to each video segment, so that the decoding is performed according to the scene information table in the encoding process, so that each video segment can be guaranteed to be the starting key frame during decoding.
  • the video data of the video segment can be quickly decoded by the initial key frame.
  • the embodiment of the present invention further provides a new mode for watching a video, and according to the obtained video data, how many scenes are included in the video data, and the video can be conveniently obtained at the beginning of each video segment.
  • the segmentation corresponds to the thumbnail of the scene so that the general content of the video can be quickly learned.
  • the embodiment of the present invention can also perform scene switching playback by fast-forward or fast-rewinding an entire scene.
  • the order of each video segment can be adjusted, or some video segments can be deleted. Because the scene is used as a unit, the video data is processed without confusing the video by increasing the scene, reducing the scene, or changing the sequence of the scene.
  • FIG. 5 a block diagram of a video compression apparatus according to an embodiment of the present invention is shown, which may specifically include the following modules:
  • the information determining module 502 is configured to determine the split information of the video data according to the scenario in advance; the segment determining module 504 is configured to divide the video data according to the split information, and determine a start key of the video segment and the video segment corresponding to each scenario.
  • the frame executor 506 is configured to sequentially encode the corresponding video segments of each scene according to the initial key frame to generate encoded video data and a corresponding scene information table, so that the player decodes the encoded video data according to the scene information table.
  • the information determining module determines the split information of the video data according to the scenario in advance; the segment determining module divides the video data according to the split information, and determines a video segment corresponding to each scene and a starting key frame of the video segment; The module sequentially encodes the corresponding video segments of each scene according to the initial key frame, generates encoded video data and a corresponding scene information table, and unifies the video division standard and coding standard, and each video segment is divided by a scene, and each Each video segment is encoded with the starting key frame as a starting point, ensuring the compression effect of each scene, and also improving the compression ratio of the video data.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • FIG. 6 a block diagram of a video compression apparatus according to another embodiment of the present invention is shown, which may specifically include the following modules:
  • the information determining module 502 is configured to determine a scene identifier of each scene and a switching time corresponding to the scene identifier, and use the scene identifier and the switching time of each scene as the split information.
  • the segment determining module 504 is configured to perform video data according to the split information. Divide to determine the video segmentation and video corresponding to each scene The segmentation start key frame; the execution module 506 is configured to sequentially encode the corresponding video segments of each scene according to the initial key frame, and generate encoded video data and a corresponding scene information table, so that the player according to the scene information table Encoded video data for decoding.
  • the segment determining module 504 includes: a dividing sub-module 5042, configured to divide the video data according to the switching time in the split information, and determine a video segment corresponding to each scene identifier; the configuration sub-module 5044 is configured to use each video
  • the segmented start frame is configured as a start key frame, wherein the start key frame includes an I frame.
  • the executing module 506 includes: an encoding sub-module 5062, configured to respectively compress and compress each video segment to generate encoded video data; and a generating sub-module 5064, configured to record each video segment starting key frame in the encoding compression process The location information is generated and a scene information table is generated.
  • the scene identifiers of the scenes and the switching time corresponding to the scene identifiers are determined in advance, and the scene identifiers and switching times of the scenes are used as the split information, and the video data is divided according to the switching time in the split information, and the scene identifiers are determined.
  • the starting frame of each video segment is configured as a starting key frame, and each video segment is separately encoded and compressed to generate encoded video data, and each video segmentation starting key is recorded in the encoding compression process.
  • Position information of the frame generating a scene information table; unifying the division standard and coding standard of the video, each video segment is divided by a scene, each scene has a scene identifier, and each video segment is a starting key frame Encoding for the starting point, ensuring the compression effect of each scene, and increasing the compression ratio of the video data; recording the position information of the starting key frame of each video segment in the entire video data for later video decoding , play, edit, etc. provide the basis.
  • FIG. 7 is a structural block diagram of a video playback apparatus according to an embodiment of the present invention, which may specifically include:
  • the obtaining module 702 is configured to obtain encoded video data, and search for a scene information table corresponding to the encoded video data.
  • the decoding module 704 is configured to determine, according to the scene information table, a starting key frame of each video segment, and sequentially The video segment is decoded.
  • the playing module 706 is configured to play the decoded video data in sequence according to each video segment.
  • the acquiring module obtains the encoded video data, and searches for a scene information table corresponding to the encoded video data, and the decoding module determines the starting key frame of each video segment according to the scene information table.
  • Each video segment is sequentially decoded according to the initial key frame, and the playback module sequentially plays the decoded video data according to each video segment, so that the decoding is performed according to the scene information table in the encoding process, so that each video can be ensured.
  • the first frame is the starting key frame, and the player can quickly decode the video data of the video segment by starting the key frame.
  • FIG. 8 is a structural block diagram of a video playback apparatus according to another embodiment of the present invention, which may specifically include:
  • the obtaining module 702 is configured to obtain encoded video data, and search for a scene information table corresponding to the encoded video data.
  • the decoding module 704 is configured to determine, according to the location information in the scene information table, a starting key frame of each video segment; Starting to decode the video segment, where the initial key frame includes an I frame; the playing module 706 is configured to sequentially play the decoded video data according to each video segment; the searching module 708, when receiving the search instruction Determining the current video playback time corresponding to the current scene of the video segment; the location determining module 710 is configured to search for the location information of the current scene corresponding to the current scene in the scene information table; and the executing module 712 determines the adjacent scene according to the location information.
  • the start key frame plays the video segment of the adjacent scene from the start key frame.
  • the embodiment of the present invention obtains the encoded video data, searches the scene information table corresponding to the encoded video data, determines the starting key frame of each video segment according to the position information in the scene information table, and decodes the video segment from the initial key frame.
  • the decoded video data is sequentially played according to each video segment, so that the decoding is performed according to the scene information table in the encoding process, so that each video segment can be guaranteed to be the starting key frame during decoding.
  • the video data of the video segment can be quickly decoded by the initial key frame.
  • the embodiment of the present invention further provides a new mode for watching a video, and according to the obtained video data, how many scenes are included in the video data, and the video can be conveniently obtained at the beginning of each video segment.
  • the segmentation corresponds to the thumbnail of the scene so that the general content of the video can be quickly learned.
  • the embodiment of the present invention can also perform scene switching playback by using a fast forward or fast backward operation in units of an entire scene.
  • modules described as separate components may or may not be physically separate, and the components displayed as modules may be or They may not be physical modules, they may be located in one place, or they may be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
  • embodiments of the embodiments of the invention may be provided as a method, apparatus, or computer program product.
  • embodiments of the invention may be in the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • embodiments of the invention may take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • Figure 9 illustrates an electronic device in accordance with the present invention.
  • the electronic device conventionally includes a processor 910 and a computer program product or computer readable medium in the form of a memory 920.
  • the memory 920 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 920 has a memory space 930 for program code 931 for performing any of the method steps described above.
  • storage space 930 for program code may include various program code 931 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have a storage section, a storage space, and the like arranged similarly to the memory 920 in the electronic device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 931', ie, code readable by a processor, such as 910, that when executed by an electronic device causes the electronic device to perform each of the methods described above step.
  • Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention.
  • the computer program instructions A combination of the processes and/or blocks in the flowcharts and/or block diagrams, and the flowcharts and/or blocks in the flowcharts and/or block diagrams.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal device to produce a machine such that instructions are executed by a processor of a computer or other programmable data processing terminal device
  • Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the instruction device implements the functions specified in one or more blocks of the flowchart or in a flow or block of the flowchart.

Abstract

一种视频压缩、播放方法及装置,所述视频压缩方法包括:预先按照场景确定视频数据的划分信息;依据所述划分信息对所述视频数据进行划分,确定各场景对应的视频分段和所述视频分段的起始关键帧;依据所述起始关键帧对各场景对应视频分段依次进行编码,生成编码视频数据和对应的场景信息表,以使播放器依据所述场景信息表对编码视频数据进行解码,所述方法用于视频编码压缩过程中,统一了视频的划分标准、编码标准,生成的场景信息表还可以作为后续视频解码、播放、编辑等操作的依据。

Description

一种视频压缩、播放方法以及装置
本申请要求在2015年12月3日提交中国专利局、申请号为201510883624.7、发明名称为“一种视频压缩、播放方法以及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及多媒体领域,特别是涉及一种视频压缩、播放方法,以及一种视频压缩、播放装置。
背景技术
目前,现有的视频分段方法包括将一个完整视频分段,裁剪为多个视频分段,但是在某一个分段中可能出现,包括一个或多个场景的情况;还可能出现,某一个场景包括一个或多个分段。
发明人在实现本发明的过程中发现,由于视频分段的标准不统一,给后续视频的压缩、视频的解码、视频的播放都带来了很大的影响。如在视频编码过程中,不能保证在每个场景切换时,该场景的起始帧均为I帧,一般平均来说,I帧的压缩率是7,P帧是20,B帧可以达到50,若该场景的起始帧为P帧或B帧,当一新的场景进行编码时,压缩比过高致使编码后的关键数据缺失,导致视频的压缩效果不好。
因此,本领域技术人员亟需解决的问题在于:提供一种视频频压缩、播放方法及装置,用以解决现有技术中视频处理标准不统一的问题。
发明内容
本发明实施例提供一种视频压缩、播放方法及装置,用以解决现有技术中视频处理标准不统一的问题。
本发明实施例公开了一种视频压缩方法,包括:预先按照场景确定视频数据的划分信息;依据所述划分信息对所述视频数据进行划分,确定各场景对应的视频分段和所述视频分段的起始关键帧;依据所述起始关键帧对各场景对应视频分段依次进行编码,生成编码视频数据和对应的场景信息表,以 使播放器依据所述场景信息表对编码视频数据进行解码。
相应的,本发明实施例公开了一种视频压缩装置,包括:信息确定模块,用于预先按照场景确定视频数据的划分信息;分段确定模块,用于依据所述划分信息对所述视频数据进行划分,确定各场景对应的视频分段和所述视频分段的起始关键帧;执行模块,用于依据所述起始关键帧对各场景对应视频分段依次进行编码,生成编码视频数据和对应的场景信息表,以使播放器依据所述场景信息表对编码视频数据进行解码。
本发明实施例还公开了一种视频播放方法,包括:获取编码视频数据,查找编码视频数据对应的场景信息表;依据场景信息表确定各个视频分段的起始关键帧,依据所述起始关键帧依次对各个视频分段进行解码;将解码后的视频数据,按照各个视频分段依次进行播放。
相应的,本发明实施例还公开了一种视频播放装置,包括:获取模块,用于获取编码视频数据,查找编码视频数据对应的场景信息表;解码模块,用于依据场景信息表确定各个视频分段的起始关键帧,依据所述起始关键帧依次对各个视频分段进行解码;播放模块,用于将解码后的视频数据,按照各个视频分段依次进行播放。
本发明实施例提供一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在电子装置上运行时,导致所述电子装置执行上述的视频压缩方法。
本发明实施例提供一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在电子装置上运行时,导致所述电子装置执行上述的视频播放方法。
本发明实施例提供一种计算机可读介质,其中存储了上述的计算机程序。本发明实施例提供一种电子装置,包括:
一个或多个处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
预先按照场景确定视频数据的划分信息;
依据所述划分信息对所述视频数据进行划分,确定各场景对应的视频分段和所述视频分段的起始关键帧;
依据所述起始关键帧对各场景对应视频分段依次进行编码,生成编码视频数据和对应的场景信息表,以使播放器依据所述场景信息表对编码视频数据进行解码。
本发明实施例提供一种电子装置,包括:
一个或多个处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
获取编码视频数据,查找编码视频数据对应的场景信息表;
依据场景信息表确定各个视频分段的起始关键帧,依据所述起始关键帧依次对各个视频分段进行解码;
将解码后的视频数据,按照各个视频分段依次进行播放。
本发明实施例提供的一种视频压缩、播放方法及装置通过预先按照场景确定视频数据的划分信息;依据划分信息对视频数据进行划分,确定各场景对应的视频分段和视频分段的起始关键帧;依据起始关键帧对各场景对应视频分段依次进行编码,生成编码视频数据和对应的场景信息表,统一了视频的划分标准、编码标准,每个视频分段都以场景划分,且每个视频分段都以起始关键帧为起点进行编码,确保每个场景的压缩效果的同时,还可以提高视频数据的压缩比例。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明一个实施例的一种视频压缩方法的步骤流程图;
图2是本发明另一个实施例的一种视频压缩方法的步骤流程图;
图3是本发明一个实施例的一种视频播放方法的步骤流程图;
图4是本发明另一个实施例的一种视频播放方法的步骤流程图;
图5是本发明一个实施例的视频压缩装置的结构框图;
图6是本发明另一个实施例的视频压缩装置的结构框图;
图7是本发明一个实施例的视频播放装置的结构框图;
图8是本发明另一个实施例的视频播放装置的结构框图;
图9示意性地示出了用于执行根据本发明的方法的电子装置的框图;以及
图10示意性地示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
现有技术中,在视频录制、编码、解码、播放、编辑等过程中,由于其中的标准不统一,导致用户在对视频处理过程中出现各种不便,如,在对一个视频分段时,因分段标准不统一,会出现一个分段中出现多个场景或一个场景中出现多个分段的情况,又如,若每个分段的首帧出现非I帧的情况,给视频数据在编解码过程中带来不便。
因此,本发明实施例的核心思想是采用场景对应视频分段,即将视频数据按照场景进行分段,并以此确定视频数据编码、解码播放的标准。
实施例一
参照图1,示出了本发明一个实施例的一种视频压缩方法的步骤流程图,具体可以包括如下步骤:
步骤S102、预先按照场景确定视频数据的划分信息。
在视频进行最初录制的过程中,记录每个场景进行切换的时间,在录制完成后,对录制完成的视频数据进行编码前预处理,依据在录制过程中的记录的每个场景切换时间,确定视频数据中的每个场景,其中,每个场景对应有场景信息,将视频数据中的每个场景的场景信息和场景切换时间作为视频数据的划分信息。
步骤S104、依据划分信息对视频数据进行划分,确定各场景对应的视频分段和视频分段的起始关键帧。
查找划分信息中每个场景对应的场景信息以及每个场景的切换时间,依此,确定出每个场景对应的视频分段。
依次查找每个视频分段的起始帧,将每个视频分段的起始帧配置为起始关键帧,配置起始关键帧的目的是为使每个视频分段在进行编码或解码时,都能以起始关键帧为起点进行编码或解码,其中,起始关键帧可以包括I帧。
步骤S106、依据起始关键帧对各场景对应视频分段依次进行编码,生成编码视频数据和对应的场景信息表。
在编码过程中,查找第一个场景对应的视频分段,并以第一个视频分段的起始关键帧为起点进行编码,再以第二个场景对应的视频分段的起始关键帧为起点进行编码,依次对各个视频分段进行编码。且在编码的同时,依次记录每个视频分段的起始关键帧在编码视频数据中的位置信息。
起始关键帧的压缩比较低,可以确保在每个视频分段开始编码时,保存该视频分段图像数据的基本框架,以使后续的帧数据可以选择更多的P帧或B帧,P帧和B帧的压缩比高,这样提高了视频的压缩比例。
在编码完成后,得到编码视频数据,同时得到每个视频分段的起始关键帧在编码视频数据中的具体位置数据,将该位置数据生成对应的场景信息表。
其中,场景信息表是后续对编码视频数据的解码播放的依据,以使播放器依据场景信息表对编码视频数据进行解码。
本发明实施例通过预先按照场景确定视频数据的划分信息;依据划分信息对视频数据进行划分,确定各场景对应的视频分段和视频分段的起始关键帧;依据起始关键帧对各场景对应视频分段依次进行编码,生成编码视频数据和对应的场景信息表,统一了视频的划分标准、编码标准,每个视频分段都以场景划分,且每个视频分段都以起始关键帧为起点进行编码,确保每个场景的压缩效果的同时,还可以提高视频数据的压缩比例。
实施例二
参照图2,示出了本发明另一个实施例一种视频压缩方法的步骤流程图,具体可以包括如下步骤:
步骤S202、预先确定各场景的场景标识以及场景标识对应的切换时间,将各场景的场景标识和切换时间作为划分信息。
在视频进行最初录制的过程中,记录每个场景进行切换的时间,在录制完成后,对录制完成的视频数据进行编码前预处理,依据在录制过程中的记录的每个场景切换时间,确定视频数据中的每个场景,其中,每个场景对应有场景标识,将视频数据中的每个场景的场景标识和场景切换时间作为视频数据的划分信息。如在视频录制过程中,预先将整个视频数据按照场景进行录制,将每个场景进行编号。
在对视频分段进行录制的过程中,记录每个视频分段开始录制和完成录制的时间,即场景切换的时间,当一场景录制完成切到下一场景进行录制时,记录该时间,这样每一个视频分段都对应一个场景切换时间。
将各个视频分段对应的场景标识和场景对应的切换时间作为划分信息,用于对录制好的视频数据按照划分信息进行分段处理,方便后续的编码步骤。
如,现有一视频数据,有三个场景,每个场景的录制时间依次为30S、60S和90S,则依次将三个场景编码为场景1、场景2和场景3,则对于的场景切换时间为,0S、30S和90S。
步骤S204、依据划分信息中的切换时间对视频数据进行划分,确定各场景标识对应的视频分段。
对于一个完整的视频,该视频有对应的播放时间,即视频的时长,如90分钟、120分钟等,依据划分信息中每个场景切换的时间,就可将视频数据分割为多个视频分段,对应的每个视频分段对应一个场景,在划分信息中还包括场景标识,依据场景标识即可将场景和视频分段一一对应,如依据场景标号确定每个视频分段。
步骤S206、将各个视频分段的起始帧配置为起始关键帧。
在每个视频分段确定完成后,查找每个视频分段的起始帧,并将每个起始帧配置为起始关键帧,其中,起始关键帧包括I帧,I帧又称关键帧,一般来说,I帧的压缩率是7,P帧是20,B帧可以达到50,将I帧作为起始帧即首帧,目的是I帧的压缩率低,可以确保在每个视频分段开始编码时,保存该视频分段图像数据的基本框架,以使后续的帧数据可以选择更多的P帧或B帧,这样提高了视频的压缩比例。
步骤S208、分别对各视频分段进行编码压缩,生成编码视频数据。
步骤S210、在编码压缩过程中记录各视频分段起始关键帧的位置信息,生成场景信息表。
查找所有视频分段,确定第一个场景对应的视频分段,并以第一个视频分段的起始关键帧为起点进行编码,再以第二个场景对应的视频分段的起始关键帧为起点继续进行编码,依此,对各个视频分段进行编码,得到编码视频数据,与此同时,当每一个视频分段进行编码时,记录该视频分段的起始关键帧在整个编码视频数据的位置信息,这样在所有视频分段完成编码后,将所有视频分段的起始关键帧在整个编码视频数据中的位置信息生成一场景信息表,该场景信息表是后续对编码视频数据的解码播放的依据,以使播放器依据场景信息表对编码视频数据进行解码。
本发明实施例为解决seek效率过低的问题,还可以通过根据该场景对应视频分段时长的大小,来适当的增加I帧个数。
本发明的一种优选实施例是在视频编码规范和系统层的数据组织格式中进行扩展,增加一种表格定义,以使在视频进行编码时,记录每个视频分段起始关键帧在编码视频数据中的位置信息,生成场景信息表,以使后续视频的解码、播放、编辑等都可以依据该场景信息表进行。
例如:以mp4文件为例
自定义一张类似于stco的场景信息表即Scene offset box,其中保存每个scene(一个完整的场景称为一个scene)的起始位置的offset。视频中包含多少个scene,该box的长度就是多少个64位的地址数据的长度。
如视频中有20个场景,则scene offset box就定义如下:
Size:164(20*8+4+4);
type:uuid(表示用户自定义);
sub-type:stso(表示scene offset box);
offset1(8字节数值):第1个场景的起始地址;
offset2(8字节数值):第2个场景的起始地址;
offset3(8字节数值):第3个场景的起始地址;
......
Offset20(8字节数值):第20个场景的起始地址。
对于已有的视频(已经编码好的,但是未包含场景表信息的视频),可以利用软件进行视频内容分析或者人工干预的方式,转码并生成场景信息表。
本发明实施例通过预先确定各场景的场景标识以及场景标识对应的切换时间,将各场景的场景标识和切换时间作为划分信息,依据划分信息中的切换时间对视频数据进行划分,确定各场景标识对应的视频分段,将各个视频分段的起始帧配置为起始关键帧,分别对各视频分段进行编码压缩,生成编码视频数据,在编码压缩过程中记录各视频分段起始关键帧的位置信息,生成场景信息表;统一了视频的划分标准、编码标准,每个视频分段都以场景划分,每个场景都有场景标识,且每个视频分段都以起始关键帧为起点进行编码,确保每个场景的压缩效果的同时,还可以提高视频数据的压缩比例;通过记录每个视频分段的起始关键帧在整个视频数据中的位置信息,为以后视频的解码、播放、编辑等提供依据。
实施例三
参照图3,示出了本发明一个实施例一种视频播放方法的步骤流程图,具体可以包括如下步骤:
步骤S302、获取编码视频数据,查找编码视频数据对应的场景信息表。
当播放器接收到播放视频指令时,依据播放视频指令,获取将要播放视频对应的编码视频数据,并依据编码视频数据查找编码视频数据对应的场景信息表,以便后续解码器依据场景信息表解码编码视频数据。
步骤S304、依据场景信息表确定各个视频分段的起始关键帧,依据起始关键帧依次对各个视频分段进行解码。
步骤S306、将解码后的视频数据,按照各个视频分段依次进行播放。
解析得到的场景信息表,查找场景信息表中记录每个视频分段的起始关键帧的位置,依据编码视频数据中首个起始关键帧为起点依次对各个视频分段进行解码。
解码的视频分段数据可能来自不同的服务器,这时可以将解码得到的视频分段,依据场景信息表确定每个视频分段对应的场景,并依据场景进行排序,将各个视频分段按照顺序进行播放。
如出现某个视频分段因数据源问题或网络问题,无法进行下载,进而无法得到解码数据,因本发明实施例是以场景为依据划分视频分段,其每个视频分段都是独立的,在缺少某一视频分段时,即缺少某一场景,不影响对整个视频的播放,在播放到该视频分段时,跳过该视频分段,播放下一视频分段即可。
本发明实施例通过获取编码视频数据,查找编码视频数据对应的场景信息表,依据场景信息表确定各个视频分段的起始关键帧,依据起始关键帧依次对各个视频分段进行解码,将解码后的视频数据,按照各个视频分段依次进行播放,使解码时依据编码过程中的场景信息表,这样可以确保每个视频分段在解码时首帧都为起始关键帧,播放器可以通过起始关键帧快速的解码出该视频分段的视频数据。
实施例四
参照图4,示出了本发明另一个实施例一种视频播放方法的步骤流程图,具体可以包括如下步骤:
步骤S402、获取编码视频数据,查找编码视频数据对应的场景信息表。
当播放器接收到播放视频指令时,依据播放视频指令,获取将要播放视频对应的编码视频数据,并依据编码视频数据查找编码视频数据对应的场景信息表,以便后续解码器依据场景信息表解码编码视频数据。
步骤S404、依据场景信息表中位置信息确定各个视频分段的起始关键帧。
步骤S406、从起始关键帧开始对视频分段进行解码。
步骤S408、将解码后的视频数据,按照各个视频分段依次进行播放。
解析得到的场景信息表,查找场景信息表中记录每个视频分段的起始关键帧的位置信息,并确定所有起始关键帧在整个编码视频数据中的位置信息,依据编码视频数据中首个起始关键帧为起点依次对各个视频分段进解码的视频分段数据可能来自不同的服务器,这时可以将解码得到的视频分段,依据场景信息表确定每个视频分段对应的场景,并依据场景进行排序,将各个视频分段按照顺序进行播放。
步骤S410、当接收到查找指令时,确定当前视频播放时间对应视频分段的当前场景。
当播放器接收到查找指令时,查找当前播放的时间对应的视频分段,依据该视频分段确定当前视频分段对应的场景。
其中,查找指令,可以包括快进,即查找下一场景指令;还可以包括快退指令,即查找上一场景指令。
步骤S412、在场景信息表中查找当前场景对应相邻场景的位置信息。
步骤S414、依据位置信息确定相邻场景的起始关键帧,从起始关键帧开始播放相邻场景的视频分段。
依据查找指令,在场景信息表中查找当前场景对应相邻场景的视频分段,确定该视频分段的位置信息,并查找该视频分段的起始关键帧,以从起始关键帧开始播放相邻场景的视频分段。其中,相邻场景包括上一场景或下一场景。
如,若当前播放的视频分段编号为场景6,现接收到快进指令,发出查找下一场景对应视频分段的指令,依据快进指令获取当前播放的视频分段为场景6,再依据查找下一场景对应视频分段的指令,确定编码为场景7的视频分段,并确定场景7视频分段的起始关键帧,以场景7视频分段的场景其实关键帧为起点播放场景7对应的视频分段。
本发明实施例通过获取编码视频数据,查找编码视频数据对应的场景信息表,依据场景信息表中位置信息确定各个视频分段的起始关键帧,从起始关键帧开始对视频分段进行解码,将解码后的视频数据,按照各个视频分段依次进行播放,使解码时依据编码过程中的场景信息表,这样可以确保每个视频分段在解码时首帧都为起始关键帧,播放器可以通过起始关键帧快速解码出该视频分段的视频数据。
本发明实施例还为用户提供一种新的观看视频的模式,依据解码后得到的视频数据,可以获取该视频数据包括多少个场景,在每一个视频分段的开头可以方便的获取到该视频分段对应场景的缩略图,从而可以快速获悉该视频的大体内容。
本发明实施例还可以通过快进或快退一整个场景为单位,进行场景切换播放,而对于视频编辑软件来说,可以通过调整每个视频分段的顺序,或增加删除某些视频分段,因以场景为单位,对视频数据的处理不因增加场景、减少场景或改变场景顺序,而使视频混乱。
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。
实施例五
参照图5,示出了本发明一个实施例一种视频压缩装置的结构框图,具体可以包括如下模块:
信息确定模块502,用于预先按照场景确定视频数据的划分信息;分段确定模块504,用于依据划分信息对视频数据进行划分,确定各场景对应的视频分段和视频分段的起始关键帧;执行模块506,用于依据起始关键帧对各场景对应视频分段依次进行编码,生成编码视频数据和对应的场景信息表,以使播放器依据场景信息表对编码视频数据进行解码。
本发明实施例通过信息确定模块预先按照场景确定视频数据的划分信息;分段确定模块依据划分信息对视频数据进行划分,确定各场景对应的视频分段和视频分段的起始关键帧;执行模块依据起始关键帧对各场景对应视频分段依次进行编码,生成编码视频数据和对应的场景信息表,统一了视频的划分标准、编码标准,每个视频分段都以场景划分,且每个视频分段都以起始关键帧为起点进行编码,确保每个场景的压缩效果的同时,还可以提高视频数据的压缩比例。
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
实施例六
参照图6,示出了本发明另一实施例一种视频压缩装置的结构框图,具体可以包括如下模块:
信息确定模块502,用于预先确定各场景的场景标识以及场景标识对应的切换时间,将各场景的场景标识和切换时间作为划分信息;分段确定模块504,用于依据划分信息对视频数据进行划分,确定各场景对应的视频分段和视频 分段的起始关键帧;执行模块506,用于依据起始关键帧对各场景对应视频分段依次进行编码,生成编码视频数据和对应的场景信息表,以使播放器依据场景信息表对编码视频数据进行解码。
其中,分段确定模块504,包括:划分子模块5042,用于依据划分信息中的切换时间对视频数据进行划分,确定各场景标识对应的视频分段;配置子模块5044,用于将各个视频分段的起始帧配置为起始关键帧,其中,起始关键帧包括I帧。
执行模块506,包括:编码子模块5062,用于分别对各视频分段进行编码压缩,生成编码视频数据;以及生成子模块5064,用于在编码压缩过程中记录各视频分段起始关键帧的位置信息,生成场景信息表。
本发明实施例通过预先确定各场景的场景标识以及场景标识对应的切换时间,将各场景的场景标识和切换时间作为划分信息,依据划分信息中的切换时间对视频数据进行划分,确定各场景标识对应的视频分段,将各个视频分段的起始帧配置为起始关键帧,分别对各视频分段进行编码压缩,生成编码视频数据,在编码压缩过程中记录各视频分段起始关键帧的位置信息,生成场景信息表;统一了视频的划分标准、编码标准,每个视频分段都以场景划分,每个场景都有场景标识,且每个视频分段都以起始关键帧为起点进行编码,确保每个场景的压缩效果的同时,还可以提高视频数据的压缩比例;通过记录每个视频分段的起始关键帧在整个视频数据中的位置信息,为以后视频的解码、播放、编辑等提供依据。
实施例七
参照图7,示出了本发明一个实施例的一种视频播放装置的结构框图,具体可以包括:
获取模块702,用于获取编码视频数据,查找编码视频数据对应的场景信息表;解码模块704,用于依据场景信息表确定各个视频分段的起始关键帧,依据起始关键帧依次对各个视频分段进行解码;播放模块706,用于将解码后的视频数据,按照各个视频分段依次进行播放。
本发明实施例通过获取模块获取编码视频数据,查找编码视频数据对应的场景信息表,解码模块依据场景信息表确定各个视频分段的起始关键帧, 依据起始关键帧依次对各个视频分段进行解码,播放模块将解码后的视频数据,按照各个视频分段依次进行播放,使解码时依据编码过程中的场景信息表,这样可以确保每个视频分段在解码时首帧都为起始关键帧,播放器可以通过起始关键帧快速的解码出该视频分段的视频数据。
实施例八
参照图8,示出了本发明另一个实施例的一种视频播放装置的结构框图,具体可以包括:
获取模块702,用于获取编码视频数据,查找编码视频数据对应的场景信息表;解码模块704,用于依据场景信息表中位置信息确定各个视频分段的起始关键帧;从起始关键帧开始对视频分段进行解码,其中,起始关键帧包括I帧;播放模块706,用于将解码后的视频数据,按照各个视频分段依次进行播放;查找模块708,当接收到查找指令时,确定当前视频播放时间对应视频分段的当前场景;位置确定模块710,用于在场景信息表中查找当前场景对应相邻场景的位置信息;执行模块712,依据位置信息确定相邻场景的起始关键帧,从起始关键帧开始播放相邻场景的视频分段。
本发明实施例通过获取编码视频数据,查找编码视频数据对应的场景信息表,依据场景信息表中位置信息确定各个视频分段的起始关键帧,从起始关键帧开始对视频分段进行解码,将解码后的视频数据,按照各个视频分段依次进行播放,使解码时依据编码过程中的场景信息表,这样可以确保每个视频分段在解码时首帧都为起始关键帧,播放器可以通过起始关键帧快速解码出该视频分段的视频数据。
本发明实施例还为用户提供一种新的观看视频的模式,依据解码后得到的视频数据,可以获取该视频数据包括多少个场景,在每一个视频分段的开头可以方便的获取到该视频分段对应场景的缩略图,从而可以快速获悉该视频的大体内容。
本发明实施例还可以通过快进或快退进操作,以一整个场景为单位,进行场景切换播放。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或 者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。
本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
例如,图9示出了可以实现根据本发明的电子装置。该电子装置传统上包括处理器910和以存储器920形式的计算机程序产品或者计算机可读介质。存储器920可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器920具有用于执行上述方法中的任何方法步骤的程序代码931的存储空间930。例如,用于程序代码的存储空间930可以包括分别用于实现上面的方法中的各种步骤的各个程序代码931。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图10所述的便携式或者固定存储单元。该存储单元可以具有与图9的电子装置中的存储器920类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码931’,即可以由例如诸如910之类的处理器读取的代码,这些代码当由电子装置运行时,导致该电子装置执行上面所描述的方法中的各个步骤。
本发明实施例是参照根据本发明实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令 实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明实施例范围的所有变更和修改。
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个......”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。
以上对本发明所提供的一种视频压缩、播放方法和一种视频压缩、播放装置,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式 进行了阐述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (20)

  1. 一种视频压缩方法,其特征在于,包括:
    预先按照场景确定视频数据的划分信息;
    依据所述划分信息对所述视频数据进行划分,确定各场景对应的视频分段和所述视频分段的起始关键帧;
    依据所述起始关键帧对各场景对应视频分段依次进行编码,生成编码视频数据和对应的场景信息表,以使播放器依据所述场景信息表对编码视频数据进行解码。
  2. 根据权利要求1所述方法,其特征在于,所述预先按照场景确定视频数据的划分信息,包括:
    预先确定各场景的场景标识以及所述场景标识对应的切换时间,将各场景的场景标识和切换时间作为划分信息。
  3. 根据权利要求2所述方法,其特征在于,所述依据所述划分信息对所述视频数据进行划分,确定各场景对应的视频分段和所述视频分段的起始关键帧,包括:
    依据划分信息中的切换时间对所述视频数据进行划分,确定各场景标识对应的视频分段;
    将各个视频分段的起始帧配置为起始关键帧,其中,所述起始关键帧包括I帧。
  4. 根据权利要求3所述方法,其特征在于,所述依据所述起始关键帧对各场景对应视频分段依次进行编码,生成编码视频数据和对应的场景信息表,包括:
    分别对各视频分段进行编码压缩,生成编码视频数据;以及
    在编码压缩过程中记录各视频分段起始关键帧的位置信息,生成场景信息表。
  5. 一种视频播放方法,其特征在于,包括:
    获取编码视频数据,查找编码视频数据对应的场景信息表;
    依据场景信息表确定各个视频分段的起始关键帧,依据所述起始关键帧依次对各个视频分段进行解码;
    将解码后的视频数据,按照各个视频分段依次进行播放。
  6. 根据权利要求5所述方法,其特征在于,所述依据场景信息表确定各个视频分段的起始关键帧,依据所述起始关键帧依次对各个视频分段进行解码,包括:
    依据所述场景信息表中位置信息确定各个视频分段的起始关键帧;
    从所述起始关键帧开始对所述视频分段进行解码,其中,所述起始关键帧包括I帧。
  7. 根据权利要求5所述方法,其特征在于,所述方法,还包括:
    当接收到查找指令时,确定当前视频播放时间对应视频分段的当前场景;
    在所述场景信息表中查找所述当前场景对应相邻场景的位置信息;
    依据所述位置信息确定所述相邻场景的起始关键帧,从所述起始关键帧开始播放所述相邻场景的视频分段。
  8. 一种视频压缩装置,其特征在于,包括:
    信息确定模块,用于预先按照场景确定视频数据的划分信息;
    分段确定模块,用于依据所述划分信息对所述视频数据进行划分,确定各场景对应的视频分段和所述视频分段的起始关键帧;
    执行模块,用于依据所述起始关键帧对各场景对应视频分段依次进行编码,生成编码视频数据和对应的场景信息表,以使播放器依据所述场景信息表对编码视频数据进行解码。
  9. 根据权利要求8所述装置,其特征在于,
    所述信息确定模块,用于预先确定各场景的场景标识以及所述场景标识对应的切换时间,将各场景的场景标识和切换时间作为划分信息。
  10. 根据权利要求9所述装置,其特征在于,所述分段确定模块,包括:
    划分子模块,用于依据划分信息中的切换时间对所述视频数据进行划分,确定各场景标识对应的视频分段,
    配置子模块,用于将各个视频分段的起始帧配置为起始关键帧,其中,所述起始关键帧包括I帧。
  11. 根据权利要求9所述装置,其特征在于,所述执行模块,包括:
    编码子模块,用于分别对各视频分段进行编码压缩,生成编码视频数据;以及
    生成子模块,用于在编码压缩过程中记录各视频分段起始关键帧的位置信息,生成场景信息表。
  12. 一种视频播放装置,其特征在于,包括:
    获取模块,用于获取编码视频数据,查找编码视频数据对应的场景信息表;
    解码模块,用于依据场景信息表确定各个视频分段的起始关键帧,依据所述起始关键帧依次对各个视频分段进行解码;
    播放模块,用于将解码后的视频数据,按照各个视频分段依次进行播放。
  13. 根据权利要求12所述装置,其特征在于,
    所述解码模块,用于依据所述场景信息表中位置信息确定各个视频分段的起始关键帧;从所述起始关键帧开始对所述视频分段进行解码,其中,所述起始关键帧包括I帧。
  14. 根据权利要求12所述装置,其特征在于,所述装置,还包括:
    查找模块,当接收到查找指令时,确定当前视频播放时间对应视频分段的当前场景;
    位置确定模块,用于在所述场景信息表中查找所述当前场景对应相邻场景的位置信息;
    执行模块,依据所述位置信息确定所述相邻场景的起始关键帧,从所述起始关键帧开始播放所述相邻场景的视频分段。
  15. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在电子装置上运行时,导致所述电子装置执行根据权利要求1-4中的任一个所述的视频压缩方法。
  16. 一种计算机可读介质,其中存储了如权利要求15所述的计算机程序。
  17. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在电子装置上运行时,导致所述电子装置执行根据权利要求5-7中的任一个所述的视频播放方法。
  18. 一种计算机可读介质,其中存储了如权利要求17所述的计算机程序。
  19. 一种电子装置,其特征在于,包括:
    一个或多个处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    预先按照场景确定视频数据的划分信息;
    依据所述划分信息对所述视频数据进行划分,确定各场景对应的视频分段和所述视频分段的起始关键帧;
    依据所述起始关键帧对各场景对应视频分段依次进行编码,生成编码视频数据和对应的场景信息表,以使播放器依据所述场景信息表对编码视频数据进行解码。
  20. 一种电子装置,其特征在于,包括:
    一个或多个处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    获取编码视频数据,查找编码视频数据对应的场景信息表;
    依据场景信息表确定各个视频分段的起始关键帧,依据所述起始关键帧依次对各个视频分段进行解码;
    将解码后的视频数据,按照各个视频分段依次进行播放。
PCT/CN2016/089349 2015-12-03 2016-07-08 一种视频压缩、播放方法以及装置 WO2017092340A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/250,002 US20170163992A1 (en) 2015-12-03 2016-08-29 Video compressing and playing method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510883624.7 2015-12-03
CN201510883624.7A CN105979267A (zh) 2015-12-03 2015-12-03 一种视频压缩、播放方法以及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/250,002 Continuation US20170163992A1 (en) 2015-12-03 2016-08-29 Video compressing and playing method and device

Publications (1)

Publication Number Publication Date
WO2017092340A1 true WO2017092340A1 (zh) 2017-06-08

Family

ID=56988265

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/089349 WO2017092340A1 (zh) 2015-12-03 2016-07-08 一种视频压缩、播放方法以及装置

Country Status (3)

Country Link
US (1) US20170163992A1 (zh)
CN (1) CN105979267A (zh)
WO (1) WO2017092340A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112166618A (zh) * 2019-04-29 2021-01-01 百度时代网络技术(北京)有限公司 自动驾驶车辆中具有压缩视频流的多传感器数据存储

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375875A (zh) * 2016-09-29 2017-02-01 乐视控股(北京)有限公司 视频流的播放方法及装置
CN106559712B (zh) * 2016-11-28 2020-12-04 北京小米移动软件有限公司 视频播放处理方法、装置及终端设备
CN107105342B (zh) * 2017-04-27 2020-04-17 维沃移动通信有限公司 一种视频播放控制方法及移动终端
CN107613235B (zh) * 2017-09-25 2019-12-27 北京达佳互联信息技术有限公司 视频录制方法和装置
CN108012164B (zh) * 2017-12-05 2021-07-30 北京奇艺世纪科技有限公司 一种视频播放方法、装置及电子设备
CN109547711A (zh) * 2018-11-08 2019-03-29 北京微播视界科技有限公司 视频合成方法、装置、计算机设备及可读存储介质
CN111314775B (zh) 2018-12-12 2021-09-07 华为终端有限公司 一种视频拆分方法及电子设备
CN110087142B (zh) * 2019-04-16 2022-01-25 咪咕文化科技有限公司 一种视频切片方法、装置、终端及存储介质
CN110691246B (zh) * 2019-10-31 2022-04-05 北京金山云网络技术有限公司 视频编码方法、装置及电子设备
CN112040277B (zh) * 2020-09-11 2022-03-04 腾讯科技(深圳)有限公司 基于视频的数据处理方法、装置、计算机及可读存储介质
CN112770116B (zh) * 2020-12-31 2021-12-07 西安邮电大学 用视频压缩编码信息提取视频关键帧的方法
CN113709584A (zh) * 2021-03-05 2021-11-26 腾讯科技(北京)有限公司 视频划分方法、装置、服务器、终端及存储介质
CN114157873A (zh) * 2021-11-25 2022-03-08 中国通信建设第四工程局有限公司 一种视频压缩方法及视频压缩系统

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10313462A (ja) * 1998-06-17 1998-11-24 Matsushita Electric Ind Co Ltd 映像信号圧縮符号化装置
CN101257615A (zh) * 2007-10-25 2008-09-03 复旦大学 基于视频分割技术的流媒体分发和用户vcr操作方法
CN101489138A (zh) * 2009-02-11 2009-07-22 四川长虹电器股份有限公司 基于场景的二次编码图像组划分方法
US20090316783A1 (en) * 2008-06-18 2009-12-24 The Hong Kong University Of Science And Technology Bidirectionally decodable wyner-ziv video coding
CN101790049A (zh) * 2010-02-25 2010-07-28 深圳市茁壮网络股份有限公司 一种新闻节目视频分段方法及系统
CN103200463A (zh) * 2013-03-27 2013-07-10 天脉聚源(北京)传媒科技有限公司 一种视频摘要生成方法和装置
CN104219423A (zh) * 2014-09-25 2014-12-17 联想(北京)有限公司 一种信息处理方法和装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020108112A1 (en) * 2001-02-02 2002-08-08 Ensequence, Inc. System and method for thematically analyzing and annotating an audio-visual sequence

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10313462A (ja) * 1998-06-17 1998-11-24 Matsushita Electric Ind Co Ltd 映像信号圧縮符号化装置
CN101257615A (zh) * 2007-10-25 2008-09-03 复旦大学 基于视频分割技术的流媒体分发和用户vcr操作方法
US20090316783A1 (en) * 2008-06-18 2009-12-24 The Hong Kong University Of Science And Technology Bidirectionally decodable wyner-ziv video coding
CN101489138A (zh) * 2009-02-11 2009-07-22 四川长虹电器股份有限公司 基于场景的二次编码图像组划分方法
CN101790049A (zh) * 2010-02-25 2010-07-28 深圳市茁壮网络股份有限公司 一种新闻节目视频分段方法及系统
CN103200463A (zh) * 2013-03-27 2013-07-10 天脉聚源(北京)传媒科技有限公司 一种视频摘要生成方法和装置
CN104219423A (zh) * 2014-09-25 2014-12-17 联想(北京)有限公司 一种信息处理方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112166618A (zh) * 2019-04-29 2021-01-01 百度时代网络技术(北京)有限公司 自动驾驶车辆中具有压缩视频流的多传感器数据存储
CN112166618B (zh) * 2019-04-29 2022-07-12 百度时代网络技术(北京)有限公司 自动驾驶系统、自动驾驶系统的传感器单元、用于操作自动驾驶车辆的计算机实现的方法

Also Published As

Publication number Publication date
CN105979267A (zh) 2016-09-28
US20170163992A1 (en) 2017-06-08

Similar Documents

Publication Publication Date Title
WO2017092340A1 (zh) 一种视频压缩、播放方法以及装置
WO2017092344A1 (zh) 一种视频的播放方法和装置
JP4481889B2 (ja) データ記録装置及びその方法、プログラム、記録媒体
US7885201B2 (en) Method for finding out the frame of a multimedia sequence
CN106576151B (zh) 视频处理装置和方法
JP2006081146A (ja) シーンチェンジ情報をビデオビットストリーム中に埋め込むシステムおよびその方法
WO2017157276A1 (zh) 多媒体文件的拼接方法和装置
TWI755673B (zh) 使用編輯操作執行時域軌道推導的方法和裝置
EP2289245B1 (en) Method and apparatus for generating or cutting or changing a frame based bit stream format file including at least one header section, and a corresponding data structure
TW201626369A (zh) 資訊處理裝置,資訊記錄媒體,及資訊處理方法,以及程式
JP2002247488A (ja) 記録装置、記録方法、プログラムおよび記録媒体
US8868429B2 (en) Method and device for storing audio data
WO2016171900A1 (en) Gapless media generation
JP6269734B2 (ja) 動画データ編集装置、動画データ編集方法、再生装置、及びプログラム
KR20080025246A (ko) 비디오 스트림을 gop 단위로 분할하여 기록하는 비디오기록방법 및 이를 적용한 비디오 장치
EP1768402A1 (en) Data processor
JP4362480B2 (ja) レジューム再生システム
US9263090B2 (en) Image processing apparatus, image processing method, and program
JP2007279241A (ja) 復号処理装置
CN1574049A (zh) 存储在盘形存储介质中的数据的再生设备
CN114143601A (zh) 裁剪视频的方法、装置、电子设备、存储介质及程序产品
JP4490691B2 (ja) ビデオデータ信号のシーケンスを記録する装置、記録担体、および方法
KR100707663B1 (ko) 멀티미디어 데이터 재생 시스템 및 방법
JP2021052302A (ja) 映像再生装置および映像再生方法
EP3190589A1 (en) Information processing device, information recording medium, information processing method, and program

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

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

Country of ref document: EP

Kind code of ref document: A1