WO2013185515A1 - 一种视频编码系统和方法 - Google Patents

一种视频编码系统和方法 Download PDF

Info

Publication number
WO2013185515A1
WO2013185515A1 PCT/CN2013/075351 CN2013075351W WO2013185515A1 WO 2013185515 A1 WO2013185515 A1 WO 2013185515A1 CN 2013075351 W CN2013075351 W CN 2013075351W WO 2013185515 A1 WO2013185515 A1 WO 2013185515A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
audio
stream
encoding
video stream
Prior art date
Application number
PCT/CN2013/075351
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 WO2013185515A1 publication Critical patent/WO2013185515A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/233Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/2368Multiplexing of audio and video streams

Definitions

  • the present invention relates to the field of video coding technologies, and in particular, to a video coding system and method. Background technique
  • video signals have been stored on tape in analog form.
  • audio signals are stored digitally
  • video signals are beginning to use digital formats, and some related technologies are beginning to evolve, requiring an encoding method to compress and transmit audio and video.
  • the so-called video encoding method refers to the way to convert a video format file into another video format file through a specific compression technique.
  • the most important codec standards in video streaming are ITU's H.264, Motion Picture Experts Group's M-JPEG and the International Organization for Standardization Motion Picture Experts Group's MPEG series of standards, which are widely used on the Internet.
  • Real-Networks' RealVideo Microsoft's WMV and Apple's QuickTime.
  • MPEG is the abbreviation of Moving Picture Experts Group. founded in 1988, MPEG is an expert group that develops compression standards for digital video/audio. It currently has more than 300 members, including IBM, SUN, BBC, NEC. World famous companies such as INTEL and AT&T.
  • the initial authorization of the MPEG organization was to develop various standards for "moving image” encoding, which were subsequently extended to "and its accompanying audio” and its combined encoding. Later, for the different application requirements, the restriction on “for digital storage media” was lifted, and it became the organization that now has the standard of "active image and audio coding".
  • Various standards developed by the MPEG organization have different goals and applications, and MPEG-1, MPEG-2, MPEG-4, MPEG-7, and MPEG-21 standards have been proposed.
  • a video codec is a program or device that can compress or decompress digital video. Usually this compression is a lossy number According to compression.
  • the implementation principle of the existing video encoder is as follows: The audio and video signal source, the decoder, the encoder, and the coding encapsulator are sequentially connected. Finally, the already packaged audio and video data is saved as a file for later transmission or sharing.
  • the existing encoding method generally only outputs one encoded audio and video data to one signal source. If the same video source is required to output audio and video in multiple bit rate formats, it is generally required to perform the same encoding operation multiple times. , then you need to repeat the same operation three times. If there is only a little bit of format change, you must encode it again from the beginning, for example, just change the resolution or bit rate of the video.
  • the input source is a TV broadcast signal
  • you want to output audio and video data in multiple formats you need to first transcribe the original broadcast signal, and then perform multiple encodings to generate the desired audio and video format, or multiple The encoder simultaneously encodes the input source simultaneously. If three formats of video are required, then three identical encoders are required.
  • the first method if the user needs the timeliness of the coding, then the requirement cannot be met.
  • the second method although the timeliness requirement is met, the coding device is increased, and the cost is increased.
  • the input source is a TV broadcast signal
  • you want to output audio and video data in multiple formats you need to first transcribe the original broadcast signal, and then perform multiple encodings to generate the desired audio and video format, or multiple
  • the encoder simultaneously encodes the input signal source.
  • the first method uses one encoder to encode three times in three encodings, and the second method requires three identical encodings.
  • Device For the first method, if the user needs the timeliness of the coding, then the requirement cannot be satisfied. For the second method, although the timeliness requirement is met, the coding device is increased, and the cost is increased.
  • the object of the present invention is to provide a system and method for video coding, which can simultaneously encode multiple video output formats for the same video source, that is, it not only solves the timeliness of the user's coding requirements, but also can use only one device. It can meet the requirements of outputting multiple code rates, and also solves the cost problem of the coding device. At the same time, since it is a device coded multi-channel output at the same time, it can realize smooth rate conversion of the live broadcast of the Internet.
  • a video coding system including an audio and video collection device, a decoder, a multiplexing device, a multiplex coding device, and a video file storage device, and the audio and video collection device and the decoder a multi-channel encoding device, a multi-pass encoding device, and a video file storage device are sequentially connected;
  • the audio and video collection device is configured to collect an audio stream and a video stream of the audio and video signal source and send the same to the decoder;
  • the decoder is configured to decode the audio stream and the video stream to which the audio and video collection device is sent, obtain the original audio stream and the video stream, and then send the decoded original audio stream and the video stream data to a preset number to the multi-channel encoding device. Coding
  • the multi-channel encoding device is configured to separately encode the received original audio stream and the video stream, generate a preset number of different audio streams and video streams of a format and a code rate, and send the encoded audio stream and the video stream to at most Road coding package device;
  • the multiplex encoding apparatus is configured to receive the encoded audio stream and the video stream sent by the multiplex encoding apparatus, and package the audio and video streams in different formats;
  • the video file storage device is configured to receive the encapsulated audio and video stream and save the file as an audio and video file.
  • the multiplex encoding apparatus includes a preset number of encoders having different encoding formats and encoding code rates.
  • the multiplex coding apparatus includes a preset number of code encapsulators corresponding to the encoder.
  • Step A The audio and video collecting device selects different input interfaces according to different audio and video signal sources. Collecting audio streams and video streams and sending them to the decoder;
  • Step B The decoder receives the audio stream and the video stream sent by the audio and video collection device, and according to the format of the audio stream and the video stream, respectively, respectively, corresponding decoding module is used for decoding, and the damaged audio frame and video are The frame is discarded or supplemented, and the audio frame and the video frame are synchronized, the original audio stream and the video stream data are obtained, and the preset number of the original audio stream and the video stream data are copied and sent to the multi-channel encoding device;
  • Step C Each of the multi-channel encoding devices receives a copy of the original audio stream and the video stream data, and each encoder encodes according to its preset encoding format and encoding rate, and generates corresponding audio and video synchronization information. And transmitting the encoded audio stream, the video stream, and the audio and video synchronization information to a corresponding code encapsulator in the multi-code encapsulation device;
  • Step D The code encapsulating device encapsulates the encoded audio stream and the video stream into an audio and video stream of a preset encapsulation format according to the audio and video synchronization information, and sends the audio and video stream to the video file storage device;
  • Step E The video file storage device receives the encapsulated audio and video stream and saves it as an audio and video file.
  • the audio and video signal source includes camera video, SDI broadcast information of the television station, cable television signal, and satellite signal.
  • the invention provides a system and a method for video coding in the field of video coding technology, which can simultaneously encode multiple video output formats for the same video source, solves the timeliness of the user's coding requirements, reduces the cost of the coding device, and achieves smoothing.
  • the live rate of the Internet is switched.
  • Fig. 1 is a schematic structural view of a video encoding system in the present invention.
  • FIG. 2 is a flow chart of a video encoding method in the present invention. detailed description
  • FIG. 1 is a schematic structural diagram of a video encoding system in an embodiment of the present invention.
  • the video coding system mainly includes the following devices:
  • the multiplexer 103 further includes a preset number of encoders having different encoding formats and encoding rates.
  • the multiplex encapsulation device 104 further includes a predetermined number of code encapsulators that correspond one-to-one with the encoder.
  • the audio/video collection device 101, the decoder 102, the multiplex encoding device 103, the multiplex encoding device 104, and the video file storage device 105 are sequentially connected. among them
  • the audio and video collection means 101 is for collecting audio streams and video streams of a sound video source and transmitting them to the decoder 102.
  • the decoder 102 is configured to decode the audio stream and the video stream to which the audio and video collection device 101 is sent, obtain the original audio stream and the video stream, and then transmit the decoded original audio stream and the video stream data to a preset number of copies.
  • the channel coding device 103 performs coding.
  • the multiplexing device 103 is configured to separately encode the received original audio stream and the video stream, generate a preset number of different audio streams and video streams of the format and the code rate, and send the encoded audio stream and the video stream. Up to the multi-code encapsulation device 104.
  • the multiplex encoding and encapsulating device 104 is configured to receive the encoded audio stream and video stream sent by the multiplex encoding device 103, and package the audio and video streams in different formats.
  • the video file storage device 105 is configured to receive the encapsulated audio and video stream and save the file as an audio and video file.
  • FIG. 2 is a flow chart of a video encoding method in an embodiment of the present invention. As shown in FIG. 1, the flow of the video coding method specifically includes the following steps:
  • Step 201 After receiving the cable television signal, the audio and video collection device selects a cable television signal interface, collects the audio stream and the video stream, and sends the audio stream and the video stream to the decoder.
  • the audio and video collection device selects different input interfaces according to different audio and video signal sources, collects the audio stream and the video stream, and sends them to the decoder.
  • the audio and video signal sources include camera video, SDI broadcast information of a television station, cable television signals, and satellite signals.
  • Step 202 The decoder receives the audio stream and the video stream sent by the audio and video collection device, and according to the format of the audio stream and the video stream, invoking an internal corresponding decoding module for decoding, and the damaged audio frame and video.
  • the frame is discarded or supplemented, and the audio frame and the video frame are synchronized, the original RAW format audio stream and the video stream data are obtained, and a preset number of the RAW format audio stream and the video stream data are copied and sent to the multi-pass encoding.
  • Step 203 Each encoder in the multiple encoding device receives a piece of the RAW format audio stream and video stream data, and the encoder 1 preset video encoding format is RV40, the preset video encoding code rate is 700 kbps, and the preset audio is The encoding format is AAC, the preset audio encoding rate is 192 kbps, the encoder 2 preset video encoding format is XviD, the preset video encoding rate is 1600 kbps, the preset audio encoding format is AAC, and the preset audio encoding rate is 96 kbps.
  • the preset video encoding format of the encoder 3 is H.264, the preset video encoding rate is 3500 kbps, the preset audio encoding format is AAC, and the preset audio encoding rate is 192 kbps, and each encoder follows its preset encoding format. Encoding with the code rate, generating corresponding audio and video synchronization information, and transmitting the encoded audio stream, video stream and audio and video synchronization information to a corresponding code encapsulator in the multi-code encapsulation device;
  • Step 204 The code encapsulation device 1 has a preset encapsulation format of RMVB, the code encapsulator 2 has a preset encapsulation format of AVI, and the code encapsulator 3 has a preset encapsulation format of MOV, according to the audio and video synchronization information.
  • the encoded audio stream and the video stream are encapsulated into a preset package format audio and video stream, and sent to the video file storage device;
  • Step 205 The video file storage device receives the encapsulated audio and video stream and saves it as an audio and video file.
  • the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • the invention can be embodied in the form of one or more computer program products embodied on a computer-usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing 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 apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本申请公开了一种视频编码系统和方法,首先,音视频釆集装置釆集音视频信号源的音频流和视频流发送至解码器;解码器根据音频流和视频流的格式调用相应的解码模块进行解码并处理,获得原始音频流和视频流数据,复制预设数量发送至多路编码装置;多路编码装置按其预设编码格式和编码码率进行编码,生成相应的音视频同步信息,发送至多路编码封装装置,多路编码封装装置根据把编码后的音频流和视频流封装成预设封装格式的音视频流,发送至视频文件存储装置存储为音视频文件。本申请能够有效对同一视频源同时进行多路视频输出格式的编码,满足用户对编码的时效性的要求和编码设备的成本的要求,还能实现平滑的互联网直播的码率切换。

