CN103945272B - A kind of video interactive method, device and system - Google Patents

A kind of video interactive method, device and system Download PDF

Info

Publication number
CN103945272B
CN103945272B CN201310024374.2A CN201310024374A CN103945272B CN 103945272 B CN103945272 B CN 103945272B CN 201310024374 A CN201310024374 A CN 201310024374A CN 103945272 B CN103945272 B CN 103945272B
Authority
CN
China
Prior art keywords
video file
video
file
sound
condition
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.)
Active
Application number
CN201310024374.2A
Other languages
Chinese (zh)
Other versions
CN103945272A (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.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201310024374.2A priority Critical patent/CN103945272B/en
Publication of CN103945272A publication Critical patent/CN103945272A/en
Application granted granted Critical
Publication of CN103945272B publication Critical patent/CN103945272B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Embodiment of the present invention proposes a kind of video interactive method, device and system.Method includes:Video file sound is set to replace condition and audio alternate file;Obtain video file;Judge whether the video file meets that the video file sound replaces condition according to the attribute information of video file, if, the video file is played in video player and closes the audio stream of the video file, and the audio alternate file is played in the video player.Embodiment of the present invention improves interaction success rate.

Description

A kind of video interactive method, device and system
Technical field
Embodiment of the present invention is related to technical field of information processing, more particularly, to a kind of video interactive method, device And system.
Background technology
With the rapid development of computer technology and network technology, internet(Internet)With instant messaging in people Daily life, the effect that plays in study and work it is also increasing.Moreover, with the development of mobile Internet, interconnection Net also develops to mobile.
Today's society has come into the highly developed information age, its competition among enterprises form also via the past mainly with Singular competition Morphological Transitions based on product function quality is using corporate image, commodity, brands etc. as important means and mainly The compound form of competition of tendency.The transformation of this form is undivided with modern video developing rapidly for cause of displaying.
In traditional video display activity, video master, video content, video content audient, video performance etc. substantially will Element all reflects the civilization degree in each period in certain region.All these pictorial elements, all to varying degrees Reflect society, economic epoch vestige as a kind of culture.
In current video display method, video material is voluntarily directly generally provided by video provider, and unidirectionally Video is actively shown on network.However, this exhibition method does not have the personal degree of participation in view of video audient, therefore Only it is a kind of unilateral video display, lacks with video tour audient and effectively interact, therefore interaction success rate is very low.
Moreover, in view of the influence of network transfer speeds, video material are downloaded between really displaying typically from network is started There is certain stand-by period, when network speed is slower, this stand-by period can be longer.Therefore, prior art regards In frequency methods of exhibiting, it usually needs the stand-by period, so as to also reduce interaction success rate.
The content of the invention
Embodiment of the present invention proposes a kind of video interactive method, to improve interaction success rate.
Embodiment of the present invention also proposed a kind of video interactive device, to improve interaction success rate.
Embodiment of the present invention also proposed a kind of video interactive system, to improve interaction success rate.
The concrete scheme of embodiment of the present invention is as follows:
A kind of video interactive method, this method include:
Video file sound is set to replace condition and audio alternate file;
Obtain video file;
Judge whether the video file meets that the video file sound replaces condition according to the attribute information of video file, If it is, the video file is played in video player and closes the audio stream of the video file, and in the video playback The audio alternate file is played in device.
A kind of video file interactive device, the device include replacing condition setting unit, video file acquiring unit and sound Frequency replacement unit, wherein:
Condition setting unit is replaced, for setting video file sound to replace condition and audio alternate file;
Video file acquiring unit, for obtaining video file;
Audio replacement unit, for judging whether the video file meets the video according to the attribute information of video file File sound replaces condition, if it is, the video file is played in video player and closes the audio stream of the video file, And the audio alternate file is played in the video player.
A kind of video file interactive system, the system include client and video archive server, video archive server Positioned at network side, client includes video player;
Client, for setting video file sound to replace condition and audio alternate file, and from video archive server Obtain video file;Judge whether the video file meets that the video file sound is replaced according to the attribute information of video file Condition, if it is, the video file is played in video player and closes the audio stream of the video file, and in the video The audio alternate file is played in player;
Video archive server, for providing video file to client.
It can be seen from the above technical proposal that in embodiments of the present invention, set video file sound replace condition and Audio alternate file;Obtain video file;Judge the video file regards described in whether meeting according to the attribute information of video file Frequency file sound replaces condition, if it is, playing the video file in video player and closing the audio of the video file Stream, and the audio alternate file is played in the video player.As can be seen here, after using embodiment of the present invention, For providing the various video files that source provides by video, be no longer in the prior art the picture in simple playback video file with And audio, but actively can be judged using the attribute information of video file, when the video file sound that satisfaction is pre-set When sound replaces condition, the not audio in playing video file, but replace and play other audios, so as to playing video file Process is not only a kind of unilateral video display, but has between video tour audient and interact, thus improve interact into Power.
Brief description of the drawings
Fig. 1 is the video interactive method flow chart according to embodiment of the present invention;
Fig. 2 is the video interactive apparatus structure schematic diagram according to embodiment of the present invention;
Fig. 3 is the video interactive system schematic according to embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, the present invention is made below in conjunction with the accompanying drawings further Detailed description.
In embodiments of the present invention, no longer it is prior art for the various video files provided by video offer source Picture and audio in middle simple playback video file, but video file category can be utilized on one's own initiative by video tour audient Property information judge whether to meet that video file sound replaces condition, or parse by video browser the attribute of the video file and believe Breath works as the video file sound for meeting to pre-set to judge whether the video file meets that video file sound replaces condition During replacement condition, the not audio in playing video file, but replace and play other audios, so as to the mistake of playing video file Journey is not only a kind of unilateral video display, but has between video tour audient and interact, therefore improves interaction success Rate.
Fig. 1 is the video interactive method flow chart according to embodiment of the present invention.
As shown in figure 1, this method includes:
Step 101:Video file sound is set to replace condition and audio alternate file.
Herein, various attribute informations setting video file sound that can be based on video file replaces condition, works as satisfaction When video file sound replaces condition, i.e. the not audio in playing video file, but replace and play other audios.
For example video file memory space can be based on and take number setting video file sound replacement condition.When video text When the memory space occupancy number of part is larger(Such as more than the threshold value pre-set), it is believed that the video file is excessive, then can be with Now replace and play other audio files.Alternatively it is also possible to taking number based on video file memory space sets video text Part sound replaces condition.When the memory space occupancy number of video file is smaller(The threshold value such as less than pre-set), recognize It is too small for the video file, then it can now replace and play other audio files.When the video player using mobile terminal , can based on this video file sound substitute mode because the floating resources of mobile terminal are more valuable during playing video file Effectively to save flow.
In one embodiment, the speed of download for being also based on video file sets video file sound to replace bar Part.When the speed of download of video file is slower(Such as less than the threshold value pre-set), it is believed that the video file it is visual Property it is bad, then can now replace and play other audio files.
In one embodiment, the contents attribute for being also based on video file sets video file sound to replace bar Part.When the contents attribute of video file matches with the contents attribute shielding list pre-set, it is believed that the video file It is not suitable for while broadcasting pictures and sound, then can now replaces and play other audio files.
For example the video file with ad content attribute can be set to contents attribute and shielded in list, so as to To shield the broadcasting of the sound of advertisement.
Moreover, also need to set audio alternate file herein.Audio alternate file both can be the sound positioned at network side Frequency file(Such as audio file URL)Or the audio file being located locally.
Step 102:Obtain video file.
Herein, video file can be obtained in several ways.For example the various Streaming Media lattice of Network Capture can be passed through The video file of formula.
Streaming Media refers to the form for transmitting audio, video and multimedia file in a network in a streaming manner.Streaming Media text Part form is supported using stream transmission and the media formats played.Streaming manner is by the multimedias such as video and audio text Part is divided into compressed package one by one by special compress mode, is transmitted continuously, in real time from server to subscriber computer.Using In the system of streaming manner, user plays not necessarily like non-stream waits until that whole file can just be seen after all downloading like that To central content, but only that can be on the user computer using corresponding by the start-up study of several seconds or tens seconds Player the streaming video file such as the video of compression or audio is played out, remaining part will continue to download, directly To finishing.
In embodiments of the present invention, the mode of video file is obtained on network can include download and stream transmission Two schemes.Due to the video files such as AVI it is general all larger, it is necessary to memory capacity it is also larger;Simultaneously because network bandwidth Limitation, download is often required to spend several minutes or even a few hours, so the delay of download process method is also very big.When using stream transmission When, continuous, real-time transmission of the time-base media such as sound, image or animation from audio/video server to subscriber computer, user is not It must wait until that whole file is all downloaded to finish, and need to can only be watched by the start-up study of several seconds or ten several seconds.Work as sound When the time-base medias such as sound play on a client, the remainder of file will continue to download on backstage out of server.Streaming is not Only make start-up study tenfold, hundred times ground shorten, and need not be too big buffer memory capacity.It is necessary that stream transmission avoids user The shortcomings that waiting whole file all to be downloaded from internet could watch.
Streaming video does not download whole file before broadcasting, and beginning content only is stored in into internal memory, streaming video Data flow transmits play at any time at any time, is simply beginning with some delays.The key technology that Streaming Media is realized is exactly that streaming passes It is defeated.Stream transmission definition is very extensive, primarily now refers to and transmits media by network(Such as video, audio)Technology general name.It is special It is that movie and video programs are sent into PC by internet to determine implication.
Realize that stream transmission there are two methods:Real Time Streaming(Real time streaming)Passed with progressive streaming It is defeated(progressive streaming).It is, in general, that if video is real-time broadcast, or using streaming media server, Or using the real-time protocol (RTP) such as RTSP, as Real Time Streaming.HTTP server is such as used, file is sent out by sequential flow Send.Which kind of transmission method to rely on your demand using.Certainly, stream-oriented file is also supported to be fully downloaded to hard disk before broadcasting.
Step 103:Judge whether the video file meets the video file sound according to the attribute information of video file Replacement condition, if it is, the video file is played in video player and closes the audio stream of the video file, and at this The audio alternate file is played in video player.
Herein, can be judged whether to meet video text according to video file attributes information on one's own initiative by video tour audient Part sound replaces condition.For example it can be subscribed in video browser in region and switching key is set;When video tour audient according to When the attribute information of video file judges that the video file is not desired to the video content browsed for users such as advertisements, user triggers switching Button.When user triggers switching key, judge that the video file sound is replaced condition and is met.
Or the attribute information of the video file can also be parsed by video browser to judge whether the video file is full Sufficient video file sound replaces condition.In one embodiment, when in step 101 be based on video file memory space take number When setting video file sound replacement condition, the step 103 specifically includes:
Parse the video file and take number to obtain the memory space of the video file, judge that the storage of the video file is empty Between take whether number exceedes threshold value set in advance, if it is, judging to meet video file sound replacement condition.
In one embodiment, when in step 101 speed of download based on video file set video file sound to replace When changing condition, the step 103 specifically includes:
The video file is parsed to obtain the speed of download of the video file, judge the video file speed of download whether Less than threshold value set in advance, if it is, judging to meet that the video file sound replaces condition.
In one embodiment, when in step 101 contents attribute based on video file set video file sound to replace When changing condition, the step 103 specifically includes:
The video file is parsed to obtain the contents attribute of the video file, judge the video file contents attribute whether Match with the contents attribute shielding list pre-set, if it is, judging to meet that the video file sound replaces condition. Preferably, the advertisement video on current network is set to contents attribute and shielded in list, so as to realize the sound to advertisement video Sound shields.
For various specific video players, it can adopt and be somebody's turn to do in various manners to realize to play the video file and close The audio stream of video file, and audio alternate file is played in the video player.
Such as:For Real Player players, the function can be realized by being configured for following parameters:
Player.DoPlay () is played
Player.DoPause () suspends
Player.DoStop () stops
Player.GetLength () returns to the total length of played file(In units of millisecond)
Player.GetPosition () returns to the current time location of played file(In units of millisecond)
Player.GetPlayState () returns to player status(0:Stop, 1:Connection, 2:Buffering, 3:Play, 4:Temporarily Stop, 5:Find)
Player.SetPosition (n) time locations jump to n place(N values are in units of millisecond)
Player.SetVolume (n) sets volume(N values are 0 to 100)
Player.SetMute (s) is Jing Yin(S values are true and false)
Player.SetFullScreen () is full frame
Player.setSource () sets document source.
Moreover, for Media Player video players, the work(can be realized by being configured for following parameters Energy:
player.controls.play();Play
player.controls.stop();Stop
player.controls.pause();Pause
Player.controls.currentPosition returns to the current time location of played file(In seconds)
The character string " 0 of player.controls.currentPositionString time formats:32"
Player.currentMedia.duration returns to the total length of played file(In seconds)
The character string " 4 of player.currentMedia.durationString time formats:34"
Player.settings.volume volumes(0-100)
Player.settings.balance sound channels, stereo, L channel, R channel should can be carried out by it Control.
Player.settings.mute=s is Jing Yin(S values are true and false)
Occurs the ID of the container of captions in player.closedCaption.CaptioningID webpages
Player.closedCaption.SAMIFileName subtitle files address
Player.playState returns to player status(3:Play, 2:Pause 1:Stop).
Although embodiment of the present invention is carried out by taking Realplayer and Media Player video players as an example above It is described in detail, it will be appreciated by those of skill in the art that embodiment of the present invention is not limited to these video players, and It is to go for arbitrary network video player.
In the above-mentioned methods, video player both can obtain audio alternate file from server, can also be in local inspection Rope is to obtain audio alternate file;Then video player plays the audio alternate file again.
In the method, further comprise:Obtain the Update attribute information of the video file;When according to the video file When Update attribute information judges no longer to meet that video file sound replaces condition, the audio is closed in video player and is replaced File, and the video file and the audio stream of the video file are played in the video player.
During the control that can be implemented the present invention into for web advertisement video plays.
Such as:Advertisement provides source and first throws menu manager system registry account number in advertisement, and prestore advertising expense, then submits advertisement putting Single, the advertisement putting list includes Streaming Media(Because Streaming Media is easily downloaded, while broadcasting under one side, easily linking), multiple uploads Song network address, release time, play form, content-targeted keyword, valuation model, the redirected link of material and others Stereotactic conditions(Such as area orientation and time orientation), etc..Menu manager system is thrown in advertisement will regularly meet following condition Throwing is singly synchronized to index server, and these conditions can include:Launch single pass-through examination & verification, launch the remaining sum foot of single advertiser Enough, reproduction time includes current time, etc..Advertisement playing controller request material server obtains suitable advertisement, then Downloads ad material and song, and commence play out advertisement.Finally, advertisement video player(It is specifically as follows flash player) The broadcasting of ad material is carried out, corresponding material URL and duration is parsed, the information of clickthrough, pulls corresponding material And play advertisement.Also, it is preferred that advertisement video player window is provided with linking button, once click the linking button Afterwards, go to obtain network song address corresponding to note ad material before the video, and after getting song address, shield the sound of essence material Sound, and song sound is played, until note advertisement plays before video.
Based on above-mentioned labor, embodiment of the present invention also proposed a kind of video file interactive device.
Fig. 2 is the video file interactive device structure chart according to embodiment of the present invention.
As shown in Fig. 2 the device includes replacing condition setting unit 201, video file acquiring unit 202 and audio replacement Unit 203, wherein:
Condition setting unit 201 is replaced, for setting video file sound to replace condition and audio alternate file;
Video file acquiring unit 202, for obtaining video file;
Audio replacement unit 203, described in judging whether the video file meet according to the attribute information of video file Video file sound replaces condition, if it is, playing the video file in video player and closing the sound of the video file Frequency is flowed, and the audio alternate file is played in the video player.
Herein, can be judged whether to meet video text according to video file attributes information on one's own initiative by video tour audient Part sound replaces condition.For example it can be subscribed in video browser in region and switching key is set;When video tour audient according to When the attribute information of video file judges that the video file is not desired to the video content browsed for users such as advertisements, user triggers switching Button.When user triggers switching key, judge that the video file sound is replaced condition and is met.
Now, condition setting unit 201 is replaced, switching key is set for being subscribed in video browser in region;
Audio replacement unit 203, for judging whether the switching key is triggered, if it is, judging to regard described in satisfaction Frequency file sound replaces condition.
Or the attribute information of the video file can also be parsed by video browser to judge whether the video file is full Sufficient video file sound replaces condition.
In one embodiment, condition setting unit 201 is replaced, number is taken for the memory space based on video file Video file sound is set to replace condition;
Audio replacement unit 203, number is taken to obtain the memory space of the video file for parsing the video file, is sentenced The memory space of the disconnected video file takes whether number exceedes threshold value set in advance, if it is, judging to regard described in satisfaction Frequency file sound replaces condition.
In another embodiment, condition setting unit 201 is replaced, is set for the speed of download based on video file Video file sound replaces condition;
Audio replacement unit 203, for parsing the video file to obtain the speed of download of the video file, judge that this is regarded Whether the speed of download of frequency file is less than threshold value set in advance, if it is, judging to meet that the video file sound replaces Change condition.
Preferably, condition setting unit 201 is replaced, video file sound is set for the contents attribute based on video file Replacement condition;
Audio replacement unit 203, for parsing the video file to obtain the contents attribute of the video file, judge that this is regarded Whether the contents attribute of frequency file matches with the contents attribute shielding list pre-set, if it is, judging described in satisfaction Video file sound replaces condition.
In one embodiment, audio replacement unit 203, replaced for enabling video player from server acquisition audio Exchange of notes part, or in locally retrieval to obtain audio alternate file, and enabled video player plays the audio alternate file.
In one embodiment, audio replacement unit 203, it is further used for obtaining the Update attribute letter of the video file Breath;And when judging no longer to meet that video file sound replaces condition according to the Update attribute information of the video file, in video The audio alternate file is closed in player, and the video file and the video file are played in the video player Audio stream.
Based on above-mentioned labor, embodiment of the present invention also proposed a kind of video file interactive system.
Fig. 3 is according to embodiment of the present invention video file interactive system structure chart.
As shown in figure 3, the system includes client and video archive server, video archive server is located at network side, Client includes video player;
Client, for setting video file sound to replace condition and audio alternate file, and from video archive server Obtain video file;Judge whether the video file meets that the video file sound is replaced according to the attribute information of video file Condition, if it is, the video file is played in video player and closes the audio stream of the video file, and in the video The audio alternate file is played in player;
Video archive server, for providing video file to client.
Similarly, can be judged whether to meet video text according to video file attributes information on one's own initiative by video tour audient Part sound replaces condition.For example it can be subscribed in video browser in region and switching key is set;When video tour audient according to When the attribute information of video file judges that the video file is not desired to the video content browsed for users such as advertisements, user triggers switching Button.When user triggers switching key, judge that the video file sound is replaced condition and is met.
In one embodiment, the system further comprises replacing audio server;
Client, for sending audio alternate file inquiry request to replacement audio server;
Audio server is replaced, for retrieving audio alternate file based on the audio alternate file inquiry request, and to institute State client and the audio alternate file is provided.
Wherein, client can include but is not limited to:Functional mobile phone, smart mobile phone, palm PC, PC (PC), tablet personal computer or personal digital assistant(PDA), etc..
Although enumerating the instantiation of client in detail above, those skilled in the art are it is to be appreciated that these are enumerated only is Purposes of illustration, it is not intended to limit the present invention the protection domain of embodiment.
Client goes for arbitrary intelligent terminal operation system, and the operating system that can specifically use is included still It is not limited to:Android(Andorid)、Palm OS、Symbian(Saipan)、Windows mobile、Linux、Android(Peace It is tall and erect)、iPhone(Apple)OS、Black Berry(Blackberry, blueberry)OS6.0, Windows Phone series, etc..
Preferably, client can specifically use Android operation system, and client can use each of Andorid Among individual version, including but not limited to:A Tongmu(Android Beta), clockwork spring robot(Android1.0), dixie cup Cake(Android1.5), baked donut(Android1.6), muffin(Android2.0/2.1), frozen yogurt(Android2.2)、 Gingerbread(Android2.3), honeycomb(Android3.0), ice cream sandwich(Android4.0), jelly beans(Jelly Bean, Android4.1)Deng version.The specific version of Android platform is enumerated in detail above, and those skilled in the art will be appreciated that Arrive, embodiment of the present invention be not limited to it is above-mentioned enumerate version, and can be applicable to other and be based on Android software framework Any version among.
Embodiment of the present invention can be applied in the various intelligent terminal browsers for being built-in with video player, these Browse implement body can include Internet Explorer of Microsoft, Mozilla Firefox, Apple Safari, The browsers such as Opera, Google Chrome, GreenBrowser.
Although list some browser of mobile terminal for being built-in with video player, those skilled in the art in detail above It is to be appreciated that embodiment of the present invention is not limited to these browsers, but go for arbitrarily can be used for showing net Page server or file in archives economy simultaneously allow user's application interactive with file(App), these applications can be normal at present The various browsers seen or other application programs arbitrarily with web page browsing function.
Indeed, it is possible to the video file interaction side that embodiment of the present invention is proposed is embodied by diversified forms Method and device.For example the application programming interfaces of certain specification can be followed, video file interaction is written as being installed to movement eventually The plug-in card program in video browser is held, can also be encapsulated as application program so that user voluntarily downloads use.When writing For plug-in card program when, a variety of card formats such as ocx, dll, cab can be implemented as.Can also by Flash plug-in units, The particular techniques such as RealPlayer plug-in units, MMS plug-in units, MIDI staffs plug-in unit, ActiveX plug-in units implement embodiment party of the present invention The video file exchange method that formula is proposed.
The video file that can be proposed embodiment of the present invention by the storing mode that instruction or instruction set store is handed over Mutual method is stored in various storage mediums.These storage mediums include but is not limited to:Floppy disk, CD, DVD, hard disk, sudden strain of a muscle Deposit, USB flash disk, CF cards, SD card, mmc card, SM cards, memory stick(Memory Stick), xD cards etc..
Furthermore it is also possible to the video file exchange method that embodiment of the present invention is proposed is applied to based on flash memory (Nand flash)Storage medium in, such as USB flash disk, CF cards, SD card, SDHC cards, mmc card, SM cards, memory stick, xD cards etc..
In summary, in embodiments of the present invention, video file sound is set to replace condition and audio alternate file;Obtain Take video file;Judge whether the video file meets that the video file sound replaces bar according to the attribute information of video file Part, if it is, playing the video file in video player and closing the audio stream of the video file, and broadcast in the video Put and the audio alternate file is played in device.As can be seen here, after using embodiment of the present invention, carried for providing source by video The various video files supplied, are no longer picture and audio in the prior art in simple playback video file, but can be by Video tour audient is actively judged using the attribute information of video file, or parses the video file by video browser Attribute information is to judge whether the video file meets that video file sound replaces condition, when the video file that satisfaction is pre-set When sound replaces condition, the not audio in playing video file, but replace and play other audios, so as to playing video file Process be not only a kind of unilateral video display, but have between video tour audient and interact, therefore improve interaction Success rate.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc., the protection of the present invention should be included in Within the scope of.

Claims (12)

1. a kind of video interactive method, it is characterised in that this method includes:
Video file sound is set to replace condition and audio alternate file;
Obtain video file;
Judge whether the video file meets that the video file sound replaces condition according to the attribute information of video file, if It is that the video file is played in video player and closes the audio stream of the video file, and in the video player Play the audio alternate file;
The setting video file sound, which replaces condition, to be included:Number is taken based on video file memory space video file sound is set Sound replaces condition;The attribute information according to video file judges whether the video file meets that the video file sound replaces The condition of changing includes:Parse the video file and take number to obtain the memory space of the video file, judge depositing for the video file Whether storage space hold number exceedes threshold value set in advance, if it is, judging to meet that the video file sound replaces bar Part;Or
The setting video file sound, which replaces condition, to be included:Speed of download based on video file sets video file sound to replace Change condition;The attribute information according to video file judges whether the video file meets that the video file sound replaces bar Part includes:The video file is parsed to obtain the speed of download of the video file, judge the video file speed of download whether Less than threshold value set in advance, if it is, judging to meet that the video file sound replaces condition.
2. according to the method for claim 1, it is characterised in that the setting video file sound, which replaces condition, to be included:Base Video file sound is set to replace condition in the contents attribute of video file;
The attribute information according to video file judges whether the video file meets that the video file sound replaces condition Including:
The video file is parsed to obtain the contents attribute of the video file, judge the video file contents attribute whether with advance The contents attribute shielding list first set matches, if it is, judging to meet that the video file sound replaces condition.
3. according to the method for claim 1, it is characterised in that the setting video file sound, which replaces condition, to be included: Video browser is subscribed in region and sets switching key;
The attribute information according to video file judges whether the video file meets that the video file sound replaces condition Including:
Judge whether the switching key is triggered, if it is, judging to meet that the video file sound replaces condition.
4. according to the method for claim 1, it is characterised in that described that the audio replacement is played in the video player File includes:
Video player from server obtain audio alternate file, either locally retrieval with obtain audio alternate file or Voluntarily specified by user and obtain audio alternate file;
Video player plays the audio alternate file.
5. according to the method any one of claim 1-4, it is characterised in that this method further comprises:
Obtain the Update attribute information of the video file;
When judging no longer to meet that video file sound replaces condition according to the Update attribute information of the video file, broadcast in video Put and the audio alternate file is closed in device, and play in the video player video file and the video file Audio stream.
6. a kind of video file interactive device, it is characterised in that the device includes replacing condition setting unit, video file acquisition Unit and audio replacement unit, wherein:
Condition setting unit is replaced, for setting video file sound to replace condition and audio alternate file;
Video file acquiring unit, for obtaining video file;
Audio replacement unit, for judging whether the video file meets the video file according to the attribute information of video file Sound replaces condition, if it is, the video file is played in video player and closes the audio stream of the video file, and The audio alternate file is played in the video player;
The replacement condition setting unit, take number for the memory space based on video file and set video file sound to replace Condition;Audio replacement unit, number is taken to obtain the memory space of the video file for parsing the video file, judges that this is regarded The memory space of frequency file takes whether number exceedes threshold value set in advance, if it is, judging to meet the video file Sound replaces condition;Or
The replacement condition setting unit, video file sound is set to replace condition for the speed of download based on video file; Audio replacement unit, for parsing the video file to obtain the speed of download of the video file, judge under the video file Carry whether speed is less than threshold value set in advance, if it is, judging to meet that the video file sound replaces condition.
7. video file interactive device according to claim 6, it is characterised in that
Condition setting unit is replaced, sets video file sound to replace condition for the contents attribute based on video file;
Audio replacement unit, for parsing the video file to obtain the contents attribute of the video file, judge the video file Contents attribute whether match with the contents attribute shielding list pre-set, if it is, judging to meet video text Part sound replaces condition.
8. video file interactive device according to claim 6, it is characterised in that
Condition setting unit is replaced, switching key is set for being subscribed in video browser in region;
Audio replacement unit, for judging whether the switching key is triggered, if it is, judging to meet the video file sound Sound replaces condition.
9. video file interactive device according to claim 6, it is characterised in that
Audio replacement unit, for enable video player from server obtain audio alternate file, or locally retrieval with Audio alternate file is obtained, or is voluntarily specified by user and obtains audio alternate file, and enabled video player plays the sound Frequency alternate file.
10. the video file interactive device according to any one of claim 6-9, it is characterised in that
Audio replacement unit, it is further used for obtaining the Update attribute information of the video file;And when according to the video file When Update attribute information judges no longer to meet that video file sound replaces condition, the audio is closed in video player and is replaced File, and the video file and the audio stream of the video file are played in the video player.
11. a kind of video file interactive system, it is characterised in that the system includes client and video archive server, video File server is located at network side, and client includes video player;
Client, obtained for setting video file sound to replace condition and audio alternate file, and from video archive server Video file;Judge whether the video file meets that the video file sound replaces bar according to the attribute information of video file Part, if it is, playing the video file in video player and closing the audio stream of the video file, and broadcast in the video Put and the audio alternate file is played in device;
Video archive server, for providing video file to client;
The setting video file sound, which replaces condition, to be included:Number is taken based on video file memory space video file sound is set Sound replaces condition;The attribute information according to video file judges whether the video file meets that the video file sound replaces The condition of changing includes:Parse the video file and take number to obtain the memory space of the video file, judge depositing for the video file Whether storage space hold number exceedes threshold value set in advance, if it is, judging to meet that the video file sound replaces bar Part;Or
The setting video file sound, which replaces condition, to be included:Speed of download based on video file sets video file sound to replace Change condition;The attribute information according to video file judges whether the video file meets that the video file sound replaces bar Part includes:The video file is parsed to obtain the speed of download of the video file, judge the video file speed of download whether Less than threshold value set in advance, if it is, judging to meet that the video file sound replaces condition.
12. video file interactive system according to claim 11, it is characterised in that the system further comprises replacing sound Frequency server;
Client, for sending audio alternate file inquiry request to replacement audio server;
Audio server is replaced, for retrieving audio alternate file based on the audio alternate file inquiry request, and to the visitor Family end provides the audio alternate file.
CN201310024374.2A 2013-01-23 2013-01-23 A kind of video interactive method, device and system Active CN103945272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310024374.2A CN103945272B (en) 2013-01-23 2013-01-23 A kind of video interactive method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310024374.2A CN103945272B (en) 2013-01-23 2013-01-23 A kind of video interactive method, device and system

Publications (2)

Publication Number Publication Date
CN103945272A CN103945272A (en) 2014-07-23
CN103945272B true CN103945272B (en) 2018-03-06

Family

ID=51192714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310024374.2A Active CN103945272B (en) 2013-01-23 2013-01-23 A kind of video interactive method, device and system

Country Status (1)

Country Link
CN (1) CN103945272B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872749A (en) * 2015-12-18 2016-08-17 乐视致新电子科技(天津)有限公司 Video processing method and device
CN106330875B (en) * 2016-08-17 2019-12-24 腾讯科技(深圳)有限公司 Message display method and device
CN107864400B (en) * 2016-09-22 2020-11-10 青岛海尔多媒体有限公司 Playing method and device
CN109376266A (en) * 2018-09-18 2019-02-22 北京小米移动软件有限公司 Processing method, device, electronic equipment and the storage medium of slow motion video
CN109218849B (en) * 2018-10-30 2021-07-02 广州虎牙科技有限公司 Live data processing method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791189A (en) * 2004-12-15 2006-06-21 上海乐金广电电子有限公司 Video/audio cutting control device for digital program receiver and its method
CN1816132A (en) * 2005-02-02 2006-08-09 乐金电子(沈阳)有限公司 Receiving-transmitting system classified in types according to image and sound signal grade, and method thereof
CN1871856A (en) * 2003-08-26 2006-11-29 克里尔普雷有限公司 Method and apparatus for controlling play of an audio signal
CN1968137A (en) * 2006-04-30 2007-05-23 华为技术有限公司 Media stream checking system and code stream generation node checking device
CN1984060A (en) * 2006-05-26 2007-06-20 华为技术有限公司 Method and system for alternating medium-flow during process of terminal talk
CN101199146A (en) * 2005-04-14 2008-06-11 汤姆森特许公司 Automatic replacement of imperfect audio frequency contents from audio signal
CN101978425A (en) * 2008-03-20 2011-02-16 迪讯广播公司 Method and apparatus for replacement of audio data in recorded audio/video stream
US8239199B2 (en) * 2009-10-16 2012-08-07 Yahoo! Inc. Replacing an audio portion
CN102647545A (en) * 2012-04-26 2012-08-22 新奥特(北京)视频技术有限公司 Track material replacement method in multi-channel system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7577568B2 (en) * 2003-06-10 2009-08-18 At&T Intellctual Property Ii, L.P. Methods and system for creating voice files using a VoiceXML application

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1871856A (en) * 2003-08-26 2006-11-29 克里尔普雷有限公司 Method and apparatus for controlling play of an audio signal
CN1791189A (en) * 2004-12-15 2006-06-21 上海乐金广电电子有限公司 Video/audio cutting control device for digital program receiver and its method
CN1816132A (en) * 2005-02-02 2006-08-09 乐金电子(沈阳)有限公司 Receiving-transmitting system classified in types according to image and sound signal grade, and method thereof
CN101199146A (en) * 2005-04-14 2008-06-11 汤姆森特许公司 Automatic replacement of imperfect audio frequency contents from audio signal
CN1968137A (en) * 2006-04-30 2007-05-23 华为技术有限公司 Media stream checking system and code stream generation node checking device
CN1984060A (en) * 2006-05-26 2007-06-20 华为技术有限公司 Method and system for alternating medium-flow during process of terminal talk
CN101978425A (en) * 2008-03-20 2011-02-16 迪讯广播公司 Method and apparatus for replacement of audio data in recorded audio/video stream
US8239199B2 (en) * 2009-10-16 2012-08-07 Yahoo! Inc. Replacing an audio portion
CN102647545A (en) * 2012-04-26 2012-08-22 新奥特(北京)视频技术有限公司 Track material replacement method in multi-channel system

Also Published As

Publication number Publication date
CN103945272A (en) 2014-07-23

Similar Documents

Publication Publication Date Title
CN104703014B (en) A kind of video broadcasting method, device and system
US9282381B2 (en) Media playback control
CA2824368C (en) Creation of video bookmarks via scripted interactivity in advanced digital television
US20090063496A1 (en) Automated most popular media asset creation
CN103945272B (en) A kind of video interactive method, device and system
US11284170B1 (en) Video preview mechanism
KR102227686B1 (en) Pushing content to secondary connected devices
US8667532B2 (en) Content recognition for targeting video advertisements
US8676952B2 (en) User adaptive HTTP stream manager and method for using same
CN111512635B (en) Method and system for selectively skipping media content
US20090276807A1 (en) Facilitating indication of metadata availbility within user accessible content
US20140068677A1 (en) System and method for generating content channels
JP2004529588A (en) Method and apparatus for time-shifting broadcast programs having web content of synchronous delivery
US20100046633A1 (en) Communication terminal, content reproduction method, content reproduction program, content reproduction system, and server therefor
JP2009212857A (en) Content reproducing unit, content reproducing method, content reproducing system, program, and recording medium
KR20090099439A (en) Keyword advertising method and system based on meta information of multimedia contents information
CN101764796A (en) Advertisement transmission method and system
JP2023019173A (en) Video distribution device, video distribution method and video distribution program
KR20200049192A (en) Providing Method for virtual advertisement and service device supporting the same
KR20170131436A (en) Video content replay
CN101471944B (en) Advertisement transmission method and system
KR20000054044A (en) advertizing method using a moving picture window for an Internet broadcasting
TWI322397B (en)
CN103188564A (en) Electronic equipment and information processing method thereof
JPWO2019188485A1 (en) Information processing equipment, information processing equipment and programs

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant