CN109618225A - Video takes out frame method, device, equipment and medium - Google Patents
Video takes out frame method, device, equipment and medium Download PDFInfo
- Publication number
- CN109618225A CN109618225A CN201811593674.1A CN201811593674A CN109618225A CN 109618225 A CN109618225 A CN 109618225A CN 201811593674 A CN201811593674 A CN 201811593674A CN 109618225 A CN109618225 A CN 109618225A
- Authority
- CN
- China
- Prior art keywords
- frame
- video
- pumping
- taken out
- preview
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000005086 pumping Methods 0.000 claims abstract description 99
- 230000008929 regeneration Effects 0.000 claims description 5
- 238000011069 regeneration method Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 230000005291 magnetic effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 239000012634 fragment Substances 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000008450 motivation Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The embodiment of the invention discloses a kind of videos to take out frame method, device, equipment and medium, is related to video field.This method comprises: obtaining frame video to be taken out and taking out frame parameter;Pumping frame video is treated according to pumping frame parameter and carries out pumping frame, determines at least two candidate preview graphs;According to the targets preview figure that user selects from described at least two candidate preview graphs, determines and take out frame picture.The embodiment of the invention provides a kind of videos to take out frame method, device, equipment and medium, realizes user and selects to take out frame picture as needed.
Description
Technical field
The present embodiments relate to video fields more particularly to a kind of video to take out frame method, device, equipment and medium.
Background technique
It is exactly the process for extracting single image out from each frame image of video that video, which takes out frame,.
Current video is taken out frame process and be can be described as: user end to server transmission includes frame video to be taken out and pumping frame parameter
Request, by server analysis request video data and take out frame parameter, and according to take out frame parameter video data is taken out
Frame generates pumping frame picture and feeds back to user.
However, the above method has following defects that
Feed back to user by taking out in the obtained pumping frame picture of frame, to have part to take out frame picture be that user is unwanted.
Summary of the invention
The embodiment of the present invention provides a kind of video and takes out frame method, device, equipment and medium, to realize that user selects as needed
It selects and takes out frame picture.
In a first aspect, the embodiment of the invention provides a kind of videos to take out frame method, this method comprises:
It obtains frame video to be taken out and takes out frame parameter;
Pumping frame video is treated according to pumping frame parameter and carries out pumping frame, determines at least two candidate preview graphs;
According to the targets preview figure that user selects from described at least two candidate preview graphs, determines and take out frame picture.
Second aspect, the embodiment of the invention also provides a kind of videos to take out frame device, which includes:
Data acquisition module, for obtaining frame video to be taken out and taking out frame parameter;
Preview generation module carries out pumping frame for treating pumping frame video according to pumping frame parameter, determines that at least two is candidate pre-
Look at figure;
Frame picture determining module is taken out, the targets preview for selecting from described at least two candidate preview graphs according to user
Figure determines and takes out frame picture.
The third aspect, the embodiment of the invention also provides a kind of equipment, the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes that the video as described in any in the embodiment of the present invention takes out frame method.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes that the video as described in any in the embodiment of the present invention takes out frame method when the program is executed by processor.
The embodiment of the present invention carries out pumping frame by treating pumping frame video according to pumping frame parameter, determines at least two candidate previews
Figure.User is treated according to candidate preview graph and takes out the picture material progress preview that frame video includes.By according to user
The targets preview figure selected from described at least two candidate preview graphs, determines and takes out frame picture.To realize that user can basis
Frame picture is taken out in demand selection.
Detailed description of the invention
Fig. 1 is the flow chart that a kind of currently used video takes out frame method;
Fig. 2 is the flow chart that a kind of video that the embodiment of the present invention one provides takes out frame method;
Fig. 3 is the flow chart that a kind of video provided by Embodiment 2 of the present invention takes out frame method;
Fig. 4 is that a kind of video that the embodiment of the present invention three provides takes out the schematic diagram that frame method executes process;
Fig. 5 is the schematic diagram that a kind of provisional video data that the embodiment of the present invention three provides generate;
Fig. 6 is a kind of preview schematic diagram that the embodiment of the present invention three provides;
Fig. 7 is the schematic diagram that a kind of video slicing that the embodiment of the present invention three provides uploads;
Fig. 8 is the structural schematic diagram that a kind of video that the embodiment of the present invention four provides takes out frame device;
Fig. 9 is a kind of structural schematic diagram for equipment that the embodiment of the present invention five provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Referring to Fig. 1, currently used video takes out frame method are as follows: locally applied that video data is transformed into binary number
According to, then by after conversion binary data and take out frame parameter be placed on request body in and request send jointly to application server
(namely APP Server) is executed as follows by application server: analysis request is by frame video to be taken out to be resolved and takes out frame parameter,
It calls video pumping frame service to treat pumping frame video according to pumping frame parameter and carries out pumping frame, generate and take out frame picture, and pumping frame picture is anti-
It feeds client.
Embodiment one
Fig. 2 is the flow chart that a kind of video that the embodiment of the present invention one provides takes out frame method.The present embodiment is applicable to root
According to needing the case where carrying out pumping frame to video.This method can take out frame device by a kind of video to execute, which can be by soft
The mode of part and/or hardware is realized.Referring to fig. 2, video pumping frame method provided in this embodiment includes:
S110, it obtains frame video to be taken out and takes out frame parameter.
Wherein, taking out frame parameter is to treat to take out the parameter that frame video need during pumping frame.Specific pumping frame parameter can
By include the pumping frame picture number extracted from frame video to be taken out and/or take out frame in a manner of.
To mitigate the workload of main thread or main thread being avoided to block, before obtaining frame video to be taken out and taking out frame parameter, also
Include:
It is asynchronous to open a sub thread to carry out the pumping frame processing of video.
S120, it takes out frame video and carries out pumping frame according to taking out frame parameter and treat, determine at least two candidate preview graphs.
It is alternatively possible to be determined as candidate preview graph for the picture that frame obtains is taken out from frame video to be taken out;Can also to from
The picture that frame obtains is taken out in frame video to be taken out and carries out resolution ratio reduction, generates candidate preview graph.
Specifically, it is determined that after at least two candidate preview graphs, further includes: the display candidate preview graph.
Typically, show that candidate preview graph includes:
Show the thumbnail of candidate preview graph;
The thumbnail for obtaining the candidate preview graph of user's selection shows the candidate preview graph of user's selection.
Further, after the thumbnail for showing candidate preview graph, further includes:
Sliding of the user to the thumbnail of candidate preview graph is responded, identifies glide direction;
Sliding is carried out according to thumbnail of the glide direction to candidate preview graph to show.
S130, the targets preview figure selected from described at least two candidate preview graphs according to user, determine and take out frame picture.
Targets preview figure is the demand picture that user selects from candidate preview graph.
It is alternatively possible to which targets preview figure is determined as to take out frame picture;Can also according to the mark of targets preview figure to
It takes out and extracts frame picture in frame video.
The pumping frame for taking out frame video is treated in the case where no network to realize, and mitigates the operation pressure of server, allusion quotation
Type, the executing subject for extracting the operation of frame picture from frame video to be taken out based on pumping frame parameter is client.
The technical solution of the present embodiment carries out pumping frame by treating pumping frame video according to pumping frame parameter, determines at least two
Candidate preview graph.User is treated according to candidate preview graph and takes out the picture material progress preview that frame video includes.Pass through
According to the targets preview figure that user selects from described at least two candidate preview graphs, determines and take out frame picture.To realize user
It can select to take out frame picture according to demand.
To solve the problems, such as to overflow due to video committed memory to be processed client's end memory caused greatly, if the method
Executing subject is server, then obtains frame video to be taken out, comprising:
The video clip that client uploads is obtained in batches;
The video clip that will acquire is spliced, and frame video to be taken out is obtained.
To avoid malfunctioning during obtaining frame video to be taken out, cause to the feelings that all frame video to be taken out is retransmitted
Condition, the video clip for obtaining client upload in batches include:
If the video clip failure that client uploads is obtained, based on the mark for the video clip for obtaining failure, from client
End obtains the video clip.
It is obtaining when taking out the failure of frame video to realize, only the video clip for obtaining failure is being reacquired.
Embodiment two
Fig. 3 is the flow chart that a kind of video provided by Embodiment 2 of the present invention takes out frame method.The present embodiment is in above-mentioned reality
Apply a kind of optinal plan proposed on the basis of example.Referring to Fig. 3, video provided in this embodiment takes out frame method and includes:
S210, it obtains frame video to be taken out and takes out frame parameter.
S220, it treats and takes out the progress resolution ratio reduction processing of frame video, generate provisional video data.
S230, pumping frame is carried out to provisional video data based on pumping frame parameter, generates candidate preview graph.
S240, the targets preview figure selected from described at least two candidate preview graphs according to user, determine and take out frame picture.
To make user obtain high-resolution pumping frame picture, it is described according to user from described at least two candidate preview graphs
The targets preview figure of selection determines and takes out frame picture, comprising:
The mark of the targets preview figure selected from described at least two candidate preview graphs according to user is from frame video to be taken out
Frame picture is taken out in middle extraction.
The technical solution of the present embodiment generates candidate preview graph by the provisional video data based on low resolution, compared to straight
It connects and candidate preview graph is generated based on frame video to be taken out, reduce the occupancy and operand of storage resource.
Further, described treat takes out the progress resolution ratio reduction processing of frame video, generates provisional video data, comprising:
If provisional video data failed regeneration, according to the prompt analysis failure cause that reports an error;
The pumping frame mode of frame video to be taken out is determined according to failure cause;
Based on determining frame video to be taken out pumping frame mode execute treat take out frame video pumping frame operation.
Further, the pumping frame mode that frame video to be taken out is determined according to failure cause, comprising:
If failure cause is that memory overflows, it is determined that the pumping frame mode of frame video to be taken out is: treating pumping based on frame parameter is taken out
Frame video carries out pumping frame and obtains candidate preview graph, using the targets preview figure selected from candidate preview graph as pumping frame picture.
If failure cause is not that memory overflows, re-executes to treat and take out the progress resolution ratio reduction processing of frame video, generate
The step of provisional video data.
Embodiment three
Fig. 4 is that a kind of video that the embodiment of the present invention three provides takes out the schematic diagram that frame method executes process.The present embodiment is
A kind of optinal plan proposed on the basis of the above embodiments.Referring to fig. 4, video provided in this embodiment takes out frame method packet
It includes:
It responds video and takes out frame event, one sub thread of asynchronous unlatching proceeds as follows:
Frame video to be taken out is obtained based on UI module and takes out frame parameter;
It parses video and takes out frame parameter, and determined according to the video of parsing pumping frame parameter and take out frame strategy accordingly.
If take out frame strategy be it is local take out frame scheme, frame module is smoked based on local video and treats and smokes frame video progress format
Conversion, and reduce resolution processes, generate the provisional video data that pumping frame preview uses and shown based on UI module.
Wherein, the display of provisional video data generating procedure is referring to Fig. 5.
The thumbnail of candidate preview graph is generated based on provisional video data, and based on UI module to the breviary of candidate preview graph
Figure is shown, slides preview for user, preview effect is referring to Fig. 6.
Display is amplified to the thumbnail of the candidate preview graph of user's selection.
If candidate preview graph failed regeneration, according to the prompt analysis failure cause that reports an error;
If failure cause be memory overflow, based on take out frame parameter treat take out frame video carry out take out frame obtain candidate preview
Figure, using the targets preview figure selected from candidate preview graph as pumping frame picture.
If failure cause is not that memory overflows, re-executes to treat and take out the progress resolution ratio reduction processing of frame video, generate
Provisional video data, and the step of generating candidate preview graph according to provisional video data.
The targets preview figure that user selects from candidate preview graph is obtained, the mark based on targets preview figure is regarded from frame to be taken out
Frame picture is extracted in frequency, and demand business end is sent to for frame picture is taken out based on network module.
If taking out frame strategy is that server takes out frame scheme, treats and take out the adaptation processing that frame video carries out format and resolution ratio.
Video is divided by the frame video to be taken out by adapting to processing by preset fragment size referring to Fig. 7
Piece, and it is concurrently uploaded to server together with frame parameter with taking out, it is executed by server as follows: to the video data of received fragment
Carry out arrangement splicing;It calls pumping frame service to carry out taking out frame processing to spliced video data according to frame parameter is taken out, generates pumping frame
Picture;Frame picture will be taken out and feed back to client.
The technical solution of the present embodiment changes frame scheme of taking out by taking out frame strategy dynamic, and realization is without uploaded videos to clothes
Device be engaged in realize local pumping frame function quickly, server also may be selected and take out frame technique.To solve server operation it is time-consuming,
The problems such as no net process obstruction, frame data selectional restriction.Customer flow and server resource are saved.
User can control the number of candidate preview graph and candidate preview diagram data by taking out frame parameter in setting, may be used also
Repeatedly sliding is to select the video requency frame data of any time, to improve the operating experience of user.
Taken out by way of frame video uploaded using fragment batch treating, make its effectively prevent because video is excessive and
The problem of causing client to be collapsed because of memory spilling.Support breakpoint transmission function simultaneously, when upload, which is interrupted, to be uploaded again, only
The data that failure need to be uploaded are effectively reduced the flow consumption of user, improve uploading speed, greatly improve user
Experience.
It should be noted that by the technical teaching of the present embodiment, those skilled in the art have motivation by above-described embodiment
Described in any embodiment carry out the combination of scheme, to realize to the pumping frame to video.
Example IV
Fig. 8 is the structural schematic diagram that a kind of video that the embodiment of the present invention four provides takes out frame device.Referring to Fig. 8, this implementation
It includes: data acquisition module 10, preview generation module 20 and pumping frame picture determining module that a kind of video that example provides, which takes out frame device,
30。
Wherein, data acquisition module 10, for obtaining frame video to be taken out and taking out frame parameter;
Preview generation module 20 carries out pumping frame for treating pumping frame video according to pumping frame parameter, determines at least two candidates
Preview graph;
Frame picture determining module 30 is taken out, the target for selecting from described at least two candidate preview graphs according to user is pre-
It lookes at figure, determines and take out frame picture.
The technical solution of the present embodiment carries out pumping frame by treating pumping frame video according to pumping frame parameter, determines at least two
Candidate preview graph.User is treated according to candidate preview graph and takes out the picture material progress preview that frame video includes.Pass through
According to the targets preview figure that user selects from described at least two candidate preview graphs, determines and take out frame picture.To realize user
It can select to take out frame picture according to demand.
Further, the preview generation module, comprising: resolution ratio reduces unit and preview generation unit.
Wherein, resolution ratio reduces unit, takes out the progress resolution ratio reduction processing of frame video for treating, generates provisional video number
According to;
Preview generation unit generates candidate preview graph for carrying out pumping frame to provisional video data based on pumping frame parameter.
Further, the pumping frame picture determining module, comprising: take out frame picture determine unit.
Wherein, frame picture determine unit is taken out, is being selected from described at least two candidate preview graphs for postpartum according to user
The mark for the targets preview figure selected is extracted from frame video to be taken out takes out frame picture.
Further, the resolution ratio reduces unit, comprising: failure analysis subelement, pumping frame determine subelement and take out frame
Subelement.
Wherein, failure analysis subelement, if being used for provisional video data failed regeneration, according to the prompt analysis failure that reports an error
Reason;
It takes out frame and determines subelement, for determining the pumping frame mode of frame video to be taken out according to failure cause;
Frame subelement is taken out, is executed for the pumping frame mode based on determining frame video to be taken out and treats the pumping frame behaviour for taking out frame video
Make.
Further, the pumping frame determines that subelement is specifically used for:
If failure cause is that memory overflows, it is determined that the pumping frame mode of frame video to be taken out is: treating pumping based on frame parameter is taken out
Frame video carries out pumping frame and obtains candidate preview graph, using the targets preview figure selected from candidate preview graph as pumping frame picture.
Further, if the executing subject of the method is server, data acquisition module, comprising:
Acquiring unit in batches, for obtaining the video clip of client upload in batches;
Concatenation unit, the video clip for will acquire are spliced, and frame video to be taken out is obtained.
Video provided by the embodiment of the present invention, which takes out frame device, can be performed video pumping provided by any embodiment of the invention
Frame method has the corresponding functional module of execution method and beneficial effect.
Embodiment five
Fig. 9 is a kind of structural schematic diagram for equipment that the embodiment of the present invention five provides.Fig. 9, which is shown, to be suitable for being used to realizing this
The block diagram of the example devices 12 of invention embodiment.The equipment 12 that Fig. 9 is shown is only an example, should not be to of the invention real
The function and use scope for applying example bring any restrictions.
As shown in figure 9, equipment 12 is showed in the form of universal computing device.The component of equipment 12 may include but unlimited
In one or more processor or processing unit 16, system storage 28, connecting different system components, (including system is deposited
Reservoir 28 and processing unit 16) bus 18.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment 12
The usable medium of access, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Equipment 12 may further include it is other it is removable/nonremovable,
Volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing irremovable
, non-volatile magnetic media (Fig. 9 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 9, use can be provided
In the disc driver read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to removable anonvolatile optical disk
The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can
To be connected by one or more data media interfaces with bus 18.Memory 28 may include at least one program product,
The program product has one group of (for example, at least one) program module, these program modules are configured to perform each implementation of the invention
The function of example.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28
In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and
It may include the realization of network environment in program data, each of these examples or certain combination.Program module 42 is usual
Execute the function and/or method in embodiment described in the invention.
Equipment 12 can also be communicated with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.),
Can also be enabled a user to one or more equipment interacted with the equipment 12 communication, and/or with enable the equipment 12 with
One or more of the other any equipment (such as network interface card, modem etc.) communication for calculating equipment and being communicated.It is this logical
Letter can be carried out by input/output (I/O) interface 22.Also, equipment 12 can also by network adapter 20 and one or
The multiple networks of person (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown,
Network adapter 20 is communicated by bus 18 with other modules of equipment 12.It should be understood that although not shown in the drawings, can combine
Equipment 12 use other hardware and/or software module, including but not limited to: microcode, device driver, redundant processing unit,
External disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and
Data processing, such as realize that video provided by the embodiment of the present invention takes out frame method.
Embodiment six
The embodiment of the present invention six additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should
Realize that the video as described in any in the embodiment of the present invention takes out frame method when program is executed by processor, which comprises
It obtains frame video to be taken out and takes out frame parameter;
Pumping frame video is treated according to pumping frame parameter and carries out pumping frame, determines at least two candidate preview graphs;
According to the targets preview figure that user selects from described at least two candidate preview graphs, determines and take out frame picture.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool
There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (13)
1. a kind of video takes out frame method characterized by comprising
It obtains frame video to be taken out and takes out frame parameter;
Pumping frame video is treated according to pumping frame parameter and carries out pumping frame, determines at least two candidate preview graphs;
According to the targets preview figure that user selects from described at least two candidate preview graphs, determines and take out frame picture.
2. the method according to claim 1, wherein it is described according to take out frame parameter treat take out frame video taken out
Frame determines at least two candidate preview graphs, comprising:
It treats and takes out the progress resolution ratio reduction processing of frame video, generate provisional video data;
Pumping frame is carried out to provisional video data based on frame parameter is taken out, generates candidate preview graph.
3. according to the method described in claim 2, it is characterized in that, it is described according to user from described at least two candidate preview graphs
The targets preview figure of middle selection determines and takes out frame picture, comprising:
The mark of the targets preview figure selected from described at least two candidate preview graphs according to user is taken out from frame video to be taken out
It takes and takes out frame picture.
4. according to the method described in claim 2, it is characterized in that, it is described treat take out frame video carry out resolution ratio reduction processing,
Generate provisional video data, comprising:
If provisional video data failed regeneration, according to the prompt analysis failure cause that reports an error;
The pumping frame mode of frame video to be taken out is determined according to failure cause;
Based on determining frame video to be taken out pumping frame mode execute treat take out frame video pumping frame operation.
5. according to the method described in claim 4, it is characterized in that, the pumping frame for determining frame video to be taken out according to failure cause
Mode, comprising:
If failure cause is that memory overflows, it is determined that the pumping frame mode of frame video to be taken out is: treating pumping frame view based on frame parameter is taken out
Frequency carries out pumping frame and obtains candidate preview graph, using the targets preview figure selected from candidate preview graph as pumping frame picture.
6. the method according to claim 1, wherein being obtained if the executing subject of the method is server
Frame video to be taken out, comprising:
The video clip that client uploads is obtained in batches;
The video clip that will acquire is spliced, and frame video to be taken out is obtained.
7. a kind of video takes out frame device characterized by comprising
Data acquisition module, for obtaining frame video to be taken out and taking out frame parameter;
Preview generation module carries out pumping frame for treating pumping frame video according to pumping frame parameter, determines at least two candidate preview graphs;
Frame picture determining module is taken out, the targets preview figure for being selected from described at least two candidate preview graphs according to user,
It determines and takes out frame picture.
8. device according to claim 7, which is characterized in that the preview generation module, comprising:
Resolution ratio reduces unit, takes out the progress resolution ratio reduction processing of frame video for treating, generates provisional video data;
Preview generation unit generates candidate preview graph for carrying out pumping frame to provisional video data based on pumping frame parameter.
9. device according to claim 8, which is characterized in that the pumping frame picture determining module, comprising:
Frame picture determine unit is taken out, it is pre- in the target selected from described at least two candidate preview graphs according to user for postpartum
Look at figure mark extracted from frame video to be taken out take out frame picture.
10. device according to claim 8, which is characterized in that the resolution ratio reduces unit, comprising:
Failure analysis subelement, if being used for provisional video data failed regeneration, according to the prompt analysis failure cause that reports an error;
It takes out frame and determines subelement, for determining the pumping frame mode of frame video to be taken out according to failure cause;
Frame subelement is taken out, is executed for the pumping frame mode based on determining frame video to be taken out and treats the pumping frame operation for taking out frame video.
11. according to the method described in claim 10, it is characterized in that, the pumping frame determines that subelement is specifically used for:
If failure cause is that memory overflows, it is determined that the pumping frame mode of frame video to be taken out is: treating pumping frame view based on frame parameter is taken out
Frequency carries out pumping frame and obtains candidate preview graph, using the targets preview figure selected from candidate preview graph as pumping frame picture.
12. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now as video as claimed in any one of claims 1 to 6 takes out frame method.
13. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Realize that video as claimed in any one of claims 1 to 6 such as takes out frame method when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811593674.1A CN109618225B (en) | 2018-12-25 | 2018-12-25 | Video frame extraction method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811593674.1A CN109618225B (en) | 2018-12-25 | 2018-12-25 | Video frame extraction method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109618225A true CN109618225A (en) | 2019-04-12 |
CN109618225B CN109618225B (en) | 2022-04-15 |
Family
ID=66011489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811593674.1A Active CN109618225B (en) | 2018-12-25 | 2018-12-25 | Video frame extraction method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109618225B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110267101A (en) * | 2019-07-19 | 2019-09-20 | 西安因诺航空科技有限公司 | A kind of unmanned plane video based on quick three-dimensional picture mosaic takes out frame method automatically |
CN110381365A (en) * | 2019-07-02 | 2019-10-25 | 北京字节跳动网络技术有限公司 | Video takes out frame method, device and electronic equipment |
CN110505495A (en) * | 2019-08-23 | 2019-11-26 | 北京达佳互联信息技术有限公司 | Multimedia resource takes out frame method, device, server and storage medium |
CN111083552A (en) * | 2019-12-30 | 2020-04-28 | 上海闻泰信息技术有限公司 | Thumbnail generation method, device, equipment and medium |
CN111538705A (en) * | 2020-04-15 | 2020-08-14 | 苏宁智能终端有限公司 | Video thumbnail previewing method, control server and medium |
CN112541390A (en) * | 2020-10-30 | 2021-03-23 | 四川天翼网络服务有限公司 | Frame-extracting dynamic scheduling method and system for violation analysis of examination video |
CN113238698A (en) * | 2021-05-11 | 2021-08-10 | 北京达佳互联信息技术有限公司 | Image processing method, image processing device, electronic equipment and storage medium |
CN114598834A (en) * | 2022-05-10 | 2022-06-07 | 中国铁塔股份有限公司 | Video processing method and device, electronic equipment and readable storage medium |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100025967A (en) * | 2008-08-28 | 2010-03-10 | 삼성디지털이미징 주식회사 | Apparatus and method for previewing picture file in digital image processing device |
CN102722590A (en) * | 2012-06-25 | 2012-10-10 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and image acquisition method |
CN103248818A (en) * | 2012-02-13 | 2013-08-14 | 宏达国际电子股份有限公司 | Image capture method and image capture system thereof |
CN104093090A (en) * | 2014-06-13 | 2014-10-08 | 北京奇艺世纪科技有限公司 | Video processing method and device |
CN104639951A (en) * | 2013-11-06 | 2015-05-20 | 杭州海康威视数字技术股份有限公司 | Video bitstream frame extraction process and device |
CN104683858A (en) * | 2015-02-13 | 2015-06-03 | 北京数码视讯科技股份有限公司 | Preview method and device for content of stream medium |
CN104703028A (en) * | 2013-12-10 | 2015-06-10 | 深圳市朗驰欣创科技有限公司 | Method, device and system for correcting video frames |
CN105338424A (en) * | 2015-10-29 | 2016-02-17 | 努比亚技术有限公司 | Video processing method and system |
CN105704570A (en) * | 2016-03-08 | 2016-06-22 | 上海小蚁科技有限公司 | Method and apparatus for generating one or more preview frames of video |
CN105872679A (en) * | 2015-12-31 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Barrage display method and device |
CN105898520A (en) * | 2016-04-07 | 2016-08-24 | 合网络技术(北京)有限公司 | Video frame interception method and device |
US20170206761A1 (en) * | 2016-01-15 | 2017-07-20 | Xiaoyi Technology Co., Ltd. | System and method for video preview |
CN107341154A (en) * | 2016-04-29 | 2017-11-10 | 北京京东尚科信息技术有限公司 | Method and apparatus derived from a kind of data |
CN108536481A (en) * | 2018-02-28 | 2018-09-14 | 努比亚技术有限公司 | A kind of application program launching method, mobile terminal and computer storage media |
CN108683562A (en) * | 2018-05-18 | 2018-10-19 | 深圳壹账通智能科技有限公司 | Abnormality detection localization method, device, computer equipment and storage medium |
CN108985176A (en) * | 2018-06-20 | 2018-12-11 | 北京优酷科技有限公司 | image generating method and device |
-
2018
- 2018-12-25 CN CN201811593674.1A patent/CN109618225B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100025967A (en) * | 2008-08-28 | 2010-03-10 | 삼성디지털이미징 주식회사 | Apparatus and method for previewing picture file in digital image processing device |
CN103248818A (en) * | 2012-02-13 | 2013-08-14 | 宏达国际电子股份有限公司 | Image capture method and image capture system thereof |
CN102722590A (en) * | 2012-06-25 | 2012-10-10 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and image acquisition method |
CN104639951A (en) * | 2013-11-06 | 2015-05-20 | 杭州海康威视数字技术股份有限公司 | Video bitstream frame extraction process and device |
CN104703028A (en) * | 2013-12-10 | 2015-06-10 | 深圳市朗驰欣创科技有限公司 | Method, device and system for correcting video frames |
CN104093090A (en) * | 2014-06-13 | 2014-10-08 | 北京奇艺世纪科技有限公司 | Video processing method and device |
CN104683858A (en) * | 2015-02-13 | 2015-06-03 | 北京数码视讯科技股份有限公司 | Preview method and device for content of stream medium |
CN105338424A (en) * | 2015-10-29 | 2016-02-17 | 努比亚技术有限公司 | Video processing method and system |
CN105872679A (en) * | 2015-12-31 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Barrage display method and device |
US20170206761A1 (en) * | 2016-01-15 | 2017-07-20 | Xiaoyi Technology Co., Ltd. | System and method for video preview |
CN105704570A (en) * | 2016-03-08 | 2016-06-22 | 上海小蚁科技有限公司 | Method and apparatus for generating one or more preview frames of video |
CN105898520A (en) * | 2016-04-07 | 2016-08-24 | 合网络技术(北京)有限公司 | Video frame interception method and device |
CN107341154A (en) * | 2016-04-29 | 2017-11-10 | 北京京东尚科信息技术有限公司 | Method and apparatus derived from a kind of data |
CN108536481A (en) * | 2018-02-28 | 2018-09-14 | 努比亚技术有限公司 | A kind of application program launching method, mobile terminal and computer storage media |
CN108683562A (en) * | 2018-05-18 | 2018-10-19 | 深圳壹账通智能科技有限公司 | Abnormality detection localization method, device, computer equipment and storage medium |
CN108985176A (en) * | 2018-06-20 | 2018-12-11 | 北京优酷科技有限公司 | image generating method and device |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110381365A (en) * | 2019-07-02 | 2019-10-25 | 北京字节跳动网络技术有限公司 | Video takes out frame method, device and electronic equipment |
CN110267101A (en) * | 2019-07-19 | 2019-09-20 | 西安因诺航空科技有限公司 | A kind of unmanned plane video based on quick three-dimensional picture mosaic takes out frame method automatically |
CN110505495A (en) * | 2019-08-23 | 2019-11-26 | 北京达佳互联信息技术有限公司 | Multimedia resource takes out frame method, device, server and storage medium |
CN110505495B (en) * | 2019-08-23 | 2021-12-07 | 北京达佳互联信息技术有限公司 | Multimedia resource frame extraction method, device, server and storage medium |
CN111083552A (en) * | 2019-12-30 | 2020-04-28 | 上海闻泰信息技术有限公司 | Thumbnail generation method, device, equipment and medium |
CN111538705A (en) * | 2020-04-15 | 2020-08-14 | 苏宁智能终端有限公司 | Video thumbnail previewing method, control server and medium |
CN111538705B (en) * | 2020-04-15 | 2023-06-30 | 苏宁智能终端有限公司 | Video thumbnail preview method, control server and medium |
CN112541390A (en) * | 2020-10-30 | 2021-03-23 | 四川天翼网络服务有限公司 | Frame-extracting dynamic scheduling method and system for violation analysis of examination video |
CN113238698A (en) * | 2021-05-11 | 2021-08-10 | 北京达佳互联信息技术有限公司 | Image processing method, image processing device, electronic equipment and storage medium |
CN114598834A (en) * | 2022-05-10 | 2022-06-07 | 中国铁塔股份有限公司 | Video processing method and device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109618225B (en) | 2022-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109618225A (en) | Video takes out frame method, device, equipment and medium | |
CN109213611B (en) | Cross-process communication method, device, terminal and storage medium | |
US9456229B2 (en) | Parsing single source content for multi-channel publishing | |
CN110008045A (en) | Polymerization, device, equipment and the storage medium of micro services | |
US8189661B2 (en) | Remote desktop protocol (RDP) tile image classification for improving compression efficiency and quality | |
CN110417879A (en) | A kind of message treatment method, device, equipment and storage medium | |
US20200004422A1 (en) | Method and device for storing data | |
WO2015047659A1 (en) | Application context migration framework and protocol | |
CN109309844B (en) | Video speech processing method, video client and server | |
CN108965098B (en) | Message pushing method, device, medium and electronic equipment based on online live broadcast | |
CN108933695B (en) | Method and apparatus for processing information | |
US10594550B2 (en) | Dynamic product installation based on user feedback | |
CN115373861A (en) | GPU resource scheduling method and device, electronic equipment and storage medium | |
CN110232969A (en) | Medical image is uploaded to the method, apparatus, terminal and storage medium of Cloud Server | |
US20070288604A1 (en) | Method for determining optimal number of connections in multi-connection download configuration | |
US8788257B1 (en) | Unified cross platform input method framework | |
CN114285838A (en) | File uploading method, device, system, storage medium and electronic equipment | |
EP3828739B1 (en) | Parallelization of authentication strategies | |
US20130138611A1 (en) | Tiered xml services in a content management system | |
US11526700B2 (en) | Annotating unlabeled data using classifier error rates | |
CN109948082B (en) | Live broadcast information processing method and device, electronic equipment and storage medium | |
US20230177729A1 (en) | Object oriented image normalization | |
CN109831673A (en) | A kind of direct broadcasting room data processing method, device, equipment and storage medium | |
CN114496175A (en) | Medical image viewing method, device, equipment and storage medium | |
CN109799936B (en) | Image generation method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |