CN108900918A - A kind of VOD method, client and electronic equipment - Google Patents
A kind of VOD method, client and electronic equipment Download PDFInfo
- Publication number
- CN108900918A CN108900918A CN201810942159.3A CN201810942159A CN108900918A CN 108900918 A CN108900918 A CN 108900918A CN 201810942159 A CN201810942159 A CN 201810942159A CN 108900918 A CN108900918 A CN 108900918A
- Authority
- CN
- China
- Prior art keywords
- video
- preview picture
- positioning time
- frame
- 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.)
- Pending
Links
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/47—End-user applications
- H04N21/472—End-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/47217—End-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 controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
-
- 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/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- 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/47—End-user applications
- H04N21/472—End-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/47202—End-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
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
VOD method provided by the invention,Client and electronic equipment,Applied to Internet technical field,The method can obtain corresponding video pictures using I frame in target video with independent parsing,And can be using any I frame as starting point is played the characteristics of,After the video positioning time for obtaining target video,If there is preview picture corresponding with the video positioning time,It obtains and shows preview picture,If in the preset time period of display preview picture,Receive play instruction,The content of target video is then played since I frame corresponding with preview picture,Using this method,Each preview picture that user sees is to be parsed to generate according to I frame,The broadcasting of video program is also since I frame corresponding with preview screen,The preview picture that user sees is that video starts the video pictures played,Broadcasting content is accurately positioned,It is played ensuring target video from the corresponding content of preview screen that user selects,Improve the use feeling of user.
Description
Technical field
The invention belongs to Internet technical field more particularly to a kind of VOD methods, client and electronic equipment.
Background technique
User will do it forwarding operation when watching video program sometimes, play since interested content;Certainly,
Sometimes it also will do it fast reverse operation, certain section of content that is interested or not understanding repeated playing.
In the prior art, client can be instructed according to the fast forward and fast reverse of user, shown preview screen in predeterminated position, used
Family can determine that video program starts the position played with reference to preview screen.But the order method provided in the prior art, to view
The positioning of frequency program broadcasting content is not accurate enough, the preview screen of the video program practical picture for starting to play and client offer
There is a situation where inconsistent, influences the use feeling of user.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of VOD method, client and electronic equipment, realization pair
The accurate positionin of video program play content, it is ensured that video program from the corresponding content of preview screen that user selects broadcast
It puts, improves the use feeling of user, concrete scheme is as follows:
In a first aspect, the present invention provides a kind of VOD method, including:
Obtain the video positioning time of target video;
Judge whether there is preview picture corresponding with the video positioning time, wherein the preview picture is by described
The I frame of target video, which parses, to be generated;
Preview picture corresponding with the video positioning time if it exists obtains and shows the preview picture;
In the preset time period for showing the preview picture, judge whether to get play instruction;
If getting the play instruction, is obtained since I frame corresponding with the preview picture and play the target
The content of video.
It optionally, include for generating broadcasting for the I frame of the preview picture in the default mark of each preview picture
It puts the moment, it is described to judge whether there is preview picture corresponding with the video positioning time, including:
Traverse all preview pictures;
If the playing time for including in the default mark of any preview picture and the video positioning time one
It causes, determines there is preview picture corresponding with the video positioning time.
Optionally, described to judge whether to get play instruction in the preset time period for showing the preview picture, it wraps
It includes:
In the preset time period for showing the preview picture, judge whether to get next video positioning time;
If next video positioning time has not been obtained, play instruction is generated.
Optionally, described to judge whether to get play instruction in the preset time period for showing the preview picture, it wraps
It includes:
In the preset time period for showing the preview picture, judge whether the play instruction for receiving user's sending.
Optionally, the content for obtaining and playing the target video since I frame corresponding with the preview picture,
Including:
The video positioning time is sent to server so that the server according to the video positioning time determine with
The start byte address of the corresponding I frame of the preview picture, and push the server since the start byte address
The content of the target video;
Receive and play the content of the target video of the server push.
Optionally, before the video positioning time for obtaining target video, the video of first aspect present invention offer
Order method further includes:
Obtain the duration information of target video;
Playing progress bar is generated according to the duration information.
Optionally, the video positioning time for obtaining target video, including;
Obtain the slider position of the playing progress bar;
According to the slider position, the video positioning time of target video is determined.
Optionally, the slider position for obtaining the playing progress bar, including:
Within a preset period of time, the fast forward and fast reverse instruction that remote controler is sent is received;
It is instructed according to the fast forward and fast reverse, the target position of vernier is determined according to default movement rule;
Obtain the target position, and moving cursor is to the target position.
Second aspect, the present invention provide a kind of client, including:
Positioning time acquiring unit, for obtaining the video positioning time of target video;
First judging unit, for judging whether there is preview picture corresponding with the video positioning time, wherein institute
Preview picture is stated to be generated by the I frame parsing of the target video;
Preview picture acquiring unit is obtained and is shown for preview picture corresponding with the video positioning time if it exists
Show the preview picture;
Second judgment unit, for judging whether to get broadcasting in the preset time period for showing the preview picture
Instruction;
Broadcast unit, if being obtained simultaneously since I frame corresponding with the preview picture for getting the play instruction
Play the content of the target video.
The third aspect, the present invention provide a kind of electronic equipment, including:Memory and processor;The memory is stored with
Suitable for the program that the processor executes, the step of to realize above-mentioned first aspect described in any item VOD methods.
Based on the above-mentioned technical proposal, VOD method provided by the invention, client and electronic equipment, are regarded using target
I frame can obtain corresponding video pictures in frequency with independent parsing, and can play target video using any I frame as starting point is played
Feature, after the video positioning time for obtaining target video, if there is preview picture corresponding with the video positioning time, then
The preview picture is obtained and shown from server, provides video content preview for user.Since preview picture is according in I frame
Hold what parsing generated, thus I frame corresponding with preview picture with the video positioning time be also it is corresponding, what user saw
Preview picture is the video pictures of I frame corresponding with the video positioning time.If showing the preview picture
In preset time period, play instruction is received, then obtained since I frame corresponding with the preview picture and plays the target
The content of video.Each preview screen that user sees be according to I frame parse generate, the broadcasting of video program be also from it is pre-
The corresponding I frame of picture of looking at starts, and the preview screen that user sees is that video starts the video pictures played, realizes to video section
The accurate positionin of mesh broadcasting content, it is ensured that video program from the corresponding content of preview screen that user selects play, change
The use feeling of kind user.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is VOD method flow chart provided in an embodiment of the present invention;
Fig. 2 is a kind of structural block diagram of client provided in an embodiment of the present invention;
Fig. 3 is the structural block diagram of another client provided in an embodiment of the present invention;
Fig. 4 is the structural block diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Well known, video is the principle persisted using human eye vision, by playing a series of picture, human eye is made to generate fortune
Dynamic feeling.In order to make video convenient for transimission and storage, need to compress video content.In video compression, lead to
Video data can often be compressed according to I frame, P frame and B frame.
I frame is key frame, belongs to frame data compression, each I frame includes the complete video pictures of a frame, therefore, decoding
When only need this frame data of I frame that can complete, obtain independent video pictures, also, because I frame can with independent parsing,
Therefore video content can be played using any I frame as starting point is played.
It needs the picture cached before to be superimposed with the difference that this frame includes when P frame decoding, generates final picture.B frame is
Two-way difference frame, will decode B frame, the caching picture before not only obtaining, and the picture after also decoding passes through front and back picture
Final picture is obtained with being superimposed for this frame data.
Based on above-mentioned premise, the embodiment of the present invention provides a kind of VOD method, and this method can be applied to electronic equipment,
The optional such as smart phone of the electronic equipment, tablet computer, set-top box are capable of the electronic equipment of displaying video programs;Obviously, should
The server that network side also can be selected in electronic equipment in some cases is realized;Referring to Fig.1, video provided in an embodiment of the present invention
Order method may include:
Step S100 obtains the video positioning time of target video.
In the click commands for receiving user, when preparing to play target video, it is necessary first to obtain target view to server
The duration information of frequency, duration information record have the time of required cost when completely being played to target video.It is obtaining
After the duration information for obtaining target video, need to be generated according to the duration information of target video for showing that target video is broadcast
The playing progress bar of degree of putting into, also, can have the trip for embodying the target video currently playing moment in playing progress bar
Mark.User can be adjusted the playback progress of target video by changing the position of the vernier, when the corresponding broadcasting of vernier
Carving is video positioning time.For any video program, the duration that it is completely played be it is fixed, therefore,
The corresponding playing time in playing progress bar each position generated based on duration information can all be known, broadcast according to vernier
Specific location locating in progress bar is put, can directly know the video positioning time of video program.
Optionally, for different electronic equipments, the mode that user changes slider position is different, for being provided with touch screen
The electronic equipment of curtain, user can change the video positioning time of target video by the vernier shown in dragging Touch Screen.
If user is to send fast forward and fast reverse instruction, then to electronic equipment, such as set-top box and TV by remote controler
The position of vernier can be changed according to the fast forward and fast reverse instruction received, and know the view of target video according to the position of vernier
Frequency positioning time.
Optionally, the embodiment of the present invention provides a kind of F.F. sent according to user by remote controler, rewind command, knows
The method of target video positioning time.Specifically, within a preset period of time, the fast forward and fast reverse instruction that remote controler is sent is received,
Preset time period is set, is mainly distinguished the control instruction that user issues, received control refers within a preset period of time
Order can be combined, and be not at received instruction in preset time period, then processing is two independent control instructions.
After acquiring fast forward and fast reverse instruction, the target position of vernier is determined according to default movement rule.It is optional
, default movement rule can be:Within a preset period of time, such as 0.5s clicks fast forward and fast reverse key to user twice in succession,
It is defined as continuous key-press.Specifically, key is all fast backspace key twice for front and back, the company of being defined as is by fast backspace key, and key is all twice for front and back
It is by fast forward button, the company of being defined as is by fast forward button;Fast forward button is first pressed again by fast backspace key, and the company of being defined as is by rewind fast forward button, opposite feelings
Then fast forwarding and fast rewinding key is pressed to condition by the company of being defined as;Remaining situation is defined as single keys presses.
For the rewind command acquired, if single rewind command, then the past distance moved to left of vernier is 1 times of stand-off
From;If continuous rewind command, then vernier is 2 times for last time moving to left distance toward the distance moved to left;If even pressing rewind fast forward button
Corresponding instruction, then vernier is 0.5 times for last time moving to right distance toward the distance moved to left.
For fast forward command, if single fast forward command, then the past distance moved to right of vernier is 1 times of reference distance;If even
Continuous fast forward command, then vernier is 2 times for last time moving to right distance toward the distance moved to right;If the corresponding finger of fast forwarding and fast rewinding key is pressed by company
It enables, then vernier is 0.5 times for last time moving to left distance toward the distance moved to right.
When instructing mobile according to fast forward and fast reverse every time, moves left to if left end still deficiency moves to left distance and move to left if vernier
To left end;It is shifted to the right to if right end still deficiency moves to right distance if vernier and is shifted to the right to right end.
It should be noted that above content it is merely exemplary provide the content of default movement rule, but be not limited to above-mentioned pre-
If movement rule, the combination of fast forward and fast reverse key, the mobile distance of vernier can be carried out different settings, it is any can be with
The fast forward and fast reverse instruction issued according to remote controler determines that the preset rules of the target position of vernier are all optionally, equally all
Belong to the range of the present patent application protection.In addition, the setting of aforementioned basic distance be also it is optional, can be arbitrarily designated away from
From.
After obtaining target position, vernier can be moved to target position, and further true according to the target position
Set the goal the video positioning time of video.
Step S110 judges whether there is preview picture corresponding with video positioning time, if so, step S120 is executed,
If it is not, returning to step S100.
The preview picture addressed in the embodiment of the present invention is all that the I frame parsing in target video program coding generates.?
After obtaining the current video positioning time of target video, need to judge whether there is corresponding with current video positioning time
Preview picture.
Optionally, before the video resource for providing target video to client, server needs in target video
Every I frame generates preview picture.Meanwhile the preview picture to be generated convenient for management, it can be by multiple preview pictures of same video
It is stored together, and is the default mark of each preview picture setting, and comprising for generating corresponding preview graph in the default mark
The playing time of the I frame of piece sets up I frame, preview picture, the corresponding relationship between video positioning time three, according to view
Frequency positioning time can uniquely determine preview picture and I frame corresponding with preview picture.
For example, can be during the name of preview picture, comprising for generating the preview in the title of preview picture
The playing time of the I frame of picture, the playing time necessarily correspond to a specific video positioning time.
After obtaining video positioning time, all preview pictures are traversed, according to the default mark in preview picture title,
Search whether there is preview picture corresponding with the video positioning time acquired, if the pre- bidding of any preview picture
The playing time for the correspondence I frame for including in knowledge is consistent with the video positioning time currently obtained, then can be determined that presence and video
Positioning time corresponding preview picture.
Can certainly generate an index file, record has a playing time of every I frame in index file, and with it is each
The information such as the title and storage address of the corresponding preview picture of I frame.After the video positioning time for obtaining target video, inquiry
The index file records content according to index file and judges whether there is preview picture corresponding with video positioning time.
Optionally, client is during obtaining video positioning time, the video location that can be will acquire in real time
Time is sent to server, determines whether there is preview picture corresponding with video positioning time by server.Certainly, may be used
To be determined by client, specifically, client when obtaining the duration information of target video, can obtain target view together
The record information of all preview pictures of frequency, such as aforementioned index file, and after obtaining video positioning time, inquiry has been protected
In the presence of local record information, preview picture corresponding with video positioning time is judged whether there is.
Step S120 is obtained and is shown preview picture.
If it is determined there is preview picture corresponding with video positioning time, obtains the preview picture, and acquiring
The preview picture is shown after preview picture, carries out preview for user.
Optionally, the display position of preview picture can be set near vernier present position, the viewing area of preview picture
The size in domain should not be too large, and guarantee that user can see image content clearly.
Step S130 judges whether to get play instruction, if so, holding in the preset time period of display preview picture
Row step S140, if it is not, returning to step S100.
Display duration is set for preview picture and ends automatically the display of preview picture more than the display duration of setting.Aobvious
Show in the preset time period of preview picture, judges whether to acquire the play instruction that confirmation plays.
Optionally, can since at the time of showing preview picture timing, count the display time of preview picture.Aobvious
Show in the preset time period of preview picture, judge whether slider position changes, that is, judges whether that getting new video determines
The position time, if not getting new video positioning time in the preset time period of display preview picture, then automatically generating
Play instruction.After automatically generating play instruction, step S140 is executed, is referred to if being not received by broadcasting within a preset period of time
It enables, then returns to step S100.
Optionally, can also judge whether to receive broadcasting for user's sending in the preset time period of display preview picture
Instruction is put, if receiving the play instruction of user's sending, S140 is thened follow the steps, if do not received within a preset period of time
To play instruction, then S100 is returned to step.
Step S140 obtains and plays the content of target video since I frame corresponding with preview picture.
By foregoing teachings it is found that the I frame in target video can be with independent parsing, and any I frame all can serve as
The starting point of video playing, meanwhile, preview picture is parsed according to I content frame, and therefore, the preview picture that user sees is i.e.
Corresponding video pictures when starting to play for target video.
Optionally, after obtaining play instruction, current video positioning time is sent to server, server is according to acquisition
The video positioning time that arrives is determining and the start byte of the corresponding I frame (I frame i.e. corresponding with video positioning time) of preview picture
Address, to the content of client push target video since the start byte address.Client receives and Play Server pushes away
The content of the target video sent.
VOD method provided by the invention, preview picture are generated according to the I frame of target video, and target is being obtained
After the video positioning time of video, if there is preview picture corresponding with the video positioning time, then obtained simultaneously from server
Show the preview picture, if receiving play instruction in the preset time period for showing the preview picture, then from institute
The corresponding I frame of preview picture is stated to start to obtain and play the content of the target video.Each preview screen that user sees is equal
It is to be parsed to generate according to I frame, the broadcasting of video program is also the preview that user sees since I frame corresponding with preview screen
Picture is that video starts the video pictures played, realizes the accurate positionin to video program play content, it is ensured that video program
It is played from the corresponding content of preview screen that user selects, improves the use feeling of user.
One application scenarios of VOD method provided in an embodiment of the present invention may include:
The target video for depositing in server is A.ts, wherein A is target video title.For each of target video
A I frame, which generates, preview picture, and the naming rule of preview picture is A.*.jpg, and wherein * represents I corresponding with preview picture
The playing time of frame.Meanwhile index file A.idx is established, record has each I frame pair of target video A.ts in index file
The information such as the title and storage address of the preview picture answered.
After getting for the program request instruction of target video A.ts, the when long letter of target video A.ts is obtained from server
Breath and index file A.idx, and playing progress bar is generated according to the duration information.
If user drags vernier and wishes F.F. video-frequency playing content in the playing process of target video A.ts, obtain
Cursor location information determines current video positioning time according to cursor location information, and search index file A.idx is determined and existed
Preview picture corresponding with current video positioning time A.3.50.jpg, wherein 3.50 indicate video positioning times be 3 points 50 seconds.
It is obtained from server and shows preview picture A.3.50.jpg, if in display preview picture A.3.50.jpg pre-
If in the period, receiving the play instruction of user's sending, then being broadcast since from preview picture A.3.50.jpg corresponding I frame
Target video A.ts is put, the program request to target video is completed and plays.
The VOD method provided using the present patent application embodiment, the preview screen that user sees is that video starts
The video pictures of broadcasting realize the accurate positionin to video program play content, it is ensured that the preview that video program is selected from user
Start to play at the corresponding content of picture, improves the use feeling of user.
A kind of client provided by the present application is introduced below, referring to fig. 2, Fig. 2 is provided in an embodiment of the present invention
A kind of structural block diagram of client, referring to Fig. 2, which may include:
Positioning time acquiring unit 10, for obtaining the video positioning time of target video;
First judging unit 20, for judging whether there is preview picture corresponding with the video positioning time, wherein
The preview picture is parsed by the I frame of the target video and is generated;
Preview picture acquiring unit 30 obtains simultaneously for preview picture corresponding with the video positioning time if it exists
Show the preview picture;
Second judgment unit 40, for judging whether to get and broadcast in the preset time period for showing the preview picture
Put instruction;
Broadcast unit 50, if being obtained since I frame corresponding with the preview picture for getting the play instruction
And play the content of the target video.
It optionally, include for generating broadcasting for the I frame of the preview picture in the default mark of each preview picture
It puts the moment, first judging unit 20, when for judging whether there is preview picture corresponding with the video positioning time,
It specifically includes:
Traverse all preview pictures;
If the playing time for including in the default mark of any preview picture and the video positioning time one
It causes, determines there is preview picture corresponding with the video positioning time.
Optionally, the second judgment unit 40, in the preset time period for showing the preview picture, judgement to be
It is not no when getting play instruction, it specifically includes:
In the preset time period for showing the preview picture, judge whether to get next video positioning time;
If next video positioning time has not been obtained, play instruction is generated.
Optionally, the second judgment unit 40, in the preset time period for showing the preview picture, judgement to be
It is not no when getting play instruction, it specifically includes:
In the preset time period for showing the preview picture, judge whether the play instruction for receiving user's sending.
Optionally, the broadcast unit 50, it is described for obtaining and playing since I frame corresponding with the preview picture
When the content of target video, specifically include:
The video positioning time is sent to server so that the server according to the video positioning time determine with
The start byte address of the corresponding I frame of the preview picture, and push the server since the start byte address
The content of the target video;
Receive and play the content of the target video of the server push.
It optionally, is another client provided in an embodiment of the present invention, embodiment base shown in Fig. 2 referring to Fig. 3, Fig. 3
On plinth, which further includes:
Duration information acquiring unit 60, for obtaining the duration information of target video;
Playing progress bar generation unit 70, for generating playing progress bar according to the duration information.
Optionally, the positioning time acquiring unit 10 is specific to wrap when for obtaining the video positioning time of target video
It includes;
Obtain the slider position of the playing progress bar;
According to the slider position, the video positioning time of target video is determined.
Optionally, the positioning time acquiring unit 10, when for obtaining the slider position of the playing progress bar, specifically
Including:
Within a preset period of time, the fast forward and fast reverse instruction that remote controler is sent is received;
It is instructed according to the fast forward and fast reverse, the target position of vernier is determined according to default movement rule;
Obtain the target position, and moving cursor is to the target position.
Referring to fig. 4, Fig. 4 is the structural block diagram of electronic equipment provided in an embodiment of the present invention, shown in Figure 4, be can wrap
It includes:At least one processor 100, at least one communication interface 200, at least one processor 300 and at least one communication bus
400;
In embodiments of the present invention, processor 100, communication interface 200, memory 300, communication bus 400 quantity be
At least one, and processor 100, communication interface 200, memory 300 complete mutual communication by communication bus 400;It is aobvious
So, communication connection shown in processor 100 shown in Fig. 4, communication interface 200, memory 300 and communication bus 400 is illustrated only
It is optional;
Optionally, communication interface 200 can be the interface of communication module, such as the interface of gsm module;
Processor 100 may be a central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.
Memory 300, is stored with application program, may include high speed RAM memory, it is also possible to further include non-volatile deposit
Reservoir (non-volatile memory), for example, at least a magnetic disk storage.
Wherein, processor 100 is specifically used for executing the application program in memory, to realize video on demand described above
Any embodiment of method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part
It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments in the case where not departing from core of the invention thought or scope.Therefore, originally
Invention is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein
Consistent widest scope.
Claims (10)
1. a kind of VOD method, which is characterized in that including:
Obtain the video positioning time of target video;
Judge whether there is preview picture corresponding with the video positioning time, wherein the preview picture is by the target
The I frame of video, which parses, to be generated;
Preview picture corresponding with the video positioning time if it exists obtains and shows the preview picture;
In the preset time period for showing the preview picture, judge whether to get play instruction;
If getting the play instruction, is obtained since I frame corresponding with the preview picture and play the target video
Content.
2. VOD method according to claim 1, which is characterized in that in the default mark of each preview picture
Playing time comprising the I frame for generating the preview picture, it is described judge whether there is it is corresponding with the video positioning time
Preview picture, including:
Traverse all preview pictures;
If the playing time for including in the default mark of any preview picture is consistent with the video positioning time, sentence
It is fixed to there is preview picture corresponding with the video positioning time.
3. VOD method according to claim 1, which is characterized in that it is described show the preview picture it is default when
Between in section, judge whether to get play instruction, including:
In the preset time period for showing the preview picture, judge whether to get next video positioning time;
If next video positioning time has not been obtained, play instruction is generated.
4. VOD method according to claim 1, which is characterized in that it is described show the preview picture it is default when
Between in section, judge whether to get play instruction, including:
In the preset time period for showing the preview picture, judge whether the play instruction for receiving user's sending.
5. VOD method according to claim 1, which is characterized in that described from I frame corresponding with the preview picture
Start to obtain and play the content of the target video, including:
The video positioning time is sent to server so that the server according to the video positioning time it is determining with it is described
The start byte address of the corresponding I frame of preview picture, and make the server since the start byte address described in push
The content of target video;
Receive and play the content of the target video of the server push.
6. VOD method according to claim 1-5, which is characterized in that in the acquisition target video
Before video positioning time, further include:
Obtain the duration information of target video;
Playing progress bar is generated according to the duration information.
7. VOD method according to claim 6, which is characterized in that when the video location for obtaining target video
Between, including;
Obtain the slider position of the playing progress bar;
According to the slider position, the video positioning time of target video is determined.
8. VOD method according to claim 6, which is characterized in that the vernier for obtaining the playing progress bar
Position, including:
Within a preset period of time, the fast forward and fast reverse instruction that remote controler is sent is received;
It is instructed according to the fast forward and fast reverse, the target position of vernier is determined according to default movement rule;
Obtain the target position, and moving cursor is to the target position.
9. a kind of client, which is characterized in that including:
Positioning time acquiring unit, for obtaining the video positioning time of target video;
First judging unit, for judging whether there is preview picture corresponding with the video positioning time, wherein described pre-
Picture of looking at is generated by the I frame parsing of the target video;
Preview picture acquiring unit obtains for preview picture corresponding with the video positioning time if it exists and shows institute
State preview picture;
Second judgment unit, for judging whether to get play instruction in the preset time period for showing the preview picture;
Broadcast unit, if obtaining and playing since I frame corresponding with the preview picture for getting the play instruction
The content of the target video.
10. a kind of electronic equipment, which is characterized in that including:Memory and processor;The memory is stored with suitable for the place
The program that device executes is managed, the step of to realize claim 1-8 described in any item VOD methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810942159.3A CN108900918A (en) | 2018-08-17 | 2018-08-17 | A kind of VOD method, client and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810942159.3A CN108900918A (en) | 2018-08-17 | 2018-08-17 | A kind of VOD method, client and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108900918A true CN108900918A (en) | 2018-11-27 |
Family
ID=64354547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810942159.3A Pending CN108900918A (en) | 2018-08-17 | 2018-08-17 | A kind of VOD method, client and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108900918A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110198452A (en) * | 2019-04-02 | 2019-09-03 | 腾讯科技(深圳)有限公司 | A kind of method for previewing of live video, apparatus and system |
CN111949509A (en) * | 2019-05-17 | 2020-11-17 | 百度在线网络技术(北京)有限公司 | Application software response time testing method, device, equipment and storage medium |
CN112437353A (en) * | 2020-12-15 | 2021-03-02 | 维沃移动通信有限公司 | Video processing method, video processing apparatus, electronic device, and readable storage medium |
CN113395566A (en) * | 2021-06-08 | 2021-09-14 | 北京达佳互联信息技术有限公司 | Video playing method and device, electronic equipment and computer readable storage medium |
CN113596582A (en) * | 2021-08-04 | 2021-11-02 | 杭州海康威视***技术有限公司 | Video preview method and device and electronic equipment |
CN114913622A (en) * | 2021-02-10 | 2022-08-16 | 博泰车联网科技(上海)股份有限公司 | Video display method and system of automobile data recorder and computer storage medium |
CN115499702A (en) * | 2021-06-18 | 2022-12-20 | 阿里巴巴新加坡控股有限公司 | Preview image display method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932679A (en) * | 2012-11-21 | 2013-02-13 | 合一网络技术(北京)有限公司 | Network video previewing system and method |
CN105898588A (en) * | 2015-12-07 | 2016-08-24 | 乐视云计算有限公司 | Video positioning method and device |
CN106454447A (en) * | 2016-10-11 | 2017-02-22 | 青岛海信电器股份有限公司 | Video playing and processing method and device, and television |
US20170188086A1 (en) * | 2015-12-28 | 2017-06-29 | The Directv Group, Inc. | Video frame bookmarking user interface component |
-
2018
- 2018-08-17 CN CN201810942159.3A patent/CN108900918A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932679A (en) * | 2012-11-21 | 2013-02-13 | 合一网络技术(北京)有限公司 | Network video previewing system and method |
CN105898588A (en) * | 2015-12-07 | 2016-08-24 | 乐视云计算有限公司 | Video positioning method and device |
US20170188086A1 (en) * | 2015-12-28 | 2017-06-29 | The Directv Group, Inc. | Video frame bookmarking user interface component |
CN106454447A (en) * | 2016-10-11 | 2017-02-22 | 青岛海信电器股份有限公司 | Video playing and processing method and device, and television |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110198452A (en) * | 2019-04-02 | 2019-09-03 | 腾讯科技(深圳)有限公司 | A kind of method for previewing of live video, apparatus and system |
CN110198452B (en) * | 2019-04-02 | 2021-09-14 | 腾讯科技(深圳)有限公司 | Live video previewing method, device and system |
CN111949509A (en) * | 2019-05-17 | 2020-11-17 | 百度在线网络技术(北京)有限公司 | Application software response time testing method, device, equipment and storage medium |
CN111949509B (en) * | 2019-05-17 | 2023-08-15 | 百度在线网络技术(北京)有限公司 | Response time testing method, device and equipment of application software and storage medium |
CN112437353A (en) * | 2020-12-15 | 2021-03-02 | 维沃移动通信有限公司 | Video processing method, video processing apparatus, electronic device, and readable storage medium |
CN112437353B (en) * | 2020-12-15 | 2023-05-02 | 维沃移动通信有限公司 | Video processing method, video processing device, electronic apparatus, and readable storage medium |
CN114913622A (en) * | 2021-02-10 | 2022-08-16 | 博泰车联网科技(上海)股份有限公司 | Video display method and system of automobile data recorder and computer storage medium |
CN113395566A (en) * | 2021-06-08 | 2021-09-14 | 北京达佳互联信息技术有限公司 | Video playing method and device, electronic equipment and computer readable storage medium |
CN113395566B (en) * | 2021-06-08 | 2023-02-21 | 北京达佳互联信息技术有限公司 | Video playing method and device, electronic equipment and computer readable storage medium |
CN115499702A (en) * | 2021-06-18 | 2022-12-20 | 阿里巴巴新加坡控股有限公司 | Preview image display method and device, electronic equipment and storage medium |
CN115499702B (en) * | 2021-06-18 | 2024-05-14 | 阿里巴巴创新公司 | Display method and device of preview image, electronic equipment and storage medium |
CN113596582A (en) * | 2021-08-04 | 2021-11-02 | 杭州海康威视***技术有限公司 | Video preview method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108900918A (en) | A kind of VOD method, client and electronic equipment | |
WO2017140229A1 (en) | Video recording method and apparatus for mobile terminal | |
JP5426008B2 (en) | Content playback device | |
KR101983107B1 (en) | Method for inserting information push into live video streaming, server and terminal | |
CN111147955B (en) | Video playing method, server and computer readable storage medium | |
JP2018516516A (en) | Interaction information processing method, client, service platform, and storage medium | |
CN102137302A (en) | Method and device for playing video contents of streaming media | |
CN105580013A (en) | Browsing videos by searching multiple user comments and overlaying those into the content | |
CN109977266A (en) | A kind of novel recommended method and equipment | |
CN112104897B (en) | Video acquisition method, terminal and storage medium | |
CN109168020A (en) | Method for processing video frequency, device, calculating equipment and storage medium based on live streaming | |
US20150268808A1 (en) | Method, Device and System for Multi-Speed Playing | |
CN103442299B (en) | A kind of display methods for playing record and electronic equipment | |
CN109309843A (en) | Video distribution method, terminal and server | |
CN103686454A (en) | Information acquisition method and apparatus | |
WO2016150273A1 (en) | Video playing method, mobile terminal and system | |
CN105100912A (en) | Streaming media processing method and streaming media processing apparatus | |
CN108391160A (en) | A kind of screenshotss method, system and set-top box | |
CN110868638A (en) | Automatic playing method of video watching point, terminal and server | |
EP3285455B1 (en) | Content item aggregation method and related device and communication system | |
CN106331740A (en) | Live streaming room switching method, device and system of mobile client | |
JP2015073175A (en) | Moving image stamp system, terminal device for moving image stamp system, stamp server for moving image stamp system, and program for moving image stamp system | |
CN107682711A (en) | Video intercepting method, server and Online Video play system | |
CN114025199A (en) | Live video editing method, device and system | |
JP4710000B2 (en) | Program presentation system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181127 |