CN106408544A - Method and system for repairing damaged video - Google Patents
Method and system for repairing damaged video Download PDFInfo
- Publication number
- CN106408544A CN106408544A CN201610997628.2A CN201610997628A CN106408544A CN 106408544 A CN106408544 A CN 106408544A CN 201610997628 A CN201610997628 A CN 201610997628A CN 106408544 A CN106408544 A CN 106408544A
- Authority
- CN
- China
- Prior art keywords
- video
- reparation
- file
- marred
- reparation file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000008439 repair process Effects 0.000 claims description 75
- 238000012546 transfer Methods 0.000 claims description 14
- 230000000694 effects Effects 0.000 claims description 11
- 230000001771 impaired effect Effects 0.000 claims description 11
- 239000003755 preservative agent Substances 0.000 claims description 11
- 230000002335 preservative effect Effects 0.000 claims description 11
- 230000002452 interceptive effect Effects 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 5
- 239000012634 fragment Substances 0.000 claims description 2
- 239000002699 waste material Substances 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000007423 decrease Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 3
- 238000012217 deletion Methods 0.000 description 3
- 230000037430 deletion Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005067 remediation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/77—Retouching; Inpainting; Scratch removal
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention discloses a method and system for repairing a damaged video. The method comprises: receiving a video repairing request for repairing some damaged video inputted by a user, wherein the video repairing request includes site information corresponding to the damaged video; searching whether there is a repairing file corresponding to the damaged video in a local repairing file library or not; if there is the repairing file corresponding to the damaged video in the local repairing file library, calling the repairing file to perform repairing play of the damaged video, and if there is not the repairing file corresponding to the damaged video in the local repairing file library or the local repairing file has expired, sending the video repairing request to a server; receiving the repairing file sent by the server, and converting the repairing file to an executable effective repairing file; and repairing the damaged video according to the executable effective repairing file, and playing the repaired video.
Description
Technical field
The application is related to technical field of video processing, specifically, is related to one kind and appearance in online playing process is play
The method and system that the video of mistake is repaired.
Background technology
Video reparation is the process that information defect area on video is filled with, and its objective is to fill the image of defect,
And make observer cannot discover video once defect and being repaired.With the development of digital image processing techniques, increasingly
Many fields are desirable to video is carried out certain repairing, and reach the effect that human eye does not recognize.Therefore, numeral regards
Frequency recovery technique becomes one of current computer graphics and computer vision study hotspot, special in historical relic's protection, video display
In terms of skill makes, unnecessary target object rejects (deleting captions, station symbol etc. in the video image), the error concealment of video communication etc.
Have a wide range of applications.
At present, Digital Image Inpainting is broadly divided into two classes:The first kind is repaired frame by frame, and Kokaram et al. is by this
A little regions carry out the spot in interpolation calculation restored video and cut, and Bertalmio et al. proposes based on Navier-Stokes stream
Body Model video repairing method, the method image frame by frame is individually repaired, and does not account for the continuity between before and after's frame, leads
Cause the situation of flicker distortion when repairing bulk region.Yan et al. is repaired to video using BSCB method, and video is torn open
It is divided into single image to be respectively processed, this kind of method does not make full use of the time redundancy information of video yet, and simply simple
Application image recovery technique hardly result in holding processing video data, the continuity between adjacent each frame.
The process of above video reparation is mainly repaired to the digital picture in video, such as the spot in restored video
Point and cut etc..But the video that can not play after impaired be cannot be carried out repairing.
Present video playback form is to play out after user's foradownloaded video data again, and in order to accelerate user's download
Speed, present video data mostly all by the download transmission mode of CDN or P2P network, in user after multiple download
The video data taken may be impaired and can not play it is also possible to because cause the reason network the video downloaded can not be normal
Play, for locally downloading video, user also needs to re-download broadcasting;For the online video play, user also needs
Again refresh page to play out, to substantially increase the Operating Complexity of user, reduce the experience of user simultaneously.
Therefore, the normal viewing how carrying out repairing, not affecting user to the video that can not play after impaired becomes urgently
The problem solving.
Content of the invention
In view of this, technical problems to be solved in this application there is provided a kind of method that marred video is repaired
And system, realize the reparation of the marred video that user can not play because of download or network reason is play.
In order to solve above-mentioned technical problem, the application has following technical scheme:
A kind of method that marred video is repaired, including:
The video reparation request that a certain marred video is repaired of receiving user's input, in described video reparation request
Comprise site information corresponding with described marred video;
According to the corresponding site information of described marred video, search for whether preserve in local reparation library with described
Marred video corresponding reparation file:If locally preserving reparation file, transfer described reparation file to described marred video
Carry out repairing and play, if local non-preservative restoration file or local reparation file are out of date, send video to server and repair
Multiple request;
Receive the reparation file that described server sends, and described reparation file is converted to executable effective reparation literary composition
Part;
According to described executable effective reparation file, described marred video is repaired, and to the video after repairing
Play out.
Preferably, wherein:
According to described executable effective reparation file, described marred video is repaired, and to the video after repairing
Play out, further for:
According to described executable effective reparation file, described marred video information is carried out repair parsing, get institute
State the video playback source address of the corresponding restored video of marred video, and from described video playback source address, video is broadcast
Put.
Preferably, wherein:
Further include:
Described executable effective reparation file download is preserved to local described reparation library.
Preferably, wherein:
Further include:
Judge whether preserve out of date reparation file corresponding with described marred video in described reparation library, if
Preserve out of date reparation file corresponding with described marred video, then substitute institute with described executable effective reparation file
State reparation file out of date, and described reparation file out of date is deleted.
Preferably, wherein:
When described marred video comprises multiple video segment, described executable effective according to the transmission of described server
Repair file, after described marred video information being carried out repair parsing, get corresponding with described marred video multiple respectively
Multiple video playback source addresses of video segment and video length, and from described video playback source address successively to each piece of video
Section plays out.
A kind of system that marred video is repaired is it is characterised in that include:User interactive module, reparation file are originally
Ground enquiry module, reparation file reception module, reparation file modular converter and video repair playing module,
Described user interactive module, the video reparation a certain marred video repaired for receiving user's input please
Ask, in described video reparation request, comprise site information corresponding with described marred video;
Described reparation file local search module, for according to the corresponding site information of described marred video, search is local
Reparation library in whether preserve reparation file corresponding with described marred video:If locally preserving reparation file,
Transfer described reparation file described marred video to be carried out repair broadcasting, if local non-preservative restoration file or local reparation literary composition
Part is out of date, then send video reparation request to server;
Described reparation file reception module, for receiving the reparation file that described server sends;
Described reparation file modular converter, for being converted to executable effective reparation file by described reparation file;
Described video repairs playing module, for according to described executable effective reparation file, to described marred video
Repaired, and the video after repairing is played out.
Preferably, wherein:
Described video repairs playing module, is further used for, according to described executable effective reparation file, being subject to described
Damage video information to carry out repairing parsing, get the video playback source address of the corresponding restored video of described marred video, and from
Described video playback source address plays out to video.
Preferably, wherein:
Further include:Repair file download module,
Described reparation file download module, for preserving described executable effective reparation file download to local institute
State in reparation library.
Preferably, wherein:
Whether described reparation file download module, be further used for judging to preserve in described reparation library being subject to described
Damage the corresponding reparation file out of date of video, if preserving out of date reparation file corresponding with described marred video,
Substitute described reparation file out of date with described executable effective reparation file, and described reparation file out of date is deleted
Remove.
Preferably, wherein:
Described video repairs playing module, is further used for when described marred video comprises multiple video segment, according to
Executable effective reparation file that described server sends, carries out to described marred video information repairing parsing, obtains respectively
To multiple video playback source addresses and the video length of multiple video segments corresponding with described marred video, and regard from described
Frequency is play source address and successively each video segment is played out.
Compared with prior art, method and system described herein, have reached following effect:
First, the method and system that marred video is repaired provided by the present invention, can be according to user input
The video reparation request that a certain marred video is repaired, locally searches whether to exist to repair file from client first, if
Exist and repair file, then directly transfer this reparation file and marred video is carried out repair broadcasting, when local non-preservative restoration file
When, then send video reparation request, the reparation file that the reception server end sends to server, and be converted to can by repairing file
After effective reparation file of execution, video is carried out repair and play.So mode, is carried out to the video that client can not be play
Repair and play it is ensured that user can normally watch video.
Second, the method and system that marred video is repaired provided by the present invention, can executable effectively
Repair file download to preserve to local reparation library, substitute and repair reparation file out of date in library, when having again
User plays it is possible to directly transfer executable effective reparation file from local reparation library during this marred video, right
Marred video carries out repairing to be play, and need not carry out repeated downloads from server end again, allowing users to the very first time just watches
The video often play, thus effectively improve the experience effect of user.
3rd, the method and system that marred video is repaired provided by the present invention are additionally it is possible to judge to repair file
Out of date reparation file corresponding with marred video whether is preserved, if preserving corresponding with marred video out of date in storehouse
Reparation file, then substitute reparation file out of date with executable effective file of repairing, and by reparation file out of date
Delete.By this kind of mode, not only so that locally saving executable effective reparation file it is ensured that user impaired regards to same
Frequency proposes to repair again can be directly from being locally deployed into executable effective reparation file during request, and video is entered by the very first time
Row is repaired and is play, but also can be automatically by reparation file deletion out of date, it is to avoid unnecessary file is to local memory
Occupancy, decrease local resource waste, be conducive to improve client the speed of service.
Brief description
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen
Schematic description and description please is used for explaining the application, does not constitute the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the flow chart of described a kind of method that marred video is repaired of the present invention;
Fig. 2 is the structure chart of described a kind of system that marred video is repaired of the present invention;
Fig. 3 is the flow chart of the embodiment of described a kind of method that marred video is repaired of the present invention.
Specific embodiment
To censure specific components as employed some vocabulary in the middle of specification and claim.Those skilled in the art should
It is understood that hardware manufacturer may call same assembly with different nouns.This specification and claims are not with name
The difference claiming is used as distinguishing the mode of assembly, but difference functionally is used as the criterion distinguished with assembly.As logical
In the middle of piece specification and claim, mentioned "comprising" is an open language, therefore should be construed to " comprise but do not limit
In "." substantially " refer in receivable error range, those skilled in the art can solve described in the range of certain error
Technical problem, basically reaches described technique effect.Additionally, " coupling " word here comprises any directly and indirectly electric property coupling
Means.Therefore, if a first device is coupled to a second device described in literary composition, representing described first device can direct electrical coupling
It is connected to described second device, or be indirectly electrically coupled to described second device by other devices or the means that couple.Specification
Subsequent descriptions are to implement the better embodiment of the application, and so described description is for the purpose of the rule that the application is described,
It is not limited to scope of the present application.The protection domain of the application ought be defined depending on the defined person of claims.
Embodiment 1
Shown in Figure 1 for a kind of herein described specific embodiment of the method that marred video is repaired, the party
Method includes:
Step 101, the video reparation request that a certain marred video is repaired of receiving user's input, described video is repaiied
Site information corresponding with described marred video is comprised in multiple request;
Step 102, according to the corresponding site information of described marred video, search in local reparation library and whether preserve
There is reparation file corresponding with described marred video:If locally preserving reparation file, transfer described reparation file to described
Marred video carries out repairing to be play, if local non-preservative restoration file or local reparation file are out of date, sends out to server
Video reparation is sent to ask;
Step 103, receive the reparation file that described server sends, and described reparation file is converted to executable has
Effect repairs file;
Step 104, according to described executable effective reparation file, described marred video is repaired, and to reparation
Video afterwards plays out.
By the above-mentioned method that marred video is repaired of the present invention, can be according to user input to a certain impaired
The video reparation request that video is repaired, locally searches whether to exist to repair file from client, if exist repairing literary composition first
Part, then directly transfer this reparation file and marred video carried out repair broadcasting, when local non-preservative restoration file, then to service
Device sends video reparation request, the reparation file that the reception server end sends, and reparation file is converted to executable effective
After repairing file, video is carried out repair and play.So mode, has carried out to the video that client can not be play repairing and has play,
Ensure that user can normally watch video.
In above-mentioned steps 104, according to described executable effective reparation file, described marred video is repaired, and
To repair after video play out, further for:
According to described executable effective reparation file, described marred video information is carried out repair parsing, get institute
State the video playback source address of the corresponding restored video of marred video, and from described video playback source address, video is broadcast
Put.
So mode, user just can get from video playback source address is capable of the video of normal play and plays out,
Thus solving the problems, such as that marred video cannot be play.
The above-mentioned method that marred video is repaired of the present invention, further includes:By above-mentioned executable effective reparation
File download preserves to local reparation library.When user proposes the reparation request to identical marred video again, can
Directly transfer above-mentioned executable effective reparation file from local reparation library, as long as this reparation file is effectively, just no
Need to send video reparation request such that it is able to allow user watch normal play within the time the shortest to server end again
Video, effectively increases the experience effect of user.
Additionally, the method that marred video is repaired in the present invention, further include:Judge described reparation library
In whether preserve out of date reparation file corresponding with described marred video, if preserving corresponding with described marred video
Reparation file out of date, then substitute described reparation file out of date with described executable effective reparation file, and by institute
State reparation file out of date to delete.By this kind of mode, not only so that locally saving executable effective reparation file, really
Warranty family proposes to repair to same marred video again can be directly civilian from being locally deployed into executable effective reparation during request
Part, video is carried out repairing by the very first time to be play, but also can be automatically by reparation file deletion out of date, it is to avoid need not
The occupancy to local memory for the file wanted, decreases local resource and wastes, and is conducive to improving the speed of service of client.
When described marred video comprises multiple video segment, the method that the present invention is repaired to marred video also can root
The executable effective reparation file sending according to server, carries out to described marred video information repairing parsing, gets respectively
Multiple video playback source addresses of multiple video segments corresponding with marred video and video length, and from described video playback
Source address plays out to each video segment successively.
For the marred video comprising multiple video segments, method provided by the present invention server can be sent with
The corresponding multiple video segments of multiple video segment carry out burst parallel transmission download, it is achieved thereby that to whole video once
Property reparation parsing, be conducive to user to see the video content of complete normal play within the shortest time.
In addition, for the marred video comprising multiple video segments, being parsed by repairing, except multiple regarding can be got
Outside the corresponding multiple video playback source addresses of frequency fragment, also can get the total length of multiple video segments, thus being conducive to
Client realizes the difference played in order of multiple video segments corresponding to video footage.
Embodiment 2
Shown in Figure 2 for a kind of herein described specific embodiment of the system that marred video is repaired, this is
System includes:User interactive module 10, reparation file local search module 20, reparation file reception module 30, reparation file conversion
Module 40 and video repair playing module 50,
Described user interactive module 10, the video reparation a certain marred video repaired for receiving user's input
Request, comprises site information corresponding with described marred video in described video reparation request;
Described reparation file local search module 20, for according to the corresponding site information of described marred video, search is originally
Reparation file corresponding with described marred video whether is preserved in the reparation library on ground:If locally preserving reparation file,
Then transfer described reparation file described marred video to be carried out repair broadcasting, if local non-preservative restoration file or local reparation
File is out of date, then send video reparation request to server;
Described reparation file reception module 30, for receiving the reparation file that described server sends;
Described reparation file modular converter 40, for being converted to executable effective reparation file by described reparation file;
Described video repairs playing module 50, for according to described executable effective reparation file, impaired regards to described
Frequency is repaired, and the video after repairing is played out.
By the above-mentioned system that marred video is repaired of the present invention, user interactive module 10 can be defeated according to user
The video reparation request that a certain marred video is repaired entering, repairs file local search module 20 first from client originally
Search whether exist repair file, if exist repair file, directly transfer this reparation file and marred video repaired
Play, when local non-preservative restoration file, then send video reparation request to server.Repair file reception module 30 to receive
The reparation file that server end sends, and executable effectively repaiied by repairing file modular converter 40 and being converted to reparation file
After multiple file, playing module 50 is repaired by video and video is carried out repair broadcasting.So system, can not be able to play to client
Video carry out repair play it is ensured that user can normally watch video.
Above-mentioned video repairs playing module 50, is further used for according to described executable effective reparation file, to described
Marred video information carries out repairing parsing, gets the video playback source address of the corresponding restored video of described marred video, and
From described video playback source address, video is played out.
By video repair module, executable effective reparation file is carried out repairing parsing, get regarding of restored video
Frequency plays source address, and user can get from video playback source address is capable of the video of normal play and plays out, thus solving
The problem that marred video of having determined cannot be play.
The system that the present invention is repaired to marred video further includes:Repair file download module, this reparation file
Download module, for preserving described executable effective reparation file download to local described reparation library.When with
When family proposes the reparation request to identical marred video again, can directly transfer above-mentioned executable from local reparation library
Effective reparation file, as long as this reparation file effectively, is no need for sending video reparation request to server end again, so as to
Enough allow user watch the video of normal play within the time the shortest, effectively increase the experience effect of user.
In the system that the present invention is repaired to marred video, repair file download module, be further used for judgement described
Repair in library and whether preserve out of date reparation file corresponding with described marred video, if preserving impaired with described
The corresponding reparation file out of date of video, then substitute described reparation literary composition out of date with described executable effective file of repairing
Part, and described reparation file out of date is deleted.By this kind of mode, not only executable effectively repair so that locally saving
Multiple file is it is ensured that user proposes to repair to same marred video during request again can directly executable have from being locally deployed into
Effect repairs file, and video is carried out repairing by the very first time to be play, but also automatically can delete reparation file out of date, keeps away
Exempt from the occupancy to local memory for the unnecessary file, decreased local resource and waste, be conducive to improving the operation speed of client
Degree.
Video in the system that the present invention is repaired to marred video repairs playing module 50, is further used for when described
When marred video comprises multiple video segment, according to multiple described executable effective reparation files, described marred video is believed
Breath carries out repairing parsing, gets multiple video playback source addresses of multiple video segments corresponding with described marred video respectively
And video length, and successively each video segment is played out from described video playback source address.
For the marred video comprising multiple video segments, mould is play in the video reparation in system provided by the present invention
Block, corresponding with multiple video segments multiple video source addresses that server can be sent carry out burst parallel transmission download,
Thus be advantageously implemented the disposable reparation parsing to whole video, and then it is complete to be conducive to user to see within the shortest time
The video content of normal play.
For the marred video comprising multiple video segments, parsed by repairing, except multiple piece of video can be got
Outside the corresponding multiple video playback source addresses of section, also can get the total length of multiple video segments, thus being conducive in client
The difference played in order of multiple video segments corresponding to video footage is realized at end.
Embodiment 3
The Application Example of the method that a kind of present invention presented below is repaired to marred video, referring to Fig. 3, concrete bag
Include:
Step 201, the video reparation that a certain marred video is repaired of user interactive module 10 receiving user's input
Request, comprises site information corresponding with described marred video in this video reparation request;
, according to the corresponding site information of described marred video, search is local for step 202, reparation file local search module 20
Reparation library in whether preserve reparation file corresponding with described marred video:If locally preserving reparation file,
Transfer described reparation file described marred video to be carried out repair broadcasting, if local non-preservative restoration file or local reparation literary composition
Part is out of date, then send video reparation request to server;
The reparation file that step 203, reparation file reception module 30 the reception server send;
Described reparation file is converted to executable effective reparation file by step 204, reparation file modular converter 40;
Step 205, video repair playing module 50 according to described executable effective reparation file, and marred video is carried out
Repair, get marred video corresponding video source address, and from described video raw address, the video after repairing is played out;
Step 206, repair file download module and preserve executable effective reparation file download to repairing described in local
In multiple library.
In above-mentioned steps 205, if marred video includes multiple video segment, video is repaired playing module 50 and then can be obtained
Arrive multiple video source addresses corresponding with video segment quantity, and this video reparation playing module 50 is by Parallel download
Video source address is downloaded by mode, is so conducive to improving video remediation efficiency, makes user see normal play as early as possible
Video file;
By above-mentioned steps 206, the present invention also repairs file download module and protects executable effective reparation file download
Deposit to local described reparation library.When user proposes the reparation request to identical marred video again, can directly from
Above-mentioned executable effective reparation file is transferred, as long as this reparation file effectively, is no need for again in local reparation library
Send video reparation to server end to ask such that it is able to allow user watch the video of normal play within the time the shortest,
Effectively increase the experience effect of user.
Additionally, repair file download module can also judge repair library in whether preserve corresponding with marred video
Reparation file out of date, if preserving reparation file out of date corresponding with marred video, is effectively repaiied with executable
Multiple file substitutes reparation file out of date, and reparation file out of date is deleted.By this kind of mode, not only so that local
Save executable effective reparation file it is ensured that user to same marred video again propose repair request when can directly from
Locally it is deployed into executable effective reparation file, video is carried out repairing by the very first time to be play, but also can be automatically by
Expired reparation file is deleted, it is to avoid the occupancy to local memory for the unnecessary file, decreases local resource and wastes, favorably
In the speed of service improving client.
Server end in the present invention is after receiving video reparation request, it will according to the letter of each video playback website
Breath, makes or updates and repair file and stored.This reparation file can be due to the difference of the difference of video website or time
Change, server end can monitor the change repairing file automatically, repair after file updates, it will automatically to up-to-date effective
Reparation file be downloaded.
Reparation file modular converter 40 in the present invention adopts beanshell to realize, the reparation that can send server
File is converted to executable effective reparation file and sends to client, uses for client.
By various embodiments above, the beneficial effect that the application exists is:
First, the method and system that marred video is repaired provided by the present invention, can be according to user input
The video reparation request that a certain marred video is repaired, locally searches whether to exist to repair file from client first, if
Exist and repair file, then directly transfer this reparation file and marred video is carried out repair broadcasting, when local non-preservative restoration file
When, then send video reparation request, the reparation file that the reception server end sends to server, and be converted to can by repairing file
After effective reparation file of execution, video is carried out repair and play.So mode, is carried out to the video that client can not be play
Repair and play it is ensured that user can normally watch video.
Second, the method and system that marred video is repaired provided by the present invention, can executable effectively
Repair file download to preserve to local reparation library, substitute and repair reparation file out of date in library, when having again
User plays it is possible to directly transfer executable effective reparation file from local reparation library during this marred video, right
Marred video carries out repairing to be play, and need not carry out repeated downloads from server end again, allowing users to the very first time just watches
The video often play, thus effectively improve the experience effect of user.
3rd, the method and system that marred video is repaired provided by the present invention are additionally it is possible to judge to repair file
Out of date reparation file corresponding with marred video whether is preserved, if preserving corresponding with marred video out of date in storehouse
Reparation file, then substitute reparation file out of date with executable effective file of repairing, and by reparation file out of date
Delete.By this kind of mode, not only so that locally saving executable effective reparation file it is ensured that user impaired regards to same
Frequency proposes to repair again can be directly from being locally deployed into executable effective reparation file during request, and video is entered by the very first time
Row is repaired and is play, but also can be automatically by reparation file deletion out of date, it is to avoid unnecessary file is to local memory
Occupancy, decrease local resource waste, be conducive to improve client the speed of service.
Those skilled in the art are it should be appreciated that embodiments herein can be provided as method, device or computer program
Product.Therefore, the application can be using complete hardware embodiment, complete software embodiment or the reality combining software and hardware aspect
Apply the form of example.And, the application can be using in one or more computers wherein including computer usable program code
The upper computer program implemented of usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) produces
The form of product.
Described above illustrate and describes some preferred embodiments of the application, but as previously mentioned it should be understood that the application
Be not limited to form disclosed herein, be not to be taken as the exclusion to other embodiment, and can be used for various other combinations,
Modification and environment, and can be in invention contemplated scope described herein, by technology or the knowledge of above-mentioned teaching or association area
It is modified.And the change that those skilled in the art are carried out and change without departing from spirit and scope, then all should be in this Shen
Please be in the protection domain of claims.
Claims (10)
1. a kind of method that marred video is repaired, including:
The video reparation request that a certain marred video is repaired of receiving user's input, comprises in described video reparation request
Site information corresponding with described marred video;
According to the corresponding site information of described marred video, whether preserve impaired with described in the local reparation library of search
Video corresponding reparation file:If locally preserving reparation file, transferring described reparation file and described marred video is carried out
Repair and play, if local non-preservative restoration file or local reparation file are out of date, sending video reparation to server please
Ask;
Receive the reparation file that described server sends, and described reparation file is converted to executable effective reparation file;
According to described executable effective reparation file, described marred video is repaired, and the video after repairing is carried out
Play.
2. the method according to claim 1 marred video repaired is it is characterised in that executable have according to described
Effect repair file, described marred video is repaired, and to repair after video play out, further for:
According to described executable effective reparation file, described marred video information is carried out repair parsing, get described in be subject to
Damage the video playback source address of the corresponding restored video of video, and from described video playback source address, video is played out.
3. the method according to claim 1 marred video repaired is it is characterised in that further include:
Described executable effective reparation file download is preserved to local described reparation library.
4. the method according to claim 3 marred video repaired is it is characterised in that further include:
Judge whether preserve out of date reparation file corresponding with described marred video in described reparation library, if preserving
Have out of date reparation file corresponding with described marred video, then with described executable effective reparation file substitute described in
Expired reparation file, and described reparation file out of date is deleted.
5. the method according to claim 2 marred video repaired it is characterised in that
When described marred video comprises multiple video segment, according to described executable effective reparation of described server transmission
File, after described marred video information being carried out repair parsing, gets multiple videos corresponding with described marred video respectively
Multiple video playback source addresses of fragment and video length, and successively each video segment is entered from described video playback source address
Row is play.
6. a kind of system that marred video is repaired is it is characterised in that include:User interactive module, reparation file are local
Enquiry module, reparation file reception module, reparation file modular converter and video repair playing module,
Described user interactive module, asks for the video reparation that receiving user's input is repaired to a certain marred video,
Site information corresponding with described marred video is comprised in described video reparation request;
Described reparation file local search module, for according to the corresponding site information of described marred video, searching for local repairing
Reparation file corresponding with described marred video whether is preserved in multiple library:If locally preserving reparation file, transfer
Described reparation file carries out to described marred video repairing to be play, if local non-preservative restoration file or local reparation file are
Expired, then send video reparation request to server;
Described reparation file reception module, for receiving the reparation file that described server sends;
Described reparation file modular converter, for being converted to executable effective reparation file by described reparation file;
Described video repairs playing module, for according to described executable effective reparation file, carrying out to described marred video
Repair, and the video after repairing is played out.
7. the system according to claim 6 marred video repaired it is characterised in that
Described video repairs playing module, is further used for according to described executable effective reparation file, impaired regards to described
Frequency information carries out repairing parsing, gets the video playback source address of the corresponding restored video of described marred video, and from described
Video playback source address plays out to video.
8. the system according to claim 6 marred video repaired is it is characterised in that further include:Repair literary composition
Part download module,
Described reparation file download module, for preserving described executable effective reparation file download to repairing described in local
In multiple library.
9. the system according to claim 8 marred video repaired it is characterised in that
Whether described reparation file download module, be further used for judging in described reparation library preserving and impaired regarded with described
Frequently corresponding reparation file out of date, if preserving reparation file out of date corresponding with described marred video, uses institute
State executable effective reparation file and substitute described reparation file out of date, and described reparation file out of date is deleted.
10. the system according to claim 7 marred video repaired it is characterised in that
Described video repairs playing module, is further used for when described marred video comprises multiple video segment, according to described
Server send executable effective reparation file, described marred video information is carried out repair parsing, get respectively with
Multiple video playback source addresses of the corresponding multiple video segments of described marred video and video length, and broadcast from described video
Put source address successively each video segment to be played out.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610997628.2A CN106408544A (en) | 2016-11-11 | 2016-11-11 | Method and system for repairing damaged video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610997628.2A CN106408544A (en) | 2016-11-11 | 2016-11-11 | Method and system for repairing damaged video |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106408544A true CN106408544A (en) | 2017-02-15 |
Family
ID=59230522
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610997628.2A Pending CN106408544A (en) | 2016-11-11 | 2016-11-11 | Method and system for repairing damaged video |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106408544A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101246535A (en) * | 2008-03-25 | 2008-08-20 | 深圳市迅雷网络技术有限公司 | Method, system and device for renovating abnormal document |
US20100017673A1 (en) * | 2008-07-15 | 2010-01-21 | Hitachi, Ltd. | Data transmission system and data transmission method |
CN102810138A (en) * | 2012-06-19 | 2012-12-05 | 北京奇虎科技有限公司 | Method and system for restoring files of clients |
CN102902922A (en) * | 2012-09-29 | 2013-01-30 | 北京奇虎科技有限公司 | File repair method and system |
CN102902604A (en) * | 2012-09-28 | 2013-01-30 | 北京奇虎科技有限公司 | Method and device for repairing files |
CN104123341A (en) * | 2014-06-26 | 2014-10-29 | 小米科技有限责任公司 | Method and device for downloading file and route device |
US9411690B2 (en) * | 2013-06-14 | 2016-08-09 | Vivotek Inc. | Security surveillance apparatus with networking and video recording functions and failure detecting and repairing method for storage device thereof |
-
2016
- 2016-11-11 CN CN201610997628.2A patent/CN106408544A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101246535A (en) * | 2008-03-25 | 2008-08-20 | 深圳市迅雷网络技术有限公司 | Method, system and device for renovating abnormal document |
US20100017673A1 (en) * | 2008-07-15 | 2010-01-21 | Hitachi, Ltd. | Data transmission system and data transmission method |
CN102810138A (en) * | 2012-06-19 | 2012-12-05 | 北京奇虎科技有限公司 | Method and system for restoring files of clients |
CN102902604A (en) * | 2012-09-28 | 2013-01-30 | 北京奇虎科技有限公司 | Method and device for repairing files |
CN102902922A (en) * | 2012-09-29 | 2013-01-30 | 北京奇虎科技有限公司 | File repair method and system |
US9411690B2 (en) * | 2013-06-14 | 2016-08-09 | Vivotek Inc. | Security surveillance apparatus with networking and video recording functions and failure detecting and repairing method for storage device thereof |
CN104123341A (en) * | 2014-06-26 | 2014-10-29 | 小米科技有限责任公司 | Method and device for downloading file and route device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9244916B2 (en) | Downloading media objects | |
CN104429093B (en) | HTTP dynamic self-adapting streaming media clients and its session management implementation | |
US8880651B2 (en) | Method and system for efficient download of data package | |
CN109522330A (en) | Cloud platform data processing method, device, equipment and medium based on block chain | |
CN102761623B (en) | Resource self-adaptive joins method for down loading, system, data storage server and communication system | |
CN102917012B (en) | Perform the method and apparatus stored with communication de-duplication | |
CN108566561A (en) | Video broadcasting method, device and storage medium | |
US8817983B2 (en) | Streaming video to cellular phones | |
CN103607634A (en) | Method for reducing network video ordering terminal user waiting time | |
CN104519397A (en) | Audio and video screen-projection playing method, set-top box and terminal device | |
CN105745902A (en) | Synchronizing event history for multiple clients | |
US20170168660A1 (en) | Voice bullet screen generation method and electronic device | |
CN104796445A (en) | Resource synchronization method and device by server nodes | |
CN104469528A (en) | Method and device for loading video data and browser client side | |
WO2021067187A1 (en) | Methods and apparatuses for dynamic adaptive streaming over http | |
CN106488294A (en) | Barrage information transfer, display packing and device | |
CN105847966A (en) | Terminal and video capturing and sharing method | |
CN103546771A (en) | Television program review processing method and system based on smart terminal | |
CN105897833A (en) | Advertisement data processing method and router | |
CN104572964A (en) | Zip file unzipping method and device | |
CN110865981A (en) | File access method for mobile terminal and mobile terminal thereof | |
CN104639976A (en) | Method for synchronizing programs of set top box and mobile terminal, set top box and mobile terminal | |
CN106408544A (en) | Method and system for repairing damaged video | |
CN111935507A (en) | Video switching method and device | |
EP2378441A1 (en) | Method and system for comparing media assets |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170215 |