[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106658227A - Video play time length compressing method and device - Google Patents

Video play time length compressing method and device Download PDF

Info

Publication number
CN106658227A
CN106658227A CN201510717408.5A CN201510717408A CN106658227A CN 106658227 A CN106658227 A CN 106658227A CN 201510717408 A CN201510717408 A CN 201510717408A CN 106658227 A CN106658227 A CN 106658227A
Authority
CN
China
Prior art keywords
video
sub
duration
segments
original video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510717408.5A
Other languages
Chinese (zh)
Other versions
CN106658227B (en
Inventor
张磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510717408.5A priority Critical patent/CN106658227B/en
Publication of CN106658227A publication Critical patent/CN106658227A/en
Application granted granted Critical
Publication of CN106658227B publication Critical patent/CN106658227B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • 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/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

Landscapes

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

Abstract

The invention provides a video play time length compressing method and device. The method comprises that video segments, which are skipped during fast forward operations, of an original video is recorded; the original video is divided into multiple video sub-segments based on the recorded video segments; and the fast forward frequency of the video sub-segments is counted, and the play time length of the original video is compressed on the basis of the calculated fast forward frequency and a preset time length compression proportion. Thus, the play time length of the original video can be compressed intelligently.

Description

The compression method and device of video playback duration
Technical field
The application is related to the communications field, more particularly to a kind of compression method and device of video playback duration.
Background technology
User when Internet video is watched, for content lengthy in video, user's meeting in viewing It is highly desirable to skip this partial content, but user is afraid of to miss important in video again during viewing Content, therefore user is during viewing video, it has to autonomous carries out video content recognition, no Content interested is skipped with regard to F.F., is missed important content and is re-started playback again, consequently, it is possible to causing User needs execution F.F. repeatedly and playback operation during viewing video, defines a kind of non- Often bad viewing experience.
The content of the invention
The application proposes a kind of compression method of video playback duration, and the method includes:
The video segment that record original video is skipped when forwarding operation is performed;
The original video is divided into into some video sub-segments based on multiple video segments of record;
Count the F.F. number of times of some video sub-segments, and based on the F.F. number of times for counting with And default duration compression factor is compressed to the playing duration of the original video.
Optionally, the video segment that the record original video is skipped when forwarding operation is performed includes:
Forwarding operation of the monitoring for the original video;
When the forwarding operation for the original video is monitored, the forwarding operation is obtained in the original The generation moment and finish time on the reproduction time axle of beginning video;
F.F. behaviour is being performed to the original video based on the generation moment and finish time for getting As when the video segment skipped recorded.
Optionally, the original video is divided into some videos by the multiple video segments based on record Sub-piece includes:
Calculate the overlapping region between the plurality of video segment of record;
Obtain start time point and knot of the overlapping region on the reproduction time axle of the original video Beam time point;
The point on the basis of the start time point that gets and end time point, to described original Video carries out sub-piece division, to obtain some video sub-segments.
Optionally, it is described based on the F.F. number of times for counting and default duration compression factor to institute State original video playing duration be compressed including:
Obtain the duration compression factor that user is arranged;
Based on user arrange the duration compression factor to F.F. number of times in some video sub-segments most Many video sub-segments are deleted, and the playing duration of the original video is compressed to into user's setting The duration compression factor.
Optionally, the duration compression factor arranged based on user is to fast in some video sub-segments Entering the most video sub-segments of number of times and carrying out deletion includes:
Calculate the playing duration after the original video is compressed based on the duration compression factor that user is arranged;
F.F. number of times highest video sub-segments in some video sub-segments are deleted successively, until described The actual play duration of original video is not more than stopping when the playing duration after the compression for calculating is matched.
The application also proposes a kind of compressor of video playback duration, and the device includes:
Logging modle, for recording the video segment that original video is skipped when forwarding operation is performed;
Division module, for the original video to be divided into into some regarding based on multiple video segments of record Frequency sub-piece;
Compression module, for counting the F.F. number of times of some video sub-segments, and based on counting The F.F. number of times and default duration compression factor are compressed to the playing duration of the original video.
Optionally, the logging modle specifically for:
Forwarding operation of the monitoring for the original video;
When the forwarding operation for the original video is monitored, the forwarding operation is obtained in the original The generation moment and finish time on the reproduction time axle of beginning video;
F.F. behaviour is being performed to the original video based on the generation moment and finish time for getting As when the video segment skipped recorded.
Optionally, the division module specifically for:
Calculate the overlapping region between multiple video segments of record;
Obtain start time point and knot of the overlapping region on the reproduction time axle of the original video Beam time point;
The point on the basis of the start time point that gets and end time point, to described original Video carries out sub-piece division, to obtain some video sub-segments.
Optionally, the compression module specifically for:
Obtain the duration compression factor that user is arranged;
Based on user arrange the duration compression factor to F.F. number of times in some video sub-segments most Many video sub-segments are deleted, and the playing duration of the original video is compressed to into user's setting The duration compression factor.
Optionally, the compression module is further used for:
Calculate the playing duration after the original video is compressed based on the duration compression factor that user selects;
F.F. number of times highest video sub-segments in some video sub-segments are deleted successively, until described The actual play duration of original video is not more than stopping when the playing duration after the compression for calculating is matched.
The application provides a kind of compression method of video playback duration, is being performed soon by recording original video Enter the video segment skipped when operating, and divided the original video based on multiple video segments of record For some video sub-segments, the F.F. number of times of some video sub-segments is then counted, and based on statistics The F.F. number of times and default duration compression factor for going out is carried out to the playing duration of the original video Compression, realizes the video segment that can be skipped when F.F. is carried out according to the original video of record, to original The playing duration of beginning video carries out Intelligent Compression, and user can be avoided right manually during viewing video Video carries out forwarding operation, such that it is able to lift the video viewing experience of user.
Description of the drawings
Fig. 1 is a kind of flow chart of the compression method of video playback duration that the embodiment of the application one is provided;
Fig. 2 is a kind of schematic diagram that sub-piece division is carried out to video segment that the embodiment of the application one is provided;
Fig. 3 is a kind of logic diagram of the compressor of video playback duration that the embodiment of the application one is provided;
Fig. 4 is the service of the compressor of the carrying video playback duration that the embodiment of the application one is provided The hardware structure diagram of device.
Specific embodiment
In the related, user, can for uninterested content in video when Internet video is watched To be skipped by forwarding operation, playback can be again re-started when important content is missed, so as to can User can be caused to need execution F.F. repeatedly and playback operation during viewing video, defined A kind of very bad viewing experience.
In order to solve the above problems, the application provides a kind of compress mode of video playback duration, by note The video segment that record original video is skipped when forwarding operation is performed, and the multiple video segments based on record The original video is divided into into some video sub-segments, the fast of some video sub-segments is then counted Enter number of times, and based on the F.F. number of times and default duration compression factor for counting to described original The playing duration of video is compressed, and realizing can be according to original video jump when F.F. is carried out of record The video segment crossed, to the playing duration of original video Intelligent Compression is carried out, and can avoid user in viewing Manually forwarding operation is carried out to video during video, such that it is able to lift the video viewing experience of user.
The application is described below by specific embodiment and with reference to specific application scenarios.
Fig. 1 is refer to, Fig. 1 is a kind of compression side of video playback duration that the embodiment of the application one is provided Method, the executive agent of the method can be service end, and methods described performs following steps:
Step 101, records the video segment that original video is skipped when forwarding operation is performed;
The original video is divided into some video by step 102, the multiple video segments based on record Fragment;
Step 103, counts the F.F. number of times of some video sub-segments, and based on described in counting F.F. number of times and default duration compression factor are compressed to the playing duration of the original video.
Above-mentioned original video can include Internet video.Above-mentioned service end can include the program request of Internet video Server, server cluster or the video request program platform built based on server cluster.Above-mentioned service end The order program service that Internet video can be provided with user oriented video request program client, user can be by stepping on Land account logs in video request program client, carrys out the Internet video that the above-mentioned service end of program request is provided.
Below with the original video as Internet video, the service end be ordering server (below Abbreviation server) as a example by illustrate.
In actual applications, different users passes through video request program client (hereinafter referred to as client) point When same section of Internet video of server offer is provided, because different users generally has different preferences, Therefore during the Internet video is watched, the video segment that different users is skipped by forwarding operation May also can be different.
However, increasing with a broadcasting user, when the quantity of the point broadcasting user of one section of Internet video reaches one After the fixed order of magnitude, by carrying out what is skipped after forwarding operation for same section of Internet video to a large number of users Video segment is recorded, and carries out statistical analysiss, then be commonly available one and indirectly react popular Statistic analysis result to the preference of this section of Internet video content.
For example, when the program request amount of one section of Internet video is very high, by recorded substantial amounts of user The video segment that F.F. is skipped in the program request Internet video carries out statistical analysiss, and can be preliminary obtain is big Crowd in the program request Internet video, the number of times highest which video segment is skipped by F.F., which piece of video The number of times that section is skipped by F.F. is minimum.
Based on this, in the program request Internet video, server can make above-mentioned statistic analysis result user It is reference, appropriate deletes to the number of times highest video segment that popular F.F. in the Internet video is skipped Remove, so as to reach the playing duration to the Internet video purpose of Intelligent Compression is carried out, existed with lifting user Viewing experience during the program request Internet video.
In the present embodiment, user is during the program request Internet video, server can by with visitor Family end interacts in real time, to be monitored for the forwarding operation of the Internet video to user.Work as monitoring When being directed to the forwarding operation of the Internet video to user, then the forwarding operation can be obtained in the Internet video Reproduction time axle on the generation moment and finish time, and based on the forwarding operation for getting send out Raw moment and finish time, the video segment that the Internet video is skipped when forwarding operation is performed is remembered Record.
For example, client is usually used the progress bar in broadcast interface as the reproduction time of the Internet video Axle, during the program request Internet video, user can be carried out soon user by dragging the progress bar Enter operation.Therefore client can the real-time monitoring users in backstage for progress bar drag events, one Denier client listen to user for progress bar drag events when, then the drag events can be entered at this Corresponding generation moment and finish time in degree bar, as the forwarding operation in the broadcasting of the Internet video The generation moment and finish time on countershaft reports server.
Server, can be with after the generation moment and finish time for receiving the forwarding operation that client is reported The generation moment and finish time based on the forwarding operation for receiving records the Internet video and is performing The video segment skipped after this forwarding operation is recorded.Such as, it is assumed that during the generation of the forwarding operation Carve as T1, finish time is T2, now this section of video segment between T1 the and T2 moment is as used Video segment that this forwarding operation of family is skipped, server locally can skip this forwarding operation Video segment is recorded as [T1, T2].
In this way, server can be directed to the fast of the Internet video with continual to different users The video skipped when entering operation to be monitored, and forwarding operation is carried out for the Internet video to different user Fragment is recorded.When server reaches certain amount in the data of local record, server can be right Recorded data carry out statistical analysiss, and are based on recorded video segment pair by preset algorithm The Internet video carries out video sub-segments division.
In a kind of embodiment for illustrating, server is based on recorded video segment by preset algorithm When video sub-segments division is carried out to the Internet video, recorded all piece of video can be calculated first Overlapping region between section, after the overlapping region between all video segments is calculated, can obtain meter Start time point and end time point of the overlapping region for calculating on the reproduction time axle of the Internet video.
Wherein, what deserves to be explained is, server is calculating the overlay region between recorded video segment During domain, the overlapping region includes all overlapping regions between the video segment of record, i.e. service end in meter When counting stating overlapping region in, as long as any two video segment overlaps in the video segment of record, clothes Business device just can immediately by the region of the overlap on the reproduction time axle of the Internet video start time point And end time point.
After the start time point and end time point for having got all overlapping regions, server can be by The start time point that gets and the end time point as datum mark, according to the start time point with And position of the end time point on the reproduction time axle of the Internet video, to all video segments for recording Sub-piece division is carried out, some video sub-segments are obtained.
For convenience of understanding, elaborate by above-mentioned preset algorithm to note below by way of a specific example All video segments of record carry out the process of sub-piece division.
Refer to Fig. 2, it is assumed that server record first user, second user and the 3rd user are for same Three different video segments that one section of Internet video F.F. is skipped, respectively video segment 1, piece of video Section 2 and video segment 3.
Wherein, start time point of the video segment 1 on the reproduction time axle of the Internet video is A, is tied Beam time point is D, and the video segment 1 can be recorded as [A, D] with being serviced device;Video segment 2 is in the net Start time point on the reproduction time axle of network video be C, end time point be F, the video segment 2 Can be recorded as [C, F] with being serviced device;Starting of the video segment 3 on the reproduction time axle of the Internet video Time point is B, and end time point is E, and the video segment 3 can be recorded as [B, E] with being serviced device.
Server according to above-mentioned preset algorithm calculate record all video segments between overlapping region when, The overlapping region between video segment 1 and video segment 2 can be calculated first.As shown in Fig. 2 video Overlapping region between fragment 1 and video segment 2, is the time on the reproduction time axle of the Internet video This section of region [C, D] between point C and time D, therefore service end can be on the reproduction time axle Read access time point C and time point D.
After the overlapping region between video segment 1 and video segment 2 calculates to be finished, can again calculate and regard Overlapping region between frequency fragment 1 and video segment 3.As shown in Fig. 2 video segment 1 and piece of video Overlapping region between section 3, be time point B and time D on the reproduction time axle of the Internet video it Between this section of region [B, D], therefore service end can on the reproduction time axle read access time point B and when Between point D.
After the overlapping region between video segment 1 and video segment 3 calculates to be finished, can again calculate and regard Overlapping region between frequency fragment 2 and video segment 3.As shown in Fig. 2 video segment 2 and piece of video Overlapping region between section 3, be time point C and time E on the reproduction time axle of the Internet video it Between this section of region [C, E], therefore service end can on the reproduction time axle read access time point C and when Between point E.
Since then, the overlapping region of all video segments calculates and finishes, and the overlapping region for calculating includes region [C, D], region [B, D] and region [C, E].Server can exist all overlapping regions for having read Start time point and end time point B~E on the reproduction time axle of the Internet video is right as datum mark All video segments of record carry out respectively sub-piece division.
When being divided for the Internet video, server first can be by the time point for having read The Internet video is partitioned into sub-piece [A, B], sub-piece [B, C] and sub-piece by B~D as datum mark Three sub-pieces such as [C, D].
The Internet video is partitioned into into sub-piece [A, B], three sons such as sub-piece [B, C] and sub-piece [C, D] After fragment, server can also be using the time point for having read C~E as datum mark, by the network video Frequency is partitioned into sub-piece [C, D], three sub-pieces such as sub-piece [D, E] and sub-piece [E, F].
The Internet video is partitioned into into sub-piece [C, D], three sons such as sub-piece [D, E] and sub-piece [E, F] After fragment, server can continue the time point B~E that will have been read as datum mark, by the network Video segmentation goes out sub-piece [B, C], three sub-pieces such as sub-piece [C, D] and sub-piece [D, E].
Since then, all video segments are divided and finished.Continuing with referring to Fig. 2, the duplicon for marking off is removed The Internet video is divided obtain sub-piece [A, B], sub-piece [B, C], sub-pieces altogether by fragment, server Five sub-pieces such as section [C, D], sub-piece [D, E] and sub-piece [E, F].
Only with server record, user A, user B and user C are directed to same section of network video to example above Simple illustration has been carried out as a example by three different video segments that frequency F.F. is skipped, in actual application, When the video segment quantity of server record is larger, those skilled in the art may be referred in example above Realize that process carries out equivalent enforcement, be no longer described in detail in the present embodiment.
In the present embodiment, after the Internet video is divided into some video sub-segments by server, may be used also To count the F.F. number of times of each video sub-segments for marking off, each video sub-segments for counting are then based on F.F. number of times, and the playing duration of the Internet video is compressed with reference to default duration compression factor.
Wherein, above-mentioned default duration compression factor, can be the duration compression factor arranged by user.
When realizing, client can export a setting interface in the predeterminated position of broadcast interface terminal, Multiple duration compression factors for being available for user to select can be provided previously by the setting interface, user can be Select corresponding duration compression factor in the setting interface to trigger broadcasting of the server to the Internet video Duration is compressed.
For example, 100%, 80%, 40% and 10% etc. four duration pressure can be provided in the setting interface Contracting ratio, 100% duration compression factor represents that the Internet video is played out according to complete duration, 80% Duration compression factor, expression the playing duration of the Internet video is compressed to into 80%.In the program request network During video, user can also be by above-mentioned setting interface to currently having been chosen by duration compression ratio Example is switched over.
After user have selected corresponding duration compression factor in the setting interface, client can pass through With server interaction, the duration compression factor that user selects is reported into server.Certainly, it is above-mentioned pre- If duration compression factor, except can be by user arrange duration compression factor in addition to, or The duration compression factor of acquiescence.For example, when user does not select duration compression factor in above-mentioned setting interface When, the duration compression factor of system default can be reported server by client.
In the present embodiment, when server receives the duration compression factor that client is reported, now take Business device can be using the duration compression factor as default duration compression factor, by respectively regarding to what is counted The most video sub-segments of F.F. number of times are deleted in the F.F. number of times of frequency sub-piece, by the network video The playing duration of frequency is compressed to the default duration compression factor.
In a kind of embodiment for illustrating, server can calculate the Internet video according to this it is default when Long compression factor be compressed after playing duration, the then F.F. of each video sub-segments time to counting The most video sub-segments of F.F. number of times are deleted successively in number, until the actual play of the Internet video Duration be compressed according to the default duration compression factor after playing duration match when stop.
For example, continuing with referring to Fig. 2, as it was previously stated, the Internet video shown in Fig. 2 finally by Server has division altogether and has obtained sub-piece [A, B], sub-piece [B, C], sub-piece [C, D], sub-pieces Section five sub-pieces such as [D, E] and sub-piece [E, F], server can be to the F.F. of this five sub-pieces Number of times is counted.
As shown in Fig. 2 sub-piece [A, B] does not overlap with video segment 2 and video segment 3, only By first user fast forward through 1 time, therefore the F.F. number of times of sub-piece [A, B] is 1 time.
Sub-piece [B, C] is the overlapping region of video segment 1 and video segment 3, by first user and the Three users are respectively fast forward through once, therefore the F.F. number of times of sub-piece [B, C] is 2 times.
Sub-piece [C, D] is the overlapping region of video segment 1, video segment 2 and video segment 3, by First user, second user and the 3rd user are respectively fast forward through once, therefore the F.F. of sub-piece [C, D] Number of times is 3 times.
Sub-piece [D, E] is the overlapping region of video segment 2 and video segment 3, by second user and the Three users are respectively fast forward through once, therefore the F.F. number of times of sub-piece [D, E] is 2 times.
Sub-piece [E, F] does not overlap with video segment 1 and video segment 3, only fast by second user Entered 1 time, therefore the F.F. number of times of sub-piece [E, F] is 1 time.
Assume that the duration compression factor that user is arranged is 80%, the total duration of the Internet video is 20 minutes, Server can calculate first the playing duration after the Internet video is compressed according to 80% ratio 16 minutes, F.F. number of times highest sub-piece [C, D] in each sub-piece above is then deleted first, delete Afterwards whether server may determine that the current playing duration of the Internet video still greater than 16 minutes, if still big In 16 minutes, F.F. number of times highest was sub-piece [B, C] and sub-piece in now remaining each sub-piece [D, E], server can select a sub-piece to continue from sub-piece [B, C] and sub-piece [D, E] Deleted, then repeatedly above procedure, until the actual play duration of the Internet video is not more than 16 Stop during minute.It can be seen that, in this way, server is carried out in the playing duration to the Internet video During compression, the F.F. number of times highest video sub-segments in above-mentioned each video sub-segments can be preferentially deleted, Such that it is able to avoid user during the program request Internet video to greatest extent, the weight in video is missed Want content.
Certainly, if the user while during the program request Internet video, to the duration compression factor for having arranged Switched, now server can be implemented according to the duration compression factor after user's switching according to more than Mode is compressed to the playing duration of the Internet video again.Such as, it is assumed that user is by duration compression ratio Example switches to 100% by 80%, and now the Internet video is reverted to the complete duration of acquiescence by server.
By above example, the application is skipped by recording original video when forwarding operation is performed Video segment, and the original video is divided into some videos by the multiple video segments based on record Fragment, then counts the F.F. number of times of some video sub-segments, and based on the F.F. for counting Number of times and default duration compression factor are compressed to the playing duration of the original video, realize The video segment that can be skipped when F.F. is carried out according to the original video of record, the broadcasting to original video Duration carries out Intelligent Compression, and user can be avoided to carry out F.F. to video manually during viewing video Operation.
And, in this application, when the playing duration to original video is compressed, preferentially delete institute The most video sub-segments of F.F. number of times in some video sub-segments are stated, user can be to greatest extent avoided During the program request Internet video, the important content in video is missed, such that it is able to lift user's Video viewing experience.
It is corresponding with said method embodiment, present invention also provides the embodiment of device.
Fig. 3 is referred to, the application proposes a kind of compressor 30 of video playback duration, is applied to service End, the service end can be the vod server of Internet video;Wherein, Fig. 4 is referred to, as carrying In hardware structure involved by the server of the compressor 30 of the video playback duration, generally include CPU, internal memory, nonvolatile memory, network interface and internal bus etc.;As a example by implemented in software, The compressor 30 of the video playback duration is it is generally understood that the computer journey being carried in internal memory Sequence, the logic device that the software and hardware formed after being run by CPU is combined, described device 30 includes:
Logging modle 301, for recording the video segment that original video is skipped when forwarding operation is performed;
Division module 302, if for being divided into the original video based on multiple video segments of record Dry video sub-segments;
Compression module 303, for counting the F.F. number of times of some video sub-segments, and based on statistics The F.F. number of times and default duration compression factor for going out is carried out to the playing duration of the original video Compression.
In the present embodiment, the logging modle 301 specifically for:
Forwarding operation of the monitoring for the original video;
When the forwarding operation for the original video is monitored, the forwarding operation is obtained in the original The generation moment and finish time on the reproduction time axle of beginning video;
F.F. behaviour is being performed to the original video based on the generation moment and finish time for getting As when the video segment skipped recorded.
In the present embodiment, the division module 302 specifically for:
Calculate the overlapping region between the plurality of video segment of record;
Obtain start time point and knot of the overlapping region on the reproduction time axle of the original video Beam time point;
The point on the basis of the start time point that gets and end time point, to described original Video carries out sub-piece division, to obtain some video sub-segments.
In the present embodiment, the compression module 303 specifically for:
Obtain the duration compression factor that user is arranged;
Based on user arrange the duration compression factor to F.F. number of times in some video sub-segments most Many video sub-segments are deleted, and the playing duration of the original video is compressed to into user's setting The duration compression factor.
In the present embodiment, the compression module 303 is further used for:
Calculate the playing duration after the original video is compressed based on the duration compression factor that user selects;
F.F. number of times highest video sub-segments in some video sub-segments are deleted successively, until described The actual play duration of original video is not more than stopping when the playing duration after the compression for calculating is matched.
In the present embodiment, the original video includes Internet video.
Those skilled in the art will readily occur to this after considering description and putting into practice invention disclosed herein Other embodiments of application.The application is intended to any modification, purposes or the adaptability of the application Change, these modifications, purposes or adaptations follow the general principle of the application and including this Shen Please undocumented common knowledge or conventional techniques in the art.Description and embodiments only by It is considered as exemplary, the true scope of the application and spirit are pointed out by claim below.
It should be appreciated that the application be not limited to be described above and be shown in the drawings it is accurate Structure, and can without departing from the scope carry out various modifications and changes.Scope of the present application is only by institute Attached claim is limiting.
The preferred embodiment of the application is the foregoing is only, it is all at this not to limit the application Within the spirit and principle of application, any modification, equivalent substitution and improvements done etc. should be included in Within the scope of the application protection.

Claims (10)

1. a kind of compression method of video playback duration, it is characterised in that the method includes:
The video segment that record original video is skipped when forwarding operation is performed;
The original video is divided into into some video sub-segments based on multiple video segments of record;
Count the F.F. number of times of some video sub-segments, and based on the F.F. number of times for counting with And default duration compression factor is compressed to the playing duration of the original video.
2. method according to claim 1, it is characterised in that the record original video is being performed The video segment skipped during forwarding operation includes:
Forwarding operation of the monitoring for the original video;
When the forwarding operation for the original video is monitored, the forwarding operation is obtained in the original The generation moment and finish time on the reproduction time axle of beginning video;
F.F. behaviour is being performed to the original video based on the generation moment and finish time for getting As when the video segment skipped recorded.
3. method according to claim 1, it is characterised in that the multiple videos based on record The original video is divided into some video sub-segments by fragment to be included:
Calculate the overlapping region between the plurality of video segment of record;
Obtain start time point and knot of the overlapping region on the reproduction time axle of the original video Beam time point;
The point on the basis of the start time point that gets and end time point, to described original Video carries out sub-piece division, to obtain some video sub-segments.
4. method according to claim 1, it is characterised in that described described fast based on what is counted Enter number of times and default duration compression factor the playing duration of the original video is compressed including:
Obtain the duration compression factor that user is arranged;
Based on user arrange the duration compression factor to F.F. number of times in some video sub-segments most Many video sub-segments are deleted, and the playing duration of the original video is compressed to into user's setting The duration compression factor.
5. method according to claim 4, it is characterised in that the duration arranged based on user The compression factor video sub-segments most to F.F. number of times in some video sub-segments carry out deletion to be included:
Calculate the playing duration after the original video is compressed based on the duration compression factor that user is arranged;
F.F. number of times highest video sub-segments in some video sub-segments are deleted successively, until described The actual play duration of original video is not more than stopping when the playing duration after the compression for calculating is matched.
6. a kind of compressor of video playback duration, it is characterised in that the device includes:
Logging modle, for recording the video segment that original video is skipped when forwarding operation is performed;
Division module, for the original video to be divided into into some regarding based on multiple video segments of record Frequency sub-piece;
Compression module, for counting the F.F. number of times of some video sub-segments, and based on counting The F.F. number of times and default duration compression factor are compressed to the playing duration of the original video.
7. device according to claim 6, it is characterised in that the logging modle specifically for:
Forwarding operation of the monitoring for the original video;
When the forwarding operation for the original video is monitored, the forwarding operation is obtained in the original The generation moment and finish time on the reproduction time axle of beginning video;
F.F. behaviour is being performed to the original video based on the generation moment and finish time for getting As when the video segment skipped recorded.
8. device according to claim 6, it is characterised in that the division module specifically for:
Calculate the overlapping region between the plurality of video segment of record;
Obtain start time point and knot of the overlapping region on the reproduction time axle of the original video Beam time point;
The point on the basis of the start time point that gets and end time point, to described original Video carries out sub-piece division, to obtain some video sub-segments.
9. device according to claim 6, it is characterised in that the compression module specifically for:
Obtain the duration compression factor that user is arranged;
Based on user arrange the duration compression factor to F.F. number of times in some video sub-segments most Many video sub-segments are deleted, and the playing duration of the original video is compressed to into user's setting The duration compression factor.
10. device according to claim 9, it is characterised in that the compression module is further used In:
Calculate the playing duration after the original video is compressed based on the duration compression factor that user selects;
F.F. number of times highest video sub-segments in some video sub-segments are deleted successively, until described The actual play duration of original video is not more than stopping when the playing duration after the compression for calculating is matched.
CN201510717408.5A 2015-10-29 2015-10-29 Method and device for compressing video playing length Active CN106658227B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510717408.5A CN106658227B (en) 2015-10-29 2015-10-29 Method and device for compressing video playing length

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510717408.5A CN106658227B (en) 2015-10-29 2015-10-29 Method and device for compressing video playing length

Publications (2)

Publication Number Publication Date
CN106658227A true CN106658227A (en) 2017-05-10
CN106658227B CN106658227B (en) 2020-01-21

Family

ID=58831265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510717408.5A Active CN106658227B (en) 2015-10-29 2015-10-29 Method and device for compressing video playing length

Country Status (1)

Country Link
CN (1) CN106658227B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222766A (en) * 2017-07-14 2017-09-29 广东工业大学 The search method and system of a kind of video playback
CN107295405A (en) * 2017-07-14 2017-10-24 深圳市海云天科技股份有限公司 The compression method and system of a kind of video tour record
CN107864411A (en) * 2017-10-31 2018-03-30 广东小天才科技有限公司 Video output method and terminal equipment
CN109275020A (en) * 2018-08-31 2019-01-25 惠州Tcl移动通信有限公司 Memory, mobile terminal and the method for reducing its capacity for storing video
CN109996117A (en) * 2019-03-04 2019-07-09 青岛海信传媒网络技术有限公司 A kind of method and apparatus obtaining streaming media playing duration
CN111416996A (en) * 2020-03-26 2020-07-14 腾讯科技(深圳)有限公司 Multimedia file detection method, multimedia file playing device, multimedia file equipment and storage medium
CN112153462A (en) * 2019-06-26 2020-12-29 腾讯科技(深圳)有限公司 Video processing method, device, terminal and storage medium
CN113676749A (en) * 2021-08-19 2021-11-19 重庆师范大学 Online video player with play memory function

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050289637A1 (en) * 2004-06-29 2005-12-29 International Business Machines Corporation Saving presented clips of a program
CN1909103A (en) * 2005-08-01 2007-02-07 索尼株式会社 Information-processing apparatus, reproduction apparatus, communication method and computer program
US7512313B2 (en) * 2004-02-11 2009-03-31 Intel Corporation System and method for automatically capturing user edits in a digital recording
CN103442269A (en) * 2013-09-17 2013-12-11 北京奇艺世纪科技有限公司 Method and device for pushing program information
US20140321831A1 (en) * 2013-04-26 2014-10-30 Microsoft Corporation Video service with automated video timeline curation
CN104284216A (en) * 2014-10-23 2015-01-14 Tcl集团股份有限公司 Method and system for generating video highlight clip
CN104410920A (en) * 2014-12-31 2015-03-11 合一网络技术(北京)有限公司 Video segment playback amount-based method for labeling highlights
CN104768082A (en) * 2015-04-01 2015-07-08 北京搜狗科技发展有限公司 Audio/video playing information processing method and server

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7512313B2 (en) * 2004-02-11 2009-03-31 Intel Corporation System and method for automatically capturing user edits in a digital recording
US20050289637A1 (en) * 2004-06-29 2005-12-29 International Business Machines Corporation Saving presented clips of a program
CN1909103A (en) * 2005-08-01 2007-02-07 索尼株式会社 Information-processing apparatus, reproduction apparatus, communication method and computer program
US20140321831A1 (en) * 2013-04-26 2014-10-30 Microsoft Corporation Video service with automated video timeline curation
CN103442269A (en) * 2013-09-17 2013-12-11 北京奇艺世纪科技有限公司 Method and device for pushing program information
CN104284216A (en) * 2014-10-23 2015-01-14 Tcl集团股份有限公司 Method and system for generating video highlight clip
CN104410920A (en) * 2014-12-31 2015-03-11 合一网络技术(北京)有限公司 Video segment playback amount-based method for labeling highlights
CN104768082A (en) * 2015-04-01 2015-07-08 北京搜狗科技发展有限公司 Audio/video playing information processing method and server

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222766A (en) * 2017-07-14 2017-09-29 广东工业大学 The search method and system of a kind of video playback
CN107295405A (en) * 2017-07-14 2017-10-24 深圳市海云天科技股份有限公司 The compression method and system of a kind of video tour record
CN107222766B (en) * 2017-07-14 2020-02-07 广东工业大学 Retrieval method and system for video playing
CN107864411A (en) * 2017-10-31 2018-03-30 广东小天才科技有限公司 Video output method and terminal equipment
CN109275020A (en) * 2018-08-31 2019-01-25 惠州Tcl移动通信有限公司 Memory, mobile terminal and the method for reducing its capacity for storing video
CN109996117A (en) * 2019-03-04 2019-07-09 青岛海信传媒网络技术有限公司 A kind of method and apparatus obtaining streaming media playing duration
CN112153462A (en) * 2019-06-26 2020-12-29 腾讯科技(深圳)有限公司 Video processing method, device, terminal and storage medium
CN112153462B (en) * 2019-06-26 2023-02-14 腾讯科技(深圳)有限公司 Video processing method, device, terminal and storage medium
CN111416996A (en) * 2020-03-26 2020-07-14 腾讯科技(深圳)有限公司 Multimedia file detection method, multimedia file playing device, multimedia file equipment and storage medium
CN111416996B (en) * 2020-03-26 2021-06-22 腾讯科技(深圳)有限公司 Multimedia file detection method, multimedia file playing device, multimedia file equipment and storage medium
CN113676749A (en) * 2021-08-19 2021-11-19 重庆师范大学 Online video player with play memory function

Also Published As

Publication number Publication date
CN106658227B (en) 2020-01-21

Similar Documents

Publication Publication Date Title
CN106658227A (en) Video play time length compressing method and device
US8385723B2 (en) Recording of sports related television programming
CN109547859B (en) Video clip determination method and device
US9578381B1 (en) Media clip systems and methods
US20180013983A1 (en) Identifying popular network video segments
CN101345853B (en) Method and system for acquiring video resource cutting time point
CN109168037B (en) Video playing method and device
Chen et al. Video browsing-a study of user behavior in online vod services
CN105453573A (en) Provision of video data
CN108174280B (en) Audio and video online playing method and system
CN106331869B (en) Video-based picture re-editing method and device
CN106804002A (en) A kind of processing system for video and method
US10708662B1 (en) Customized streaming of digital content
US20170318317A1 (en) Method, device, and server for producing video frame set
US10129592B2 (en) Audience measurement and feedback system
US20180139501A1 (en) Optimized delivery of sequential content by skipping redundant segments
CN102447842B (en) Fast editing method and system supporting external medium selection, editing and uploading
US8028312B2 (en) Information processing apparatus and content registration method, and program
US11386152B1 (en) Automatic generation of highlight clips for events
CN104753811B (en) A kind of streaming media service optimization method, equipment and system
CN107105350A (en) Massaging device and dispenser
US20240169730A1 (en) Systems and methods for recording portion of sports game
CN107040826A (en) Video loading method and device, computer installation and computer-readable recording medium
CN109166165A (en) A kind of playback method of dynamic picture, terminal and can storage medium
US20140010519A1 (en) Pre-Fetching Video Content

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1237165

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200922

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200922

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.

REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1237165

Country of ref document: HK