Description

一种视频编码系统和方法 本申请要求在 2012年 6月 13日提交中国专利局、申请号为 201210194094.1、 发明名称为"一种视频编码系统和方法"的中国专利申请的优先权,其全部内容 通过引用结合在本申请中。 技术领域
本发明涉及视频编码技术领域, 尤其涉及一种视频编码系统和方法。 背景技术
历史上,视频信号是以模拟形式存储在磁带上的。随着技术的不断发展, 音频信号以数字化方式进行存储, 视频信号也开始使用数字化格式, 一些相 关技术也开始随之发展起来, 需要一种编码方式来对音频和视频进行压缩和 传输。 所谓视频编码方式就是指通过特定的压缩技术, 将某个视频格式的文 件转换成另一种视频格式文件的方式。 目前视频流传输中最为重要的编解码 标准有国际电联的 H.264,运动静止图像专家组的 M-JPEG和国际标准化组织 运动图像专家组的 MPEG系列标准, 此外在互联网上被广泛应用的还有 Real-Networks的 RealVideo,微软公司的 WMV以及 Apple公司的 QuickTime 等。
MPEG是活动图像专家组 (Moving Picture Experts Group)的缩写, 于 1988 年成立,是为数字视 /音频制定压缩标准的专家组,目前已拥有 300多名成员, 包括 IBM、 SUN, BBC、 NEC, INTEL、 AT&T等世界知名公司。 MPEG组 织最初得到的授权是制定用于 "活动图像"编码的各种标准, 随后扩充为 "及 其伴随的音频" 及其组合编码。 后来针对不同的应用需求, 解除了 "用于数 字存储媒体" 的限制, 成为现在制定 "活动图像和音频编码" 标准的组织。 MPEG组织制定的各个标准都有不同的目标和应用, 目前已提出 MPEG-1、 MPEG-2, MPEG-4、 MPEG-7和 MPEG-21标准。 视频编解码器是指一个能够 对数字视频进行压缩或者解压缩的程序或者设备。 通常这种压缩属于有损数 据压缩。 现有视频编码器的实现原理为: 音视频信号源、 解码器 、 编码器 、 编码封装器依次连接。 最后把已经封装好的音视频数据以文件的方式保存下 来, 以便以后传输或共享所用。
但是现有的编码方式一般对一路信号源只能输出一路经过编码的音视频 数据, 如果需要同一视频源输出多种码率格式的音视频一般需要进行多次相 同的编码操作, 如果需要三种, 那么就需要重复执行三次同样的操作。 如果 只有一点点的格式变化也必须从头再进行一次编码, 例如只是改变视频的分 辨率或码率等。
如果输入源是电视播出信号, 那么如果想输出多个格式的音视频数据, 需要先把原始的播出信号转录下来, 然后再进行多次编码, 生成需要的音视 频格式, 或者需要多个编码器同时对输入信号源同时进行编码, 如果需要三 种格式的视频, 那么就需要三台相同的编码器。 对于第一种方式, 如果用户 需要编码的时效性, 那么就不能满足需要, 对于第二种方式, 虽然满足了时 效性的要求, 但增加了编码设备, 提高了成本。
如果输入源是电视播出信号, 那么如果想输出多个格式的音视频数据, 需要先把原始的播出信号转录下来, 然后再进行多次编码, 生成需要的音视 频格式, 或者需要多个编码器同时对输入信号源同时进行编码, 如果需要三 种格式的视频, 那么第一种方式是利用一台编码器以三种编码方式进行三次 编码, 第二种方式就需要三台相同的编码器。 对于第一种方式, 如果用户需 要编码的时效性, 那么就不能满足需要, 对于第二种方式, 虽然满足了时效 性的要求, 但增加了编码设备, 提高了成本。
如果用户希望在互联网观看直播视频流, 并希望能够根据互联网的链路 状态播放不同码率的音视频文件, 那么必须要同时产生多种码率的音视频流, 并能在低码率到高码率之间平滑的切换, 现有的编码器无法实现这一用户需 求。 发明内容 本发明的目的是提供一种视频编码的系统和方法, 可以对同一视频源同 时进行多路视频输出格式的编码, 即既解决了用户对编码要求的时效性, 又 可以仅使用一台设备就可满足输出多种码率的要求, 还解决了编码设备的成 本问题, 同时由于是一台设备编码同时多路输出, 能实现平滑的互联网直播 的码率切换。
本发明的一方面, 提供了一种视频编码系统, 包括音视频釆集装置、 解 码器、 多路编码装置、 多路编码封装装置和视频文件存储装置, 所述音视频 釆集装置、 解码器、 多路编码装置、 多路编码封装装置和视频文件存储装置 依次连接; 其中
所述音视频釆集装置用于釆集音视频信号源的音频流和视频流并发送至 解码器;
所述解码器用于将音视频釆集装置发送至的音频流和视频流解码, 获得 原始音频流和视频流, 然后把解码后的原始音频流和视频流数据复制预设数 量发送至多路编码装置进行编码;
所述多路编码装置用于对收到的原始音频流和视频流分别进行编码, 生 成预设数量的格式和码率不同音频流和视频流, 并将编码后的音频流和视频 流发送至多路编码封装装置;
所述多路编码封装装置用于接收多路编码装置发来的所述编码后的音频 流和视频流, 并封装为不同格式的音视频流;
所述视频文件存储装置用于接收封装后的音视频流, 并保存为音视频文 件。
进一步地, 所述多路编码装置包括预设数量的编码格式和编码码率不同 的编码器。
进一步地, 所述多路编码封装装置包括与编码器——对应的预设数量的 编码封装器。
本发明另一方面提供了一种视频编码方法,其特征在于, 包括以下步骤: 步骤 A、音视频釆集装置根据不同的音视频信号源,选择不同的输入接口, 釆集音频流和视频流, 并发送至解码器;
步骤 B、 解码器接收音视频釆集装置发来的所述音频流和视频流, 根据所 述音频流和视频流的格式, 分别调用相应的解码模块进行解码, 对有损坏的 音频帧和视频帧进行丟弃或者补贞处理, 并保证音频帧和视频帧的同步, 获 得原始音频流和视频流数据, 复制预设数量的所述原始音频流和视频流数据 发送至多路编码装置;
步骤 C、多路编码装置中的每一个编码器接收一份所述原始音频流和视频 流数据, 每一个编码器按照其预设编码格式和编码码率进行编码, 生成相应 的音视频同步信息, 并将编码后的音频流、 视频流和音视频同步信息发送至 多路编码封装装置中的对应编码封装器;
步骤 D、多路编码封装装置中编码封装器根据所述音视频同步信息把所述 编码后的音频流和视频流封装成预设封装格式的音视频流, 发送至视频文件 存储装置;
步骤 E、 视频文件存储装置接收封装后的音视频流并保存为音视频文件。 进一步地, 步骤 A中, 所述音视频信号源包括摄像机录像、 电视台的 SDI 播出信息、 有线电视信号和卫星信号。 本发明的技术效果在于:
能够为视频编码技术领域提供一种视频编码的系统和方法, 可以对同一 视频源同时进行多路视频输出格式的编码, 解决了用户对编码要求的时效性, 降低了编码设备的成本, 实现平滑的互联网直播的码率切换。
本发明的其它特征和优点将在随后的说明书中阐述, 并且, 部分地从说 明书中变得显而易见, 或者通过实施本发明而了解。 本发明的目的和其他优 点可通过在所写的说明书、 权利要求书、 以及附图中所特别指出的结构来实 现和获得。
下面通过附图和实施例, 对本发明的技术方案做进一步的详细描述。 附图说明
附图用来提供对本发明的进一步理解, 并且构成说明书的一部分, 与本 发明的实施例一起用于解释本发明, 并不构成对本发明的限制。 在附图中: 图 1是本发明中视频编码系统的结构示意图。
图 2是本发明中视频编码方法的流程图。 具体实施方式
以下结合附图对本发明的优选实施例进行说明, 应当理解, 此处所描述 的优选实施例仅用于说明和解释本发明, 并不用于限定本发明。
图 1是本发明具体实施方式中视频编码系统的结构示意图。如图 1所示, 视频编码系统主要包括以下几个装置:
音视频釆集装置 101、 解码器 102、 多路编码装置 103、 多路编码封装装 置 104和视频文件存储装置 105。多路编码装置 103进一步的包括预设数量的 编码格式和编码码率不同的编码器。 多路编码封装装置 104进一步包括与编 码器一一对应的预设数量的编码封装器。
所述音视频釆集装置 101、 解码器 102、 多路编码装置 103、 多路编码封 装装置 104和视频文件存储装置 105依次连接。 其中
所述音视频釆集装置 101 用于釆集音视频信号源的音频流和视频流并发 送至解码器 102。
所述解码器 102用于将音视频釆集装置 101发送至的音频流和视频流解 码, 获得原始音频流和视频流, 然后把解码后的原始音频流和视频流数据复 制预设数量发送至多路编码装置 103进行编码。
所述多路编码装置 103用于对收到的原始音频流和视频流分别进行编码, 生成预设数量的格式和码率不同音频流和视频流, 并将编码后的音频流和视 频流发送至多路编码封装装置 104。
所述多路编码封装装置 104用于接收多路编码装置 103发来的所述编码 后的音频流和视频流, 并封装为不同格式的音视频流。 所述视频文件存储装置 105用于接收封装后的音视频流, 并保存为音视 频文件。
图 2是本发明具体实施方式中视频编码方法的流程图。 如图 1所示, 视 频编码方法的流程, 具体包括以下步骤:
步骤 201、音视频釆集装置接收到有线电视信号后, 选择有线电视信号接 口, 釆集音频流和视频流, 并发送至解码器;
即, 音视频釆集装置根据不同的音视频信号源, 选择不同的输入接口, 釆集音频流和视频流,并发送至解码器。所述音视频信号源包括摄像机录像、 电视台的 SDI播出信息、 有线电视信号和卫星信号。
步骤 202、解码器接收音视频釆集装置发来的所述音频流和视频流, 根据 所述音频流和视频流的格式, 调用内部相应的解码模块进行解码, 对有损坏 的音频帧和视频帧进行丟弃或者补贞处理, 并保证音频帧和视频帧的同步, 获得原始的 RAW格式音频流和视频流数据, 复制预设数量的所述 RAW格式 音频流和视频流数据发送至多路编码装置;
步骤 203、 多路编码装置中的每一个编码器接收一份所述 RAW格式音频 流和视频流数据, 编码器 1预设视频编码格式为 RV40, 预设视频编码码率为 700kbps, 预设音频编码格式为 AAC, 预设音频编码码率为 192kbps, 编码器 2预设视频编码格式为 XviD, 预设视频编码码率为 1600kbps, 预设音频编码 格式为 AAC,预设音频编码码率为 96kbps,编码器 3预设视频编码格式为 H.264, 预设视频编码码率为 3500kbps, 预设音频编码格式为 AAC, 预设音频编码码 率为 192kbps, 每一个编码器按照其预设编码格式和编码码率进行编码, 生成 相应的音视频同步信息, 并将编码后的音频流、 视频流和音视频同步信息发 送至多路编码封装装置中的对应编码封装器;
步骤 204、 多路编码封装装置中编码封装器 1预设封装格式为 RMVB, 编码封装器 2预设封装格式为 AVI, 编码封装器 3预设封装格式为 MOV, 根 据所述音视频同步信息把编码后的音频流和视频流封装为预设封装格式的音 视频流, 发送至视频文件存储装置; 步骤 205、视频文件存储装置接收封装后的音视频流并保存为音视频文件。 本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或 计算机程序产品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个或多个 其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器、 CD-ROM、 光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序产 品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图 和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中的流程 和 /或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得通 过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流 程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存储器 中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个流程或 多个流程和 /或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的 处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图 一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了 基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权 利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 脱离本发明实施例的精神和范围。 这样, 倘若本发明实施例的这些修改和变 型属于本发明权利要求及其等同技术的范围之内, 则本发明也意图包含这些 改动和变型在内。

