CN101197994A - Video and audio synchronization process - Google Patents

Video and audio synchronization process Download PDF

Info

Publication number
CN101197994A
CN101197994A CNA2006101618685A CN200610161868A CN101197994A CN 101197994 A CN101197994 A CN 101197994A CN A2006101618685 A CNA2006101618685 A CN A2006101618685A CN 200610161868 A CN200610161868 A CN 200610161868A CN 101197994 A CN101197994 A CN 101197994A
Authority
CN
China
Prior art keywords
video
file
audio
server
synchronization method
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CNA2006101618685A
Other languages
Chinese (zh)
Inventor
张嵩
傅力
吴建军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNA2006101618685A priority Critical patent/CN101197994A/en
Publication of CN101197994A publication Critical patent/CN101197994A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a video audio synchronization method comprising the following steps that: when a first server is recording video contents, a video file and at least one corresponding audio file are respectively stored in different files, and both the video file and the audio file have complete timestamp information; when a second server is transmitting a video play request, correlated information between the video file and one audio file is assigned; when receiving the video playing request, the first server chooses the corresponding video file and audio file according to the assigned correlated information and then plays the two files synchronously according to the timestamp information in the video file and the audio file . Thus, the video audio synchronization is realized.

Description

Video and audio synchronization method
Technical field
The present invention relates to next generation network (NGN) field, more specifically, relate to a kind of method of utilizing media server to realize video and audio sync.
Background technology
In present NGN field, media server is as core media resource apparatus in the network, its major function is exactly that medium control signaling by control appliance provides voice service to network, and along with the development of NGN technology, Video service also becomes one of critical function of media server day by day.
Video and audio frequency be the important step that media server provides video capability synchronously.Generally, the Voice ﹠ Video deposit data and is undertaken by timestamp in a media file synchronously.Because Voice ﹠ Video is stored together, change sound accompaniment all needs to record a new media file at every turn.Along with multilingual application is increasingly extensive, this traditional video and audio sync technology show bigger limitation.
Summary of the invention
For can be under the situation of multiple audio scene of a kind of video configuration or a plurality of videos of a kind of audio configuration, realize video and audio sync, the present invention proposes a kind of video and audio synchronization method, greatly perfect video that media server provides in the next generation network and audio-frequency function.
The invention provides a kind of video and audio synchronization method, it may further comprise the steps: step S102, first server is when the recorded video content, video file is stored in respectively in the different files with corresponding with it at least a audio file, all stores the information of complete timestamp in video file and the audio file; Step S104, second server when sending the video playback request, the related information between designated file and a kind of audio file; And step S106, first server according to the related information of appointment in the video playback request, is selected corresponding video file and audio file when receiving the video playback request, according to the information of the timestamp in video file and the audio file, carry out synchronous playing then.
According to the present invention, first server is a media server; In addition, second server of the present invention is a service server.
According to the present invention, timestamp comprises dual mode: absolute time is stabbed and relative time stabs; Video file of the present invention adopts identical timestamp mode with audio file.
In addition, related information according to the present invention comprises following at least a: the title of video file, the title of audio file, languages or scene information.
Timestamp is a kind of mark of identified time, and video and literal should adopt with a kind of timestamp mode and identify on the same group.Absolute time is stabbed and to be meant and to adopt absolute time to come the mark (that is, current system time) of identified time, and being marked at of adopting that absolute time stabs calculated the side-play amount that each time point and time started put when playing; It is to adopt relative time to come the mark (that is, current system time is with respect to the side-play amount of time started) of identified time that relative time stabs, and adopts being marked at of relative time stamp to calculate the side-play amount of each time point with the time started point when recording.The timestamp that side-play amount is identical is exactly a synchronous points, the expression mode and the registration accuracy of timestamp are decided according to the actual requirements, for example, with year, month, day, hour, min, second and millisecond or year, month, day, hour, min, second, millisecond, microsecond and nanosecond represent absolute time, with second, millisecond, microsecond or microsecond represent relative time stamp etc.
Therefore, the present invention has realized following technique effect: the Voice ﹠ Video function of utilizing media server to provide, video and audio frequency assembled scheme flexibly are provided, have realized video and audio sync, and, the present invention is easy to realize, under the very low situation of infusion of financial resources, just can be so that the user overlaps audio frequency for same video configuration more, simultaneously, the greatly perfect video that media server provides in the next generation network, audio-frequency function have improved the adaptability and the storage efficiency of video playback effectively.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart according to video of the present invention and audio synchronization method;
Fig. 2 is according to embodiments of the invention, utilizes media server to realize the flow chart of video record real-time video and audio sync; And
Fig. 3 is the block diagram according to video of the present invention and audio sync device.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 1 is the flow chart according to video of the present invention and audio synchronization method.Fig. 2 is according to embodiments of the invention, utilizes media server to realize the flow chart of video record real-time video and audio sync.
In the present invention, the next generation network equipment that relates generally to comprises: media server, application server and terminal.
Media server: unification provides the media resource processing capacity in next generation network, accepts the control of application server, and its medium connect by IP bearer network and gateway or IP terminal interaction, have embodied the networking thought that control separates with carrying.
Application server: be the core component of intelligent network, storaging user data and service logic; Trigger operation flow according to service logic, in the Business Processing process, control media server as required media resource is provided, thereby realize various business function.
Terminal: the man-machine interface with the user, interactive modes such as audio frequency, video, literal are provided, be the final destination and the origin of video playback and video record.
In an embodiment of the present invention, media server is used to provide the specific implementation of video capability; Application server is used to provide the video traffic process control; Terminal is used to provide the source of media of video record and the media exhibition of video playback.
With reference to foregoing description, in conjunction with Fig. 2 introduction video of the present invention as shown in Figure 1 and the specific implementation process of audio synchronization method.As shown in Figure 1, the step of video and audio synchronization method comprises:
Step S102, first server are stored in video file respectively in the different files with corresponding with it at least a audio file when the recorded video content, all store the information of complete timestamp in video file and the audio file;
It is corresponding to as shown in Figure 2 step S202: media server records one group of file of video content in advance, comprise main video file and supporting with it several audio files, or main audio file and supporting with it several video files, or the several video files and the audio file that complement one another, these files adopt identical timestamp mode, all deposit complete timestamp information in each file.
Step S104, second server when sending the video playback request, the related information between designated file and a kind of audio file;
It is corresponding to as shown in Figure 2 step S204: service server sends the video playback request to media server, and indication needs the scene information play, comprises video file name and audio file name.
Step S106, first server is when receiving the video playback request, related information according to appointment in the video playback request, select corresponding video file and audio file, then according to the information of the timestamp in video file and the audio file, carry out synchronous playing, it is corresponding to as shown in Figure 2 step S206 and step S208:
S206: media server is chosen corresponding video, audio file according to video, audio-frequency information after receiving the video playback request, and carries out synchronously according to the timestamp information in two files;
S208, the media data after terminal sends synchronously.
So just finished the process of utilizing media server to realize video record real-time video and audio sync.
Fig. 3 is the block diagram according to video of the present invention and audio sync device.
Among the present invention, video as shown in Figure 3 and audio sync device comprise: recording and storing unit 302, be positioned on first server, be used for when the recorded video content, video file is stored in respectively in the different files with corresponding with it at least a audio file, all store the information of complete timestamp in video file and the audio file, wherein, first server is a media server; Playing request unit 304 is positioned on the second server, is used for when sending the video playback request, and the related information between designated file and at least a audio file, wherein, second server is a service server; And synchronous superpositing unit 306, be positioned on first server, be used for when receiving the video playback request, related information according to appointment in the video playback request, select corresponding video file and audio file, according to the information of the timestamp in video file and the audio file, carry out synchronous playing then.
In the present invention, timestamp comprises dual mode: absolute time is stabbed and relative time stabs; Video file adopts identical timestamp mode with audio file.
In addition, related information of the present invention comprises following at least a: the title of video file, the title of audio file, languages or scene information.
As mentioned above, video of the present invention as can be seen and audio synchronization method are perfect existing video and Audiotechnica realized video and audio sync, simultaneously, under the situation that drops into a small amount of fund, just can be so that the user side just overlaps audio frequency for same video configuration more.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. video and audio synchronization method is characterized in that, may further comprise the steps:
Step S102, first server are stored in video file respectively in the different files with corresponding with it at least a audio file when the recorded video content, all store the information of complete timestamp in described video file and the described audio file;
Step S104, second server is specified the related information between described video file and a kind of described audio file when sending the video playback request; And
Step S106, described first server is when receiving described video playback request, described related information according to appointment in the described video playback request, select corresponding described video file and described audio file, according to the information of the described timestamp in described video file and the described audio file, carry out synchronous playing then.
2. video according to claim 1 and audio synchronization method is characterized in that, described first server is a media server.
3. video according to claim 1 and 2 and audio synchronization method is characterized in that described second server is a service server.
4. video according to claim 1 and 2 and audio synchronization method is characterized in that, described timestamp comprises dual mode: absolute time is stabbed and relative time stabs.
5. video according to claim 4 and audio synchronization method is characterized in that, described video file adopts identical timestamp mode with described audio file.
6. video according to claim 1 and 2 and audio synchronization method is characterized in that, described related information comprises following at least a: the title of described video file, the title of described audio file, languages or scene information.
CNA2006101618685A 2006-12-05 2006-12-05 Video and audio synchronization process Pending CN101197994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006101618685A CN101197994A (en) 2006-12-05 2006-12-05 Video and audio synchronization process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006101618685A CN101197994A (en) 2006-12-05 2006-12-05 Video and audio synchronization process

