APPARATUS AND METHOD USING SPEECH RECOGNITION AND SCRIPTS TO CAPTURE, AUTHOR AND PLAYBACK SYNCHRONIZED AUDIO AND VIDEO

Abstract: Audio associated with a video program, such as an audio track or live or recorded commentary, may be analyzed to recognize or detect one or more predetermined sound patterns, such as words or sound effects. The recognized or detected sound patterns may be used to enhance video processing, by controlling video capture and/or delivery during editing, or to facilitate selection of clips or splice points during editing.

Description: APPARATUS AND METHOD USING SPEECH RECOGNITION AND SCRIPTS TO CAPTURE, AUTHOR AND PLAYBACK SYNCHRONIZED AUDIO AND VIDEO FIELD OF THE INVENTION The present invention is related to the use of speech recognition in data capture, processing, editing, display, retrieval and playback. The invention is particularly useful for capture, authoring and playback of synchronized audio and video data. BACKGROUND OF THE INVENTION While speech recognition technology has been developed over several decades, there are few applications in which speech recognition is commonly used, except for voice assisted operation of computers or other equipment, and for transcription of speech into text, for example, in word processors. Use of speech recognition with synchronized audio and video has been primarily for developing searchable indexes of video databases. Such systems are shown in, for example: "Automatic Content Based Retrieval Of Broadcast News, " by M.G. Brown et al. in Proceedings of the ACM International Multimedia Conference and Exhibition 1995, pages 35-43; "Vision: A Digital Video Library," by Wei Li et al.. Proceedings of the ACM International Conference on Digital Libraries 1996, pages 19-27; "Speech For Multimedia Information Retrieval." by A.G. Hauptmann et al.. in Proceedings of the 8th ACM Symposium on User Interface and Software Technology, pages 79-80, 1995; "Keyword Spotting for Video Soundtrack Indexing," by Philippe Gelin, in Proceedings of ICASSP '96, page 299-302. May 1996; U.S. Patent 5,649,060 (Ellozy et al.); U.S. Patent 5, 199,077 (Wilcox et al.): "Correlating Audio and Moving Image Tracks," IBM Technical Disclosure Bulletin No. 10A. March 1991, pages 295-296; U.S. Patent 5,564.227 (Mauldin et al.); "Speech Recognition In The Informedia Digital Video Library: Uses And Limitations," by A.G. Hauptmann in Proceedings of the 7th IEEE Int'l. Conference on Tools with Artificial Intelligence, pages 288-294, 1995; "A Procedure For Automatic Alignment Of Phonetic Transcriptions With Continuous Speech." by H.C. Leung et al.. Proceedings of ICASSP '84, pages 2.7.1-2.7.3. 1984; European Patent Application 0507743 (Stenograph Corporation); "Integrated Image And Speech Analysis For Content Based Video Indexing," by Y-L. Chang et al., Proceedings of Multimedia 96, pages 306-313. 1996: and "Four Paradigms for Indexing Video Conferences." by R. Kazman et al., in IEEE Multimedia, Vol. 3, No. 1. Spring 1996, pages 63-73, all of which are hereby incorporated by reference. Current technology for editing multimedia programs, such as synchronized audio and video sequences, includes systems such as the media composer and film composer systems from Avid Technology, Inc. of Tewksbury, Massachusetts. Some of these systems use time lines to represent a video program. However, management of the available media data may involve a time intensive manual logging process. This process may be difficult where notations from a script, and the script are used, for example, on a system such as shown in U.S. Patent 4,474,994 (Ettlinger). There are many other uses for speech recognition than mere indexing that may assist in the capture, authoring and playback of synchronized audio and video sequences using such tools for production of motion pictures, television programs and broadcast news. SUMMARY OF THE INVENTION Audio associated with a video program, such as an audio track or live or recorded commentary, may be analyzed to recognize or detect one or more predetermined sound patterns, such as words or sound effects. The recognized or detected sound patterns may be used to enhance video processing, by controlling video capture and/or delivery during editing, or to facilitate selection of clips or splice points during editing. For example, sound pattern recognition may be used in combination with a script to automatically match video segments with portions of the script that they represent. The script may be presented on a computer user interface to allow an editor to select a portion of the script. Matching video segments, having the same sound patterns for either speech or sound effects, can be presented as options for selection by the editor. These options also may be considered to be equivalent media, although they may not come from the same original source or have the same duration. Sound pattern recognition also may be used to identify possible splice points in the editing process. For example, an editor may look for a particular spoken word or sound, rather than the mere presence or absence of sound, in a sound track in order to identify an end or beginning of a desired video segment. The presence of a desired sound or word in an audio track also may be used in the capturing process to identify the beginning or end of a video segment to be captured or may be used to signify an event which triggers recording. The word or sound may be identified in the audio track using sound pattern recognition. The desired word or sound also may be identified in a live audio input from an individual providing commentary either for a video segment being viewed, perhaps during capture, or for a live event being recorded. The word or sound may be selected, for example, from the script, or based on one or more input keywords from an individual user. For example, a news editor may capture satellite feeds automatically when a particular segment includes one or more desired keywords. When natural breaks in the script are used, video may be divided automatically into segments or clips as it is captured. Speech recognition also may be used to provide for logging of material by an individual. For example, a live audio input from an individual providing commentary either for a video segment being viewed or for a live event being recorded, may be recorded and analyzed for desired words. This commentary may be based on a small vocabulary, such as commonly used for logging of video material, and may be used to index the material in a database. BRIEF DESCRIPTION OF THE DRAWING In the drawing, Fig. 1 is a block diagram of a system in one embodiment of the present invention; Fig. 2 illustrates one embodiment of a graphical user interface for use in connection with the system of Fig. 1; Fig. 3 illustrates another view of the graphical user interface shown in Fig. 2; Fig. 4 illustrates a graphical user interface in another embodiment of the system of Fig. 1; Fig. 5 is another view of the graphical user interface of Fig. 4; Fig. 6 is another view of the graphical user interface of Fig. 4; and Fig. 7 is a block diagram illustrating a second embodiment of the present invention. DETAILED DESCRIPTION The present invention will be more completely understood through the following detailed description which should be read in conjunction with the attached drawing in which sunilar reference numbers indicate similar structures. All references cited herein are hereby expressly incorporated by reference. Fig. 1 illustrates one embodiment of the invention where speech recognition and the script of a video program are used in combination to enhance the editing process. In this embodiment, sound pattern recognition, particularly speech but also sound effects, may be used in combination with a script to automatically match video segments with portions of the script that they represent In this embodiment of the invention, the script may be presented to an editor via. a computer user interface. One system that displays a script to a user that may be modified in accordance with the invention is shown in U.S. Patent 4,746,994 (Ettlingcr). In this embodiment, a graphical user interface 40 displays a portion of a script, as indicated at 42, and frames selected from video clips associated with a selected portion of the script A portion of the script may be selected in response to user input 44. The user input may also indicate a selected video clip to by used to complete the video program for the selected portion of the script. The selected script range or a selected clip, as indicated at 46, is provided to an editing system 4$. In response to receipt of a selected range of the script, the editing system displays the script portion and frames of possible clips for the script as indicated at 50. In order to identify this information, the editing system 48 supplies a range of the script to a database 52. In response, the database returns a set of corresponding clips 56. A corresponding video clip has content including the selected range of the script 54. This correspondence, rather than overlapping time codes from an equivalent source, may be used to indicate equivalency, and may be used in the manner such as shown in U.S. Patent No. 5,584,006 (Rcber). In response to receipt of a selected frame of a shot, the editing system 48 may update a representation of a video program being edited. The database 52 may be populated with data about the video clips by capturing video and audio from multiple sources or takes of the video. In tliis capture process, the captured audio track 60 is supplied to a speech recognition module 62. Speech recognition can be performed using many techniques which are known in the art. For example, the speech recognition module may use a Hidden Markov Model-based form of pattern recognition, such as in the ViaVoice product from IBM, or a phonemic approach. Various other techniques may be used, such as shown in U.S. Patent 5,623,609 (Kaye). Another input to the speech recognition process may be the script 64. The script 64 may be used to improve the speech recognition process by providing a target to which recognized speech may be matched. In RECTIFIED SHEET (RULE 91) ISA/EP some instances, text must be generated only from speech recognition, for example, when the dialogue is spontaneous. Speech recognition module 62 also receives time codes corresponding to the audio, as indicated at 66. which may be used to align the script to the time codes according to the speech recognized in the audio. The output of the speech recognition module 62 is thus the range of the script or text represented by the video clip and a time code aligned version of the script or text. This data as indicated at 68 may be stored in the database 52. One embodiment of the speech recognition process performed by speech recognition module 62 involves matching the script, sound patterns in the audio, and the time codes using the following procedure. First, the most easily and reliably detected text points, words or syllables are time matched and marked within the clip. These points are those for which the pattern recognition process used has indicated a reasonable level of certainty about the accuracy of a match. The result of this step may be visualized by the following time line: Time: SS:FF 00:00 03:15 00:00 00:17 01 :04 02: 14 03: 15 \Now is the\time for al\\good men to come to the\αid of their countryl Recursive analysis may be used with time inteφolation. spanning the known valid points for a best approximation to seek a finer match for the words or phrases located in between the known valid points. This step may provide the following result, for example: Pass l : 00:00 00:17 01 :04 02:14 03:15 Pass 2: 00:08 01 :00 01 : 14 01 :25 02:24 03:02 Now|/.y the time for|α/7 good\men to [come to the aid of]their\countrv. An additional recursive step may be performed, to provide the following result, for example: Pass l : 00:00 00:17 01 :04 02:14 03:15 Pass 2: 00:08 01 :00 01 :14 01 :25 02:24 03:02 Pass 3: 00:25 01 :21 02:04 02:19 Now is the time|tόr all good men|to come|to the aid|o ' their country. This recursive matching process ultimately inteφolates smaller and smaller passages to map the entire script to the audio track, resolving timing accuracy down to an image, i.e. field or frame, or two. The beginning and ending time of any word or syllable thus is reasonably and reliably mapped across a series of timecode addresses. The number of recursions used to make this mapping may be user-defined to allow control of the degree of desired timing accuracy, the computational time and loading of the system. A frame to script mapping, for example, may appear as the following: Frame: |00 01 02 03 04 05 06 07)08 09 10| 1 1 12 13 14 15 16 17| 18 19 20 21 22 23 24 25| I N O W I I SI T H E I T I M E I The mapping of the script to time codes actually may involve mapping the script to a phonetic or other sound pattern representation of the text, which in turn is mapped, for example, using an array, look up table, list or other data structure to timecodes or other resolution in the time dimension of the audio track. The speech recognition module may include software that is executed by a computer system that also supports the editing system 48. Alternatively, this computational burden may be removed from the main processor and may be performed using special puφose hardware. The average rate of speech falls between 100 and 125 words per minute. These words are typically constructed from 150 to 200 syllables. If a timing marker were saved for each syllable or sound pattern of the script, the result would be on average about three matching time references per second between script text and speech, or about one timing match roughly every ten frames. This resolution provides sufficiently fine granularity to support reasonable draft editing driven by a word processor interface using the script. Speech to text matching and subsequent timecode frame mapping of each word or syllable as shown above would allow an individual with minimal training to cut and paste the desired dialogue text using a standard word processing interface, and thereby easily assemble a draft cut of a video sequence. The draft edit would allow the individual to quickly define a story in rough form. A frame trimming function could then be invoked at each transition to fine tune the dialogue timing and flow. The script may also be divided into segments and may be associated with a story board to generate a story in rough form, such as shown in U.S. Patent Application Serial No. 08/687,926. Where the same dialogue is recorded from several camera angles and/or over several takes, the editing system 48 may find and present one or more frames from all takes containing a highlighted word or passage in the script. The user then may preview and select a desired camera view or a take. As a further aid to editing directly from text, the system also may generate script marks or display the edited text in different colors or fonts according to a script clerk's camera coverage notations. The audio track also may be transcribed where no script is available. The text input into the speech recognition process also may include sound effects which may have predetermined sound patterns. Converting spoken dialogue to time annotated and synchronized script text would greatly accelerate the production process. Two example graphical user interfaces for use with using scripts to edit a video program will now be described in connection with Figs. 2-6. Script-based editing is described, for example, in U.S. Patent 4,746,994 and is available from Avid Technology, Inc. In one embodiment of the present invention, as shown in Fig. 2, the user interface is similar to a basic word processor. A display area 80 displays the script (at 82) and an indicator of the portion of the script being viewed (at 84). Highlighting any part of a script causes the editing system to retrieve all the corresponding clips that contain some or all of the highlighted dialog as edit candidates that match some part of the highlighted text 94. The list of corresponding shots may be shown at 86. The range of the script that is covered by the shot appears in the displayed text at 82 with coverage arrows 88, similar to a script clerk's annotated production script. A representative frame for each clip may be displayed at 90. The user may select a candidate shot using an input device. A selected candidate shot may be transferred to the program time line 92. After a shot is selected and placed in a time line for the program, the user may select another segment for which a shot may be selected, as is shown in Fig. 3. The user may highlight new text at 96. After auditioning the candidate clips 90. a selected shot, e.g.. shot 16. may be placed in the program time line. Fig.4 is an example of another embodiment of a graphical user interface, which is an automated dialog film editing interface. In this embodiment, there is little direct use of timecodes. The timecodes are shown for illustrative purposes, but may be omitted. At the left of Fig. 4, the script is formatted in a vertical column 100. Thin horizontal cursor lines 102 and 104 indicate edit points between shots. Thicker cursor lines 106 and 108 bound the top and bottom of box 110 that highlights an active part of the script column 100. Lines 106 or 108 may be positioned wherever a user desires by moving the line, for example using a mouse, to "capture" a desired portion of the script. The upper cursor line 106 may be positioned just above the first word in the desired portion of script Upon release of the upper cursor line 1 6, the candidate shots arc displayed in a column 120 to the right and are synchronized to match the first word in die selected script The lower cursor line 108 may be set to determine a desired coverage of the script dialog for die shot. This coverage is used to identify those candidate shots that include die selected script As the lower cursor line 108 is moved to cover more or less of the script, different candidates can appear or disappear when the cursor is released. When no candidate shot has been selected for this selected dialog, a place holder 116 is indicated in the display. Referring now to Fig. 5, a shot may be selected from those displayed in column 120, for example, by using a mouse. After a shot is selected from column 120, a frame from the shot is displayed in column 122, such as shown at 118. Once a candidate has been finally accepted, then the upper cursor line 106 may advance to the next word in the script following the last word at the end of the edit The center column 122 of frames is the assembled sequence as it relates to the script at the left. The frame featuring the controls 112 along its right edge is die current edit event Selecting different candidate frames in column 120 may be used to switch the event image in column 122 much like operating a video switcher. In Fig. 6, the start cursor line 130 is shown a bit prior to a point preceding the last word in the edit shown in Fig.5. In this case, the dialog may be converted to timecodes in the prior shot in order to perform an approximate matching trim to the end of that shot automatically. By repositioning the cursor over a new span of dialog, as shown between lines 130 and 1 2, all of the candidates again may be prequalified for coverage of the selected text and the display may be updated to display the starting frames of these candidate shots. RECTIFIED SHEET (RULE 91) ISA/EP In another embodiment of the invention, the speech recognition module 70, as shown in Fig. 7, receives the audio signal and one or more selected words or sound patterns and possibly timecodes. The selected word or sound pattern, while similar to a script, is used by die speech recognition module to output a binary wave form 76 indicating the presence or absence of the selected word or sound patten within a given range of the audio stream. An output signal may be used for several purposes. First the output signal may be displayed so that an editor may identify splice points in the audio track. For example, this signal may be used in an editing interface such as shown in U.S. Patent No. 5,634,020 (Norton), that indicates the presence or absence of a selected ward or sound pattern, rather than the mere presence or absence of sound. In one embodiment selected words from the script may be used to automatically identify points in the video being captured. Using this process, the natural breaks in the script are used and video may be divided automatically into segments or clips as it is processed. The detection of a selected word or sound pattern also may be used to control the capturing of video information. For example, the presence of a word may be used to initiate recording while the presence of another word or sound patteπi may indicate that the recording is to be stopped. The recognition event may be considered as a discontinuity that starts or stops recording in the manner described in U.S. Patent Application Serial No.07/866,520. In addition, the output of the speech recognition module 70 also may signify an event which triggers recording using a system such as described in PCT Publication WO9626601 , or U.S. Patent Application Serial No. 08/835, 104. The audio input into the speech recognition module 70 may be the audio track corresponding to the video signal. Alternatively, the audio input 74 may be a second audio track, such as a live audio input from an individual providing commentary for a video segment. For example, an individual may be logging video material that has been recorded. A small subset of words pertinent to the logging process may be used to index die video segments. In this embodiment, the graphical user interface 40 may display selected words from the logging vocabulary to allow an editor to select clips relevant to that category. In addition, the audio input may be commentary on a live event being recorded. In another embodiment, satellite feeds of news information may be captured. In a news environment, such as shown in PCT Publication W097/39411, an editor or journalist may be notified of received video information if the capturing module of the system is RECTIFIED SHEET (RULE 91) ISA/EP notified of selected words or sound patterns 72 for each journalist or editor. Upon receipt of atching video segments, the capture module may automatically direct a video clip to be viewed to a journalist's work station. This capability also may be used without video, by monitoring only audio signals, such as over a telephone line or on radio, and to automatically capture clips using the occurrence of a selected word or sound patteπi in an audio signal as an event to control the capturing of the audio, using a system such as described in U.S. Patent Application 08/835,104. Having now described a few embodiments of the invention, it should be apparent to those skilled in the art that the foregoing is merely illustrative and not limiting, having been presented by way of example only. Numerous modifications and other embodiments are within the scope of one of ordinary skill in the art and are contemplated as falling within the scope of the invention as defined by die appended claims and equivalent thereto. What is claimed is: RECTIFIED SHEET (RULE 91) ISA/EP

