CN105872714A - Video previewing method and device - Google Patents

Video previewing method and device Download PDF

Info

Publication number
CN105872714A
CN105872714A CN201610362660.3A CN201610362660A CN105872714A CN 105872714 A CN105872714 A CN 105872714A CN 201610362660 A CN201610362660 A CN 201610362660A CN 105872714 A CN105872714 A CN 105872714A
Authority
CN
China
Prior art keywords
video
resource file
file
frame
gif
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
Application number
CN201610362660.3A
Other languages
Chinese (zh)
Inventor
白斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610362660.3A priority Critical patent/CN105872714A/en
Publication of CN105872714A publication Critical patent/CN105872714A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4314Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention discloses a method and a device for video preview, which are applied to a server, and the method comprises the following steps: receiving a video file preview request sent by electronic equipment, wherein the video file preview request carries identification information of a video file to be previewed; determining a target GIF resource file which is locally pre-stored and corresponds to the video file to be previewed according to the identification information, wherein video frames included in the target GIF resource file are video frames in the video file to be previewed; and sending the target GIF resource file to the electronic equipment so that the electronic equipment plays the target GIF resource file according to a preset playing rule. The embodiment of the invention is applied to improve the effectiveness of video content display and further improve the attention degree of the video file.

Description

A kind of method and device of video preview
Technical field
The present invention relates to video player field, particularly to the method and device of a kind of video preview.
Background technology
Along with developing rapidly of network, people increasingly tend to watch video by network.Regarding in network Frequency file updates very block, for the video file do not reached the standard grade, each video player in order to attract user, meeting Introduce or describe the main contents of this video file to user, to increase user's concern to this video file Degree.In the prior art, general video player all can will extract this video file in relatively have feature Or there is a certain frame frame of video of significance map picture, as introduction or the description of this video file, to replace word The introduction of property or description.Now, the effect that this video file is introduced or described, then depend primarily on The image quality of this frame of video.
If the image quality of the frame of video of this extraction is bad, cause the integrity of shown video content not Foot, makes understanding this frame of video content to be expressed that user cannot be clear and definite undoubtedly.Video content cannot be effective Show, the attention rate of user's video file corresponding to this frame of video will be reduced to a certain extent.
Summary of the invention
The embodiment of the invention discloses the method and device of a kind of video preview, to improve what video content was shown Effectiveness, and then improve the attention rate of video file.Concrete scheme is as follows:
On the one hand, a kind of method embodiments providing video preview, it is applied to server, described Method includes:
Receive electronic equipment send video file preview request, described video file preview request carry treat pre- Look at the identification information of video file;
According to described identification information, determine that this locality is that prestore with the described mesh treating that previewing video files is corresponding Mark GIF resource file, wherein, the frame of video included by described target GIF resource file be described in treat that preview regards Frame of video in frequency file;
Described target GIF resource file is sent to described electronic equipment, so that described electronic equipment is according to predetermined Play rules, plays described target GIF resource file.
Optionally, the method for a kind of video preview that the embodiment of the present invention is provided also includes:
Previewing video files is treated described in acquisition;
Regular according to predetermined video frame extraction, treat the frame of video of previewing video files described in extraction;
According to the frame of video extracted, generate corresponding target GIF resource file;
Described target GIF resource file is stored in described as the described preview content treating previewing video files In server.
Optionally, described regular according to predetermined video frame extraction, treat the video of previewing video files described in extraction Frame, including:
According to described predetermined video frame extraction rule, determine predetermined space duration;
According to described predetermined space duration, described in extraction, treat the frame of video of previewing video files.
Optionally, described regular according to predetermined video frame extraction, treat the video of previewing video files described in extraction Frame, including:
According to described predetermined video frame extraction rule, determine predetermined extraction quantity;
According to described predetermined extraction quantity, described in extraction, treat the frame of video of previewing video files.
Second aspect, the embodiment of the present invention additionally provides a kind of method of video preview, is applied to electronic equipment, Described method includes:
Sending video file preview request to server, described video file preview request is carried and is treated preview video The identification information of file so that described server according to described identification information, determine that this locality prestores with The described target GIF resource file treating that previewing video files is corresponding, and described target GIF resource file is sent To described electronic equipment, wherein, the frame of video included by described target GIF resource file be described in treat that preview regards Frame of video in frequency file;
Receive described target GIF resource file;
According to predetermined play rules, play described target GIF resource file.
Optionally, described according to predetermined play rules, play described target GIF resource file, including:
According to described predetermined play rules, determine playing duration;
In described playing duration, target GIF resource file described in loop play.
The third aspect, the embodiment of the present invention additionally provides the device of a kind of video preview, is applied to server, Described device includes: preview request receiver module, target GIF resource file determine module and target GIF resource File sending module;
Described preview request receiver module: for receiving the video file preview request that electronic equipment sends, institute State video file preview request and carry the identification information treating previewing video files;
Described target GIF resource file determines module: for according to described identification information, determine that this locality is deposited in advance Storage with the described target GIF resource file treating that previewing video files is corresponding, wherein, described target GIF resource Frame of video included by file be described in treat in previewing video files frame of video;
Described target GIF resource file sending module: described for described target GIF resource file is sent to Electronic equipment, so that described electronic equipment is according to predetermined play rules, plays described target GIF resource file.
Optionally, the device of a kind of video preview that the embodiment of the present invention is provided also includes treating preview video literary composition Part obtains module, video frame extraction module, target GIF resource file generation module and target GIF resource file Memory module;
Described treat that previewing video files obtains module: described in being used for obtaining, treat previewing video files;
Described video frame extraction module: for regular according to predetermined video frame extraction, treat that preview regards described in extraction The frame of video of frequency file;
Described target GIF resource file generation module: for according to the frame of video extracted, generating corresponding mesh Mark GIF resource file;
Described target GIF resource file memory module: for described target GIF resource file is treated as described The preview content of previewing video files is stored in described server.
Optionally, described video frame extraction module includes that predetermined space duration determines that unit and the first frame of video carry Take unit;
Described predetermined space duration determines unit: for according to described predetermined video frame extraction rule, determining pre- Surely duration it is spaced;
Described first video frame extraction unit: for according to described predetermined space duration, treat preview described in extraction The frame of video of video file.
Optionally, described video frame extraction module includes that predetermined quantity of extracting determines that unit and the second frame of video carry Take unit;
Described predetermined extraction quantity determines unit: for according to described predetermined video frame extraction rule, determining pre- Surely quantity is extracted;
Described second video frame extraction unit: for according to described predetermined extraction quantity, treat preview described in extraction The frame of video of video file.
Fourth aspect, the embodiment of the present invention additionally provides the device of a kind of video preview, is applied to electronic equipment, Described device includes: preview request sending module, target GIF resource file receiver module and target GIF resource File playing module;
Described preview request sending module: for sending video file preview request, described video to server Previewing file request carries the identification information treating previewing video files, so that described server is according to described mark Information, determines that this locality is that prestore with the described target GIF resource file treating that previewing video files is corresponding, and Described target GIF resource file is sent to described electronic equipment, wherein, described target GIF resource file institute Including frame of video be described in treat in previewing video files frame of video;
Described target GIF resource file receiver module: be used for receiving described target GIF resource file;
Described target GIF resource file playing module: for according to predetermined play rules, play described target GIF Resource file.
Optionally, described target GIF resource file playing module includes that playing duration determines unit and target GIF Resource file broadcast unit;
Described playing duration determines unit: for according to described predetermined play rules, determine playing duration;
Described target GIF resource file broadcast unit: be used in described playing duration, described in loop play Target GIF resource file.
In this programme, receiving the video file preview request that electronic equipment sends, this video file preview please Ask and carry the identification information treating previewing video files;According to this identification information, determine that this locality prestores with This treats the target GIF resource file that previewing video files is corresponding, wherein, included by this target GIF resource file Frame of video be this frame of video treating in previewing video files;This target GIF resource file is sent to this electronics Equipment, so that this electronic equipment is according to predetermined play rules, plays this target GIF resource file.Regard to improve Frequently the effectiveness of content displaying, and then improve the concerned degree of video file.Certainly, appointing of the present invention is implemented One product or method must be not necessarily required to reach all the above advantage simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The schematic flow sheet of the method for a kind of video preview that Fig. 1 is provided by the embodiment of the present invention;
Another schematic flow sheet of the method for a kind of video preview that Fig. 2 is provided by the embodiment of the present invention;
Another schematic flow sheet of the method for a kind of video preview that Fig. 3 is provided by the embodiment of the present invention;
The structural representation of the device of a kind of video preview that Fig. 4 is provided by the embodiment of the present invention;
Another structural representation of the device of a kind of video preview that Fig. 5 is provided by the embodiment of the present invention;
Another structural representation of the device of a kind of video preview that Fig. 6 is provided by the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
Embodiments provide the method and device of a kind of video preview, to improve what video content was shown Effectiveness, and then improve the attention rate of video file.
The method of a kind of video preview provided the embodiment of the present invention first below is introduced.
It should be noted that a kind of method of video preview that the embodiment of the present invention is provided, can apply to Server, this server can carry the memory space of certain capacity, to be used for storing treating previewing video files Corresponding GIF (graphic interchange format-Graphics Interchange Format) resource file, certainly this service Device can also outreach memory space, is used for storing the GIF resource file treating that previewing video files is corresponding, etc., This is all possible, and wherein, can include treating in previewing video files of correspondence in this GIF resource file At least two frame frame of video.
As it is shown in figure 1, a kind of method of video preview that the embodiment of the present invention is provided, can include as follows Step:
S101: receiving the video file preview request that electronic equipment sends, this video file preview request is carried Treat the identification information of previewing video files;
It is understood that when the user of electronic equipment is pre-to server initiation video file by specific operation Look at request time, this server can receive the video file preview request that electronic equipment is sent timely, It is understood that this server can utilize prior art, process the request of multi-channel video previewing file simultaneously.
Wherein, this video file preview request carries the identification information treating previewing video files, this identification information Can be that this treats the title of previewing video files, serial number or MD5 value etc., every can uniquely determine this Treating the information of previewing video files, can serve as this identification information treating previewing video files, the present invention is real Execute example the type of this identification information not to be limited.
S102: according to this identification information, determines with this, what this locality prestored treats that previewing video files is corresponding Target GIF resource file, wherein, this frame of video included by target GIF resource file is that this treats preview video Frame of video in file;
Concrete, this server has prestored the GIF resource file respectively treated corresponding to previewing video files, This GIF resource file contains the frame of video treating to be extracted previewing video files from this correspondence, this institute The frame of video extracted can be at least two frames, and, treat previewing video files is extracted from this correspondence Frame of video, can be continuous print frame of video, it is also possible to be discontinuous frame of video.It is understood that work as This frame of video extracted is continuous print, can be by this GIF resource file as a video file.Receive The video file preview request sent to electronic equipment, this server can be according to this video file preview request The entrained identification information treating previewing video files, it is thus achieved that locally stored treats previewing video files pair with this The target GIF resource file answered, wherein, this extraction frame of video can use prior art, does not goes to live in the household of one's in-laws on getting married at this State.
S103: this target GIF resource file is sent to this electronic equipment, so that this electronic equipment is according to predetermined Play rules, plays this target GIF resource file.
It should be noted that this server treats the identification information of previewing video files according to this, determine this video After target GIF resource file corresponding to previewing file request, this target GIF resource file is sent to this Electronic equipment, this electronic equipment then can play this target GIF resource file according to predetermined play rules. Wherein, this transmission target GIF resource file can use prior art, and therefore not to repeat here.
The application embodiment of the present invention, receives the video file preview request that electronic equipment sends, this video file Preview request carries the identification information treating previewing video files;According to this identification information, determine that this locality is deposited in advance That stores up treats the target GIF resource file that previewing video files is corresponding, wherein, this target GIF resource literary composition with this Frame of video included by part is this frame of video treating in previewing video files;This target GIF resource file is sent out Give this electronic equipment, so that this electronic equipment is according to predetermined play rules, play this target GIF resource literary composition Part.To improve the effectiveness that video content is shown, and then improve the concerned degree of video file.
Further, as in figure 2 it is shown, in order to provide the user with the GIF more treating that previewing video files is corresponding Resource file, the method for a kind of video preview that the embodiment of the present invention is provided can also include:
S201: obtain this and treat previewing video files;
S202: according to predetermined video frame extraction rule, extract this frame of video treating previewing video files;
S203: according to the frame of video extracted, generate corresponding target GIF resource file;
S204: this target GIF resource file is stored in this as this preview content treating previewing video files In server.
It is understood that this server can treat previewing video files by Network Capture, regard according to predetermined Frequently frame extracting rule, extracts this frame of video treating previewing video files, and wherein, the frame of video of this extraction is permissible It is continuous print, it is also possible to be discontinuous.The frame of video of this extraction can be generated target by prior art GIF resource file, and treat that the preview content of previewing video files is stored in this server as this.For this Choosing of the frame of video extracted, can choose this and treat have regarding of significant meaning in previewing video files Frequently frame, is concerned about and treats that preview regards so that user can be more vivid corresponding to this target GIF resource file The feature of frequency file, more attracts the attention of user.
Further, in actual applications, this GIF resource file can improve user and treats previewing video files Attention rate because this GIF resource file can include corresponding at least two frames treating previewing video files Frame of video, what this at least two frames frame of video can be apparent map out this corresponding previewing video files for the treatment of Video content, can be presented to user by the main video content treating previewing video files of this correspondence, so that This is treated that previewing video files is more comprehensively understood by user.
Apparent map out this corresponding video content treating previewing video files while, examine again Consider and ensure that this treats the confidentiality of previewing video files.Now, the frame of video of previewing video files is treated for this Extract, a frame or some frame videos can be extracted at set intervals by this predetermined video frame extraction rule Frame, such as, extracted frames or some frame frame of video every ten minutes, thought user to show more clearly to treat pre- The video content that video file of looking at is embodied.Wherein, for ensureing that this treats the confidentiality of previewing video files, should Predetermined space duration can be longer with appropriate intervals, and, this predetermined space duration can also suitably be adjusted Whole.Concrete, described regular according to predetermined video frame extraction, extract this frame of video treating previewing video files, May include that
According to this predetermined video frame extraction rule, determine predetermined space duration;
According to this predetermined space duration, extract this frame of video treating previewing video files.
For example, for treating previewing video files A, this predetermined video frame extraction rule is prespecified to be extracted Treating the interval duration of frame of video in previewing video files A, this interval duration can be 100 seconds or 200 seconds, Etc., now, treat previewing video files A according to this interval duration and carry out the extraction of frame of video, as every 100 Second or 200 seconds extract a frame frame of video, according to this predetermined video frame extraction rule, have extracted this and have treated preview After the frame of video of video file, then carry out the follow-up frame frame of video this extracted and generate target GIF resource The step of file.
Further, in actual applications, for the extraction of this frame of video, this predetermined video frame extraction rule The quantity of this frame of video extracted can also be limited, in order to avoid the too many frame of video of quantity can reduce the sight of user See desire, make user produce and be sick of psychology, or, quantity frame of video very little cannot well embody institute Corresponding treats the video content that previewing video files is to be embodied, and makes user that by this, this is treated previewing video files Recognize unclear.Concrete, described according to predetermined video frame extraction rule, extract this and treat previewing video files Frame of video, including:
According to this predetermined video frame extraction rule, determine predetermined extraction quantity;
According to this predetermined extraction quantity, extract this frame of video treating previewing video files.
For example, for treating previewing video files B, prespecified extraction in this predetermined video frame extraction rule This treats that the quantity of the frame of video in previewing video files B is 10 frames, at this point it is possible to carry according to this predetermined frame of video Take regular random and extract this any 10 frame frame of video treating in previewing video files B, then carry out follow-up should 10 frame frame of video generate the step of target GIF resource file.
Corresponding to said method embodiment, the embodiment of the present invention additionally provides a kind of method of video preview, can To be applied to electronic equipment, it is to be understood that realize a kind of video preview that the embodiment of the present invention is provided The functional software of method, can be special client software, it is also possible to be other there is video playback The plug-in unit of the application software of function.This electronic equipment is realizing video preview that the embodiment of the present invention provided During method, need to be in the state connecting network.
As it is shown on figure 3, a kind of method of video preview that the embodiment of the present invention is provided, can include as follows Step:
S301: sending video file preview request to server, this video file preview request is carried and treated preview The identification information of video file so that this server according to this identification information, determine that this locality prestores with This treats the target GIF resource file that previewing video files is corresponding, and this target GIF resource file is sent to this Electronic equipment, wherein, this frame of video included by target GIF resource file is that this is treated in previewing video files Frame of video;
It is understood that user can pass through specific operation, this electronic equipment is made to send video to server Previewing file is asked, and carries, in this video file preview request, the identification information treating previewing video files, so that This server according to this identification information, determines and locally stored treats target GIF that previewing video files is corresponding with this Resource file, and this target GIF resource file is sent to this electronic equipment.Wherein, by this target GIF Resource file is sent to this electronic equipment can use prior art, and therefore not to repeat here.
S302: receive this target GIF resource file;
S303: according to predetermined play rules, plays this target GIF resource file.
It is emphasized that this server, in the video file preview request received according to this, determines mesh After mark GIF resource file, this target GIF resource file can be sent to this electronic equipment, this electronic equipment Receive this target GIF resource file;Can be according to predetermined play rules, that plays that this server sent should Target GIF resource file.For example, this predetermined play rules can be that regulation plays this target GIF money The playing duration of source file, it is assumed that regulation playing duration is 1 minute, and this target GIF resource file itself Playing duration be 30 seconds, then according to this predetermined play rules, can be by this target GIF resource file 1 Loop play 2 times in minute.
From this, the application embodiment of the present invention, can be by treating that the frame of video extracted previewing video files is formed Target GIF resource file, replace in prior art in the way of picture or mode that word describes shown Treat the video content of previewing video files, the effectiveness that video content is shown can be improved, and then improve video The concerned degree of file.
Further, for the broadcasting of target GIF resource file, in order to preferably show this correspondence to user Treating the video content of previewing video files, have and user will not be allowed the psychology being sick of occur, can set broadcasting should The reproduction time of target GIF resource file, concrete, described according to predetermined play rules, play this target GIF Resource file, may include that
According to this predetermined play rules, determine playing duration;
In this playing duration, this target GIF resource file of loop play.
The method of a kind of video preview provided the embodiment of the present invention with specific embodiment below is situated between Continue.
Before treating that previewing video files XX reaches the standard grade, operation personnel can be according to the actual effect treating previewing video files Really, select the frame of video about 10 frames, make and become a GIF resource file, treat preview video for introduction The splendid contents of file XX, and be stored in service end.According to market operation demand, at the head of video software Page shows that this is when previewing video files XX.When opening homepage and being shown, by specific operation, such as Mus Mark is suspended in this relevant display location treating previewing video files, or, this treats the relevant of previewing video files When display location is on the display interface of electronic equipment, electronic equipment can send video file to service end Preview request, pulls the GIF resource file (i.e. target GIF resource file) having been stored in service end.Mesh After mark GIF resource file pulls electronic equipment smoothly, now, then broadcasting GIF resource is started the cycle over.Now Present to user is exactly a dynamic previewing effect treating previewing video files XX.
Corresponding to said method embodiment, as shown in Figure 4, the embodiment of the present invention additionally provides a kind of video preview Device, can apply to server, described device may include that preview request receiver module 401, target GIF resource file determines module 402 and target GIF resource file sending module 403;
Described preview request receiver module 401: for receiving the video file preview request that electronic equipment sends, Described video file preview request carries the identification information treating previewing video files;
Described target GIF resource file determines module 402: for according to described identification information, determine local pre- First store with the described target GIF resource file treating that previewing video files is corresponding, wherein, described target GIF Frame of video included by resource file be described in treat in previewing video files frame of video;
Described target GIF resource file sending module 403: for described target GIF resource file is sent to institute State electronic equipment, so that described electronic equipment is according to predetermined play rules, play described target GIF resource file.
The application embodiment of the present invention, receives the video file preview request that electronic equipment sends, this video file Preview request carries the identification information treating previewing video files;According to this identification information, determine that this locality is deposited in advance That stores up treats the target GIF resource file that previewing video files is corresponding, wherein, this target GIF resource literary composition with this Frame of video included by part is this frame of video treating in previewing video files;This target GIF resource file is sent out Give this electronic equipment, so that this electronic equipment is according to predetermined play rules, play this target GIF resource literary composition Part.To improve the effectiveness that video content is shown, and then improve the concerned degree of video file.
It is concrete, as it is shown in figure 5, the device of a kind of video preview that the embodiment of the present invention is provided can also wrap Include and treat that previewing video files obtains module 501, video frame extraction module 502, target GIF resource file generation mould Block 503 and target GIF resource file memory module 504;
Described treat that previewing video files obtains module 501: described in being used for obtaining, treat previewing video files;
Described video frame extraction module 502: for regular according to predetermined video frame extraction, treat preview described in extraction The frame of video of video file;
Described target GIF resource file generation module 503: for according to the frame of video extracted, generate correspondence Target GIF resource file;
Described target GIF resource file memory module 504: be used for described target GIF resource file as described Treat that the preview content of previewing video files is stored in described server.
Concrete, described video frame extraction module 502 includes that predetermined space duration determines unit and the first frame of video Extraction unit;
Described predetermined space duration determines unit: for according to described predetermined video frame extraction rule, determining pre- Surely duration it is spaced;
Described first video frame extraction unit: for according to described predetermined space duration, treat preview described in extraction The frame of video of video file.
Concrete, described video frame extraction module 502 includes that predetermined quantity of extracting determines unit and the second frame of video Extraction unit;
Described predetermined extraction quantity determines unit: for according to described predetermined video frame extraction rule, determining pre- Surely quantity is extracted;
Described second video frame extraction unit: for according to described predetermined extraction quantity, treat preview described in extraction The frame of video of video file.
Corresponding to said method embodiment, as shown in Figure 6, the embodiment of the present invention additionally provides a kind of video preview Device, can apply to electronic equipment, described device may include that preview request sending module 601, mesh Mark GIF resource file receiver module 602 and target GIF resource file playing module 603;
Described preview request sending module 601: for sending video file preview request to server, described regard Frequency file preview request carries the identification information treating previewing video files, so that described server is according to described mark Knowledge information, determines that this locality is that prestore with the described target GIF resource file treating that previewing video files is corresponding, And described target GIF resource file is sent to described electronic equipment, wherein, described target GIF resource file Included frame of video be described in treat in previewing video files frame of video;
Described target GIF resource file receiver module 602: be used for receiving described target GIF resource file;
Described target GIF resource file playing module 603: for according to predetermined play rules, play described mesh Mark GIF resource file.
From this, the application embodiment of the present invention, can be by treating that the frame of video extracted previewing video files is formed Target GIF resource file, replace in prior art in the way of picture or mode that word describes shown Treat the video content of previewing video files, the effectiveness that video content is shown can be improved, and then improve video The concerned degree of file.
Concrete, described target GIF resource file playing module 603 includes that playing duration determines unit and target GIF resource file broadcast unit;
Described playing duration determines unit: for according to described predetermined play rules, determine playing duration;
Described target GIF resource file broadcast unit: be used in described playing duration, mesh described in loop play Mark GIF resource file.
For systems/devices embodiment, owing to it is substantially similar to embodiment of the method, so the ratio described Relatively simple, relevant part sees the part of embodiment of the method and illustrates.
It should be noted that in this article, the relational terms of such as first and second or the like be used merely to by One entity or operation separate with another entity or operating space, and not necessarily require or imply these Relation or the order of any this reality is there is between entity or operation.And, term " includes ", " comprising " Or its any other variant is intended to comprising of nonexcludability, so that include the mistake of a series of key element Journey, method, article or equipment not only include those key elements, but also other including being not expressly set out Key element, or also include the key element intrinsic for this process, method, article or equipment.Do not having In the case of more restrictions, statement " including ... " key element limited, it is not excluded that including described wanting Process, method, article or the equipment of element there is also other identical element.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method embodiment The program that can be by completes to instruct relevant hardware, and described program can be stored in computer-readable Take in storage medium, the storage medium obtained designated herein, such as: ROM/RAM, magnetic disc, CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention. All any modification, equivalent substitution and improvement etc. made within the spirit and principles in the present invention, are all contained in In protection scope of the present invention.