Publications (1)

Publication Number Publication Date
CN101197994A true CN101197994A (en) 2008-06-11

Family

ID=39548096

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006101618685A Pending CN101197994A (en) 2006-12-05 2006-12-05 Video and audio synchronization process

Country Status (1)

Country Link
CN (1) CN101197994A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010022598A1 (en) * 2008-08-25 2010-03-04 华为技术有限公司 Method and system for switching iptv channels, method and device for sending audio and video streams
CN103037269A (en) * 2011-10-07 2013-04-10 埃森哲环球服务有限公司 Synchronizing digital media content
WO2017000554A1 (en) * 2015-06-29 2017-01-05 高翔 Audio and video file generation method, apparatus and system
CN110418183A (en) * 2019-08-05 2019-11-05 北京字节跳动网络技术有限公司 Audio and video synchronization method, device, electronic equipment and readable medium
CN112653896A (en) * 2020-11-24 2021-04-13 贝壳技术有限公司 House source information playback method and device with watching assistant, electronic equipment and medium
CN113676762A (en) * 2021-08-20 2021-11-19 北京房江湖科技有限公司 Method and device for playback with watching function

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010022598A1 (en) * 2008-08-25 2010-03-04 华为技术有限公司 Method and system for switching iptv channels, method and device for sending audio and video streams
CN101662689B (en) * 2008-08-25 2011-07-06 华为技术有限公司 Method and system for switching interactive TV channels and method and device for sending audio and video streams
CN103037269A (en) * 2011-10-07 2013-04-10 埃森哲环球服务有限公司 Synchronizing digital media content
CN103037269B (en) * 2011-10-07 2018-06-19 埃森哲环球服务有限公司 Synchronous digital media content
WO2017000554A1 (en) * 2015-06-29 2017-01-05 高翔 Audio and video file generation method, apparatus and system
CN110418183A (en) * 2019-08-05 2019-11-05 北京字节跳动网络技术有限公司 Audio and video synchronization method, device, electronic equipment and readable medium
CN112653896A (en) * 2020-11-24 2021-04-13 贝壳技术有限公司 House source information playback method and device with watching assistant, electronic equipment and medium
CN113676762A (en) * 2021-08-20 2021-11-19 北京房江湖科技有限公司 Method and device for playback with watching function