Claims

权 利 要 求
1、 一种视频编码系统, 其特征在于, 包括音视频釆集装置、 解码器、 多 路编码装置、多路编码封装装置和视频文件存储装置,所述音视频釆集装置、 解码器、 多路编码装置、 多路编码封装装置和视频文件存储装置依次连接; 其中
所述音视频釆集装置用于釆集音视频信号源的音频流和视频流并发送至 解码器;
所述解码器用于将音视频釆集装置发送至的音频流和视频流解码, 获得 原始音频流和视频流, 然后把解码后的原始音频流和视频流数据复制预设数 量发送至多路编码装置进行编码;
所述多路编码装置用于对收到的原始音频流和视频流分别进行编码, 生 成预设数量的格式和码率不同音频流和视频流, 并将编码后的音频流和视频 流发送至多路编码封装装置;
所述多路编码封装装置用于接收多路编码装置发来的所述编码后的音频 流和视频流, 并封装为不同格式的音视频流;
所述视频文件存储装置用于接收封装后的音视频流, 并保存为音视频文 件。
2、 根据权利要求 1所述的一种视频编码装置, 其特征在于, 所述多路编 码装置进一步的包括预设数量的编码格式和编码码率不同的编码器。
3、 根据权利要求 1所述的一种视频编码装置, 其特征在于, 所述多路编 码封装装置进一步包括与编码器一一对应的预设数量的编码封装器。
4、 一种视频编码方法, 其特征在于, 包括以下步骤:
A、 音视频釆集装置根据不同的音视频信号源, 选择不同的输入接口, 釆 集音频流和视频流, 并发送至解码器;
B、 解码器接收音视频釆集装置发来的所述音频流和视频流, 根据所述音 频流和视频流的格式, 分别调用相应的解码模块进行解码, 对有损坏的音频 帧和视频帧进行丟弃或者补贞处理, 并保证音频帧和视频帧的同步, 获得原 始音频流和视频流数据, 复制预设数量的所述原始音频流和视频流数据发送 至多路编码装置;
c、多路编码装置中的每一个编码器接收一份所述原始音频流和视频流数 据, 每一个编码器按照其预设编码格式和编码码率进行编码, 生成相应的音 视频同步信息, 并将编码后的音频流、 视频流和音视频同步信息发送至多路 编码封装装置中的对应编码封装器;
D、多路编码封装装置中编码封装器根据所述音视频同步信息把所述编码 后的音频流和视频流封装成预设封装格式的音视频流, 发送至视频文件存储 装置;
E、 视频文件存储装置接收封装后的音视频流并保存为音视频文件。
5、 根据权利要求 4所述一种视频编码系统和方法, 其特征在于, 步骤 A 中, 所述音视频信号源包括摄像机录像、 电视台的 SDI播出信息、 有线电视 信号和卫星信号。
PCT/CN2013/075351 2012-06-13 2013-05-08 一种视频编码系统和方法 WO2013185515A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2012101940941A CN102724551A (zh) 2012-06-13 2012-06-13 一种视频编码系统和方法
CN201210194094.1 2012-06-13

