CN103079048B - Video and audio recording and program request implementation method when the call of multimedia command dispatching system keeps - Google Patents

Video and audio recording and program request implementation method when the call of multimedia command dispatching system keeps Download PDF

Info

Publication number
CN103079048B
CN103079048B CN201310011243.0A CN201310011243A CN103079048B CN 103079048 B CN103079048 B CN 103079048B CN 201310011243 A CN201310011243 A CN 201310011243A CN 103079048 B CN103079048 B CN 103079048B
Authority
CN
China
Prior art keywords
video
audio recording
call
keeps
file
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.)
Expired - Fee Related
Application number
CN201310011243.0A
Other languages
Chinese (zh)
Other versions
CN103079048A (en
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.)
Beijing Jiaxun Feihong Electrical Co Ltd
Original Assignee
Beijing Jiaxun Feihong Electrical Co Ltd
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 Beijing Jiaxun Feihong Electrical Co Ltd filed Critical Beijing Jiaxun Feihong Electrical Co Ltd
Priority to CN201310011243.0A priority Critical patent/CN103079048B/en
Publication of CN103079048A publication Critical patent/CN103079048A/en
Application granted granted Critical
Publication of CN103079048B publication Critical patent/CN103079048B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

Video and audio recording and program request implementation method when a kind of multimedia command dispatching system call that the invention discloses network communication technology field keeps.The method is under call hold scene, and video and audio recording server generates the compressed video stream fragments that call keeps prompting picture, recurrent wrIting video and audio recording file, until call keeps terminating.Video and audio recording file can be supplied to third party's player plays, real-playback call hold scene, ensures audio-visual synchronization, and effectively reduces the complexity of multi-media dispatcher.

Description

Video and audio recording and program request implementation method when the call of multimedia command dispatching system keeps
Technical field
The invention belongs to network communication technology field, particularly relate to video and audio recording and program request implementation method when the call of a kind of multimedia command dispatching system keeps.
Background technology
In existing multimedia command dispatching system, video and audio recording program request needs complete reduction call scenario.
During multi-media dispatcher program request video and audio recording, call is generally taked to interrupt current broadcasting during keeping, and waits for the mode recovering again after separating maintenance to play.
The shortcoming of this processing mode:
1, multi-media dispatcher needs the additional start and end time that call keeps of being concerned about;
2, multi-media dispatcher needs the interface paid close attention to during call keeps to present, and plays keep image etc. as conversed during keeping.
3, during a video and audio recording, repeatedly call keeps separating and keeps, and the audio frequency and video controlling functions realization that the interface of multi-media dispatcher presents end can increase complexity.
When the file that video and audio recording generates departs from multi-media dispatcher broadcasting, call only has audio frequency (holding tone) during keeping, video aspect can not embody retention time section of conversing, namely, the video after call maintenance directly can be jumped to after playing the video before call maintenance, cause audio frequency and video asynchronous, Consumer's Experience extreme difference.
Summary of the invention
For in the existing multimedia command dispatching system mentioned in background technology, there is the problem of the asynchronous and poor user experience of audio frequency and video, the present invention proposes video and audio recording and program request implementation method when the call of a kind of multimedia command dispatching system keeps.
Video and audio recording and program request implementation method when a kind of multimedia command dispatching system call keeps, it is characterized in that, described method comprises step:
Step 1: video and audio recording server receives dispatch server member A call and keeps message, judges that whether first time keeps member A, if so, then starts thread of encoding, obtains the compression parameters of member A, load and keep picture source data; No, then jump to step 6;
Step 2: the video frame rate obtaining member A, starts encoder, encodes and realtime transmission protocol RTP packing to maintenance picture;
Step 3: the file realtime transmission protocol RTP bag data generated being write specified path;
Step 4: by the RTP bag data write video and audio recording file generated;
Step 5: circulation performs step 2 ~ 4, until an image sets GOP has encoded, has stopped encoder; Jump to step 8;
Step 6: the file opening specified path, reads each realtime transmission protocol RTP bag data successively, write video and audio recording file;
Step 7: repeat step 6, until the solution receiving dispatch server keeps message;
Step 8: receive dispatch server solution and keep message, stops coding thread, closes the file of specified path.
The computing formula of the video frame rate of described member A is:
Frame per second=clock frequency/((present frame timestamp)-(former frame timestamp))
Wherein, clock frequency is obtained by media consultation process during call setup, and frame time stamp is obtained by the realtime transmission protocol RTP packet header of the Media Stream received.
The mode of the file of said write specified path is: front four bytes are byte numbers of realtime transmission protocol RTP bag, is realtime transmission protocol RTP bag data afterwards.
Beneficial effect of the present invention, this method can effectively solve third party's player cannot real-playback call keep during scene, real-playback call keep during scene, promote Consumer's Experience.The information that multi-media dispatcher is concerned about can be reduced in addition, reduce the complexity of multi-media dispatcher.
Accompanying drawing explanation
Video and audio recording and program request implementation method flow chart when Fig. 1 is a kind of multimedia command dispatching system call maintenance provided by the invention.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment is elaborated.It should be emphasized that following explanation is only exemplary, instead of in order to limit the scope of the invention and apply.
Video and audio recording and program request implementation method flow chart when Fig. 1 is a kind of multimedia command dispatching system call maintenance provided by the invention.In Fig. 1, concrete steps comprise:
Step 1: call starts, member A calls out member B, starts video and audio recording;
Step 2: in communication process, member A keeps;
Step 3: video and audio recording server receives dispatch server member A and keeps message, judge whether first time keeps member A, if, then start coding thread, obtain the compression parameters of member A from the code stream received before member A, comprise type of coding, video resolution, encoder relevant parameter, as class profile, rank level, quantization parameter QP etc., loads and keeps picture source data; Otherwise jump to step 8;
Step 4: the video frame rate (frame number of broadcasting per second) obtaining member A, starts encoder, starts to encode and realtime transmission protocol RTP packing to maintenance picture.
Step 5: the file realtime transmission protocol RTP bag data generated being write specified path, as holdpayload.rtp, the mode write: front four bytes are byte numbers of realtime transmission protocol RTP bag is realtime transmission protocol RTP bag data afterwards;
Step 6: by the realtime transmission protocol RTP bag data write video and audio recording file generated;
Step 7: circulation performs step 4 ~ 6, until an image sets GOP has encoded, has stopped encoder.The size of image sets GOP, the distance namely between two key frame I frames, produces an I frame setting by every half second interval; Image sets GOP form is IPPP ... PPP; Jump to step 10;
Step 8: open holdpayload.rtp, reads each realtime transmission protocol RTP bag data successively, write video and audio recording file;
Step 9: repeat step 8, until the solution receiving dispatch server keeps message;
Step 10: receive dispatch server solution and keep message, stops coding thread, closes holdpayload.rtp file;
Step 11: end of conversation, stops video and audio recording.
The above; be only the present invention's preferably embodiment, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (1)