Claims (10)

1. the method for a video preview, it is characterised in that be applied to server, described method includes:
Receive electronic equipment send video file preview request, described video file preview request carry treat pre- Look at the identification information of video file;
According to described identification information, determine that this locality is that prestore with the described mesh treating that previewing video files is corresponding Mark GIF resource file, wherein, the frame of video included by described target GIF resource file be described in treat that preview regards Frame of video in frequency file;
Described target GIF resource file is sent to described electronic equipment, so that described electronic equipment is according to predetermined Play rules, plays described target GIF resource file.
Method the most according to claim 1, it is characterised in that described method also includes:
Previewing video files is treated described in acquisition;
Regular according to predetermined video frame extraction, treat the frame of video of previewing video files described in extraction;
According to the frame of video extracted, generate corresponding target GIF resource file;
Described target GIF resource file is stored in described as the described preview content treating previewing video files In server.
Method the most according to claim 2, it is characterised in that described advise according to predetermined video frame extraction Then, described in extraction, treat the frame of video of previewing video files, including:
According to described predetermined video frame extraction rule, determine predetermined space duration;
According to described predetermined space duration, described in extraction, treat the frame of video of previewing video files.
Method the most according to claim 2, it is characterised in that described advise according to predetermined video frame extraction Then, described in extraction, treat the frame of video of previewing video files, including:
According to described predetermined video frame extraction rule, determine predetermined extraction quantity;
According to described predetermined extraction quantity, described in extraction, treat the frame of video of previewing video files.
5. the method for a video preview, it is characterised in that be applied to electronic equipment, described method includes:
Sending video file preview request to server, described video file preview request is carried and is treated preview video The identification information of file so that described server according to described identification information, determine that this locality prestores with The described target GIF resource file treating that previewing video files is corresponding, and described target GIF resource file is sent To described electronic equipment, wherein, the frame of video included by described target GIF resource file be described in treat that preview regards Frame of video in frequency file;
Receive described target GIF resource file;
According to predetermined play rules, play described target GIF resource file.
Method the most according to claim 5, it is characterised in that described according to predetermined play rules, broadcasts Put described target GIF resource file, including:
According to described predetermined play rules, determine playing duration;
In described playing duration, target GIF resource file described in loop play.
7. the device of a video preview, it is characterised in that be applied to server, described device includes: pre- Look at and ask receiver module, target GIF resource file to determine module and target GIF resource file sending module;
Described preview request receiver module: for receiving the video file preview request that electronic equipment sends, institute State video file preview request and carry the identification information treating previewing video files;
Described target GIF resource file determines module: for according to described identification information, determine that this locality is deposited in advance Storage with the described target GIF resource file treating that previewing video files is corresponding, wherein, described target GIF resource Frame of video included by file be described in treat in previewing video files frame of video;
Described target GIF resource file sending module: described for described target GIF resource file is sent to Electronic equipment, so that described electronic equipment is according to predetermined play rules, plays described target GIF resource file.
Device the most according to claim 7, it is characterised in that described device also includes treating preview video File obtains module, video frame extraction module, target GIF resource file generation module and target GIF resource literary composition Part memory module;
Described treat that previewing video files obtains module: described in being used for obtaining, treat previewing video files;
Described video frame extraction module: for regular according to predetermined video frame extraction, treat that preview regards described in extraction The frame of video of frequency file;
Described target GIF resource file generation module: for according to the frame of video extracted, generating corresponding mesh Mark GIF resource file;
Described target GIF resource file memory module: for described target GIF resource file is treated as described The preview content of previewing video files is stored in described server.
Device the most according to claim 8, it is characterised in that described video frame extraction module includes pre- Surely interval duration determines unit and the first video frame extraction unit;
Described predetermined space duration determines unit: for according to described predetermined video frame extraction rule, determining pre- Surely duration it is spaced;
Described first video frame extraction unit: for according to described predetermined space duration, treat preview described in extraction The frame of video of video file.
10. the device of a video preview, it is characterised in that be applied to electronic equipment, described device includes: Preview request sending module, target GIF resource file receiver module and target GIF resource file playing module;
Described preview request sending module: for sending video file preview request, described video to server Previewing file request carries the identification information treating previewing video files, so that described server is according to described mark Information, determines that this locality is that prestore with the described target GIF resource file treating that previewing video files is corresponding, and Described target GIF resource file is sent to described electronic equipment, wherein, described target GIF resource file institute Including frame of video be described in treat in previewing video files frame of video;
Described target GIF resource file receiver module: be used for receiving described target GIF resource file;
Described target GIF resource file playing module: for according to predetermined play rules, play described target GIF Resource file.
CN201610362660.3A 2016-05-26 2016-05-26 Video previewing method and device Pending CN105872714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610362660.3A CN105872714A (en) 2016-05-26 2016-05-26 Video previewing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610362660.3A CN105872714A (en) 2016-05-26 2016-05-26 Video previewing method and device