Publications (1)

Publication Number Publication Date
WO2013185515A1 true WO2013185515A1 (zh) 2013-12-19

Family

ID=46950193

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/075351 WO2013185515A1 (zh) 2012-06-13 2013-05-08 一种视频编码系统和方法

Country Status (2)

Country Link
CN (1) CN102724551A (zh)
WO (1) WO2013185515A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601113A (zh) * 2020-05-14 2020-08-28 杭州当虹科技股份有限公司 一种基于区块链的直播溯源方法
CN113435433A (zh) * 2021-08-30 2021-09-24 广东电网有限责任公司中山供电局 一种基于作业现场的音视频数据提取处理系统

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724551A (zh) * 2012-06-13 2012-10-10 天脉聚源(北京)传媒科技有限公司 一种视频编码系统和方法
CN103200425B (zh) * 2013-03-29 2016-04-06 天脉聚源(北京)传媒科技有限公司 一种多媒体处理装置及方法
CN104333764B (zh) * 2013-07-22 2017-09-29 安凯(广州)微电子技术有限公司 一种多路视频播放方法及装置
CN105100663B (zh) * 2014-05-15 2019-04-23 北京同步科技有限公司 基于硬件编码器的录制系统、音视频处理装置和录制方法
CN104253975A (zh) * 2014-07-17 2014-12-31 夏曹俊 多维视频同步系统软件
CN104602100A (zh) * 2014-11-18 2015-05-06 腾讯科技(成都)有限公司 实现应用内视频、音频录制的方法及装置
CN104754366A (zh) 2015-03-03 2015-07-01 腾讯科技(深圳)有限公司 音视频文件直播方法、装置和系统
CN104768025B (zh) * 2015-04-02 2018-05-08 无锡天脉聚源传媒科技有限公司 一种视频坏帧修复方法及装置
CN105898211A (zh) * 2015-12-21 2016-08-24 乐视致新电子科技(天津)有限公司 一种处理多媒体信息的方法及装置
CN107968948A (zh) * 2016-10-19 2018-04-27 北京新唐思创教育科技有限公司 在线视频播放方法及系统
CN106973251B (zh) * 2017-03-23 2020-11-03 移康智能科技(上海)股份有限公司 图像数据传输方法及装置
CN107343218A (zh) * 2017-05-24 2017-11-10 广东小天才科技有限公司 一种视频编码的方法及装置
CN108989831A (zh) * 2017-05-31 2018-12-11 北京视联动力国际信息技术有限公司 一种多码流的网络录制方法和装置
CN107454416B (zh) * 2017-09-12 2020-06-30 广州酷狗计算机科技有限公司 视频流发送方法和装置
CN108495141B (zh) * 2018-03-05 2021-03-19 网宿科技股份有限公司 一种音视频的合成方法及系统
CN109150917B (zh) * 2018-10-30 2021-06-08 广州海格通信集团股份有限公司 基于sip协议的视频合成控制方法和系统
CN113315973B (zh) * 2019-03-06 2022-12-20 深圳市道通智能航空技术股份有限公司 编码方法、图像编码器及图像传输系统
CN110662086A (zh) * 2019-10-31 2020-01-07 成都威爱新经济技术研究院有限公司 一种5g高清直播系统及视频处理方法
CN112040239B (zh) * 2020-09-14 2022-07-26 国网重庆市电力公司电力科学研究院 一种基于avi格式文件结构的文件修复方法及装置
CN117177065A (zh) * 2022-05-30 2023-12-05 荣耀终端有限公司 一种视频处理方法和终端

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370140A (zh) * 2008-09-25 2009-02-18 浙江大华技术股份有限公司 一种多码流生成的方法
CN101895750A (zh) * 2010-07-13 2010-11-24 上海未来宽带技术及应用工程研究中心有限公司 面向机顶盒和pc的实时流媒体服务器及工作方法
CN101917613A (zh) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 一种流媒体采集编码服务系统
CN101917391A (zh) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 一种网络视频的播放方法及一种网络视频播放系统
CN102131084A (zh) * 2010-01-19 2011-07-20 深圳市在线通网络科技开发有限公司 音视频流媒体rtmp推送装置和音视频流媒体rtmp推送方法
CN102724551A (zh) * 2012-06-13 2012-10-10 天脉聚源(北京)传媒科技有限公司 一种视频编码系统和方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370140A (zh) * 2008-09-25 2009-02-18 浙江大华技术股份有限公司 一种多码流生成的方法
CN101917613A (zh) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 一种流媒体采集编码服务系统
CN101917391A (zh) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 一种网络视频的播放方法及一种网络视频播放系统
CN102131084A (zh) * 2010-01-19 2011-07-20 深圳市在线通网络科技开发有限公司 音视频流媒体rtmp推送装置和音视频流媒体rtmp推送方法
CN101895750A (zh) * 2010-07-13 2010-11-24 上海未来宽带技术及应用工程研究中心有限公司 面向机顶盒和pc的实时流媒体服务器及工作方法
CN102724551A (zh) * 2012-06-13 2012-10-10 天脉聚源(北京)传媒科技有限公司 一种视频编码系统和方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601113A (zh) * 2020-05-14 2020-08-28 杭州当虹科技股份有限公司 一种基于区块链的直播溯源方法
CN111601113B (zh) * 2020-05-14 2022-05-17 杭州当虹科技股份有限公司 一种基于区块链的直播溯源方法
CN113435433A (zh) * 2021-08-30 2021-09-24 广东电网有限责任公司中山供电局 一种基于作业现场的音视频数据提取处理系统
CN113435433B (zh) * 2021-08-30 2022-01-11 广东电网有限责任公司中山供电局 一种基于作业现场的音视频数据提取处理系统