Similar Documents

Publication Publication Date Title
CN101197946A (en) Video and word synchronizing apparatus
CN101197944A (en) Method for implementing video and words synchronization by medium service apparatus
CN1825463B (en) Data storage medium in which multiple bitstreams are recorded, apparatus and method for recording the multiple bitstreams, and apparatus and method for reproducing the multiple bitstreams
CN103414949B (en) A kind of multimedia edit system based on intelligent television and method
CN101145368B (en) Data recording device and data recording method
CN102883187B (en) Time-shift program service method, equipment and system
CN101197994A (en) Video and audio synchronization process
CN101340464B (en) Method and system for unified network resource management
CN101877703B (en) Fusion service system and service realization method thereof
CN105025319A (en) Video pushing method and device
CN102150424B (en) Method for file formation according to freeview AV service
CN106488259B (en) A kind of joining method and system of HLS Streaming Media fragment
CN110489484A (en) Method of data synchronization, device, readable storage medium storing program for executing and electronic equipment
CN109168020A (en) Method for processing video frequency, device, calculating equipment and storage medium based on live streaming
CN101197992A (en) Video and audio synchronization process based on medium server
CN101197993A (en) Video and audio synchronizing apparatus
CN106506483B (en) Video source group synchronized playback method and device based on ONVIF
CN102883077B (en) A kind of collecting and distributing type recording system and recording querying method
CN100471328C (en) Call tracking method, system and device
CN100571374C (en) Video recording and real time play-back method
CN101197947A (en) Video and words synchronization process
CN103139049A (en) Message interaction method, server and social network site (SNS) system
CN101925893B (en) Rich-media offering system and control method thereof
CN101404821B (en) Status information reporting method, equipment and system based on separation structure
CN101197966B (en) Indication method and system of channel broadcast interface of digital television receiver

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination