CN109862193A - It sends a telegram here in a kind of terminal the control method and device of video - Google Patents

It sends a telegram here in a kind of terminal the control method and device of video Download PDF

Info

Publication number
CN109862193A
CN109862193A CN201910293586.8A CN201910293586A CN109862193A CN 109862193 A CN109862193 A CN 109862193A CN 201910293586 A CN201910293586 A CN 201910293586A CN 109862193 A CN109862193 A CN 109862193A
Authority
CN
China
Prior art keywords
video
target
progress
target video
audio
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.)
Granted
Application number
CN201910293586.8A
Other languages
Chinese (zh)
Other versions
CN109862193B (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.)
Zhengzhou Apas Technology Co ltd
Original Assignee
Zhuhai Tianyan Technology 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 Zhuhai Tianyan Technology Co Ltd filed Critical Zhuhai Tianyan Technology Co Ltd
Priority to CN201910293586.8A priority Critical patent/CN109862193B/en
Publication of CN109862193A publication Critical patent/CN109862193A/en
Application granted granted Critical
Publication of CN109862193B publication Critical patent/CN109862193B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The embodiment of the present application provides a kind of control method and device for video of sending a telegram here in terminal, belongs to mobile control field.The described method includes: set video to be processed is carried out separating treatment, corresponding target audio and target video are obtained;The incoming call ringing tone being arranged in terminal is replaced with into the target audio, while real-time monitoring is carried out to the calling event in terminal;After monitoring calling event, the target video is called to play out;The target audio corresponding target progress when the target video starts to play is extracted, and the target video is carried out by fast-forward play according to the target progress, keeps the target video synchronous with target audio holding.This programme carries out F.F. to video section by extracting the time delay between audio-video, according to the time delay, so that screen synch when incoming call is loaded corresponding video section and audio-frequency unit, avoids delay phenomenon caused by due to video loading velocity is slow.

Description