Also Published As

Publication number Publication date
CN102724551A (zh) 2012-10-10

Similar Documents

Publication Publication Date Title
WO2013185515A1 (zh) 一种视频编码系统和方法
KR101615974B1 (ko) 모바일 미디어 서버
TWI285854B (en) System for encoding video data and system for decoding video data
CN103139559B (zh) 多媒体信号传输方法和装置
JP6214765B2 (ja) 音声デコーダ、符号化音声出力データを生成するための装置、及びデコーダの初期化を可能にする方法
JPH09139940A (ja) 終端間伸縮可能なビデオデリバリシステム用デコーダ
CN101321280A (zh) 一种实时视频转码流媒体服务器
TW201006232A (en) System and method for reformatting digital broadcast multimedia for a mobile device
WO2013185517A1 (zh) 一种音视频编码同步方法和系统
CN103873888A (zh) 一种媒体文件直播方法及直播源服务器
CN105049920A (zh) 一种多媒体文件的录制方法和装置
CN103686203A (zh) 视频转码方法及装置
CN1522539A (zh) 视频数据流的转码
JP2005176069A (ja) 分散並列トランスコーダシステム及び分散並列トランスコード方法
CN105049904A (zh) 一种多媒体文件的播放方法和装置
JP6823540B2 (ja) 映像処理方法、映像処理システム及び映像送信装置
JP2004537226A5 (zh)
KR100839800B1 (ko) 디지털 멀티미디어 방송 수신 단말기와 그에 따른 주변디바이스
JPWO2005074182A1 (ja) コンテンツの配信方法、エンコード方法及び受信再生方法と装置並びにプログラム
JP3666047B2 (ja) 情報の伝送方法
CN109600651B (zh) 文档类直播交互数据和音视频数据同步方法和系统
JP3621332B2 (ja) スプライト符号化方法及び装置、スプライト符号化データ復号方法及び装置、並びに記録媒体
CN105657448A (zh) 一种编码视频流的转发方法、装置及系统
JP2008072182A (ja) 動画像復号化装置、動画像復号化方法、動画像復号化プログラム、動画像符号化装置、動画像符号化方法、動画像符号化プログラム、及び動画像符号化復号化装置
JP6197708B2 (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: 13803577

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

Country of ref document: EP

Kind code of ref document: A1