WO2010151785A1 - Time compressing video content - Google Patents
Time compressing video content Download PDFInfo
- Publication number
- WO2010151785A1 WO2010151785A1 PCT/US2010/040019 US2010040019W WO2010151785A1 WO 2010151785 A1 WO2010151785 A1 WO 2010151785A1 US 2010040019 W US2010040019 W US 2010040019W WO 2010151785 A1 WO2010151785 A1 WO 2010151785A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- frames
- media
- sequence
- computer
- cut
- Prior art date
Links
- 238000000034 method Methods 0.000 claims abstract description 85
- 238000006073 displacement reaction Methods 0.000 claims abstract description 47
- 230000008569 process Effects 0.000 claims description 16
- 238000007906 compression Methods 0.000 claims description 14
- 230000006835 compression Effects 0.000 claims description 13
- 238000001514 detection method Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 9
- 238000004891 communication Methods 0.000 claims description 8
- 230000002441 reversible effect Effects 0.000 claims description 6
- 230000008685 targeting Effects 0.000 claims description 2
- 238000012935 Averaging Methods 0.000 claims 1
- 238000013507 mapping Methods 0.000 claims 1
- 230000011218 segmentation Effects 0.000 claims 1
- 238000005516 engineering process Methods 0.000 description 14
- 230000003287 optical effect Effects 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 239000000203 mixture Substances 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 101100008044 Caenorhabditis elegans cut-1 gene Proteins 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000007635 classification algorithm Methods 0.000 description 2
- 238000011960 computer-aided design Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 101100008047 Caenorhabditis elegans cut-3 gene Proteins 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000003066 decision tree Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012706 support-vector machine Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/19—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
- G11B27/28—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/02—Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
- G11B27/031—Electronic editing of digitised analogue information signals, e.g. audio or video signals
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/02—Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
- G11B27/031—Electronic editing of digitised analogue information signals, e.g. audio or video signals
- G11B27/034—Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/34—Indicating arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/14—Picture signal circuitry for video frequency region
- H04N5/147—Scene change detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/01—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
- H04N7/0112—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level one of the standards corresponding to a cinematograph film standard
- H04N7/0115—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level one of the standards corresponding to a cinematograph film standard with details on the detection of a particular field or frame pattern in the incoming video signal, e.g. 3:2 pull-down pattern
Definitions
- the invention generally relates to video processing, and more specifically to time compression of video content and programming.
- Time compressing video content involves making the video content presentable to the viewer in a timescale that is different from the timescale of the original video content.
- Automatic time compression of video content is useful in a variety of different situations ⁇ for example to fit thirty second television commercials into twenty-eight seconds available for addressable commercials, or more generally to fit video content into smaller intervals to create room for visual effects.
- Time compressing a video traditionally involves removing pieces or video from a sequence in order to shorten the length to a desired length.
- Time -compression of video is difficult because of the high sensitivity of the human eye and its ability to notice the smallest discrepancies or discontinuities in a video sequence.
- Even if the viewer is unaware of the removal of some parts of the video the video may still blur, become choppy, or contain visible static.
- the quality of the viewer experience is dependent on the minimized discontinuities in the viewer-perceived flow of time, which depends on the extent of displacement of visible objects in either their three-dimensional position or in their color space. The more drastic the displacement, the higher the level of viewer- perceived discontinuity will be.
- Example embodiments of the present invention provide systems and methods fox time compressing video content. Embodiments will take video content that has a certain duration, and time compress it to fit into another (smaller) time duration, while minimizing any disruption in the user experience. Some example embodiments may time compress addressable television commercials, for example a TV commercial that was originally produced to be 30 or 60 seconds, now has to be
- the example embodiments described will automatically time compress the commercial to fit into the desired time space. It is noted that the present invention is not limited to use with TV commercials only, or to television or film video formats. Rather, example embodiments may be used in any situation where video or other media content needs to be time compressed to fit into a smaller time interval.
- One embodiment of the invention includes a computer-implemented method for compressing media content.
- the computer includes a processor, a memory device and control logic.
- the method includes analyzing a sequence of media frames stored in the memory device and calculating a displacement level of each of the media frames.
- the displacement level indicates how different each of lhe media frames is to a previous media frame.
- the sequence of media frames is divided into a plurality of cuts where each cut ends at a media frame having a substantially high displacement level. Frames to be removed from the sequence of media frames are identified in each cut based upon the frame's displacement level. The identified frames are then removed.
- Another embodiment of the invention includes a system for time compressing media.
- the system includes an input device configured to receive a media sequence and a target length for the media sequence, a storage device configured to store the media sequence and a processor in communication with the storage device configured to process the media sequence.
- a cut detection component is configured to divide the media sequence into a plurality of cuts. Each cut ends at a media frame having a substantially high displacement value.
- the media sequence is fed to the cut detection component by the processor.
- a compression component is configured to identify and remove frames from the media sequence if the media sequence exceeds the target length, the processor feeding the media sequence from the cut detection component to the compression component.
- Yet another embodiment of the invention includes a computer program product comprising a computer usable medium having control logic stored therein causing the computer to optimize the targeting of media.
- the control logic comprises a first computer readable program code means for causing the computer to analyze a sequence of media frames stored in the memory device and a second computer readable program code means fox causing the computer to calculate a displacement level of each of the media frames.
- the displacement value indicates how different each of the media frames is to a previous media frame.
- a third computer readable program code means is included for causing the computer to divide the sequence of media frames into a plurality of cuts, wb.e ⁇ e each cut ends at a media frame having a substantially high displacement value.
- a fourth computer readable program code means causes the computer to identify in a first cut frames to be removed from the sequence of media frames. The frames to be removed are identified based upon the frame's displacement value.
- a fifth computer readable program code means causes the computer to remove by the processor the frames to be removed.
- FIG. 1 illustrates an example procedure in accordance with an example embodiment of the present invention
- FIG. 2 illustrates an example procedure in accordance with an example embodiment of the present invention
- FIG. 3 illustrates an example procedure in accordance with an example embodiment of the present invention
- FIG. 4 illustrates an example procedure in accordance with an example embodiment of the present invention
- FIG. 5 illustrates an example procedure in accordance with an example embodiment of the present invention
- FIG. 6 illustrates an example video screen in accordance with an example embodiment of the present invention.
- FIG. 7 illustrates an example system in accordance with an example embodiment of the present invention.
- compositions are described as having, including, or comprising specific components, or where processes are described as having, including or comprising specific process steps, it is contemplated that compositions of the present teachings also consist essentially of, or consist of, the recited components, and that the processes of the present teachings also consist essentially of, or consist of, the recited process steps.
- Example embodiments of the present invention may include systems and procedures which are capable of time compressing video. Such embodiments may apply to digitized video encoded as a sequence of frames, where the number of frames in a sequence is always a whole number.
- a digital video sequence may be encoded according to an MPEG standard, or any other acceptable video standard.
- Each frame in such a sequence consists of two fields: the odd field, consisting of scan lines 1,3,5, etc., and the even field, consisting of scan lines
- Example embodiments may time compress video content by reducing the number of frames in such a sequence.
- Some example embodiments of the present invention may provide procedures for time compressing video, in order to reduce the duration of the video segment to match a target length or duration. Such procedures may time compress a video segment by removing a number of frames contained in the video segment. It is noted that video is typically played at a fixed frame rate. Accordingly, reducing the length of the video, i.e., the number of frames, in effect reduces the duration of the video. In what follows, time compression of video is described in terms of reducing a video segment of a certain length to a target length.
- Such an example embodiment may time compress the sequence to a new sequence V redUc> where V re ⁇ h,,. is shorter than V, but the user-perceived content is the same, and there are minimal or no user-perceived artifacts or displacements:
- the video sequence may be divided into cuts or scenes.
- the original sequence of frames may be organized into scenes or cuts C, each of which may represent a sequence of frames from the original material that the video sequence was composed from:
- Scene-cut detection may be performed using a variety of image processing algorithms.
- the displacement between subsequent video frames and fields may be calculated.
- a number may be computed for each frame or field in the video sequence.
- the number here called vdif ⁇ may indicate the level of displacement, or a displacement value, of the current frame or field when compared to the preceding frame or field.
- Such a number would indicate how different the current frame or field is in relation to the previous one.
- the range of v ⁇ j ⁇ fcouldbe 0.0 to 1.0 where 0.0 indicates no difference between frames or fields, and 1.0 indicates complete difference (as between a completely black and a completely white frame).
- an example procedure may calculate a displacement value 102 for each frame or field in a video sequence 101, resulting in a set of displacement values which may be represented as a distance chart 103.
- the example procedure may then use the distance map to do scene cut detection, and to decompose the video sequence into a sequence of cuts.
- the video segment may be divided into cuts at locations in the video segment where the calculated displacement is very large, as large displacements may indicate a scene change,
- FIG, 2 illustrates that the displacement values calculated for the sequence 201 may be used to detect scenes 202 and to divide the video sequence into multiple cuts 203.
- the example process may identify pull-down patterns in each cut.
- Pull down patterns may exist in the video sequence if a "pulldown" conversion, a technique to transform a video created at one frame rate to another frame rate, has been applied to the video, as is often the case.
- video content is produced with different frame rates.
- film content is typically shot at 24 frames-per-second (fps) while television content is typically created at 29.97 fps.
- fps frames-per-second
- Such content may, however, be converted between different frame rates as necessary.
- a piece of film content produced at 24 fps may be transformed into a piece of video content at 29.97 fps.
- film content may be converted into video content using a process which essentially stretches four frames to five frames by using the fields in the original four frames to create an extra fifth frame every four frames.
- the process used to perform this commonly performed conversion is known as "2:3 pulldown.”
- the original content may contain frames A, B 5 C, and D.
- every frame includes two fields (odd and even), the content can be represented as the following sequence of two-field frames.
- the even fields of frame B may be combined with the odd fields of frame C to create an additional frame, which may be inserted into the sequence, transforming the original four frame sequence into the following five frame sequence: A1A2, B1B2, B2C1, C1C2, D1D2.
- the newly created five frame sequence may accordingly be used for TV/video content purposes.
- example procedures may detect such patterns within the video sequence to be tirne-compressed. For example, each cut may be searched in sequence, determining for each cut scanned whether a pull-down pattern is detected within the cut.
- pulldown algorithms are applied uniformly on source segments (i.e., when the original content shot on film is transferred to video). As each cut should represent a single scene, at most one pulldown pattern should be present within each cut. That is, for each cut either no pulldown will have been applied, or a single pulldown algorithm will have been applied, resulting in a single pulldown pattern present in the cut. If multiple pulldown patterns exist within a cut, then the cut may need to be divided into smaller cuts. Accordingly, an example process may subdivide such a cut again using the scene-cut detection techniques described above.
- a reverse pulldown procedure may then be executed.
- Application of such a procedure may restore the cut to its state before the pulldown was originally applied.
- the extra frames created during the pulldown process will be removed from the cut, reducing the total number of frames present in the cut and in the video segment as a whole.
- applying such a procedure to a cut on which 3:2 pulldown was applied the number of frames in the cut would be reduced by a factor of 4/5,
- the content removed will have been artificially introduced in the first place.
- the time compression achieved will not create any distortions in the resulting video segment at all.
- FIG. 3 illustrates a video sequence which has been divided into a number of cuts 301.
- Each cut may, in turn, be divided into a number of fields 302 (for reasons of simplicity, field division is only shown for Cut 1 and Cut 3).
- the fields may be searched for the existence of a pulldown pattern 303.
- a 2:3 pulldown is detected in Cut 1, which is then removed from the cut 304, resulting in a cut which is reduced in size 305.
- fields Bl and D2 306 are identified as having been added by a previous 2:3 pulldown, and are therefore removed in the final sequence 305.
- a 2:3 pulldown detection can be accomplished by classifying each frame of the cut and further searching for an occurrence of a repeated pattern of frame type sequence.
- Classification of frames can include comparing the fields of each frame with fields of the previous frame in the sequence and identifying the frame as either a black frame (0), new frame (1), incremental frame (2), repeated frame (3), transition frame(4), repeated top field only(5), or repeated bottom field only(6), As an example, if a 2:3 pulldown sequence, defined by pattern "Al A2,B1B2,B1C2 ) C1D2,D1D2" is present in the sequence, a repeated pattern of frame types 2,2,5,2,6 is detected.
- Classification of frames to the above mentioned types is accomplished by comparing the fields from both frames ordered as pairs in various combinations. For example, since the field Bl in frame B1C2 is identical to the field Bl in the previous frame B1B2, that frame is classified as a "repeated top field only" frame. Furthermore, the comparison of a field pair may include computing differences in a histogram as well as differences in the set of features. A value between 0.0 and 1.0 can be assigned to indicate complete dissimilarity to a complete similarity. In one embodiment, a classification algorithm based on a multi-layer neural network may be used. Other embodiments may use other classification algorithms based on either support vector machines, or decision trees or other suitable classification methods,
- the example procedure may process each cut in which a pulldown pattern was detected, removing the fields added by the pulldown process.
- the cuts may be processed in any order, such as, without limitation, left to right, right to left, or random. Also, in some example embodiments, in order to avoid unnecessary processing, after each cut is processed, the resulting new total frame length of the full sequence can be recomputed. If that length is already smaller than the target length, additional cuts may not be processed, even if those cuts contain pulldown patterns.
- V consisting of a sequence of cuts Cn
- V ⁇ C' I , C 2 , C 3 ... Cx ⁇ , where len(d) ⁇ IeTi(C 1 ), and therefore len(V') ⁇ len(V)
- V" (Cs 7 C 2 , C 3 ... C ⁇ ⁇ ⁇ where len(C 2 ) ⁇ ICn(C 2 ), and therefore len(V") ⁇ len(V')
- the example process may repeat until either all cuts are processed, or the length of the transformed video sequence is equal to or smaller than the desired length.
- an example procedure may next reduce the length of the sequence by using interpolation to combine two subsequent frames into one frame that represents the same content.
- the example procedure may scan the video sequence in order to identify frames which may be combined. For example, the process may scan each frame starting at the beginning of the video sequence and working towards the end, identifying individual pairs of frames which may be combined, e.g., based on their similarity exceeding some threshold, and combining those frames. Alternatively, the process may rank all pairs of frames (i.e., all pairs of frames appearing sequentially in the sequence) in the sequence on how closely they resemble one another, choosing the pair with the highest resemblance for interpolation into a single frame. Such a process may then continue by combining the next closest match, or re- ranking all pairs of frames in the resulting stream.
- the process may scan each frame starting at the beginning of the video sequence and working towards the end, identifying individual pairs of frames which may be combined, e.g., based on their similarity exceeding some threshold, and combining those frames.
- the process may rank all pairs of frames (i.e., all pairs of frames appearing sequentially in the sequence) in the sequence on how closely they
- some example procedures may identify interpolation pairs on a cut by cut basis. It is noted that although the interpolation process is described as occurring after reverse pulldown is complete, both portions of the procedure may also be performed concurrently, or as needed. For example, as explained above, the procedure may divide the sequence into cuts; and for each cut, the pair of frames that most closely resembles one another may be identified, and combined. The procedure may be repeated for each cut in the sequence, either until all cuts have been processed or until the resulting sequence has been reduced to the target length. If all cuts are processed without having reached the desired length, the procedure may begin again, etc. In addition, in some examples, pairs occurring at the end of a cut may be favored for interpolation, as the information lost by interpolation is generally less user perceptible at the end of a clip (versus at the beginning).
- FlG. 4 illustrates the application of interpolation to a video sequence.
- the displacement numbers 401 described above may again be used to identify frames for interpolation.
- a high displacement number indicates a large change between subsequent frames, while a small number indicates less change.
- frames C and D as shown in the example, those frames may be interpolated 403, merging them into a single frame C
- the two identified frames may be replaced with one new frame.
- the new frame may be created using any reasonable technique. For example, the individual pixels of each frame may be averaged together resulting in new pixels. Many other techniques may also be applied.
- an example procedure may re-compute the length of the sequence after every interpolation. If the length of the sequence is equal to, or less than, the desired length, the procedure may end without performing additional interpolations. Accordingly, an example procedure may begin with a video sequence V (consisting of a sequence of frames):
- the procedure may then identify a pair of frames for interpolation, using any of the techniques described above, and may combine those frames. After the first interpolation has been applied:
- the procedure may continue until either all matching subsequent frames are interpolated, or the length of the transformed video sequence is equal to, or smaller than the desired length.
- the length of the resulting sequence may then be checked.
- the resulting time-compressed video sequence may be exactly equal to the target length, or it may be shorter than the target length. Should the time- compressed sequence be shorter than the target length, example procedures may then apply a pulldown technique to increase the length of the sequence to exactly, or nearly exactly, meet the target length. In such example procedures, the pulldown pattern will depend on the length of the video sequence in relation to the target length.
- FIG. 5 illustrates the application of a pulldown.
- the length of the time-compressed video sequence 501 may be 24 seconds, which may be shorter than the target length which may be 28 seconds. Therefore, a pulldown 502 may be applied to "stretch" the sequence to the desired length.
- a pulldown 502 may be applied to "stretch" the sequence to the desired length.
- one extra frame must be created for every six frames in the sequence.
- a group of six frames is represented as the sequence A1A2 B1B2 C1C2 D1D2 E1E2 F1F2.
- For every such sequence a new frame is created 503, in the example the frame C2DI, and inserted into the final sequence. 504.
- some example procedures may produce a time-compressed video sequence V (consisting of a sequence of frames):
- the present invention may be embodied in may different forms, including, but in no way limited to, computer program logic for use with a processor (e.g., a microprocessor, microcontroller, digital signal processor, or general purpose computer), programmable logic for use with a programmable logic device, (e.g., a Field Programmable Gate Array (FPGA) or other PLD), discrete components, integrated circuitry (e.g., an Application Specific Integrated Circuit (ASIC)), or any other means including any combination thereof.
- a processor e.g., a microprocessor, microcontroller, digital signal processor, or general purpose computer
- programmable logic for use with a programmable logic device, (e.g., a Field Programmable Gate Array (FPGA) or other PLD), discrete components, integrated circuitry (e.g., an Application Specific Integrated Circuit (ASIC)), or any other means including any combination thereof.
- FPGA Field Programmable Gate Array
- ASIC Application Specific Integrated Circuit
- Source code may include a series of computer program instructions implemented in any of various programming languages (e.g., an object code, an assembly language, or a high-level language such as Fortran, C, C++, JAVA, or HTML) for use with various operating systems or operating environments.
- the source code may define and use various data structures and communication messages.
- the source code may be in a computer executable form (e.g., via an interpreter), or the source code may be converted (e.g., via a translator, assembler, or compiler) into a computer executable form.
- the computer program may be fixed in any form (e.g., source code form, computer executable form, or an intermediate form) either permanently or transitorily in a tangible storage medium, such as a semiconductor memory device (e.g., a RAM, ROM, PROM, EEPROM, or Flash-Programmable RAM), a magnetic memory device (e.g., a diskette or fixed disk), an optical memory device (e.g., a CD- ROM), a PC card (e.g., PCMCIA card), or other memory device.
- a semiconductor memory device e.g., a RAM, ROM, PROM, EEPROM, or Flash-Programmable RAM
- a magnetic memory device e.g., a diskette or fixed disk
- an optical memory device e.g., a CD- ROM
- PC card e.g., PCMCIA card
- the computer program may be fixed in any form in a signal that is transmittable to a computer using any of various communication technologies, including, but in no way limited to, analog technologies, digital technologies, optical technologies, wireless technologies (e.g., Bluetooth), networking technologies, and internetworking technologies.
- the computer program may be distributed in any form as a removable storage medium with accompanying printed or electronic documentation (e.g., shrink wrapped software), preloaded with a computer system (e.g., on system ROM or fixed disk), or distributed from a server or electronic bulletin board over the communication system (e.g., the Internet or World Wide Web).
- Hardware logic including programmable logic for use with a programmable logic device
- implementing all or part of the functionality previously described herein may be designed using traditional manual methods, or may be designed, captured, simulated, or documented electronically using various tools, such as Computer Aided Design (CAD), a hardware description language (e.g., VHDL or AHDL), or a PLD programming language (e.g., PALASM, ABEL, or CUPL).
- CAD Computer Aided Design
- a hardware description language e.g., VHDL or AHDL
- PLD programming language e.g., PALASM, ABEL, or CUPL
- Programmable logic may be fixed either permanently or transitorily in a tangible storage medium, such as a semiconductor memory device (e.g., a RAM, ROM, PROM, EEPROM, or Flash-Programmable RAM) 5 a magnetic memory device (e.g., a diskette or fixed disk), an optical memory device (e.g., a CD-ROM), or other memory device.
- a semiconductor memory device e.g., a RAM, ROM, PROM, EEPROM, or Flash-Programmable RAM
- a magnetic memory device e.g., a diskette or fixed disk
- an optical memory device e.g., a CD-ROM
- the programmable logic may be fixed in a signal that is transmitiable to a computer using any of various communication technologies, including, but in no way limited to, analog technologies, digital technologies, optical technologies, wireless technologies (e.g., Bluetooth), networking technologies, and internetworking technologies.
- the programmable logic may be distributed as a removable storage medium with accompanying printed or electronic documentation (e.g., shrink wrapped software), preloaded with a computer system (e.g., on system ROM or fixed disk), or distributed from a server or electronic bulletin board over the communication system (e.g., the Internet or World Wide Web).
- printed or electronic documentation e.g., shrink wrapped software
- a computer system e.g., on system ROM or fixed disk
- server or electronic bulletin board e.g., the Internet or World Wide Web
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Systems (AREA)
Abstract
Methods and systems for compressing video content are presented. The methods and systems include analyzing a sequence of media frames stored in the memory device and calculating a displacement level of each of the media frames. The displacement level indicates how different each of the media frames is to a previous media frame. The sequence of media frames is divided into a plurality of cuts where each cut ends at a media frame having a substantially high displacement level Frames to be removed from the sequence of media frames are identified in each cut based upon the frame's displacement level. The identified frames are then removed.
Description
TIME COMPRESSING VIDEO CONTENT
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims the benefit of U.S. Provisional Patent Serial No. 61/220,461 filed June 25, 2009, the entire disclosure of which is incorporated by reference herein,
FIELD OF INVENTION
[0002] The invention generally relates to video processing, and more specifically to time compression of video content and programming.
BACKGROUND
[0003] Time compressing video content involves making the video content presentable to the viewer in a timescale that is different from the timescale of the original video content. Automatic time compression of video content is useful in a variety of different situations^ for example to fit thirty second television commercials into twenty-eight seconds available for addressable commercials, or more generally to fit video content into smaller intervals to create room for visual effects.
[0004] Traditional compression, whether based in audio or video, includes removing small bits of information that will be undetectable to a viewer's eye or listener's ear. In an audio context, information and data relating to frequencies inaudible by the human ear may be removed to shrink the size of the audio file. When the audio is replayed, a typical listener does not notice the missing
frequencies because she would not have been able to detect it even if it were still there.
[0005] The removal of information from a video stream presents unique problems. Time compressing a video traditionally involves removing pieces or video from a sequence in order to shorten the length to a desired length. Time -compression of video is difficult because of the high sensitivity of the human eye and its ability to notice the smallest discrepancies or discontinuities in a video sequence. Even if the viewer is unaware of the removal of some parts of the video, the video may still blur, become choppy, or contain visible static. When watching time-compressed video, the quality of the viewer experience is dependent on the minimized discontinuities in the viewer-perceived flow of time, which depends on the extent of displacement of visible objects in either their three-dimensional position or in their color space. The more drastic the displacement, the higher the level of viewer- perceived discontinuity will be.
[0006] What is needed therefore is a system and method of time-compressing media while minimizing the viewer-perceived discontinuity.
SUMMARY
[0007] Example embodiments of the present invention provide systems and methods fox time compressing video content. Embodiments will take video content that has a certain duration, and time compress it to fit into another (smaller) time duration, while minimizing any disruption in the user experience. Some example embodiments may time compress addressable television commercials, for example a
TV commercial that was originally produced to be 30 or 60 seconds, now has to be
"fit" into a time slot of 28 or 58 seconds.
[0008] Rather than producing a totally new (28 / 58 second) commercial, the example embodiments described will automatically time compress the commercial to fit into the desired time space. It is noted that the present invention is not limited to use with TV commercials only, or to television or film video formats. Rather, example embodiments may be used in any situation where video or other media content needs to be time compressed to fit into a smaller time interval.
[0009] One embodiment of the invention includes a computer-implemented method for compressing media content. The computer includes a processor, a memory device and control logic. The method includes analyzing a sequence of media frames stored in the memory device and calculating a displacement level of each of the media frames. The displacement level indicates how different each of lhe media frames is to a previous media frame. The sequence of media frames is divided into a plurality of cuts where each cut ends at a media frame having a substantially high displacement level. Frames to be removed from the sequence of media frames are identified in each cut based upon the frame's displacement level. The identified frames are then removed.
[0010] Another embodiment of the invention includes a system for time compressing media. The system includes an input device configured to receive a media sequence and a target length for the media sequence, a storage device configured to store the media sequence and a processor in communication with the storage device configured to process the media sequence. A cut detection
component is configured to divide the media sequence into a plurality of cuts. Each cut ends at a media frame having a substantially high displacement value. The media sequence is fed to the cut detection component by the processor. A compression component is configured to identify and remove frames from the media sequence if the media sequence exceeds the target length, the processor feeding the media sequence from the cut detection component to the compression component.
[0011] Yet another embodiment of the invention includes a computer program product comprising a computer usable medium having control logic stored therein causing the computer to optimize the targeting of media. The control logic comprises a first computer readable program code means for causing the computer to analyze a sequence of media frames stored in the memory device and a second computer readable program code means fox causing the computer to calculate a displacement level of each of the media frames. The displacement value indicates how different each of the media frames is to a previous media frame. A third computer readable program code means is included for causing the computer to divide the sequence of media frames into a plurality of cuts, wb.eτe each cut ends at a media frame having a substantially high displacement value. A fourth computer readable program code means causes the computer to identify in a first cut frames to be removed from the sequence of media frames. The frames to be removed are identified based upon the frame's displacement value. A fifth computer readable program code means causes the computer to remove by the processor the frames to be removed.
BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The present invention will be more readily understood from a detailed description of example embodiments taken in conjunction with the following figures:
FlG. 1 illustrates an example procedure in accordance with an example embodiment of the present invention;
FIG. 2 illustrates an example procedure in accordance with an example embodiment of the present invention;
FIG. 3 illustrates an example procedure in accordance with an example embodiment of the present invention;
FIG. 4 illustrates an example procedure in accordance with an example embodiment of the present invention;
FIG. 5 illustrates an example procedure in accordance with an example embodiment of the present invention;
FIG. 6 illustrates an example video screen in accordance with an example embodiment of the present invention; and
FIG. 7 illustrates an example system in accordance with an example embodiment of the present invention.
DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS
[0013] Throughout the application, where compositions are described as having, including, or comprising specific components, or where processes are described as
having, including or comprising specific process steps, it is contemplated that compositions of the present teachings also consist essentially of, or consist of, the recited components, and that the processes of the present teachings also consist essentially of, or consist of, the recited process steps.
[0014] In the application, where an element or component is said to be included in and/or selected from a list of recited elements or components, it should be understood that the element or component can be any one of the recited elements or components and can be selected from a group consisting of two or more of the recited elements or components. Further, it should be understood that elements and/or features of a composition, an apparatus, or a method described herein can be combined in a variety of ways without departing from the spirit and scope of the present teachings, whether explicit or implicit herein.
[0015] The use of the terms "include," "includes," "including," "have," "has," or "having" should be generally understood as open-ended and non-limiting unless specifically stated otherwise.
[0016] The use of the singular herein includes the plural (and vice versa) unless specifically stated otherwise. Moreover, the singular forms "a," "an," and "the" include plural forms unless the context clearly dictates otherwise. In addition, where the use of the term "about" is before a quantitative value, the present teachings also include the specific quantitative value itself, unless specifically stated otherwise. As used herein, the term "about" refers to a ±10% variation from the nominal value.
[0017] It should be understood that the order of steps or order for performing certain actions is immaterial so long as the present teachings remain operatic Moreover, two or more steps or actions may be conducted simultaneously.
[0018] Example embodiments of the present invention may include systems and procedures which are capable of time compressing video. Such embodiments may apply to digitized video encoded as a sequence of frames, where the number of frames in a sequence is always a whole number. For example, a digital video sequence may be encoded according to an MPEG standard, or any other acceptable video standard. Each frame in such a sequence consists of two fields: the odd field, consisting of scan lines 1,3,5, etc., and the even field, consisting of scan lines
0,2,4,etc. Example embodiments may time compress video content by reducing the number of frames in such a sequence.
[0019] Some example embodiments of the present invention may provide procedures for time compressing video, in order to reduce the duration of the video segment to match a target length or duration. Such procedures may time compress a video segment by removing a number of frames contained in the video segment. It is noted that video is typically played at a fixed frame rate. Accordingly, reducing the length of the video, i.e., the number of frames, in effect reduces the duration of the video. In what follows, time compression of video is described in terms of reducing a video segment of a certain length to a target length.
[0020] According to one embodiment a compression procedure may begin by receiving a video sequence V, consisting of a set of frames F, where n equals the number of frames (and therefore also equals the length of V):
V - (F5, F2, F3 ... Fn}, where len(V) = n
[002 IJ Such an example embodiment may time compress the sequence to a new sequence VredUc> where Vre<h,,. is shorter than V, but the user-perceived content is the same, and there are minimal or no user-perceived artifacts or displacements:
Vreduc = (F' u F '2, F'3 ... F'm}, where len(Vreciue) = m, and m < n
To do so, the video sequence may be divided into cuts or scenes. In this way, the original sequence of frames may be organized into scenes or cuts C, each of which may represent a sequence of frames from the original material that the video sequence was composed from:
V = (C1, C2, C3 ... Cx), where Ci = (Fs ... Fc,}, C2 = {FcM ... Fc2}, ...
[0022] Scene-cut detection may be performed using a variety of image processing algorithms. In an example embodiment, the displacement between subsequent video frames and fields may be calculated. For instance, in such an embodiment, a number may be computed for each frame or field in the video sequence. The number (here called vdifβ may indicate the level of displacement, or a displacement value, of the current frame or field when compared to the preceding frame or field. Such a number would indicate how different the current frame or field is in relation to the previous one. For example, the range of vώjζfcouldbe 0.0 to 1.0, where 0.0 indicates no difference between frames or fields, and 1.0 indicates complete difference (as between a completely black and a completely white frame). For instance, as illustrated in FIG. 1, an example procedure may calculate a
displacement value 102 for each frame or field in a video sequence 101, resulting in a set of displacement values which may be represented as a distance chart 103.
[0023] The example procedure may then use the distance map to do scene cut detection, and to decompose the video sequence into a sequence of cuts. For instance, as illustrated in FIG. 2 the video segment may be divided into cuts at locations in the video segment where the calculated displacement is very large, as large displacements may indicate a scene change, Thus, FIG, 2 illustrates that the displacement values calculated for the sequence 201 may be used to detect scenes 202 and to divide the video sequence into multiple cuts 203.
[0024] Once the sequence is divided into cuts, the example process may identify pull-down patterns in each cut. Pull down patterns may exist in the video sequence if a "pulldown" conversion, a technique to transform a video created at one frame rate to another frame rate, has been applied to the video, as is often the case. For instance, video content is produced with different frame rates. For example, film content is typically shot at 24 frames-per-second (fps) while television content is typically created at 29.97 fps. Such content may, however, be converted between different frame rates as necessary. For example, a piece of film content produced at 24 fps may be transformed into a piece of video content at 29.97 fps. In such a case, the ratio between the two frame rates is 24 : 29.97 ~ 4 : 5, which means that for every four frames in the film content, five frames in the video content are needed. Accordingly, film content may be converted into video content using a process which essentially stretches four frames to five frames by using the fields in the
original four frames to create an extra fifth frame every four frames. The process used to perform this commonly performed conversion is known as "2:3 pulldown."
[0025] For example, the original content may contain frames A, B5 C, and D.
Since every frame includes two fields (odd and even), the content can be represented as the following sequence of two-field frames. A1A2, B1B2, C1C2, D1D2. In such an example, the even fields of frame B may be combined with the odd fields of frame C to create an additional frame, which may be inserted into the sequence, transforming the original four frame sequence into the following five frame sequence: A1A2, B1B2, B2C1, C1C2, D1D2. The newly created five frame sequence may accordingly be used for TV/video content purposes. Although there are many different ways to combine the fields of the four frame sequence to produce the fifth frame, whichever pattern is chosen, it is repetitive and predictable.
[0026] Accordingly, example procedures may detect such patterns within the video sequence to be tirne-compressed. For example, each cut may be searched in sequence, determining for each cut scanned whether a pull-down pattern is detected within the cut. Note that pulldown algorithms are applied uniformly on source segments (i.e., when the original content shot on film is transferred to video). As each cut should represent a single scene, at most one pulldown pattern should be present within each cut. That is, for each cut either no pulldown will have been applied, or a single pulldown algorithm will have been applied, resulting in a single pulldown pattern present in the cut. If multiple pulldown patterns exist within a cut, then the cut may need to be divided into smaller cuts. Accordingly, an example
process may subdivide such a cut again using the scene-cut detection techniques described above.
[0027] For every cut where a pulldown pattern is detected, a reverse pulldown procedure may then be executed. Application of such a procedure may restore the cut to its state before the pulldown was originally applied. As a result the extra frames created during the pulldown process will be removed from the cut, reducing the total number of frames present in the cut and in the video segment as a whole. For example, applying such a procedure to a cut on which 3:2 pulldown was applied, the number of frames in the cut would be reduced by a factor of 4/5, In addition, the content removed will have been artificially introduced in the first place.
Accordingly, the time compression achieved will not create any distortions in the resulting video segment at all.
[0028] As an example of one embodiment, FIG. 3 illustrates a video sequence which has been divided into a number of cuts 301. Each cut may, in turn, be divided into a number of fields 302 (for reasons of simplicity, field division is only shown for Cut 1 and Cut 3). Then, the fields may be searched for the existence of a pulldown pattern 303. In FIG. 3, a 2:3 pulldown is detected in Cut 1, which is then removed from the cut 304, resulting in a cut which is reduced in size 305. Here fields Bl and D2 306 are identified as having been added by a previous 2:3 pulldown, and are therefore removed in the final sequence 305.
f0029] A 2:3 pulldown detection can be accomplished by classifying each frame of the cut and further searching for an occurrence of a repeated pattern of frame type sequence. Classification of frames can include comparing the fields of each frame
with fields of the previous frame in the sequence and identifying the frame as either a black frame (0), new frame (1), incremental frame (2), repeated frame (3), transition frame(4), repeated top field only(5), or repeated bottom field only(6), As an example, if a 2:3 pulldown sequence, defined by pattern "Al A2,B1B2,B1C2)C1D2,D1D2" is present in the sequence, a repeated pattern of frame types 2,2,5,2,6 is detected. Classification of frames to the above mentioned types is accomplished by comparing the fields from both frames ordered as pairs in various combinations. For example, since the field Bl in frame B1C2 is identical to the field Bl in the previous frame B1B2, that frame is classified as a "repeated top field only" frame. Furthermore, the comparison of a field pair may include computing differences in a histogram as well as differences in the set of features. A value between 0.0 and 1.0 can be assigned to indicate complete dissimilarity to a complete similarity. In one embodiment, a classification algorithm based on a multi-layer neural network may be used. Other embodiments may use other classification algorithms based on either support vector machines, or decision trees or other suitable classification methods,
[0030] The example procedure may process each cut in which a pulldown pattern was detected, removing the fields added by the pulldown process. The cuts may be processed in any order, such as, without limitation, left to right, right to left, or random. Also, in some example embodiments, in order to avoid unnecessary processing, after each cut is processed, the resulting new total frame length of the full sequence can be recomputed. If that length is already smaller than the target length, additional cuts may not be processed, even if those cuts contain pulldown patterns.
[0031] In summary, if the procedure starts with a video sequence V (consisting of a sequence of cuts Cn):
V = {C3 ) C2, C3 ... Cx) , where len(V) = n frames
After the first cut is identified, and reverse pulldown is applied on it:
V = {C' I, C2, C3 ... Cx}, where len(d) < IeTi(C1), and therefore len(V') < len(V)
After the next cut is identified, and reverse pulldown is applied on it:
V" = (Cs7 C2, C3 ... Cκ}} where len(C2) < ICn(C2), and therefore len(V") < len(V')
[0032] The example process may repeat until either all cuts are processed, or the length of the transformed video sequence is equal to or smaller than the desired length.
[0033] If the resulting video sequence is not reduced to the desired length by application of the reverse pulldown procedure, an example procedure, according to one embodiment, may next reduce the length of the sequence by using interpolation to combine two subsequent frames into one frame that represents the same content.
[0034] The example procedure may scan the video sequence in order to identify frames which may be combined. For example, the process may scan each frame starting at the beginning of the video sequence and working towards the end, identifying individual pairs of frames which may be combined, e.g., based on their similarity exceeding some threshold, and combining those frames. Alternatively, the
process may rank all pairs of frames (i.e., all pairs of frames appearing sequentially in the sequence) in the sequence on how closely they resemble one another, choosing the pair with the highest resemblance for interpolation into a single frame. Such a process may then continue by combining the next closest match, or re- ranking all pairs of frames in the resulting stream.
[0035] In addition, in order to ensure that interpolations are evenly spread throughout the sequence, some example procedures may identify interpolation pairs on a cut by cut basis. It is noted that although the interpolation process is described as occurring after reverse pulldown is complete, both portions of the procedure may also be performed concurrently, or as needed. For example, as explained above, the procedure may divide the sequence into cuts; and for each cut, the pair of frames that most closely resembles one another may be identified, and combined. The procedure may be repeated for each cut in the sequence, either until all cuts have been processed or until the resulting sequence has been reduced to the target length. If all cuts are processed without having reached the desired length, the procedure may begin again, etc. In addition, in some examples, pairs occurring at the end of a cut may be favored for interpolation, as the information lost by interpolation is generally less user perceptible at the end of a clip (versus at the beginning).
10036] FlG. 4 illustrates the application of interpolation to a video sequence. In some example procedures, the displacement numbers 401 described above may again be used to identify frames for interpolation. As explained above, a high displacement number indicates a large change between subsequent frames, while a small number indicates less change. Where a pair of frames is detected 402 that are
sufficiently similar, frames C and D as shown in the example, those frames may be interpolated 403, merging them into a single frame C Thus, in the resulting sequence 404, the two identified frames may be replaced with one new frame. The new frame may be created using any reasonable technique. For example, the individual pixels of each frame may be averaged together resulting in new pixels. Many other techniques may also be applied.
[0037] As above, some example procedures may re-compute the length of the sequence after every interpolation. If the length of the sequence is equal to, or less than, the desired length, the procedure may end without performing additional interpolations. Accordingly, an example procedure may begin with a video sequence V (consisting of a sequence of frames):
V = (Fi .. Fj.i, Fi, Fin ■•■ Fn} , where len(V) = n frames
[0038] The procedure may then identify a pair of frames for interpolation, using any of the techniques described above, and may combine those frames. After the first interpolation has been applied:
V = (Fj ... Fi-i, F(!)+(i+i}» FΪ+2 ... Fn}, where len(V') = n-1 frames
10039 j The procedure may continue until either all matching subsequent frames are interpolated, or the length of the transformed video sequence is equal to, or smaller than the desired length.
[0040] In some example procedures the length of the resulting sequence may then be checked. The resulting time-compressed video sequence may be exactly equal to the target length, or it may be shorter than the target length. Should the time-
compressed sequence be shorter than the target length, example procedures may then apply a pulldown technique to increase the length of the sequence to exactly, or nearly exactly, meet the target length. In such example procedures, the pulldown pattern will depend on the length of the video sequence in relation to the target length.
[0041] For example, if the length of the time-compressed video sequence is 720 frames (24 seconds at 29.97 fps), and the target length is 810 frames (27 seconds), then a pulldown needs to be applied to stretch every 8 input frames into 9 output frames. If a sequence of 8 input frames is represented as: Al A2 B1B2 C1C2 D1D2 E1E2 F1F2 G1G2 H1H2, then one possible solution would be to create the following series of frames: A1A2 B1B2 C1C2 D1D2 D2E1 E1E2 F1F2 G1G2 Hl H2. Similarly, if the length of the time compressed video sequence is 720 frames (24 seconds), and the target length is 840 frames (28 seconds), then a pulldown would need to be applied to stretch every 6 input frames into 7 output frames, Again, if a sequence of 6 input frames is represented as: A1A2 B1B2 C1C2 D1D2 E1E2 F1F2, then one possible solution would be to create the following sequence: A1A2 B1B2 C 1C2 C2D1 D1D2 E1E2 F1F2.
[0042] For example, FIG. 5 illustrates the application of a pulldown. In FIG. 5 the length of the time-compressed video sequence 501 may be 24 seconds, which may be shorter than the target length which may be 28 seconds. Therefore, a pulldown 502 may be applied to "stretch" the sequence to the desired length. In order to go from 24 seconds to 28 seconds, one extra frame must be created for every six frames in the sequence. In FIG. 5 a group of six frames is represented as the sequence
A1A2 B1B2 C1C2 D1D2 E1E2 F1F2. For every such sequence a new frame is created 503, in the example the frame C2DI, and inserted into the final sequence. 504.
[0043] In summary, some example procedures may produce a time-compressed video sequence V (consisting of a sequence of frames):
V = (Fi, F2, F3, ... Fn}, where len(V) = n frames, and m = target length, and n < m
[0044] The present invention may be embodied in may different forms, including, but in no way limited to, computer program logic for use with a processor (e.g., a microprocessor, microcontroller, digital signal processor, or general purpose computer), programmable logic for use with a programmable logic device, (e.g., a Field Programmable Gate Array (FPGA) or other PLD), discrete components, integrated circuitry (e.g., an Application Specific Integrated Circuit (ASIC)), or any other means including any combination thereof. In a typical embodiment of the present invention, predominantly all of the communication between users and the server is implemented as a set of computer program instructions that is converted into a computer executable form, stored as such in a computer readable medium, and executed by a microprocessor under the control of an operating system.
[0045] Computer program logic implementing all or part of the functionality previously described herein may be embodied in various forms, including, but in no way limited to, a source code form, a computer executable form, and various intermediate forms (e.g., forms generated by an assembler, compiler, linker, or locator). Source code may include a series of computer program instructions
implemented in any of various programming languages (e.g., an object code, an assembly language, or a high-level language such as Fortran, C, C++, JAVA, or HTML) for use with various operating systems or operating environments. The source code may define and use various data structures and communication messages. The source code may be in a computer executable form (e.g., via an interpreter), or the source code may be converted (e.g., via a translator, assembler, or compiler) into a computer executable form.
[0046] The computer program may be fixed in any form (e.g., source code form, computer executable form, or an intermediate form) either permanently or transitorily in a tangible storage medium, such as a semiconductor memory device (e.g., a RAM, ROM, PROM, EEPROM, or Flash-Programmable RAM), a magnetic memory device (e.g., a diskette or fixed disk), an optical memory device (e.g., a CD- ROM), a PC card (e.g., PCMCIA card), or other memory device. The computer program may be fixed in any form in a signal that is transmittable to a computer using any of various communication technologies, including, but in no way limited to, analog technologies, digital technologies, optical technologies, wireless technologies (e.g., Bluetooth), networking technologies, and internetworking technologies. The computer program may be distributed in any form as a removable storage medium with accompanying printed or electronic documentation (e.g., shrink wrapped software), preloaded with a computer system (e.g., on system ROM or fixed disk), or distributed from a server or electronic bulletin board over the communication system (e.g., the Internet or World Wide Web).
[0047] Hardware logic (including programmable logic for use with a programmable logic device) implementing all or part of the functionality previously described herein may be designed using traditional manual methods, or may be designed, captured, simulated, or documented electronically using various tools, such as Computer Aided Design (CAD), a hardware description language (e.g., VHDL or AHDL), or a PLD programming language (e.g., PALASM, ABEL, or CUPL).
[0048] Programmable logic may be fixed either permanently or transitorily in a tangible storage medium, such as a semiconductor memory device (e.g., a RAM, ROM, PROM, EEPROM, or Flash-Programmable RAM)5 a magnetic memory device (e.g., a diskette or fixed disk), an optical memory device (e.g., a CD-ROM), or other memory device. The programmable logic may be fixed in a signal that is transmitiable to a computer using any of various communication technologies, including, but in no way limited to, analog technologies, digital technologies, optical technologies, wireless technologies (e.g., Bluetooth), networking technologies, and internetworking technologies. The programmable logic may be distributed as a removable storage medium with accompanying printed or electronic documentation (e.g., shrink wrapped software), preloaded with a computer system (e.g., on system ROM or fixed disk), or distributed from a server or electronic bulletin board over the communication system (e.g., the Internet or World Wide Web).
[0049] It will further be appreciated that the above-described methods and procedures may be provided using the systems disclosed herein, or on other types of systems. The methods and procedures, unless expressly limited, are not intended to be read to require particular actors or systems performing particular elements of the methods.
[0050) In the preceding specification, the present invention has been described with reference to specific example embodiments thereof. It will, however, be evident that various modifications and changes may be made thereunto without departing from the broader spirit and scope of the present invention. The description
and drawings aie accordingly to be regarded in an illustrative rather than restrictive sense.
Claims
What is claimed is:
1 , A computer-implemented method for compressing media content, the computer comprising a processor, a memory device and control logic stored therein, the method comprising:
analyzing by the processor a sequence of media frames stored in the memory device;
calculating a displacement value of each of the media frames, the displacement value indicating how different each of the media frames is to a previous media frame;
dividing by the processor the sequence of media frames into a plurality of cuts, each cut ending at a media frame having a substantially high displacement value;
identifying in a first cut frames to be removed from the sequence of media frames, the frames to be removed identified based upon the frames displacement value; and
removing by the processor the frames to be removed.
2, The method of claim 1 wherein the step of identifying frames to be removed further comprises identifying by the processor a pulldown pattern in a first cut, the pulldown pattern comprising previously-added media frames; and removing by the processor the previously-added media frames.
3. The method of claim 1 wherein the step of identifying frames to be removed further comprises identifying by the processor frames having substantially similar displacement values; and interpolating the two identified frames having substantially similar displacement values into one interpolated frame.
4. The method of claim 3 wherein the set of interpolating further comprises averaging pixel values of the identified frames, the interpolated frame comprising the average pixel values.
5. The method of claim 1 further comprising ranking displacement values of pairs of sequential frames; and interpolating the highest ranking pair of sequential frames into one ftame.
6. The method of claim 1 further comprising identifying a target length for the video sequence; upon removing the identified frames, determining whether the sequence of media frames matches the target length; and if the sequence of media frames exceeds the target length, identifying in a second cut frames to be removed from the sequence of media frames.
7. The method of claim 6 further comprising determining that the sequence of media frames is less than the target length; and executing a pulldown to augment the sequence of media frames to match the target length.
8. The method of claim 6 further comprising repeating the steps of identifying and removing media frames for each cut until the sequence of media frame matches the target length.
9. The method of claim 1 wherein the displacement value is scaled to a range of 0.0 to 1.0, wherein a displacement value of 0,0 indicates no displacement between the frames, and a displacement value of 1.0 indicates complete difference "between the frames.
10. The method of claim 1 further comprising generating a displacement chart mapping the sequence of frames as a function of displacement value.
11. The method of claim 1 further comprising identifying dividing the sequence of video frames into visible elements; and dividing each visible element into a plurality of cuts.
12. The system for time compressing media comprising:
an input device configured to receive a media sequence and a target length for the media sequence;
a storage device configured to store the media sequence;
a processor in communication with the storage device configured to process the media sequence;
a cut detection component configured to divide the media sequence into a plurality of cuts, each cut ending at a media frame having a substantially high displacement value, the media sequence fed to the cut detection component by the processor; and
a compression component configured to identify and remove frames from the media sequence if the media sequence exceed the target length, the processor feeding the media sequence from the cut detection component to the compression component.
13. The system of claim 12 wherein the compression component comprises a reverse-pulldown component, the reverse pulldown component configured to remove frames previously added by a pulldown procedure.
14. The system of claim 32 wherein the compression component comprises an interpolation component, the interpolation component configured identify and merge a pair or sequential frames having substantially similar displacement values.
15. The system of claim 12 further comprising a pull down component configured to augment the media sequence to match the target length if the media sequence is less than the target length.
16. The system of claim 12 comprising a segmentation component configured to divide the media sequence into visible elements; the processor feeding each of the visible elements to the cut detection component and the compression component.
17. A computer program product comprising a computer usable medium having control logic stored therein causing the computer to optimize the targeting of media, the control logic comprising:
a first computer readable program code means for causing the computer to analyze a sequence of media frames stored in the memory device; a second computer readable program code means for causing the computer to calculate a displacement value of each of the media frames, the displacement value indicating how different each of the media frames is to a previous media frame;
a third computer readable program code means for causing the computer to divide the sequence of media frames into a plurality of cuts, each cut ending at a media frame having a substantially high displacement value;
a fourth computer readable program code means for causing the computer to identify in a first cut frames to be removed from the sequence of media frames, the frames to be removed identified based upon the frames displacement value; and
a fifth computer readable program code means for causing the computer to remove by the processor the frames to be removed.
18. The computer product of claim 17 wherein fourth means further comprises means for identifying by the processor a pulldown pattern in a first cut, the pulldown pattern comprising previously-added media frames; and removing by the processor the previously-added media frames.
19. The computer product of claim 17 wherein the forth means further comprises means for identifying by the processor frames having substantially similar displacement values; and interpolating the two identified frames having substantially similar displacement values into one interpolated frame.
20. The computer product of claim 19 further comprising sixth computer readable program code means fox causing the computer to average pixel values of the identified frames, the interpolated frame comprising the average pixel values.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP10792735.2A EP2446631A4 (en) | 2009-06-25 | 2010-06-25 | Time compressing video content |
CA2766936A CA2766936C (en) | 2009-06-25 | 2010-06-25 | Time compressing video content |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US22046109P | 2009-06-25 | 2009-06-25 | |
US61/220,461 | 2009-06-25 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2010151785A1 true WO2010151785A1 (en) | 2010-12-29 |
Family
ID=43380718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2010/040019 WO2010151785A1 (en) | 2009-06-25 | 2010-06-25 | Time compressing video content |
Country Status (4)
Country | Link |
---|---|
US (5) | US9129655B2 (en) |
EP (1) | EP2446631A4 (en) |
CA (1) | CA2766936C (en) |
WO (1) | WO2010151785A1 (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100177161A1 (en) * | 2009-01-15 | 2010-07-15 | Dell Products L.P. | Multiplexed stereoscopic video transmission |
EP2446631A4 (en) | 2009-06-25 | 2015-04-01 | Visible World Inc | Time compressing video content |
US20130077699A1 (en) * | 2011-09-23 | 2013-03-28 | Prime Image | Methods and systems for control, management and editing of digital audio/video segment duration with remapped time code |
GB201407665D0 (en) * | 2014-05-01 | 2014-06-18 | Imagination Tech Ltd | Cadence analysis for a video signal having an interlaced format |
WO2018148697A1 (en) | 2017-02-13 | 2018-08-16 | Adcuratio Media, Inc. | System and method for targeting individuals with advertisement spots during national broadcast and cable television |
US11303847B2 (en) | 2019-07-17 | 2022-04-12 | Home Box Office, Inc. | Video frame pulldown based on frame analysis |
US10869091B1 (en) * | 2019-08-06 | 2020-12-15 | Amazon Technologies, Inc. | Latency detection for streaming video |
KR20210066619A (en) | 2019-11-28 | 2021-06-07 | 삼성전자주식회사 | Electronic apparatus and control method thereof |
CA3174009A1 (en) * | 2020-03-31 | 2021-10-07 | Arris Enterprises Llc | Advertisement preparation systems |
US11663300B2 (en) * | 2020-10-09 | 2023-05-30 | Capital One Services, Llc | Systems and methods for localized file transfer with file degradation |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5995153A (en) * | 1995-11-02 | 1999-11-30 | Prime Image, Inc. | Video processing system with real time program duration compression and expansion |
US6356664B1 (en) * | 1999-02-24 | 2002-03-12 | International Business Machines Corporation | Selective reduction of video data using variable sampling rates based on importance within the image |
US20020080286A1 (en) * | 1998-01-13 | 2002-06-27 | Philips Electronics North America Corporation | System and method for locating program boundaries and commercial boundaries using audio categories |
US20040001544A1 (en) * | 2002-06-28 | 2004-01-01 | Microsoft Corporation | Motion estimation/compensation for screen capture video |
WO2005050978A1 (en) * | 2003-10-21 | 2005-06-02 | Multi-Format, Inc. | Video production system with mixed frame removal |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5317398A (en) | 1992-08-17 | 1994-05-31 | Rca Thomson Licensing Corporation | Video/film-mode (3:2 pulldown) detector using patterns of two-field differences |
US5543927A (en) * | 1993-04-29 | 1996-08-06 | Sony Corporation | Variable speed playback of digital video stored in a non-tape media |
GB2312116A (en) | 1996-04-09 | 1997-10-15 | Digi Media Vision Ltd | Removal of redundant fields in standards conversion |
KR100420740B1 (en) * | 1999-02-05 | 2004-03-02 | 소니 가부시끼 가이샤 | Encoding device, encoding method, decoding device, decoding method, coding system and coding method |
WO2002009425A1 (en) * | 2000-07-25 | 2002-01-31 | Agilevision, L.L.C. | Splicing compressed, local video segments into fixed time slots in a network feed |
US7336890B2 (en) * | 2003-02-19 | 2008-02-26 | Microsoft Corporation | Automatic detection and segmentation of music videos in an audio/video stream |
US7595843B2 (en) * | 2003-03-05 | 2009-09-29 | Broadcom Corporation | Pulldown field detector |
US7800699B2 (en) * | 2003-04-16 | 2010-09-21 | Nvidia Corporation | 3:2 Pulldown detection |
US7312819B2 (en) * | 2003-11-24 | 2007-12-25 | Microsoft Corporation | Robust camera motion analysis for home video |
JP4721052B2 (en) * | 2004-01-13 | 2011-07-13 | 日本電気株式会社 | Feature change image creation method, feature change image creation device, and feature change image creation program |
GB2412807A (en) * | 2004-04-02 | 2005-10-05 | Snell & Wilcox Ltd | Video processing to reduce program length |
JP4655218B2 (en) * | 2005-09-16 | 2011-03-23 | ソニー株式会社 | Signal processing apparatus and method, program, and recording medium |
US7805011B2 (en) * | 2006-09-13 | 2010-09-28 | Warner Bros. Entertainment Inc. | Method and apparatus for providing lossless data compression and editing media content |
US20090083781A1 (en) * | 2007-09-21 | 2009-03-26 | Microsoft Corporation | Intelligent Video Player |
US8793498B2 (en) * | 2008-08-11 | 2014-07-29 | Nbcuniversal Media, Llc | System and method for forensic analysis of media works |
US8963949B2 (en) * | 2009-04-22 | 2015-02-24 | Qualcomm Incorporated | Image selection and combination method and device |
EP2446631A4 (en) | 2009-06-25 | 2015-04-01 | Visible World Inc | Time compressing video content |
-
2010
- 2010-06-25 EP EP10792735.2A patent/EP2446631A4/en not_active Withdrawn
- 2010-06-25 CA CA2766936A patent/CA2766936C/en active Active
- 2010-06-25 US US12/823,806 patent/US9129655B2/en active Active
- 2010-06-25 WO PCT/US2010/040019 patent/WO2010151785A1/en active Application Filing
-
2015
- 2015-08-12 US US14/824,807 patent/US10629241B2/en active Active
-
2020
- 2020-03-16 US US16/820,596 patent/US11152033B2/en active Active
-
2021
- 2021-10-18 US US17/503,979 patent/US11605403B2/en active Active
-
2023
- 2023-02-09 US US18/166,947 patent/US20230267965A1/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5995153A (en) * | 1995-11-02 | 1999-11-30 | Prime Image, Inc. | Video processing system with real time program duration compression and expansion |
US20020080286A1 (en) * | 1998-01-13 | 2002-06-27 | Philips Electronics North America Corporation | System and method for locating program boundaries and commercial boundaries using audio categories |
US6356664B1 (en) * | 1999-02-24 | 2002-03-12 | International Business Machines Corporation | Selective reduction of video data using variable sampling rates based on importance within the image |
US20040001544A1 (en) * | 2002-06-28 | 2004-01-01 | Microsoft Corporation | Motion estimation/compensation for screen capture video |
WO2005050978A1 (en) * | 2003-10-21 | 2005-06-02 | Multi-Format, Inc. | Video production system with mixed frame removal |
Also Published As
Publication number | Publication date |
---|---|
US20230267965A1 (en) | 2023-08-24 |
EP2446631A1 (en) | 2012-05-02 |
US9129655B2 (en) | 2015-09-08 |
US11152033B2 (en) | 2021-10-19 |
CA2766936A1 (en) | 2010-12-29 |
US20200388305A1 (en) | 2020-12-10 |
US10629241B2 (en) | 2020-04-21 |
US20150350496A1 (en) | 2015-12-03 |
EP2446631A4 (en) | 2015-04-01 |
CA2766936C (en) | 2020-09-22 |
US20220036925A1 (en) | 2022-02-03 |
US20100329359A1 (en) | 2010-12-30 |
US11605403B2 (en) | 2023-03-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11605403B2 (en) | Time compressing video content | |
CN102187664B (en) | Video signal converting system | |
US8009861B2 (en) | Method and system for fingerprinting digital video object based on multiresolution, multirate spatial and temporal signatures | |
US9036977B2 (en) | Automatic detection, removal, replacement and tagging of flash frames in a video | |
US8289411B2 (en) | Image processing apparatus, program, and method for performing preprocessing for movie reproduction of still images | |
US6525774B1 (en) | Inverse telecine converting device and inverse telecine converting method | |
JP2010512039A (en) | Image processing system for processing a combination of image data and depth data | |
CN1708978A (en) | Method and apparatus for editing source video | |
EP2330818A1 (en) | Frame rate converting apparatus and corresponding point estimating apparatus, corresponding point estimating method and corresponding point estimating program | |
CN114827663A (en) | Distributed live broadcast frame insertion system and method | |
US7522189B2 (en) | Automatic stabilization control apparatus, automatic stabilization control method, and computer readable recording medium having automatic stabilization control program recorded thereon | |
US7747130B2 (en) | Apparatus and method for extracting representative still images from MPEG video | |
JPH11136637A (en) | Representative image generating device | |
JP2011243156A (en) | Video conversion device, document conversion device, video conversion method, document conversion method, video conversion program and document conversion program | |
KR101801898B1 (en) | Method and apparatus for generating representing image from multi-view image | |
WO2001015170A9 (en) | Video field labeling | |
Prasantha | An Approach for Frame Rate conversion of a Video | |
JP5264814B2 (en) | Moving image display method determination device | |
JP4186769B2 (en) | GOP cycle detector | |
US20170237998A1 (en) | Method and apparatus for generating a video field/frame | |
Norman | The Design and Implementation of a Broadcast Quality Real-Time Aspect Ratio Converter | |
WO2001011866A2 (en) | Method and apparatus for performing an automated inverse telecine process | |
JP2000341609A (en) | Picture information converting device and its method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 10792735 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2766936 Country of ref document: CA |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2010792735 Country of ref document: EP |