1. video and audio recording and a program request implementation method when call of multimedia command dispatching system keeps, it is characterized in that, described method comprises step:
Step 1: video and audio recording server receives dispatch server member A call and keeps message, judges that whether first time keeps member A, if so, then starts thread of encoding, obtains the compression parameters of member A, load and keep picture source data; No, then jump to step 6;
Step 2: the video frame rate obtaining member A, starts encoder, encodes and realtime transmission protocol RTP packing to maintenance picture;
Step 3: the file realtime transmission protocol RTP bag data generated being write specified path;
Step 4: by the RTP bag data write video and audio recording file generated;
Step 5: circulation performs step 2 ~ 4, until an image sets GOP has encoded, has stopped encoder; Jump to step 8;
Step 6: the file opening specified path, reads each realtime transmission protocol RTP bag data successively, write video and audio recording file;
Step 7: repeat step 6, until the solution receiving dispatch server keeps message;
Step 8: receive dispatch server solution and keep message, stops coding thread, closes the file of specified path;
The computing formula of the video frame rate of described member A is:
Frame per second=clock frequency/((present frame timestamp)-(former frame timestamp));
Wherein, clock frequency is obtained by media consultation process during call setup, and frame time stamp is obtained by the realtime transmission protocol RTP packet header of the Media Stream received;
The mode of the file of said write specified path is: front four bytes are byte numbers of realtime transmission protocol RTP bag, is realtime transmission protocol RTP bag data afterwards.
CN201310011243.0A 2013-01-11 2013-01-11 Video and audio recording and program request implementation method when the call of multimedia command dispatching system keeps Expired - Fee Related CN103079048B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310011243.0A CN103079048B (en) 2013-01-11 2013-01-11 Video and audio recording and program request implementation method when the call of multimedia command dispatching system keeps

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310011243.0A CN103079048B (en) 2013-01-11 2013-01-11 Video and audio recording and program request implementation method when the call of multimedia command dispatching system keeps

Publications (2)