It sends a telegram here in a kind of terminal the control method and device of video
Technical field
This application involves field of computer technology, more particularly to the method and device that incoming call video is controlled.
Background technique
With the fast development of network technology, mobile terminal has begun from the past and simply provides verbal system and become gradually The platform run at a common software.The platform is to provide one and includes no longer to provide call management as the main purpose Running environment including the types of applications softwares such as call management, Entertainment, office account, mobile payment, with a large amount of general And go deep into people's lives, the every aspect of work.
Mobile terminal is usually the rare income prompting method carried out by video using music tone ringer as incoming call prompting. Also there is part operator that some videos are set in the server end of runed telecommunication network at present, and in equipment call, passes through Telecommunication network issues video, but telecommunication network bandwidth is limited, as incoming call video when mobile device loads, Caton, Situations such as delay, is more, causes result of broadcast poor.
Summary of the invention
The purpose of the embodiment of the present application is to provide a kind of control method and device for video of sending a telegram here in terminal, to realize at end The demand of broadcasting is synchronized in end to incoming call video.
In order to solve the above technical problems, the embodiment of the present application is achieved in that
According to the embodiment of the present application in a first aspect, provide a kind of control method for video of sending a telegram here in terminal, it is applied to eventually End equipment, which comprises
Set video to be processed is subjected to separating treatment, obtains corresponding target audio and target video;
The incoming call ringing tone being arranged in terminal is replaced with into the target audio, while the calling event in terminal is carried out Real-time monitoring;
After monitoring calling event, the target video is called to play out;
Extract the target audio corresponding target progress when the target video starts to play, and according to the target into The target video is carried out fast-forward play by degree, keeps the target video synchronous with the target audio playback progress holding.
In one embodiment of the application, the method also includes:
When the video to be processed is separated, the video to be processed is decapsulated, target audio and mesh are obtained Video is marked, and obtains synchronised clock between the two;
The synchronised clock has recorded the opposite timing broadcast information between the target audio and the target video, For making the target audio and the target video synchronize broadcasting.
In one embodiment of the application, the method also includes:
It is described monitor calling event after, call video playing plug-in unit to play out the target video, while by institute The corresponding interface of answering of calling event is stated to be set on the corresponding broadcast interface of the target video.
In one embodiment of the application, the method also includes:
It is described when extracting the corresponding target progress of the target audio when target video starts to play,
It calls the synchronised clock to carry out real-time synchronization by the target progress, obtains the corresponding synchronization of the target video Progress carries out F.F. in the video playing plug-in unit by the synchronous progress, renders to the target video.
In one embodiment of the application, when the target video starts to play,
Extract the video playing plug-in unit called load time;
According to the size of the target video, format, it is contemplated that the target video is decoded by the video playing plug-in unit Buffer time;
The load time and the buffer time are summed it up, and the corresponding target progress of the comprehensive target audio carries out Analysis correction, obtains the corresponding synchronous progress of the target video.
In one embodiment of the application, when the target video starts to play,
The corresponding currently playing progress of target audio described in real-time monitoring;
It is searched in the synchronised clock according to the corresponding currently playing progress of the target audio, by synchronised clock In timestamp obtain the corresponding synchronous progress of the target video.
In one embodiment of the application, the method also includes: by target view described in synchronised clock difference real-time monitoring Frequency and the corresponding playback progress of the target audio, such as corresponding difference of the two is greater than given threshold, then according to the difference The target video is carried out F.F. by value again in the video player, and is rendered again to the target video.
According to the second aspect of the embodiment of the present application, a kind of control device for video of sending a telegram here in terminal, described device are provided Include:
Separation module obtains corresponding target audio and target for set video to be processed to be carried out separating treatment Video;
Monitoring modular, the incoming call ringing tone for will be arranged in terminal replace with the target audio, while in terminal Calling event carry out real-time monitoring;
Calling module calls the target video to play out after monitoring calling event;
Synchronization module, for extracting the target audio corresponding target progress when the target video starts to play, and The target video is subjected to fast-forward play according to the target progress, make the target video and the target audio play into Degree keeps synchronizing.
In one embodiment of the application, in the separation module, when the video to be processed is separated,
The video to be processed is decapsulated, obtains target audio and target video, and obtains between the two same Walk clock;
The synchronised clock has recorded the opposite timing broadcast information between the target audio and the target video, For making the target audio and the target video synchronize broadcasting.
In one embodiment of the application, described device further include:
In the adjustment module, after monitoring calling event, video playing plug-in unit is called to broadcast the target video It puts, while the corresponding interface of answering of the calling event being set on the corresponding broadcast interface of the target video
In one embodiment of the application, in the synchronization module, specifically include:
Real-time synchronization unit obtains described for calling the synchronised clock to carry out real-time synchronization by the target progress The corresponding synchronous progress of target video carries out F.F. in the video playing plug-in unit by the synchronous progress, to the target Video is rendered.
In one embodiment of the application, the real-time synchronization unit is specifically included,
Time extracts subelement, for extracting the video playing plug-in unit called load time;
It is expected that subelement, for the size according to the target video, format, it is contemplated that the target video is by the video Player plug-in decoded buffer time;
Subelement is corrected, for the load time and the buffer time to be summed it up, and the comprehensive target audio pair The target progress answered carries out analysis correction, obtains the corresponding synchronous progress of the target video.
In one embodiment of the application, the real-time synchronization unit is specifically included,
Subelement is monitored, for the corresponding currently playing progress of target audio described in real-time monitoring;
Coupling subelement, for being carried out in the synchronised clock according to the corresponding currently playing progress of the target audio It searches, obtains the corresponding synchronous progress of the target video by the timestamp in synchronised clock.
In one embodiment of the application, described device further include: monitoring modular, for being supervised in real time respectively by the synchronised clock The target video and the corresponding playback progress of the target audio are surveyed, such as corresponding difference of the two is greater than given threshold, The target video is then carried out by F.F. according to the difference again in the video player, and again to the target video It is secondary to be rendered.
As can be seen from the technical scheme provided by the above embodiments of the present application, the incoming call that the embodiment of the present application stores in terminal When video plays out, set video to be processed is subjected to separating treatment, obtains corresponding target audio and target video;It will The incoming call ringing tone being arranged in terminal replaces with the target audio, while carrying out real-time monitoring to the calling event in terminal; After monitoring calling event, the target video is called to play out;Extract the target when target video starts to play The corresponding target progress of audio, and the target video is carried out by fast-forward play according to the target progress, regard the target Frequency is synchronous with the target audio playback progress holding.It needs to carry out certain video file as incoming call video in call interface When displaying, because terminal is provided with original incoming call ringing tone, therefore need to separate the audio-frequency unit of video file, after separation Audio-frequency unit replace original incoming call ringing tone, then when the video section of video file is played out as incoming call video, because Audio-frequency unit separation has been carried out, then can generate delay when inevitable audio-frequency unit and video section play simultaneously;This programme is by mentioning The time delay between audio-video is taken, F.F. is carried out to video section according to the time delay, loads screen synch when incoming call Corresponding video section and audio-frequency unit avoid delay phenomenon caused by due to video loading velocity is slow.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in specification, for those of ordinary skill in the art, in the premise not made the creative labor Under, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow chart of the control method of incoming call video in the terminal of one embodiment of the application;
When Fig. 2 is that the target audio of the control method of incoming call video in the terminal of one embodiment of the application is loaded Schematic diagram;
Fig. 3 is right after the target audio of the control method of incoming call video in the terminal of one embodiment of the application is called The schematic diagram that the target video answered also is called;
Fig. 4 is the target audio and target video of the control method of incoming call video in the terminal of one embodiment of the application Schematic diagram to be synchronized;
Fig. 5 is the target audio and target video of the control method of incoming call video in the terminal of one embodiment of the application Schematic diagram after synchronizing;
Fig. 6 is the target audio and target video of the control method of incoming call video in the terminal of one embodiment of the application The schematic diagram played again;
Fig. 7 is the structural schematic diagram that incoming call video corresponds to electronic equipment in the terminal of one embodiment of the application;
Fig. 8 is the structural schematic diagram of the control device of incoming call video in the terminal of one embodiment of the application.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with the application Attached drawing in embodiment, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described reality Applying example is only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual, ability Domain those of ordinary skill every other embodiment obtained without making creative work, all should belong to this theory The range of bright book protection.
The embodiment of the present application provides the method and device of the copy editor in picture a kind of.
The control method for video of sending a telegram here in a kind of terminal provided by the embodiments of the present application is introduced first below.
It should be noted that method provided by the embodiments of the present application is suitable for terminal device, in practical applications, the terminal Equipment may include: smart phone, tablet computer, smartwatch, notebook/desktop computer etc., and the embodiment of the present application is to this It is not construed as limiting.
Using certain video file as incoming call video be shown in call interface when, because terminal originally be provided with it is intrinsic Incoming call ringing tone in order to avoid terminal plays two kinds of ringing tones simultaneously, therefore is needed to separate the audio-frequency unit of video file, is used in combination Audio-frequency unit after separation replaces original incoming call ringing tone, then after having calling event triggering, calls directly audio-frequency unit as bell Sound plays out.On the other hand, when the video section of video file is played out as incoming call video, because having been carried out audio portion Separation, and video file is larger, the time is longer when video playing plug-in unit being called to play out, then inevitable audio-frequency unit and video Part can generate delay when playing simultaneously, and when playing out same video file, corresponding video section and audio-frequency unit are broadcast It puts asynchronous.
This programme carries out F.F. to video section by extracting the time delay between audio-video, according to the time delay, So that screen synch when incoming call is loaded corresponding video section and audio-frequency unit, prolongs caused by avoiding due to video loading velocity is slow Slow phenomenon.
Fig. 1 is the flow chart of the control method of incoming call video in the terminal of one embodiment of the application, as shown in Figure 1, This method may comprise steps of:
In a step 101, set video to be processed is subjected to separating treatment, obtains corresponding target audio and target Video.
When terminal receives calling event, antenna in terminal module is the bottom for being notified that operating system, operating system It then controls each application to start to work, one of them is that notice system the tinkle of bells should play the tinkle of bells.In the present embodiment, from this The short-sighted frequency in ground and designated is chosen from the UGC video that server section is downloaded as video to be processed, when there are phone needs When answering, calls video playing plug-in unit to play out the video, then broadcasting circle of the video to be processed is presented on mobile phone screen Face.
This programme decapsulates video to be processed, and it is corresponding with target video that video to be processed is equivalent to target audio Container then generates target video, target audio and synchronised clock between the two after unziping it.
There are many format of the corresponding encapsulation of audio to be processed, such as MP4, MKV, RMVB, TS, FLV, AVI etc., its effect Exactly the video data of compressed encoding and audio data are put together according to certain format.For example, FLV format to Video is handled after decapsulation operation, exports the audio code stream and the two of the video code flow H.264 encoded and AAC coding Synchronised clock.
The synchronised clock has recorded the opposite timing broadcast information between the target audio and the target video, Each video frame and audio frame that synchronous recording plays are distinguished by timestamp.
It is subsequent to be respectively decoded target audio and target video when being played out to target video and target audio, Decoding become uncompressed audio-video initial data in terminal video screen module group and audio mould group play out.The compression of audio Coding standard includes AAC, MP3, AC-3 etc., and the compression and coding standard of video then includes H.264 MPEG2, VC-1 etc..It is logical Decoding is crossed, the video data of compressed encoding is output into uncompressed color data, such as YUV420P, RGB etc.;Compression is compiled The audio data of code is output into uncompressed audio sample data, such as PCM data, and decoded video, audio data will It is played out respectively by video screen module group in terminal and audio mould group, to carry out broadcasting for target audio and target video It puts.
Step 102: the incoming call ringing tone being arranged in terminal being replaced with into the target audio, while to the incoming call in terminal Event carries out real-time monitoring;
Using certain video file as incoming call video be shown in call interface when, because terminal originally be provided with it is intrinsic Incoming call ringing tone in order to avoid two kinds of ringing tones play simultaneously, therefore needs to replace original incoming call ringing tone with the target audio after separation, Then have calling event triggering after, call directly audio-frequency unit and played out as ringing tone, it is subsequent monitor calling event after, directly It is played out using target audio as ringing tone.
Step 103: after monitoring calling event, the target video being called to play out;
In the present embodiment, real-time monitoring is carried out to the calling event in terminal, after monitoring calling event, triggers bell Sound broadcast event and video playing event call video playing plug-in unit pair while playing out using target audio as ringing tone Target video plays out.Because responding the needs of calling event, then the interface of answering for event correlation of sending a telegram here is set to video On broadcast interface, so that user carries out answering operation in answering interface.
Step 104: extracting the target audio corresponding target progress when the target video starts to play, and according to institute It states target progress and the target video is subjected to fast-forward play, keep the target video and the target audio playback progress It is synchronous.
The synchronised clock is called to carry out real-time synchronization by the target progress, specifically: monitor that target video starts After broadcasting, extracts target audio at this time and played target progress corresponding to part, according to target progress is carried out in synchronised clock Real-time searching, searches the synchronization progress that corresponding target video should reach at this time, calls video playing to insert by the synchronous progress The corresponding interface of part is controlled, and fast-forward play is carried out to target video, to the target video by the correspondence progress after F.F. Rendered, enable target video and target audio synchronize play out.
In other embodiments, the target progress that played according to target audio merely is inevitably inaccurate, at this time according to view The target progress that the time that frequency player plug-in, video decoding consume played target audio is adjusted, specifically:
A, the video playing plug-in unit called load time is extracted;
Timing is carried out to the corresponding allocating time of video playing plug-in unit according to the API in terminal, extracts video playing plug-in unit Allocating time.
B, according to the size of the target video, format, it is contemplated that the target video is decoded by the video playing plug-in unit Buffer time;
It is completed because the corresponding decoding process of target video needs to expend the time, the video screen module of corresponding buffer time and mobile phone Processing capacity, the size of target video of group are related, then the corresponding decoding time of different-format video is different.According to target video Size, the dominant frequency of video screen module group are grouped, and as being one group within 5M, 5-10M is one group, and display card chip 500MHz is One group, 1GHz is one group, and corresponding buffer time is counted, and is uploaded to server and carries out storage analysis, this Sample, when being opened to target video, by buffer time corresponding to equivalent video size, the dominant frequency of video screen module group as target video By the video playing plug-in unit decoded buffer time.
C, the load time and the buffer time are summed it up, and the corresponding target progress of the comprehensive target audio into Row analysis correction, obtains the corresponding synchronous progress of the target video.
After load time and buffer time adduction, the corresponding time that played with the target audio is averaged, from And analysis correction is carried out to the corresponding target progress of target audio, it is corresponding as the target video by the time after average Synchronous progress, more accurately estimates the delay time of target video.
According to target both stationary interfaces of progress real-time calling video player carry out F.F. to target video, make target video Playback progress it is synchronous with target audio, and then make video file normal play.
When the incoming call video that the embodiment of the present application stores in terminal plays out, set video to be processed is carried out Separating treatment obtains corresponding target audio and target video;The incoming call ringing tone being arranged in terminal is replaced with into the target Audio, while real-time monitoring is carried out to the calling event in terminal;After monitoring calling event, the target video is called to carry out It plays;The target audio corresponding target progress when the target video starts to play is extracted, and according to the target progress The target video is subjected to fast-forward play, keeps the target video synchronous with target audio holding.This programme is by mentioning The time delay between audio-video is taken, F.F. is carried out to video section according to the time delay, loads screen synch when incoming call Corresponding video section and audio-frequency unit avoid delay phenomenon caused by due to video loading velocity is slow.
When in another alternative embodiment, to the control for video of sending a telegram here in terminal
Step 201: set video to be processed being subjected to separating treatment, obtains corresponding target audio and target video;
In the present embodiment, terminal receives the setting of user, using the video to be processed of a 15s as the corresponding incoming call of terminal Video.Terminal downloads corresponding user from server end and chooses the video to be processed of the flv format to terminal, and this is to be processed Video is decapsulated.Extract the target audio of corresponding aac format and the target video H.264 encoded with it is corresponding synchronous Clock, and target audio, target video are downloaded in the CACHE DIRECTORY of terminal.
Step 202: the incoming call ringing tone being arranged in terminal being replaced with into the target audio, while to the incoming call in terminal Event carries out real-time monitoring;
In the present embodiment, the setting menu in terminal is traversed, future, the setting options of electric bell sound replaced with target audio.Together When monitor process is set, in terminal calling event carry out real-time monitoring.
Step 203: after monitoring calling event, the target video being called to play out;
As shown in Fig. 2, calling event is monitored rear, target audio is played out as incoming call ringing tone, while calling view Frequency player plug-in unit, loads target video in video player plug-in unit, is shown target video in call interface.
Meanwhile in order to guarantee the corresponding normal presentation for answering interface of calling event, i.e., will answer key, rejection key, The normal presentation in call interface such as incoming number, then the video playing plug-in unit for playing target video, which is placed in, answers exhibition below interface Show.
After invocation target video plays out, target video can be rendered into call interface, i.e., user can see To selected video to be processed.
Step 204: extracting the target audio corresponding target progress when the target video starts to play, and according to institute It states target progress and the target video is subjected to fast-forward play, keep the target video synchronous with target audio holding.
In the present embodiment, by the corresponding audio frequency play interface of terminal system, target audio described in real-time monitoring is corresponding Currently playing progress;As shown in Figure 3,4, target audio after broadcasting, calls video player since starting as incoming call ringing tone Plug-in unit, and the target video stored in CACHE DIRECTORY, this two time-consuming 500ms are loaded in video player plug-in unit.Such as Fig. 4 institute Show, during video playing to be processed, if this moment is without any processing, target video will be broadcast since 0 moment It puts, and the target audio as ringing tone has played 500ms, then will result in the delay feelings that audio-video is mismatched and generated Condition.
In the corresponding audio frequency play interface of terminal system, according to the corresponding currently playing progress of the target audio, i.e., 500ms is searched in the synchronised clock, obtains the corresponding synchronization of the target video by the timestamp in synchronised clock Progress.
In the present embodiment, as shown in figure 5, calling the synchronised clock to carry out real-time synchronization by the target progress, obtain The corresponding synchronous progress of the target video, carries out F.F. in the video playing plug-in unit by the synchronous progress, i.e., in mesh After mark video is loaded, it will start to play at target video F.F. 500ms, be connect according to the corresponding video playing of terminal system Mouth renders the target video, so that target video be made to synchronize broadcasting with the target audio as incoming call ringing tone.
Due to instruction transmission, event triggering in terminal, forwarding operation including target video corresponding to target audio is worked as Preceding playback progress monitoring, inherently consumes the regular hour, therefore obtains the corresponding target progress of the target video and exist centainly Error.In other embodiments, classify to the terminal of the display module using different dominant frequency by high, medium and low gear, and lead to The mode for crossing big data extracts the target video of various formats respectively in high, medium and low gear terminal from other terminals of the whole network Buffer time obtained so that the target video to every kind of format is estimated in each gear terminal corresponding buffer time respectively To the target video by the video playing plug-in unit decoded buffer time.After video playing plug-in unit is called, video is used Player plug-in called load time and buffer time adduction, thus in a manner of statistical analysis scheduled target video and as The target audio corresponding delay time for ringing tone of sending a telegram here.The corresponding target progress of the target video is carried out according to delay time It corrects, in the present embodiment, the two is averaged, F.F. is carried out to the target video as target progress by average value and is broadcast It puts, keeps the corresponding F.F. progress of target video more accurate, it is synchronous to load the corresponding video section of video to be processed and audio portion Point, avoid delay phenomenon caused by due to video loading velocity is slow.
As shown in fig. 6, if call interface does not receive the trigger action of user, the video pair to be processed for a long time The target video and target audio answered after finishing will loop play, under the long period of loop play, the two is difficult Exempt from that certain delay can be generated, in other embodiments, at interval of given period of time, then monitors the target respectively by synchronised clock Video and the corresponding playback progress of the target audio, if the corresponding difference of the two is greater than given threshold, according to institute It states difference and the target video is subjected to F.F. again in the video player, and wash with watercolours is carried out again to the target video Dye, then target audio and target video constantly synchronize correction, thus when making that incoming ring tone persistently sounds in terminal, it is to be processed The corresponding target video of video and target audio are in the state of being played simultaneously always.
When the incoming call video that the embodiment of the present application stores in terminal plays out, set video to be processed is carried out Separating treatment obtains corresponding target audio and target video;The incoming call ringing tone being arranged in terminal is replaced with into the target Audio, while real-time monitoring is carried out to the calling event in terminal;After monitoring calling event, the target video is called to carry out It plays;The target audio corresponding target progress when the target video starts to play is extracted, and according to the target progress The target video is subjected to fast-forward play, keeps the target video synchronous with target audio holding.This programme is by mentioning The time delay between audio-video is taken, F.F. is carried out to video section according to the time delay, loads screen synch when incoming call Corresponding video section and audio-frequency unit avoid delay phenomenon caused by due to video loading velocity is slow.
Fig. 7 is the structural schematic diagram of the electronic equipment of one embodiment of the application.Referring to FIG. 7, in hardware view, it should Electronic equipment includes processor, optionally further comprising internal bus, network interface, memory.Wherein, memory may be comprising interior It deposits, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-volatile memories Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that other Hardware required for business.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA (Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always Line etc..Only to be indicated with a four-headed arrow in Fig. 7, it is not intended that an only bus or a type of convenient for indicating Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer The device of expression insertion candidates of input method is formed on face.Processor executes the program that memory is stored, and is specifically used for holding The following operation of row:
Set video to be processed is subjected to separating treatment, obtains corresponding target audio and target video;
The incoming call ringing tone being arranged in terminal is replaced with into the target audio, while the calling event in terminal is carried out Real-time monitoring;
After monitoring calling event, the target video is called to play out;
Extract the target audio corresponding target progress when the target video starts to play, and according to the target into The target video is carried out fast-forward play by degree, keeps the target video synchronous with target audio holding.
The control method of incoming call video can answer in the terminal in picture disclosed in the above-mentioned embodiment illustrated in fig. 7 such as the application It is realized in processor, or by processor.Processor may be a kind of IC chip, the processing energy with signal Power.During realization, each step of the above method can pass through the integrated logic circuit or software of the hardware in processor The instruction of form is completed.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute the public affairs in the embodiment of the present application Each method, step and the logic diagram opened.General processor can be microprocessor or the processor be also possible to it is any often The processor etc. of rule.The step of method in conjunction with disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and hold Row complete, or in decoding processor hardware and software module combine execute completion.Software module can be located at deposits at random Reservoir, flash memory, read-only memory, this fields such as programmable read only memory or electrically erasable programmable memory, register In mature storage medium.The storage medium is located at memory, and processor reads the information in memory, completes in conjunction with its hardware The step of above method.
The method that the electronic equipment can also carry out Fig. 1, and realize the device implementation shown in Fig. 1 of the copy editor in picture The function of example, details are not described herein for the embodiment of the present application.
Certainly, other than software realization mode, other implementations are not precluded in the electronic equipment of this specification, such as Logical device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each Logic unit is also possible to hardware or logical device.
The embodiment of the present application also proposed a kind of computer readable storage medium, the computer-readable recording medium storage one A or multiple programs, the one or more program include instruction, and the instruction is when by the portable electronic including multiple application programs When equipment executes, the method that the portable electronic device can be made to execute embodiment illustrated in fig. 1, and be specifically used for executing with lower section Method:
Set video to be processed is subjected to separating treatment, obtains corresponding target audio and target video;
The incoming call ringing tone being arranged in terminal is replaced with into the target audio, while the calling event in terminal is carried out Real-time monitoring;
After monitoring calling event, the target video is called to play out;
Extract the target audio corresponding target progress when the target video starts to play, and according to the target into The target video is carried out fast-forward play by degree, keeps the target video synchronous with the target audio playback progress holding.
Fig. 8 is the structural schematic diagram of the control device of incoming call video in the terminal of one embodiment of the application.It please refers to Fig. 8, in a kind of Software Implementation, copy editor's device 800 in picture may include: separation module 801, monitoring mould Block 802, calling module 803 and rendering module 804, wherein
Separation module 801 obtains corresponding target audio and mesh for set video to be processed to be carried out separating treatment Mark video;
Monitoring modular 802, the incoming call ringing tone for will be arranged in terminal replace with the target audio, while to terminal In calling event carry out real-time monitoring;
Calling module 803 calls the target video to play out after monitoring calling event;
Synchronization module 804, for extracting the target audio corresponding target progress when the target video starts to play, And the target video is carried out by fast-forward play according to the target progress, play the target video and the target audio Progress keeps synchronizing.
In the separation module 801, when the video to be processed is separated,
The video to be processed is decapsulated, obtains target audio and target video, and obtains between the two same Walk clock;
The synchronised clock has recorded the opposite timing broadcast information between the target audio and the target video, For making the target audio and the target video synchronize broadcasting.
Described device further include: in the adjustment module 703, after monitoring calling event, call video playing plug-in unit pair The target video plays out, while answering the calling event is corresponding interface to be set to the target video corresponding On broadcast interface.
In the synchronization module 704, specifically include:
Real-time synchronization unit obtains described for calling the synchronised clock to carry out real-time synchronization by the target progress The corresponding synchronous progress of target video carries out F.F. in the video playing plug-in unit by the synchronous progress, to the target Video is rendered.
The real-time synchronization unit specifically includes,
Time extracts subelement, for extracting the video playing plug-in unit called load time;
It is expected that subelement, for the size according to the target video, format, it is contemplated that the target video is by the video Player plug-in decoded buffer time;
Subelement is corrected, for the load time and the buffer time to be summed it up, and the comprehensive target audio pair The target progress answered carries out analysis correction, obtains the corresponding synchronous progress of the target video.
The real-time synchronization unit specifically includes,
Subelement is monitored, for the corresponding currently playing progress of target audio described in real-time monitoring;
Coupling subelement, for being carried out in the synchronised clock according to the corresponding currently playing progress of the target audio It searches, obtains the corresponding synchronous progress of the target video by the timestamp in synchronised clock.
Described device further include: monitoring modular, for by the synchronised clock difference real-time monitoring described in target video and The corresponding playback progress of target audio, such as corresponding difference of the two are greater than given threshold, then will according to the difference The target video carries out F.F. again in the video player, and renders again to the target video.
In short, being not intended to limit the protection of this specification the foregoing is merely the preferred embodiment of this specification Range.For all spirit in this specification within principle, any modification, equivalent replacement, improvement and so on should be included in this Within the protection scope of specification.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment The combination of equipment.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.

Claims (14)

1. a kind of control method for video of sending a telegram here in terminal, which is characterized in that the described method includes:
Set video to be processed is subjected to separating treatment, obtains corresponding target audio and target video;
The incoming call ringing tone being arranged in terminal is replaced with into the target audio, while the calling event in terminal is carried out real-time Monitoring;
After monitoring calling event, the target video is called to play out;
The target audio corresponding target progress when the target video starts to play is extracted, and will according to the target progress The target video carries out fast-forward play, keeps the target video synchronous with the target audio playback progress holding.
2. the method according to claim 1, wherein when including: that the video to be processed is separated,
The video to be processed is decapsulated, when obtaining target audio and target video, and obtaining synchronization between the two Clock;
The synchronised clock has recorded the opposite timing broadcast information between the target audio and the target video, is used for The target audio and the target video is set to synchronize broadcasting.
3. the method according to claim 1, wherein the method also includes: it is described monitor calling event after, It calls video playing plug-in unit to play out the target video, while the corresponding interface of answering of the calling event being set to On the corresponding broadcast interface of the target video.
4. method according to any one of claims 1 to 3, which is characterized in that the extraction target video starts to broadcast When putting when the corresponding target progress of the target audio,
It calls the synchronised clock to carry out real-time synchronization by the target progress, obtains the corresponding same stepping of the target video Degree, carries out F.F. in the video playing plug-in unit by the synchronous progress, renders to the target video.
5. according to the method described in claim 4, it is characterized in that, the target video start play when,
Extract the video playing plug-in unit called load time;
According to the size of the target video, format, it is contemplated that the target video is by the decoded buffering of video playing plug-in unit Time;
The load time and the buffer time are summed it up, and the corresponding target progress of the comprehensive target audio is analyzed Correction, obtains the corresponding synchronous progress of the target video.
6. according to the method described in claim 4, it is characterized in that, the target video start play when,
The corresponding currently playing progress of target audio described in real-time monitoring;
It is searched in the synchronised clock according to the corresponding currently playing progress of the target audio, by synchronised clock Timestamp obtains the corresponding synchronous progress of the target video.
7. any method according to claim 1 or in 3, which is characterized in that the method also includes: by it is described synchronous when Clock distinguishes target video and the corresponding playback progress of the target audio described in real-time monitoring, and such as corresponding difference of the two is big In given threshold, then the target video is carried out by F.F. according to the difference again in the video player, and to institute Target video is stated to be rendered again.
8. a kind of control device for video of sending a telegram here in terminal, which is characterized in that described device includes:
Separation module obtains corresponding target audio and target video for set video to be processed to be carried out separating treatment;
Monitoring modular, the incoming call ringing tone for will be arranged in terminal replaces with the target audio, while coming in terminal Electric event carries out real-time monitoring;
Calling module calls the target video to play out after monitoring calling event;
Synchronization module, for extracting the target audio corresponding target progress when the target video starts to play, and according to The target video is carried out fast-forward play by the target progress, protects the target video and the target audio playback progress Hold synchronization.
9. device according to claim 8, which is characterized in that in the separation module, the video to be processed is divided From when,
The video to be processed is decapsulated, when obtaining target audio and target video, and obtaining synchronization between the two Clock;
The synchronised clock has recorded the opposite timing broadcast information between the target audio and the target video, is used for The target audio and the target video is set to synchronize broadcasting.
10. device according to claim 8, which is characterized in that described device further include: in the adjustment module, monitoring To after calling event, video playing plug-in unit is called to play out the target video, while the calling event is corresponding Interface is answered to be set on the corresponding broadcast interface of the target video.
11. according to the device any in claim 8 to 10, which is characterized in that in the synchronization module, specifically include:
Real-time synchronization unit obtains the target for calling the synchronised clock to carry out real-time synchronization by the target progress The corresponding synchronous progress of video carries out F.F. in the video playing plug-in unit by the synchronous progress, to the target video It is rendered.
12. device according to claim 11, which is characterized in that the real-time synchronization unit specifically includes,
Time extracts subelement, for extracting the video playing plug-in unit called load time;
It is expected that subelement, for the size according to the target video, format, it is contemplated that the target video is by the video playing Plug-in unit decoded buffer time;
Subelement is corrected, for summing it up the load time and the buffer time, and the comprehensive target audio is corresponding Target progress carries out analysis correction, obtains the corresponding synchronous progress of the target video.
13. device according to claim 11, which is characterized in that the real-time synchronization unit specifically includes,
Subelement is monitored, for the corresponding currently playing progress of target audio described in real-time monitoring;
Coupling subelement, for being looked into the synchronised clock according to the corresponding currently playing progress of the target audio It looks for, obtains the corresponding synchronous progress of the target video by the timestamp in synchronised clock.
14. according to the device any in claim 8 or 10, which is characterized in that described device further include: monitoring modular, For distinguishing target video and the corresponding playback progress of the target audio described in real-time monitoring by the synchronised clock, such as The corresponding difference of the two be greater than given threshold, then according to the difference by the target video in the video player again F.F. is carried out, and the target video is rendered again.
CN201910293586.8A 2019-04-12 2019-04-12 Incoming call video control method and device in terminal Active CN109862193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910293586.8A CN109862193B (en) 2019-04-12 2019-04-12 Incoming call video control method and device in terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910293586.8A CN109862193B (en) 2019-04-12 2019-04-12 Incoming call video control method and device in terminal

Publications (2)

Publication Number Publication Date
CN109862193A true CN109862193A (en) 2019-06-07
CN109862193B CN109862193B (en) 2020-10-02

Family

ID=66903839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910293586.8A Active CN109862193B (en) 2019-04-12 2019-04-12 Incoming call video control method and device in terminal

Country Status (1)

Country Link
CN (1) CN109862193B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653920A (en) * 2020-12-18 2021-04-13 北京字跳网络技术有限公司 Video processing method, device, equipment, storage medium and computer program product

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481643A (en) * 2000-12-15 2004-03-10 ���˹���Ѷ��� Transmission and reception of audio and/or video material
JP2006211431A (en) * 2005-01-28 2006-08-10 Kyocera Corp Telephone set with stream receiving function and stream reproducing method in telephone set with stream receiving function
CN102055970A (en) * 2009-11-09 2011-05-11 鸿富锦精密工业(深圳)有限公司 Multi-standard video decoding system
CN103402073A (en) * 2013-08-22 2013-11-20 聚领信息技术(上海)有限公司 Method for realizing video communication by input/ output (I/ O) separation way
US20150005041A1 (en) * 2013-06-26 2015-01-01 Camp Mobile Corporation Method and system for providing video multimedia ringtone
CN104681047A (en) * 2013-11-26 2015-06-03 中国移动通信集团公司 Adaptive video playing method, device and terminal
CN104853239A (en) * 2015-04-27 2015-08-19 浙江生辉照明有限公司 Audio and video synchronous playback control method and system
CN105872699A (en) * 2016-04-28 2016-08-17 乐视控股(北京)有限公司 Video playing control method and device
CN106658133A (en) * 2016-10-26 2017-05-10 广州市百果园网络科技有限公司 Audio and video synchronous playing method and terminal
CN107360458A (en) * 2017-06-30 2017-11-17 广东欧珀移动通信有限公司 Control method for playing back, device, storage medium and terminal
CN107454447A (en) * 2017-09-04 2017-12-08 青岛海信电器股份有限公司 A kind of plug-in loading method of player, device and television set
CN108632557A (en) * 2017-03-20 2018-10-09 中兴通讯股份有限公司 A kind of method and terminal of audio-visual synchronization
CN109348070A (en) * 2018-12-21 2019-02-15 北京金山安全软件有限公司 Caller identification method and device
JP2019033503A (en) * 2012-08-20 2019-02-28 ウォルジエン エルエルシー Video call center

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481643A (en) * 2000-12-15 2004-03-10 ���˹���Ѷ��� Transmission and reception of audio and/or video material
JP2006211431A (en) * 2005-01-28 2006-08-10 Kyocera Corp Telephone set with stream receiving function and stream reproducing method in telephone set with stream receiving function
CN102055970A (en) * 2009-11-09 2011-05-11 鸿富锦精密工业(深圳)有限公司 Multi-standard video decoding system
JP2019033503A (en) * 2012-08-20 2019-02-28 ウォルジエン エルエルシー Video call center
US20150005041A1 (en) * 2013-06-26 2015-01-01 Camp Mobile Corporation Method and system for providing video multimedia ringtone
US10334118B2 (en) * 2013-06-26 2019-06-25 Camp Mobile Corporation Method and system for providing video multimedia ringtone
CN103402073A (en) * 2013-08-22 2013-11-20 聚领信息技术(上海)有限公司 Method for realizing video communication by input/ output (I/ O) separation way
CN104681047A (en) * 2013-11-26 2015-06-03 中国移动通信集团公司 Adaptive video playing method, device and terminal
CN104853239A (en) * 2015-04-27 2015-08-19 浙江生辉照明有限公司 Audio and video synchronous playback control method and system
CN105872699A (en) * 2016-04-28 2016-08-17 乐视控股(北京)有限公司 Video playing control method and device
CN106658133A (en) * 2016-10-26 2017-05-10 广州市百果园网络科技有限公司 Audio and video synchronous playing method and terminal
CN108632557A (en) * 2017-03-20 2018-10-09 中兴通讯股份有限公司 A kind of method and terminal of audio-visual synchronization
CN107360458A (en) * 2017-06-30 2017-11-17 广东欧珀移动通信有限公司 Control method for playing back, device, storage medium and terminal
CN107454447A (en) * 2017-09-04 2017-12-08 青岛海信电器股份有限公司 A kind of plug-in loading method of player, device and television set
CN109348070A (en) * 2018-12-21 2019-02-15 北京金山安全软件有限公司 Caller identification method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653920A (en) * 2020-12-18 2021-04-13 北京字跳网络技术有限公司 Video processing method, device, equipment, storage medium and computer program product
US12003884B2 (en) 2020-12-18 2024-06-04 Beijing Zitiao Network Technology Co., Ltd. Video processing method and apparatus, device, storage medium and computer program product

Also Published As

Publication number Publication date
CN109862193B (en) 2020-10-02

Similar Documents

Publication Publication Date Title
CN104853081B (en) Breakpoint image pickup method, device and mobile terminal
CN102868862A (en) Method and equipment for dubbing video applied to mobile terminal
CN110264235A (en) Advertisement detecting method, system, device and electronic equipment
US20170168660A1 (en) Voice bullet screen generation method and electronic device
CN111131848A (en) Video live broadcast data processing method, client and server
CN105187733A (en) Video processing method, device and terminal
US20240127856A1 (en) Audio processing method and apparatus, and electronic device and storage medium
CN105187692A (en) Video recording method and device
CN110166723A (en) It is a kind of to record the audio and video synchronization method in shielding, electronic equipment, storage medium
CN109922298A (en) Meeting room monitoring method and device
JP2017538328A (en) Promotion information processing method, apparatus, device, and computer storage medium
CN108696763A (en) Advertisement broadcast method and device
CN107770624A (en) It is a kind of it is live during multimedia file player method, device and storage medium
CN108597546B (en) Method for determining background music of recalling video and related equipment
CN109754285A (en) Information processing method, device, electronic equipment and computer readable storage medium
CN104023176A (en) Method and device of processing audio frequency and image information as well as terminal equipment
CN105578224A (en) Multimedia data acquisition method, device, smart television and set-top box
CN105635837B (en) A kind of video broadcasting method and device
CN105005612B (en) A kind of acquisition methods and mobile terminal of music file
CN109862193A (en) It sends a telegram here in a kind of terminal the control method and device of video
CN107580264A (en) Multimedia resource play handling method and device
EP3144934B1 (en) Audio play method and device
CN114339404B (en) Method and device for displaying screen protection wallpaper, electronic equipment and storage medium
KR100597669B1 (en) Mobile telecommunication terminal for playing multimedia contents and method thereof
US20200286120A1 (en) Advertising monitoring method, system, apparatus, and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220801

Address after: No.16 and 17, unit 1, North District, Kailin center, No.51 Jinshui East Road, Zhengzhou area (Zhengdong), Henan pilot Free Trade Zone, Zhengzhou City, Henan Province, 450000

Patentee after: Zhengzhou Apas Technology Co.,Ltd.

Address before: E301-27, building 1, No.1, hagongda Road, Tangjiawan Town, Zhuhai City, Guangdong Province

Patentee before: ZHUHAI TIANYAN TECHNOLOGY Co.,Ltd.