Claims: CLAIMS 1. A computer system for processing audio associated with a video program, comprising: means for analyzing the audio to recognize one or more predetermined sound patterns; and means for enhancing processing of the video program using the recognized sound patterns. 2. The computer system of claim 1 wherein the means for enhancing includes means for controlling capture of the video program using the recognized sound patterns. 3. The computer system of claim 1 wherein the means for enhancing includes means for controlling delivery of the video program to a display during editing of the video program using the recognized sound patterns. 4. The computer system of claim 3 wherein the means for controlling includes means for facilitating selection of clips during editing. 5. The computer system of claim 1, wherein the audio is an audio track of the video program. 6. The computer system of claim 1 , wherein the audio is commentary associated with the video program. 7. The computer system of claim 1 , wherein the predetermined sound patterns are words. 8. The computer system of claim 1, wherein the predetermined sound patterns are sound effects. 9. The computer system of claim 1, wherein the means for analyzing uses a script to automatically match video segments with portions of the script that they represent. 10. The computer system of claim 9, further comprising: means for displaying the script on a computer user interface; means for permitting an editor to select a portion of the script; means for matching video segments having sound patterns matching the selected portion of the script; means for displaying the matched video segments as options for selection by the editor. 11. The computer system of claim 1 , wherein the means for analyzing identifies predetermined words in the audio and the means for enhancing includes means for indicating possible splice points to a user. 12. The computer system of claim 1, wherein the means for analyzing identifies predetermined words in the audio and the means for enhancing includes means for initiating capture of a video segment upon identification of a first sound pattern. 13. The computer system of claim 12, wherein the means for enhancing further includes means for terminating capture of the video segment upon identification of a second sound pattern. 14. The computer system of claim 12, wherein the means for enhancing includes means for monitoring the audio and means for directing the video segment to a viewer upon identification of the first sound pattern in the audio. 15. The computer system of claim 1. wherein the audio is a live audio input from an individual providing commentary for a video segment, and the means for analyzing identifies desired words in the audio, and the means for enhancing includes means for logging the video segment according to desired words identified in the audio.

Inventors: FASCIANO PETER, FASCIANO, PETER
Applicants: AVID TECHNOLOGY INC, AVID TECHNOLOGY, INC.
Application year: 1999
Main classification: G11B27
IPC codes: G10L15, G11B27, H04N5