Publication Number Publication Date
CN103079048A CN103079048A (en) 2013-05-01
CN103079048B true CN103079048B (en) 2015-10-28

Family

ID=48155444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310011243.0A Expired - Fee Related CN103079048B (en) 2013-01-11 2013-01-11 Video and audio recording and program request implementation method when the call of multimedia command dispatching system keeps

Country Status (1)

Country Link
CN (1) CN103079048B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1868213A (en) * 2003-09-02 2006-11-22 索尼株式会社 Content receiving apparatus, video/audio output timing control method, and content providing system
CN101129041A (en) * 2004-12-23 2008-02-20 西门子公司 Method and system to minimize the switching delay between two rtp multimedia streaming sessions
CN101540871A (en) * 2009-04-27 2009-09-23 中兴通讯股份有限公司 Method and terminal for synchronously recording sounds and images of opposite ends based on circuit domain video telephone
CN101577811A (en) * 2009-06-10 2009-11-11 深圳市茁壮网络股份有限公司 Digital television Kara OK system and method for realizing function of Kara OK thereof
CN101742270A (en) * 2008-11-06 2010-06-16 乐金电子(中国)研究开发中心有限公司 Realization method and mobile terminal of video telephone
CN102200978A (en) * 2010-03-26 2011-09-28 宁波Gqy视讯股份有限公司 Data real-time storage method, data real-time storage device and data real-time storage system in data transmission

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1868213A (en) * 2003-09-02 2006-11-22 索尼株式会社 Content receiving apparatus, video/audio output timing control method, and content providing system
CN101129041A (en) * 2004-12-23 2008-02-20 西门子公司 Method and system to minimize the switching delay between two rtp multimedia streaming sessions
CN101742270A (en) * 2008-11-06 2010-06-16 乐金电子(中国)研究开发中心有限公司 Realization method and mobile terminal of video telephone
CN101540871A (en) * 2009-04-27 2009-09-23 中兴通讯股份有限公司 Method and terminal for synchronously recording sounds and images of opposite ends based on circuit domain video telephone
CN101577811A (en) * 2009-06-10 2009-11-11 深圳市茁壮网络股份有限公司 Digital television Kara OK system and method for realizing function of Kara OK thereof
CN102200978A (en) * 2010-03-26 2011-09-28 宁波Gqy视讯股份有限公司 Data real-time storage method, data real-time storage device and data real-time storage system in data transmission

Also Published As

Publication number Publication date
CN103079048A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
US9860538B2 (en) Electronic device for encoding a buffer parameter
CN106664458B (en) Method for transmitting video data, source device and storage medium
CN104618786A (en) Audio/video synchronization method and device
RU2408158C2 (en) Synchronisation of sound and video
CN101271720B (en) Synchronization process for mobile phone stream media audio and video
CN103929657B (en) Video multiplexing apparatus, video multiplexing method, multiplexed video decoding apparatus, and multiplexed video decoding method
CN101710997A (en) MPEG-2 (Moving Picture Experts Group-2) system based method and system for realizing video and audio synchronization
CN108924631B (en) Video generation method based on audio and video shunt storage
WO2012119459A1 (en) Data transmission method, apparatus and system
WO2020215454A1 (en) Screen recording method, client, and terminal device
CN107079132B (en) Port in visual telephone feeds the video frame of intraframe decoding after reconfiguring
CN109040818A (en) Audio and video synchronization method, storage medium, electronic equipment and system when live streaming
WO2013040283A1 (en) Coding and decoding synchronized compressed video bitstreams
CN102790906A (en) Encoding and decoding system and method
CN107360424A (en) A kind of bit rate control method based on video encoder, device and video server
CN101540871B (en) Method and terminal for synchronously recording sounds and images of opposite ends based on circuit domain video telephone
CN110351576B (en) Method and system for rapidly displaying real-time video stream in industrial scene
CN103079048B (en) Video and audio recording and program request implementation method when the call of multimedia command dispatching system keeps
CN103269448A (en) Method for achieving synchronization of audio and video on the basis of RTP/RTCP feedback early-warning algorithm
CN105516795A (en) Television screen sharing method under Android system
CN105657448B (en) A kind of retransmission method, the apparatus and system of encoded video stream
CN113873176B (en) Media file merging method and device
CN105163169A (en) Data package format method and system suitable for transmission
CN114554277B (en) Multimedia processing method, device, server and computer readable storage medium
CN104869474A (en) Expansible mobile streaming media system and application method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151028

Termination date: 20220111