Publications (1)

Publication Number Publication Date
CN105872714A true CN105872714A (en) 2016-08-17

Family

ID=56642518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610362660.3A Pending CN105872714A (en) 2016-05-26 2016-05-26 Video previewing method and device

Country Status (1)

Country Link
CN (1) CN105872714A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375862A (en) * 2016-09-22 2017-02-01 维沃移动通信有限公司 GIF picture acquisition method and apparatus, and terminal
CN107172482A (en) * 2017-03-31 2017-09-15 北京奇艺世纪科技有限公司 The generation method and device of graphic interchange format picture
CN107809447A (en) * 2016-09-08 2018-03-16 腾讯科技(深圳)有限公司 A kind of processing method and relevant device of file transmission
CN108228295A (en) * 2017-12-29 2018-06-29 努比亚技术有限公司 Wallpaper setting method, intelligent terminal and storage medium
CN109756767A (en) * 2017-11-06 2019-05-14 腾讯科技(深圳)有限公司 Preview data playback method, device and storage medium
CN111880881A (en) * 2020-07-24 2020-11-03 上海米哈游天命科技有限公司 Resource processing system, resource processing method, electronic device, and medium
WO2021227532A1 (en) * 2020-05-15 2021-11-18 上海哔哩哔哩科技有限公司 Browser-based frame extraction method and system
CN114071226A (en) * 2022-01-14 2022-02-18 飞狐信息技术(天津)有限公司 Video preview graph generation method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316370A (en) * 2010-06-29 2012-01-11 腾讯科技(深圳)有限公司 Method and device for displaying playback information
CN104581407A (en) * 2014-12-31 2015-04-29 北京奇艺世纪科技有限公司 Video previewing method and device
US20150117513A1 (en) * 2013-10-29 2015-04-30 Google Inc. Bandwidth reduction system and method
CN104780417A (en) * 2015-03-20 2015-07-15 广东欧珀移动通信有限公司 Display method for preview video file, mobile terminal and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316370A (en) * 2010-06-29 2012-01-11 腾讯科技(深圳)有限公司 Method and device for displaying playback information
US20150117513A1 (en) * 2013-10-29 2015-04-30 Google Inc. Bandwidth reduction system and method
CN104581407A (en) * 2014-12-31 2015-04-29 北京奇艺世纪科技有限公司 Video previewing method and device
CN104780417A (en) * 2015-03-20 2015-07-15 广东欧珀移动通信有限公司 Display method for preview video file, mobile terminal and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107809447A (en) * 2016-09-08 2018-03-16 腾讯科技(深圳)有限公司 A kind of processing method and relevant device of file transmission
CN107809447B (en) * 2016-09-08 2022-05-31 腾讯科技(深圳)有限公司 File transmission processing method and related equipment
CN106375862A (en) * 2016-09-22 2017-02-01 维沃移动通信有限公司 GIF picture acquisition method and apparatus, and terminal
CN106375862B (en) * 2016-09-22 2019-10-15 维沃移动通信有限公司 A kind of method, apparatus and terminal obtaining GIF picture
CN107172482A (en) * 2017-03-31 2017-09-15 北京奇艺世纪科技有限公司 The generation method and device of graphic interchange format picture
CN109756767A (en) * 2017-11-06 2019-05-14 腾讯科技(深圳)有限公司 Preview data playback method, device and storage medium
CN109756767B (en) * 2017-11-06 2021-12-14 腾讯科技(深圳)有限公司 Preview data playing method, device and storage medium
CN108228295A (en) * 2017-12-29 2018-06-29 努比亚技术有限公司 Wallpaper setting method, intelligent terminal and storage medium
WO2021227532A1 (en) * 2020-05-15 2021-11-18 上海哔哩哔哩科技有限公司 Browser-based frame extraction method and system
CN111880881A (en) * 2020-07-24 2020-11-03 上海米哈游天命科技有限公司 Resource processing system, resource processing method, electronic device, and medium
CN114071226A (en) * 2022-01-14 2022-02-18 飞狐信息技术(天津)有限公司 Video preview graph generation method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN105872714A (en) Video previewing method and device
CN104170392B (en) Method, apparatus, system and the terminal of product placement in a kind of file
CN109302619A (en) A kind of information processing method and device
CN104519397A (en) Audio and video screen-projection playing method, set-top box and terminal device
CN103546774A (en) Method and system for realizing seamless access to media file
CN105979353A (en) Method and device for controlling video playing of play device
DE202017105546U1 (en) Computer program products, systems and media for authenticating user devices for a display device
CN105657558B (en) A kind of information providing method, methods of exhibiting, device and smart television
DE102012218436B4 (en) Method, device and computer program product for distributing licensed content among several units
CN105409226A (en) System and method for effectively controlling client behavior in adaptive streaming
CN108024144B (en) Video playing method, terminal and computer readable storage medium
DE102017117023A1 (en) Method, system, and media for synchronizing media content using audio timecodes
CN107786887A (en) A kind of method and device for showing displaying information
CN111432228B (en) Method, device and equipment for matching anchor and storage medium
CN107105316A (en) A kind of advertisement broadcast method and device
CN106791975A (en) A kind of method of net cast, terminal device and video living transmission system
CN106792237B (en) Message display method and system
CN106101806B (en) Method for processing video frequency and device when a kind of sharing live video
CN104010198B (en) The method and system of the anti-shielding of video impression information
CN103747280A (en) Method for creating a program and device thereof
CN111083504A (en) Interaction method, device and equipment
CN106658052A (en) Advertisement putting method and advertisement putting device
CN105338378A (en) Video-on-demand method and device
CN108024152A (en) A kind of screen shows review system and implementation method
JP2017011438A (en) Information processing apparatus, program, information processing system, and receiving apparatus

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

Application publication date: 20160817

RJ01 Rejection of invention patent application after publication