WO2010034234A1 - Video recording method, device and system - Google Patents
Video recording method, device and system Download PDFInfo
- Publication number
- WO2010034234A1 WO2010034234A1 PCT/CN2009/074102 CN2009074102W WO2010034234A1 WO 2010034234 A1 WO2010034234 A1 WO 2010034234A1 CN 2009074102 W CN2009074102 W CN 2009074102W WO 2010034234 A1 WO2010034234 A1 WO 2010034234A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video
- frame
- recording
- unit
- received
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/42221—Conversation recording systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2201/00—Electronic components, circuits, software, systems or apparatus used in telephone systems
- H04M2201/50—Telephonic communication in combination with video communication
Definitions
- the embodiments of the present invention relate to the field of communications technologies, and in particular, to a video recording method, apparatus, and system. Background technique
- 3G 3rd Generation
- video communication services users can directly play through videophones and software terminals.
- the video is used for video communication.
- video messages have gradually become an important way of leakage reminders.
- the video call when the called party of the 3G video call is busy, not in the service area, or off, if the called party applies for the video message service, the video call will be used by the video interworking gateway (Video Interworking Gateway; Abbreviation: VIG) Go to the video message system.
- the video interworking gateway Video Interworking Gateway; Abbreviation: VIG
- the calling user chooses to record the video message and hang up.
- the called user After the recording is completed, the called user will receive a new video mail message or push.
- the WAP PUSH notification prompts the called user to go to the video message system to watch the video message.
- VFU Vertical Format Unit
- Embodiments of the present invention provide a video recording method, apparatus, and system for eliminating a mosaic phenomenon at the beginning of video recording.
- the embodiment of the invention provides a video recording method, including:
- the stored video frame is acquired, and the acquired video frame and subsequent received video frames are recorded.
- the embodiment of the invention provides a video recording device, including:
- a first receiving unit configured to receive a video frame
- a second receiving unit configured to receive a video recording request
- a recording unit configured to: when the second receiving unit receives the video recording request, acquire the stored video frame, and record the acquired video frame and the video frame subsequently received by the first receiving unit.
- the embodiment of the invention provides a video message system, including:
- a video interworking gateway configured to send video frames
- a message service platform for transmitting a video recording request and playing a video recorded in the video recording device
- a video recording device configured to receive a video frame, and when receiving the video recording request, obtain a video frame that has been stored, and record the obtained video frame and the subsequently received video frame.
- the video recording method, apparatus, and system provided by the embodiments of the present invention store a received video frame before receiving a video recording request, acquire a stored video frame when receiving a video recording request, and acquire the acquired video frame.
- the subsequent received video frames are recorded together, avoiding the problem that the recorded frame is not a complete frame and thus forms a mosaic when the video recording request is received.
- FIG. 1 is a schematic diagram of a video recording process in an embodiment of the present invention.
- FIG. 2 is a flowchart of implementing video recording preprocessing according to an embodiment of the present invention
- FIG. 3 is a flow chart of video recording according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a video recording apparatus according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a video message system according to an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a video message system according to an embodiment of the present invention.
- FIG. 7 is a flowchart of processing of a video message system according to an embodiment of the present invention. detailed description
- FIG. 1 is a video recording process in the embodiment of the present invention. Schematic, see Figure 1, including:
- S100 The calling terminal initiates a video call to the video interworking gateway VIG.
- S104 The message service platform returns a call response to the video interworking gateway.
- the video interworking gateway establishes a video call with the video recording system according to the call response returned by the message service platform to the video interworking gateway, and the video recording system begins to receive the video stream from the video interworking gateway.
- the message service platform initiates a video recording request to the video recording system.
- the video recording system records the received video frame according to the received video recording request.
- the video interworking gateway After the video interworking gateway receives the call response from the message service platform, it starts to send a video stream to the video recording system.
- the video stream is composed of video frames, including: I frame and P frame. Wherein the I frame is a key frame and the P frame is a forward predicted frame.
- the decoder receives an I frame, it can be decoded into a complete video image without other conditions; however, when the decoder receives the P frame, it cannot be decoded into a complete frame.
- Video image because decoding of a P frame requires the decoder to first decode the P frame or I frame in front of the frame.
- the video recording system receives the video recording request, it has begun to receive the video frame. If the video frame is directly recorded to the subsequent received video frame, the frame that starts recording may not be I. Frame, then the frame recorded before the next I frame cannot be decoded into a complete video image during playback, thus forming a mosaic.
- the received video frame is stored in S106, and when the video recording request is received in S110, the acquired video frame is obtained by receiving the stored video frame and receiving the video recording request.
- the video frames are recorded together to eliminate mosaicism.
- a flowchart of implementing video recording preprocessing in the embodiment of the present invention, as shown in FIG. 2, includes:
- S200 Receive a video frame.
- the video interworking gateway forwards the video call that needs to leave a message to the message service platform. After receiving the response returned by the message service platform, a video call connection is established with the video recording system, and the video recording system starts receiving video frames from the video interworking gateway.
- S202 Determine whether the received video frame is an I frame, if it is an I frame, execute S204; if it is a P frame, execute S206.
- S206 Obtain the newly stored I frame from the stored video frame, synthesize the acquired I frame and the P frame, form a new I frame, and store the new I frame.
- the video frame before recording is stored in the form of an I frame, so that the latest I frame can be obtained from the stored video frame and recorded along with the subsequently received video frame during video recording, so that the video frame is recorded.
- the video can play a complete video during playback, eliminating mosaics.
- the S204 and the S206 in the embodiment of the present invention may store in a new manner when the video frame is stored, that is, the new I frame is used to replace the stored I frame, so that the storage space can be saved.
- the storage here generally refers to the cache, which can be started after recording or recording is completed. Delete.
- the stored video frame may not be replaced. If the storage is performed in a non-replacement manner, the received video frame does not need to be synthesized, and all stored data needs to be acquired during recording. All video frames or the latest I frame that has been stored and all video frames stored thereafter.
- the synthesis and storage processing of the received video frame may be stopped, and the video recording system starts video recording processing.
- the video recording system here refers to a video recording device with video recording pre-processing function, and the video is now available.
- FIG. 3 is a flowchart of video recording according to an embodiment of the present invention. As shown in FIG. 3, the video recording process of the present invention includes:
- S302 When receiving the video recording request, acquire the video frame that has been stored, and record the acquired video frame and the subsequently received video frame.
- the video recording system stores the received video frame, and the storage process can adopt the flow shown in FIG. 2.
- the video recording system stops storing the received video.
- the video frame starts to record the subsequently received video frame.
- the latest stored I frame is obtained from the previously stored video frame, and then the I frame is recorded, and then the subsequently received video is received.
- the frame is recorded. If the previous recording method is to use the full storage mode without synthesizing, when recording the subsequent received video frames, it is necessary to acquire all the stored video frames, and record all the captured video frames before recording the video recording.
- the video frame received after the request or, first search for the most recent I frame that has been stored, and then acquire the I frame and subsequent video frames, and record the acquired video frames together with the video frames received after the video recording request. .
- the method when the video frame is received, if the received video frame is not an I frame, the video frame before starting the recording is obtained, so that the frame to be recorded is an I frame, thereby eliminating the mosaic.
- the method includes: a first receiving unit 401, configured to receive a video frame;
- a second receiving unit 402 configured to receive a video recording request
- the recording unit 403 is configured to: when the second receiving unit 402 receives the video recording request, acquire the video frame that has been stored, and record the acquired video frame and the video frame that is subsequently received by the first receiving unit 401.
- the video recording apparatus of the embodiment of the present invention performs video recording, if the received video frame is not an I frame, the video frame before the start of recording is acquired, so that the frame to be recorded is an I frame, thereby eliminating the mosaic.
- the video recording apparatus may further include a storage unit 404 for storing video frames, and the recording unit 403 directly acquires the stored video frames from the storage unit 404 inside the video recording apparatus. To avoid frequent waste of resources with other storage devices.
- the pre-processing function of the video recording may be performed by a separate device or by a video recording device. Therefore, the video recording device may further include:
- the determining unit 405 is configured to determine, when the second receiving unit 402 has not received the video recording request, whether the video frame received by the first receiving unit 401 is an I frame, and if it is an I frame, send to the storage unit 404. The storage is performed, and if it is a P frame, it is sent to the synthesizing unit 406 for synthesis.
- the synthesizing unit 406 is configured to synthesize the P frame and the latest I frame stored in the storage unit 404 to form a new I frame, and store the new I frame in the storage unit 404.
- FIG. 5 is a schematic structural diagram of a video message system according to an embodiment of the present invention.
- the video recording apparatus provided in the embodiment of the present invention can be applied to a video message service, and when the video message service is used in the video message service, the video message is used.
- the system includes:
- a video interworking gateway 501 configured to send a video frame
- a message service platform 502 configured to send a video recording request and play a video recorded in the video recording device;
- the video recording device 503 is configured to receive a video frame, and when receiving the video recording request, acquire a video frame that has been stored, and record the acquired video frame and the subsequently received video frame.
- FIG. 6 is a schematic structural diagram of a video message system according to an embodiment of the present invention.
- a structure diagram of a video message system in which a video recording function is separately set for a video recording pre-processing function and a video recording function is set in a message service platform includes:
- Video Interworking Gateway VIG601 is used to receive video frames from mobile terminals over a 3G network. It is primarily responsible for some video media conversion transactions.
- the video recording and synthesizing system 602 is configured to store the received video frame, and when receiving the video recording request of the message service platform 603, provide the video frame it needs.
- the message service platform 603 is configured to acquire a video frame from the video recording and synthesizing system 602, and perform video recording.
- the message service platform 603 is also responsible for establishing a video call connection with the VIG 601. It can communicate with the VIG601 and the video recording and synthesizing system 602 via the Internet Protocol (Internet Protocol; IP).
- IP Internet Protocol
- the messaging service platform 603 can include a video recording device 604 and a video playback device 605.
- the video recording and synthesizing system 602 can also specifically include:
- the video receiving unit 606 is configured to receive a video stream and control a video stream transmission direction. When the video recording request is not received, a video composition request is sent, otherwise the video stream is transmitted to the video recording interface unit 607 for transmission to the video recording device 604 for video recording.
- the video buffer judging unit 608 is configured to determine the video stream received by the video receiving unit 606, if it is an I frame, send it to the information buffer unit 609 for buffering; if it is not an I frame (here, the P frame is taken as an example), the video stream is sent to the video.
- the synthesizing unit 610 performs video synthesis.
- the video synthesizing unit 610 receives the P frame from the video buffer judging unit 608, and the information buffer unit
- the information buffering unit 609 acquires the latest I frame, synthesizes a new I frame, and returns the synthesized new I frame to the information buffer unit 609.
- the information buffering unit 609 is configured to receive the latest I frame from the video buffer determining unit 608, replace the existing I frame if the I frame has been buffered, or cache the received I frame; or receive the received I frame from the video synthesizing unit 610.
- the synthesized I frame replaces the existing I frame; and when the video recording request is received, the buffered I frame is sent to the video recording interface unit 607.
- the video recording interface unit 607 is configured to receive the latest I frame from the information buffer unit 609 and receive the video frame from the video receiving unit 606 for the message service platform 603.
- FIG. 7 is a flowchart of processing a video message system according to an embodiment of the present invention.
- the video processing flow of the video message system in FIG. 6 is described below with reference to FIG. 7, which specifically includes:
- S700 The user terminal (Mobi Le Sta t ion; hereinafter referred to as MS) sends a video call request;
- S702 VIG forwards the video call to the message service platform
- S704 The message service platform responds to the VIG video call response, and the video call connection is established;
- S706 The VIG sends a video call request.
- the video receiving unit receives the video stream from the V I G;
- the video receiving unit sends a video stream to the video buffer determining unit to request video stream synthesis.
- the video buffer judging unit judges the video stream. If the video frame (frame) is an i-frame (i-frame), go to the process S 714 and execute S714-S716; if the f-meme is not an i-frame, the p-frame (pf) r ame ) as an example, go to process S718;
- the information cache unit determines whether the i-frame has been cached. If the i-frame has been cached, the cached i-frame is replaced with the received new i-fram, otherwise the received i-frame is cached.
- S722 The information cache unit returns the latest if rame;
- S724 The video synthesizing unit synthesizes the i-frame and the p_frame into a new if rame;
- the video synthesizing unit sends the synthesized new i-frame to the information buffer unit.
- the information buffer unit receives the i-frame of the video synthesizing unit and replaces the existing i-frame; from process S706 to process S728, an ongoing process is performed until the video recording request is received, and the information cache unit updates the latest The i-frame is sent to the video recording interface unit, and the 3G video synthesis process ends, and the video recording process is entered.
- the message service platform sends a video recording request to the video recording interface unit.
- the video recording interface unit requests the video receiving unit to receive the video stream.
- the video receiving unit stops sending the video stream to the video buffer determining unit
- the video receiving unit sends the received video stream to the video recording interface unit.
- the video recording interface unit returns the video stream to the message service platform for video recording.
- the received video frame is stored before the video recording request, and the stored video frame is acquired when the video recording request is received, and the obtained video frame is recorded together with the subsequently received video frame to avoid Recording directly when a video recording request is received results in a problem that the recorded frame is not a full frame to form a mosaic.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The embodiments of the invention disclose a video recording method, device and system. The method comprises: receiving video frames; when receiving a video recording request, obtaining video frames which have already been stored, and recording the obtained video frames and the video frames subsequently received. The device comprises: a first receiving unit, a second receiving unit and a recording unit. The system comprises: video interworking gateway, message service platform and video recording device. By storing the received frames before requesting video recording, obtaining the video frames which have been already stored when receiving video recording request and recording the obtained video frames in company with the video frames subsequently received, the embodiments of the invention avoid the problem of mosaic induced by recorded non-integrated frames which are generated by directly recording when receiving video recording request.
Description
一种视频录制方法、 装置和系统 Video recording method, device and system
本申请要求于 2008 年 09 月 28 日提交中国专利局、 申请号为 200810216625.6、 发明名称为"一种视频录制方法、 装置和系统"的中国专利申请 的优先权, 其全部内容通过引用结合在本申请中。 技术领域 This application claims priority to Chinese Patent Application No. 200810216625.6, entitled "A Video Recording Method, Apparatus and System", filed on Sep. 28, 2008, the entire contents of which is incorporated herein by reference. In the application. Technical field
本发明实施例涉及通信技术领域, 尤其涉及一种视频录制方法、 装置和系 统。 背景技术 The embodiments of the present invention relate to the field of communications technologies, and in particular, to a video recording method, apparatus, and system. Background technique
随着网络的快速发展和应用的普及, 通过网络进行信息通信已经成为人们 相互联系的重要手段之一, 在工作和生活中所占比重日渐增大, 而随着全球范 围内第三代移动通信 ( the 3rd Generation; 以下简称: 3G ) 网络建设和业务 经营活动的全面铺开, 3G业务也已变得越来越丰富, 如, 视频通信业务, 用户 可以通过可视电话、 软件终端直接像打电话一样来进行视频通信。 而在 3G视频 通信业务开展中, 视频留言也逐步成为漏电提醒的重要方式。 现有技术中, 当 3G视频呼叫的被叫方遇忙、 不在服务区、 关机等情况下, 如果被叫方申请了视 频留言服务, 则该视频呼叫会被视频互通网关(Video Interworking Gateway; 以下简称: VIG)前转到视频留言系统, 在视频留言系统播放的视频导航界面下, 主叫用户选择录制视频留言后挂机, 录制完成后被叫用户会收到有新的视频邮 件的短信或推入信息 (WAP PUSH)通知, 提示被叫用户到视频留言系统收看视 频留言。 With the rapid development of the network and the popularity of applications, information communication through the network has become one of the important means for people to connect with each other, and the proportion in work and life is increasing, and with the third generation of mobile communication worldwide. (the 3rd Generation; hereinafter referred to as: 3G) The network construction and business operations activities have been fully rolled out, and 3G services have become more and more abundant. For example, video communication services, users can directly play through videophones and software terminals. The video is used for video communication. In the development of 3G video communication services, video messages have gradually become an important way of leakage reminders. In the prior art, when the called party of the 3G video call is busy, not in the service area, or off, if the called party applies for the video message service, the video call will be used by the video interworking gateway (Video Interworking Gateway; Abbreviation: VIG) Go to the video message system. Under the video navigation interface played by the video message system, the calling user chooses to record the video message and hang up. After the recording is completed, the called user will receive a new video mail message or push. The WAP PUSH notification prompts the called user to go to the video message system to watch the video message.
但是发明人在实现本发明的过程中发现, 上述录制过程中, 通常会在刚开 始几秒钟存在非常严重的马赛克现象, 而目前的解决方案, 只有在基于会话初 始协议 ( Session Initiation Protocol; 以下简称: SIP ) 的垂直格式部件 (Vertical Format Unit; 以下简称: VFU )平台上, 可以解决刚开始录制时的
马赛克问题, 而对于不支持 VFU的 VIG网关和移动终端则无法解决该问题。 发明内容 However, in the process of implementing the present invention, the inventors have found that during the above recording process, there is usually a very serious mosaic phenomenon in the first few seconds, and the current solution is only based on the Session Initiation Protocol (Session Initiation Protocol; Abbreviation: SIP) Vertical Format Unit (hereinafter referred to as: VFU) platform, can solve the problem when the recording is started. Mosaic issues, but for VIG gateways and mobile terminals that do not support VFU, this problem cannot be solved. Summary of the invention
本发明实施例提供一种视频录制方法、 装置和系统, 用以消除视频录制刚 开始的马赛克现象。 Embodiments of the present invention provide a video recording method, apparatus, and system for eliminating a mosaic phenomenon at the beginning of video recording.
本发明实施例提供了一种视频录制方法, 包括: The embodiment of the invention provides a video recording method, including:
接收视频帧; Receiving a video frame;
当接收到视频录制请求时, 获取已存储的视频帧, 并对获取的视频帧以 及后续接收到的视频帧进行录制。 When a video recording request is received, the stored video frame is acquired, and the acquired video frame and subsequent received video frames are recorded.
本发明实施例提供了一种视频录制装置, 包括: The embodiment of the invention provides a video recording device, including:
第一接收单元, 用于接收视频帧; a first receiving unit, configured to receive a video frame;
第二接收单元, 用于接收视频录制请求; a second receiving unit, configured to receive a video recording request;
录制单元, 用于在第二接收单元接收到所述视频录制请求时, 获取已存 储的视频帧, 并对获取的所述视频帧以及所述第一接收单元后续接收到的视 频帧进行录制。 And a recording unit, configured to: when the second receiving unit receives the video recording request, acquire the stored video frame, and record the acquired video frame and the video frame subsequently received by the first receiving unit.
本发明实施例提供了一种视频留言系统, 包括: The embodiment of the invention provides a video message system, including:
视频互通网关, 用于发送视频帧; a video interworking gateway, configured to send video frames;
留言业务平台, 用于发送视频录制请求以及播放视频录制装置中录制的 视频; a message service platform for transmitting a video recording request and playing a video recorded in the video recording device;
视频录制装置, 用于接收视频帧, 并在接收到所述视频录制请求时, 获 取已进行存储的视频帧, 并对获取的所述视频帧以及后续接收到的视频帧进 行录制。 And a video recording device, configured to receive a video frame, and when receiving the video recording request, obtain a video frame that has been stored, and record the obtained video frame and the subsequently received video frame.
本发明实施例提供的视频录制方法、 装置和系统, 通过在视频录制请求前 对接收到的视频帧进行存储, 当接收到视频录制请求时获取已存储的视频帧, 并将获取的视频帧与后续接收到的视频帧一起录制, 避免了在收到视频录制请 求时直接进行录制导致所录制的帧不是完整帧从而形成马赛克的问题。
附图说明 The video recording method, apparatus, and system provided by the embodiments of the present invention store a received video frame before receiving a video recording request, acquire a stored video frame when receiving a video recording request, and acquire the acquired video frame. The subsequent received video frames are recorded together, avoiding the problem that the recorded frame is not a complete frame and thus forms a mosaic when the video recording request is received. DRAWINGS
图 1是本发明实施例中的视频录制流程示意图; 1 is a schematic diagram of a video recording process in an embodiment of the present invention;
图 2是本发明实施例实现视频录制预处理的流程图; 2 is a flowchart of implementing video recording preprocessing according to an embodiment of the present invention;
图 3是本发明实施例的视频录制流程图; 3 is a flow chart of video recording according to an embodiment of the present invention;
图 4是本发明实施例的视频录制装置的结构示意图; 4 is a schematic structural diagram of a video recording apparatus according to an embodiment of the present invention;
图 5是本发明实施例的视频留言系统的结构示意图; FIG. 5 is a schematic structural diagram of a video message system according to an embodiment of the present invention; FIG.
图 6是本发明实施例的视频留言系统的结构示意图; 6 is a schematic structural diagram of a video message system according to an embodiment of the present invention;
图 7是本发明实施例的视频留言系统的处理流程图。 具体实施方式 FIG. 7 is a flowchart of processing of a video message system according to an embodiment of the present invention. detailed description
为了使本技术领域的技术人员能更好的理解本发明实施例的方案,首先以视 频留言业务中的视频录制对视频录制流程进行简单的介绍, 图 1是本发明实施 例中的视频录制流程示意图, 参见图 1所示, 包括: In order to enable a person skilled in the art to better understand the solution of the embodiment of the present invention, the video recording process is briefly introduced by video recording in the video message service. FIG. 1 is a video recording process in the embodiment of the present invention. Schematic, see Figure 1, including:
S100: 主叫终端向视频互通网关 VIG发起视频呼叫; S100: The calling terminal initiates a video call to the video interworking gateway VIG.
S102 : 当被叫用户不可达, 需要进行视频留言时(如, 关机、 不在服务区), 视频互通网关 VIG将主叫终端发起的视频呼叫转发至留言业务平台。 S102: When the called user is unreachable and needs to perform video message (for example, shutdown, not in the service area), the video interworking gateway VIG forwards the video call initiated by the calling terminal to the message service platform.
S104 : 留言业务平台向视频互通网关返回呼叫应答。 S104: The message service platform returns a call response to the video interworking gateway.
S106:视频互通网关根据留言业务平台向视频互通网关返回的呼叫应答与视 频录制系统建立视频通话 , 视频录制系统开始从视频互通网关接收视频流。 S106: The video interworking gateway establishes a video call with the video recording system according to the call response returned by the message service platform to the video interworking gateway, and the video recording system begins to receive the video stream from the video interworking gateway.
S108 : 留言业务平台向视频录制系统发起视频录制请求。 S108: The message service platform initiates a video recording request to the video recording system.
S110: 视频录制系统根据接收到的视频录制请求对接收的视频帧进行录制。 由于视频互通网关在接收到留言业务平台返回呼叫应答后就开始向视频录制 系统发送视频流, 视频流是由视频帧组成的, 包括: I帧和 P帧。 其中 I帧是关键 帧, P帧是前向预测帧。 当解码器收到一个 I帧的时候, 可以解码成完整的视频图 像, 而不需要其它条件; 但是, 当解码器收到 P帧的时候, 就不能够解码成完整的
视频图像, 因为, P帧的解码需要解码器先解码该帧前面的 P帧或者 I帧。 如果前 面的 P帧或者 I帧在网络中丟掉, 即^^面连续收到艮多 P帧, 也无法解码出完整 的图像, 也就是说, 只有 I帧与下一个 I帧前的 P帧都含有时, 才是完整的视频图 像。 而在视频录制过程中, 当视频录制系统收到视频录制请求时, 其已经开始接收 视频帧, 那么, 如果此时直接对后续接收到的视频帧进行录制, 就可能导致开始录 制的帧不是 I帧, 那么在下一个 I帧之前所录制的帧在播放时就不能解码成完整的 视频图像, 从而形成马赛克。 本发明实施例通过在 S106 中, 对接收到的视频帧进 行存储, 并在 S110接收到视频录制请求时, 通过获取已存储的视频帧, 将获取的 视频帧与接收到视频录制请求所接收到的视频帧一起录制, 从而消除马赛克现象。 本发明实施例实现视频录制预处理的流程图, 如图 2所示, 包括: S110: The video recording system records the received video frame according to the received video recording request. After the video interworking gateway receives the call response from the message service platform, it starts to send a video stream to the video recording system. The video stream is composed of video frames, including: I frame and P frame. Wherein the I frame is a key frame and the P frame is a forward predicted frame. When the decoder receives an I frame, it can be decoded into a complete video image without other conditions; however, when the decoder receives the P frame, it cannot be decoded into a complete frame. Video image, because decoding of a P frame requires the decoder to first decode the P frame or I frame in front of the frame. If the previous P frame or I frame is dropped in the network, that is, the ^^ plane continuously receives more than one P frame, and the complete image cannot be decoded, that is, only the I frame and the P frame before the next I frame are both When it is included, it is the complete video image. In the video recording process, when the video recording system receives the video recording request, it has begun to receive the video frame. If the video frame is directly recorded to the subsequent received video frame, the frame that starts recording may not be I. Frame, then the frame recorded before the next I frame cannot be decoded into a complete video image during playback, thus forming a mosaic. In the embodiment of the present invention, the received video frame is stored in S106, and when the video recording request is received in S110, the acquired video frame is obtained by receiving the stored video frame and receiving the video recording request. The video frames are recorded together to eliminate mosaicism. A flowchart of implementing video recording preprocessing in the embodiment of the present invention, as shown in FIG. 2, includes:
S200: 接收视频帧。 S200: Receive a video frame.
视频互通网关将需要进行留言的视频呼叫前转到留言业务平台, 当接收到 留言业务平台返回的响应后, 与视频录制系统建立视频通话连接, 视频录制系 统开始从视频互通网关接收视频帧。 The video interworking gateway forwards the video call that needs to leave a message to the message service platform. After receiving the response returned by the message service platform, a video call connection is established with the video recording system, and the video recording system starts receiving video frames from the video interworking gateway.
S202 : 判断接收到的视频帧是否为 I帧, 如果是 I帧, 则执行 S204 ; 如果 是 P帧, 则执行 S206。 S202: Determine whether the received video frame is an I frame, if it is an I frame, execute S204; if it is a P frame, execute S206.
S204 : 直接存储接收到的视频帧。 S204: directly store the received video frame.
S206 : 从已存储的视频帧中获取最新存储的 I帧, 将获取的 I帧与 P帧进 行合成, 形成新的 I帧, 并存储该新的 I帧。 S206: Obtain the newly stored I frame from the stored video frame, synthesize the acquired I frame and the P frame, form a new I frame, and store the new I frame.
本发明实施例通过将录制前的视频帧以 I帧的形式存储, 使得在进行视频 录制时可以从已存储的视频帧中获取最新的 I帧与后续接收到的视频帧一起录 制, 使得在进行视频播放时能够播放完整的视频画面, 消除马赛克现象。 In the embodiment of the present invention, the video frame before recording is stored in the form of an I frame, so that the latest I frame can be obtained from the stored video frame and recorded along with the subsequently received video frame during video recording, so that the video frame is recorded. The video can play a complete video during playback, eliminating mosaics.
其中, 本发明实施例的 S204和 S206在存储视频帧的时候, 可以采用更新 的方式进行存储, 即用新的 I帧替换已存储的 I帧的方式进行存储, 这样可以 节约存储空间。 这里的存储, 一般是指緩存, 当开始录制或录制完成之后就可
删除。 当然, 在本发明实施例中, 也可以不对已存储的视频帧进行替换, 如果 采用不替换的方式进行存储, 则无需对接收到的视频帧进行合成处理, 在录制 的时候需要获取所有已存储的所有视频帧或者获取已存储的最新 I帧以及其后 存储的所有视频帧。 The S204 and the S206 in the embodiment of the present invention may store in a new manner when the video frame is stored, that is, the new I frame is used to replace the stored I frame, so that the storage space can be saved. The storage here generally refers to the cache, which can be started after recording or recording is completed. Delete. Of course, in the embodiment of the present invention, the stored video frame may not be replaced. If the storage is performed in a non-replacement manner, the received video frame does not need to be synthesized, and all stored data needs to be acquired during recording. All video frames or the latest I frame that has been stored and all video frames stored thereafter.
在本发明实施例中, 如果接收到了视频录制请求, 这时可以停止对接收到 的视频帧进行合成和存储处理, 视频录制系统开始进行视频录制处理。 In the embodiment of the present invention, if a video recording request is received, the synthesis and storage processing of the received video frame may be stopped, and the video recording system starts video recording processing.
这里的视频录制系统是指具备视频录制预处理功能的视频录制装置, 视频 现。 The video recording system here refers to a video recording device with video recording pre-processing function, and the video is now available.
下面再结合图 3对本发明实施例的视频录制流程进行说明, 图 3是本发明 实施例的视频录制流程图, 如图 3所示, 本发明的视频录制流程包括: The video recording process of the embodiment of the present invention is described below with reference to FIG. 3. FIG. 3 is a flowchart of video recording according to an embodiment of the present invention. As shown in FIG. 3, the video recording process of the present invention includes:
S300: 接收视频帧。 S300: Receive video frames.
该过程请参考 S200, 这里不再详述。 Please refer to S200 for this process, which will not be detailed here.
S302: 当接收到视频录制请求时, 获取已进行存储的视频帧, 并对获取的 视频帧以及后续接收到的视频帧进行录制。 S302: When receiving the video recording request, acquire the video frame that has been stored, and record the acquired video frame and the subsequently received video frame.
在还未接收到视频录制请求时, 视频录制系统会对接收到的视频帧进行存 储, 存储流程可以采用图 2所示的流程, 当接收到视频录制请求时, 视频录制 系统停止存储接收到的视频帧, 开始对后续接收到的视频帧进行录制, 在录制 时, 先从之前已经存储的视频帧中, 获取最新存储的 I帧, 然后对该 I帧进行 录制, 再对后续接收到的视频帧进行录制。 如果之前的录制方式是采用不进行 合成的全存储方式, 则在对后续接收到的视频帧进行录制时, 需要获取已存储 的全部视频帧, 并将获取的全部视频帧录制后再录制视频录制请求后接收到的 视频帧;或者, 先查找已存储的最近的 I帧, 然后获取该 I帧及其后的视频帧, 将这些获取的视频帧与视频录制请求后接收到的视频帧一起录制。 When the video recording request has not been received, the video recording system stores the received video frame, and the storage process can adopt the flow shown in FIG. 2. When receiving the video recording request, the video recording system stops storing the received video. The video frame starts to record the subsequently received video frame. When recording, the latest stored I frame is obtained from the previously stored video frame, and then the I frame is recorded, and then the subsequently received video is received. The frame is recorded. If the previous recording method is to use the full storage mode without synthesizing, when recording the subsequent received video frames, it is necessary to acquire all the stored video frames, and record all the captured video frames before recording the video recording. The video frame received after the request; or, first search for the most recent I frame that has been stored, and then acquire the I frame and subsequent video frames, and record the acquired video frames together with the video frames received after the video recording request. .
本发明实施例在进行视频录制的时候, 如果接收到的视频帧不是 I帧, 则 通过获取开始录制之前的视频帧, 使得开始录制的帧是 I帧, 从而消除马赛克。
图 4是本发明实施例的视频录制装置的结构示意图, 如图 4所示, 包括: 第一接收单元 401 , 用于接收视频帧; In the embodiment of the present invention, when the video frame is received, if the received video frame is not an I frame, the video frame before starting the recording is obtained, so that the frame to be recorded is an I frame, thereby eliminating the mosaic. 4 is a schematic structural diagram of a video recording apparatus according to an embodiment of the present invention. As shown in FIG. 4, the method includes: a first receiving unit 401, configured to receive a video frame;
第二接收单元 402 , 用于接收视频录制请求; a second receiving unit 402, configured to receive a video recording request;
录制单元 403 , 用于在第二接收单元 402接收到视频录制请求时, 获取已进 行存储的视频帧, 并对获取的视频帧以及第一接收单元 401 后续接收到的视频 帧进行录制。 The recording unit 403 is configured to: when the second receiving unit 402 receives the video recording request, acquire the video frame that has been stored, and record the acquired video frame and the video frame that is subsequently received by the first receiving unit 401.
本发明实施例的视频录制装置在进行视频录制的时候, 如果接收到的视频 帧不是 I帧, 则通过获取开始录制之前的视频帧, 使得开始录制的帧是 I帧, 从而消除马赛克。 When the video recording apparatus of the embodiment of the present invention performs video recording, if the received video frame is not an I frame, the video frame before the start of recording is acquired, so that the frame to be recorded is an I frame, thereby eliminating the mosaic.
为了使视频录制装置能够方便的获取已存储的视频帧, 视频录制装置还可 以包括用于存储视频帧的存储单元 404 ,录制单元 403直接从视频录制装置内部 的存储单元 404 获取已存储的视频帧, 以避免和其它存储设备进行频繁交互造 成资源浪费。 In order to enable the video recording apparatus to conveniently acquire the stored video frames, the video recording apparatus may further include a storage unit 404 for storing video frames, and the recording unit 403 directly acquires the stored video frames from the storage unit 404 inside the video recording apparatus. To avoid frequent waste of resources with other storage devices.
当然, 视频录制的预处理功能可以由独立的设备来完成, 也可以由视频录 制装置来完成, 因此, 视频录制装置还可以包括: Of course, the pre-processing function of the video recording may be performed by a separate device or by a video recording device. Therefore, the video recording device may further include:
判断单元 405 , 用于在第二接收单元 402还未接收到所述视频录制请求时, 判断第一接收单元 401接收到的视频帧是否为 I帧, 若为 I帧, 则发送到存储 单元 404进行存储, 若为 P帧, 则发送到合成单元 406进行合成。 The determining unit 405 is configured to determine, when the second receiving unit 402 has not received the video recording request, whether the video frame received by the first receiving unit 401 is an I frame, and if it is an I frame, send to the storage unit 404. The storage is performed, and if it is a P frame, it is sent to the synthesizing unit 406 for synthesis.
合成单元 406 , 用于将 P帧与存储单元 404中存储的最新 I帧进行合成, 形 成新的 I帧, 将新的 I帧存储到存储单元 404中。 The synthesizing unit 406 is configured to synthesize the P frame and the latest I frame stored in the storage unit 404 to form a new I frame, and store the new I frame in the storage unit 404.
图 5是本发明实施例的视频留言系统的结构示意图, 如图 5所示, 本发明 实施例提供的视频录制装置可以应用在视频留言业务中, 当其应用在视频留言 业务中时, 视频留言系统包括: FIG. 5 is a schematic structural diagram of a video message system according to an embodiment of the present invention. As shown in FIG. 5, the video recording apparatus provided in the embodiment of the present invention can be applied to a video message service, and when the video message service is used in the video message service, the video message is used. The system includes:
视频互通网关 501 , 用于发送视频帧; a video interworking gateway 501, configured to send a video frame;
留言业务平台 502 ,用于发送视频录制请求以及播放视频录制装置中录制的 视频;
视频录制装置 503 , 用于接收视频帧, 并在接收到视频录制请求时, 获取已 进行存储的视频帧, 并对获取的视频帧以及后续接收到的视频帧进行录制。 a message service platform 502, configured to send a video recording request and play a video recorded in the video recording device; The video recording device 503 is configured to receive a video frame, and when receiving the video recording request, acquire a video frame that has been stored, and record the acquired video frame and the subsequently received video frame.
当本发明实施例的视频录制装置 503应用在视频留言系统中时, 视频录制 装置 503可以设置在留言业务平台 502中, 也可以仅将视频录制装置 503中对 视频录制的功能设置在留言业务平台 502中, 进行预处理的功能单独设置。 图 6 是本发明实施例的视频留言系统的结构示意图, 如图 6 所示, 为视频录制预处 理功能单独设置, 视频录制功能设置在留言业务平台中的视频留言系统的结构 示意图, 包括: When the video recording device 503 of the embodiment of the present invention is applied to the video message system, the video recording device 503 may be disposed in the message service platform 502, or only the function of recording the video in the video recording device 503 may be set on the message service platform. In 502, the function of performing preprocessing is separately set. 6 is a schematic structural diagram of a video message system according to an embodiment of the present invention. As shown in FIG. 6, a structure diagram of a video message system in which a video recording function is separately set for a video recording pre-processing function and a video recording function is set in a message service platform includes:
视频互通网关 VIG601 , 用于通过 3G网络从移动终端接收视频帧。 其主要负 责一些视频媒体转换的事务。 Video Interworking Gateway VIG601 is used to receive video frames from mobile terminals over a 3G network. It is primarily responsible for some video media conversion transactions.
视频录制合成系统 602 , 用于对接收到的视频帧进行存储, 并在接收到留言 业务平台 603的视频录制请求时, 向其提供其需要的视频帧。 The video recording and synthesizing system 602 is configured to store the received video frame, and when receiving the video recording request of the message service platform 603, provide the video frame it needs.
留言业务平台 603 , 用于从视频录制合成系统 602获取视频帧, 并进行视频 录制。 留言业务平台 603还负责与 VIG601建立视频呼叫连接。 其与 VIG601 以 及视频录制合成系统 602之间可以通过互联网十办议( Internet Protocol ; 以下 简称: IP ) 网络通信。 留言业务平台 603可以包括视频录制设备 604和视频播 放设备 605。 The message service platform 603 is configured to acquire a video frame from the video recording and synthesizing system 602, and perform video recording. The message service platform 603 is also responsible for establishing a video call connection with the VIG 601. It can communicate with the VIG601 and the video recording and synthesizing system 602 via the Internet Protocol (Internet Protocol; IP). The messaging service platform 603 can include a video recording device 604 and a video playback device 605.
其中视频录制合成系统 602还可以具体包括: The video recording and synthesizing system 602 can also specifically include:
视频接收单元 606 , 用于接收视频流, 并控制视频流传输方向。 在未收到视 频录制请求时, 发送视频合成请求, 否则传输视频流到视频录制接口单元 607 , 以将其发送给视频录制设备 604进行视频录制。 The video receiving unit 606 is configured to receive a video stream and control a video stream transmission direction. When the video recording request is not received, a video composition request is sent, otherwise the video stream is transmitted to the video recording interface unit 607 for transmission to the video recording device 604 for video recording.
视频緩存判断单元 608 , 用于判断视频接收单元 606接收的视频流, 如果是 I帧, 则发送到信息緩存单元 609进行緩存; 如果不是 I帧(这里以 P帧为例), 则发送到视频合成单元 610进行视频合成。 The video buffer judging unit 608 is configured to determine the video stream received by the video receiving unit 606, if it is an I frame, send it to the information buffer unit 609 for buffering; if it is not an I frame (here, the P frame is taken as an example), the video stream is sent to the video. The synthesizing unit 610 performs video synthesis.
视频合成单元 610, 从视频緩存判断单元 608接收 P帧, 并从信息緩存单元 The video synthesizing unit 610 receives the P frame from the video buffer judging unit 608, and the information buffer unit
609获取最新的 I帧,合成新的 I帧,把合成的新 I帧回传给信息緩存单元 609。
信息緩存单元 609 , 用于从视频緩存判断单元 608接收最新的 I帧, 如果已 经緩存有 I帧, 则替换已有的 I帧, 否则就緩存接收到的 I帧; 或者从视频合 成单元 610接收合成的 I帧, 替换已有的 I帧; 并在接收到视频录制请求时, 发送緩存的 I帧到视频录制接口单元 607。 609 acquires the latest I frame, synthesizes a new I frame, and returns the synthesized new I frame to the information buffer unit 609. The information buffering unit 609 is configured to receive the latest I frame from the video buffer determining unit 608, replace the existing I frame if the I frame has been buffered, or cache the received I frame; or receive the received I frame from the video synthesizing unit 610. The synthesized I frame replaces the existing I frame; and when the video recording request is received, the buffered I frame is sent to the video recording interface unit 607.
视频录制接口单元 607 ,用于从信息緩存单元 609接收最新的 I帧以及从视 频接收单元 606接收视频帧, 提供给留言业务平台 603。 The video recording interface unit 607 is configured to receive the latest I frame from the information buffer unit 609 and receive the video frame from the video receiving unit 606 for the message service platform 603.
图 7是本发明实施例的视频留言系统的处理流程图, 以下结合图 7对图 6 中的视频留言系统的视频处理流程进行说明, 具体包括: FIG. 7 is a flowchart of processing a video message system according to an embodiment of the present invention. The video processing flow of the video message system in FIG. 6 is described below with reference to FIG. 7, which specifically includes:
1、 3G视频合成流程: 1, 3G video synthesis process:
S700: 用户终端 (Mobi le Sta t ion; 以下简称: MS )发送视频呼叫请求; S700: The user terminal (Mobi Le Sta t ion; hereinafter referred to as MS) sends a video call request;
S702: VIG前转视频呼叫到留言业务平台; S702: VIG forwards the video call to the message service platform;
S704: 留言业务平台回应 VIG视频呼叫应答, 视频通话连接建立; S704: The message service platform responds to the VIG video call response, and the video call connection is established;
S706: VIG发送视频通话请求; S706: The VIG sends a video call request.
S708: 视频接收单元从 V I G接收视频流; S708: The video receiving unit receives the video stream from the V I G;
S710: 视频接收单元发送视频流到视频緩存判断单元, 请求视频流合成; S710: The video receiving unit sends a video stream to the video buffer determining unit to request video stream synthesis.
S712:视频緩存判断单元判断视频流,如果视频帧( frame )是 i帧( i-frame ), 转到流程 S 714 ,执行 S714 - S716 ;如果 f rame不是 i-frame,这里以 p帧( p-f r ame ) 为例, 转到流程 S718; S712: The video buffer judging unit judges the video stream. If the video frame (frame) is an i-frame (i-frame), go to the process S 714 and execute S714-S716; if the f-meme is not an i-frame, the p-frame (pf) r ame ) as an example, go to process S718;
S714: 如果是 frame是 i-f rame, 视频緩存判断单元发送 frame到信息緩存 单元进行緩存; S714: If the frame is an i-f rame, the video buffer judging unit sends the frame to the information cache unit for caching;
S716:信息緩存单元判断是否已经緩存 i-frame, 如果已经緩存 i-frame, 使用接收到的新 i-f rame替换已緩存的 i-f rame ,否则就緩存接收到的 i-frame; S716: The information cache unit determines whether the i-frame has been cached. If the i-frame has been cached, the cached i-frame is replaced with the received new i-fram, otherwise the received i-frame is cached.
S718:如果 frame是 p-frame, 视频緩存判断单元发送 frame到视频合成单 元进行视频合成; S718: If the frame is a p-frame, the video buffer judging unit sends the frame to the video synthesizing unit for video synthesis;
S720: 视频合成单元到信息緩存单元请求最新的 i-f rame; S720: the video synthesizing unit requests the latest i-frame from the information buffer unit;
S722: 信息緩存单元返回最新的 i-f rame;
S724: 视频合成单元把 i-frame与 p_frame合成新的 i-f rame; S722: The information cache unit returns the latest if rame; S724: The video synthesizing unit synthesizes the i-frame and the p_frame into a new if rame;
S726: 视频合成单元把合成的新的 i-frame发送给信息緩存单元; S726: The video synthesizing unit sends the synthesized new i-frame to the information buffer unit.
S728:信息緩存单元接收视频合成单元的 i-frame,并替换已有的 i-frame; 从流程 S706到流程 S728是一个持续进行的过程, 直到收到视频录制的请 求, 信息緩存单元把最新的 i-frame发送给视频录制接口单元, 3G视频合成流 程结束, 进入到视频录制流程。 S728: The information buffer unit receives the i-frame of the video synthesizing unit and replaces the existing i-frame; from process S706 to process S728, an ongoing process is performed until the video recording request is received, and the information cache unit updates the latest The i-frame is sent to the video recording interface unit, and the 3G video synthesis process ends, and the video recording process is entered.
2、 3G视频录制流程: 2, 3G video recording process:
S730: 留言业务平台向视频录制接口单元发送视频录制请求; S730: The message service platform sends a video recording request to the video recording interface unit.
S732: 视频录制接口单元请求信息緩存单元发送緩存的 i-frame; S732: the video recording interface unit requests the information buffer unit to send the cached i-frame;
S734: 信息緩存单元返回最新的 i-f rame; S734: the information cache unit returns the latest i-f rame;
S736: 视频录制接口单元请求视频接收单元接收视频流; S736: The video recording interface unit requests the video receiving unit to receive the video stream.
S738: 视频接收单元停止发送视频流到视频緩存判断单元; S738: The video receiving unit stops sending the video stream to the video buffer determining unit;
S740: 视频接收单元发送接收到的视频流到视频录制接口单元; S740: The video receiving unit sends the received video stream to the video recording interface unit.
S742:视频录制接口单元返回视频流到留言业务平台, 进行视频录制。 S742: The video recording interface unit returns the video stream to the message service platform for video recording.
本发明实施例通过在视频录制请求前对接收到的视频帧进行存储, 当接收 到视频录制请求时获取已存储的视频帧, 并将获取的视频帧与后续接收到的视 频帧一起录制, 避免了在收到视频录制请求时直接进行录制导致所录制的帧不 是完整帧从而形成马赛克的问题。 In the embodiment of the present invention, the received video frame is stored before the video recording request, and the stored video frame is acquired when the video recording request is received, and the obtained video frame is recorded together with the subsequently received video frame to avoid Recording directly when a video recording request is received results in a problem that the recorded frame is not a full frame to form a mosaic.
通过以上的实施例的描述, 本领域普通技术人员可以理解: 实现上述实施 例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成, 所述的 程序可以存储于一计算机可读取存储介质中, 该程序在执行时, 包括如上述方 法实施例的步骤, 所述的存储介质, 如: R0M/RAM、 磁碟、 光盘等。 Through the description of the above embodiments, those skilled in the art can understand that all or part of the steps of the foregoing embodiments can be implemented by a program to instruct related hardware, and the program can be stored in a computer readable manner. In the storage medium, when the program is executed, the method includes the steps of the foregoing method embodiment, such as: ROM/RAM, magnetic disk, optical disk, and the like.
以上所述, 仅为本发明的具体实施例, 但本发明的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到变化 或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应以权 利要求的保护范围为准。
The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of protection of the claims.
Claims
1、 一种视频录制方法, 其特征在于, 包括: A video recording method, comprising:
接收视频帧; Receiving a video frame;
当接收到视频录制请求时, 获取已存储的视频帧, 并对获取的视频帧以 及后续接收到的视频帧进行录制。 When a video recording request is received, the stored video frame is acquired, and the acquired video frame and subsequent received video frames are recorded.
2、 如权利要求 1 所述的方法, 其特征在于, 还包括: 在还未接收到所 述视频录制请求时, 对接收的视频帧进行存储。 2. The method of claim 1, further comprising: storing the received video frame when the video recording request has not been received.
3、 如权利要求 2 所述的方法, 其特征在于, 所述对接收的视频帧进行 存储具体包括: 若接收的视频帧为 I帧, 则存储所述 I帧, 若接收的视频帧 为 P帧, 则将所述视频帧与之前存储的 I帧进行合成, 形成新的 I帧, 并存 储所述新的 I帧。 The method of claim 2, wherein the storing the received video frame comprises: if the received video frame is an I frame, storing the I frame, if the received video frame is P The frame then combines the video frame with the previously stored I frame to form a new I frame, and stores the new I frame.
4、 如权利要求 3所述的方法, 其特征在于, 所述获取已存储的视频帧 具体为: 获取已存储的最新 I帧。 4. The method according to claim 3, wherein the acquiring the stored video frame is specifically: acquiring the latest I frame that has been stored.
5、 如权利要求 3或 4所述的方法, 其特征在于, 所述存储包括: 以更 新的方式进行存储。 5. The method of claim 3 or 4, wherein the storing comprises: storing in an updated manner.
6、 一种视频录制装置, 其特征在于, 包括: 6. A video recording device, comprising:
第一接收单元, 用于接收视频帧; a first receiving unit, configured to receive a video frame;
第二接收单元, 用于接收视频录制请求; a second receiving unit, configured to receive a video recording request;
录制单元, 用于在第二接收单元接收到所述视频录制请求时, 获取已存 储的视频帧,并对获取的所述视频帧以及所述第一接收单元后续接收到的视 频帧进行录制。 And a recording unit, configured to: when the second receiving unit receives the video recording request, acquire the stored video frame, and record the acquired video frame and the video frame subsequently received by the first receiving unit.
7、 如权利要求 6所述的装置, 其特征在于, 还包括: 7. The device of claim 6, further comprising:
存储单元, 用于存储所述视频帧; a storage unit, configured to store the video frame;
所述录制单元从所述存储单元获取已存储的视频帧。 The recording unit acquires a stored video frame from the storage unit.
8、 如权利要求 7 所述的装置, 其特征在于, 还包括: 判断单元和合并 单元,
所述判断单元用于在所述第二接收单元还未接收到所述视频录制请求 时, 判断所述第一接收单元接收到的视频帧是否为 I帧, 若为 I帧, 则发送 到所述存储单元进行存储, 若为 P帧, 则发送到合成单元进行合成; 8. The apparatus according to claim 7, further comprising: a judging unit and a merging unit, The determining unit is configured to determine, when the second receiving unit has not received the video recording request, whether the video frame received by the first receiving unit is an I frame, and if it is an I frame, send the message to the office The storage unit performs storage, and if it is a P frame, it is sent to the synthesizing unit for synthesis;
所述合成单元用于将 P帧的视频帧与所述存储单元中存储的最新 I帧进 行合成, 形成新的 I帧, 将所述新的 I帧存储到所述存储单元中。 The synthesizing unit is configured to synthesize a video frame of a P frame with a latest I frame stored in the storage unit to form a new I frame, and store the new I frame into the storage unit.
9、 如权利要求 8 所述的装置, 其特征在于, 所述录制单元从所述存储 单元获取的视频帧为所述存储单元中存储的最新 I帧。 9. The device according to claim 8, wherein the video frame acquired by the recording unit from the storage unit is the latest I frame stored in the storage unit.
10、 如权利要求 8或 9所述的装置, 其特征在于, 所述存储单元采用更 新的方式进行存储。 10. Apparatus according to claim 8 or claim 9 wherein said storage unit is stored in an updated manner.
11、 一种视频留言系统, 其特征在于, 包括: 11. A video message system, comprising:
视频互通网关, 用于发送视频帧; a video interworking gateway, configured to send video frames;
留言业务平台, 用于发送视频录制请求以及播放视频录制装置中录制的 视频; a message service platform for transmitting a video recording request and playing a video recorded in the video recording device;
视频录制装置, 用于接收视频帧, 并在接收到所述视频录制请求时, 获 取已进行存储的视频帧,并对获取的所述视频帧以及后续接收到的视频帧进 行录制。 And a video recording device, configured to receive a video frame, and when receiving the video recording request, obtain a video frame that has been stored, and record the obtained video frame and the subsequently received video frame.
12、 如权利要求 11 所述的系统, 其特征在于, 所述视频录制装置与所 述留言业务平台可以完全合设或部分功能合设。
The system of claim 11, wherein the video recording device and the message service platform can be completely combined or partially combined.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810216625.6 | 2008-09-28 | ||
CN2008102166256A CN101686358B (en) | 2008-09-28 | 2008-09-28 | Video recording method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2010034234A1 true WO2010034234A1 (en) | 2010-04-01 |
Family
ID=42049285
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2009/074102 WO2010034234A1 (en) | 2008-09-28 | 2009-09-22 | Video recording method, device and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101686358B (en) |
WO (1) | WO2010034234A1 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102256119B (en) * | 2010-05-20 | 2013-06-05 | 华为终端有限公司 | Video recording method and apparatus thereof |
CN106231413B (en) * | 2016-08-03 | 2019-05-14 | 深圳市智行畅联科技有限公司 | A kind of automatic division processing method of audio, video data based on intelligent terminal and system |
CN106331555A (en) * | 2016-08-31 | 2017-01-11 | 浙江大华技术股份有限公司 | Video prerecording method and device |
CN109218645A (en) * | 2017-07-06 | 2019-01-15 | 杭州海康威视数字技术股份有限公司 | A kind of multi-medium data recording method and device |
CN110012251B (en) * | 2018-01-04 | 2022-05-20 | 腾讯科技(深圳)有限公司 | Video recording method, device and readable storage medium |
CN109309871B (en) * | 2018-08-07 | 2019-05-28 | 贵州点点云数字技术有限公司 | Key frame movement range detection system |
CN110099238A (en) * | 2019-05-31 | 2019-08-06 | 杭州涂鸦信息技术有限公司 | A kind of packaging method of video requency frame data, intelligent terminal and storage device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006254339A (en) * | 2005-03-14 | 2006-09-21 | Ntt Docomo Inc | Video recording apparatus, video recording system, and video recording method |
CN101159784A (en) * | 2007-11-06 | 2008-04-09 | 中兴通讯股份有限公司 | Video mailbox leave message storing method |
CN101170611A (en) * | 2007-11-16 | 2008-04-30 | 中兴通讯股份有限公司 | Method and system for realizing audio and video mailbox service |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100374245B1 (en) * | 1996-04-19 | 2003-05-09 | 오끼 덴끼 고오교 가부시끼가이샤 | Image Encoder, Image Decoder and Image Transfer System |
US6865374B2 (en) * | 2001-09-18 | 2005-03-08 | Koninklijke Philips Electronics N.V. | Video recovery system and method |
CN1925596A (en) * | 2005-09-02 | 2007-03-07 | 上海乐金广电电子有限公司 | Individual video storing device and its image playing method |
KR100846802B1 (en) * | 2007-02-14 | 2008-07-16 | 삼성전자주식회사 | Method of decoding motion picture frame and method of encoding the same |
-
2008
- 2008-09-28 CN CN2008102166256A patent/CN101686358B/en active Active
-
2009
- 2009-09-22 WO PCT/CN2009/074102 patent/WO2010034234A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006254339A (en) * | 2005-03-14 | 2006-09-21 | Ntt Docomo Inc | Video recording apparatus, video recording system, and video recording method |
CN101159784A (en) * | 2007-11-06 | 2008-04-09 | 中兴通讯股份有限公司 | Video mailbox leave message storing method |
CN101170611A (en) * | 2007-11-16 | 2008-04-30 | 中兴通讯股份有限公司 | Method and system for realizing audio and video mailbox service |
Also Published As
Publication number | Publication date |
---|---|
CN101686358B (en) | 2012-07-04 |
CN101686358A (en) | 2010-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2010034234A1 (en) | Video recording method, device and system | |
KR100932350B1 (en) | Video communication methods, video communication systems, and integrated media resource servers | |
CN1277415C (en) | Mixed-media telecommunication call set-up | |
WO2009024043A1 (en) | Video inter-working gateway equipment, system and method for realizing video call service | |
CN101437047B (en) | Method, system and media server for playback/ sound-recording for user terminal | |
WO2007118380A1 (en) | Method, system and device for negotiating voice coding/decoding in communication system | |
JP2005510133A (en) | Data transmission system | |
US8078173B2 (en) | Data transfer system, approach notification system and data transfer method | |
US8941713B2 (en) | Video phone call method having function of adjusting resolution quality and video phone call apparatus supporting the same | |
US8339439B2 (en) | Method of speeding up video recovery of videotelephony after an interruption and mobile terminal and system using the same | |
JP5684386B2 (en) | Web-based access to video content associated with voicemail | |
JP2005269217A (en) | Sip server | |
JP2007088772A (en) | Mobile communication terminal | |
JP2009223307A (en) | Communication system for building speech database for speech synthesis, relay device therefor, and relay method therefor | |
WO2019228534A1 (en) | Media transmission method and h323-sip gateway | |
WO2010083773A1 (en) | Coding-decoding negotiation method, communication system, and device for encrypted voice call | |
JP4331195B2 (en) | Telephone system | |
JP4429947B2 (en) | Mobile terminal device | |
JP5498435B2 (en) | Congestion control device and operation method thereof | |
US20090303309A1 (en) | Mobile terminal and method for transmitting video data in video telephony system | |
WO2006131043A1 (en) | Method for processing video telephone call in mobile communication network | |
US20100123768A1 (en) | Video-telephony terminal and method for controlling video-telephony terminal | |
CN115102927B (en) | SIP intercom method, system and storage device for keeping video clear | |
KR100739306B1 (en) | Processing method of multi-media message | |
CN101166302B (en) | Service switching method and system |
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: 09815603 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: 09815603 Country of ref document: EP Kind code of ref document: A1 |