摘要:
Some embodiments provide a media-editing application. The application receives a command to import a media file into the media-editing application. The media file includes a sequence of video images. The application copies the media file to a storage location associated with the media-editing application. The method performs several analysis and transcode operations on the media file in parallel. In some embodiments, the application identifies a video image on which to the operations. The application schedules a single set of image preparation operations for the video image to generate one or more sets of image data for the operations. The method sends the image data to the different operations. A same set of image data is sent to at least two of the operations.
摘要:
Some embodiments provide a media-editing application. The application includes several image processing destinations for performing operations on video images. The application includes a scheduling engine for scheduling disk read, decode, and graphics processing operations to perform on images to prepare the images for the several destinations. The scheduling engine includes a first set of instructions for scheduling images based on a speed at which a particular one of the several destinations processes the images when none of the destinations require images in real-time. The scheduling engine includes a second set of instructions for scheduling images based on a real-time clock when at least one of the several destinations requires images in real-time.
摘要:
Some embodiments provide a media-editing application. The application receives a command to import a media file into the media-editing application. The media file includes a sequence of video images. The application copies the media file to a storage location associated with the media-editing application. The method performs several analysis and transcode operations on the media file in parallel. In some embodiments, the application identifies a video image on which to the operations. The application schedules a single set of image preparation operations for the video image to generate one or more sets of image data for the operations. The method sends the image data to the different operations. A same set of image data is sent to at least two of the operations.
摘要:
Some embodiments provide a media-editing application. The application includes several image processing destinations for performing operations on video images. The application includes a scheduling engine for scheduling disk read, decode, and graphics processing operations to perform on images to prepare the images for the several destinations. The scheduling engine includes a first set of instructions for scheduling images based on a speed at which a particular one of the several destinations processes the images when none of the destinations require images in real-time. The scheduling engine includes a second set of instructions for scheduling images based on a real-time clock when at least one of the several destinations requires images in real-time.
摘要:
Some embodiments provide a media-editing application that includes several background-rendering modules. These modules automatically render segments of a media presentation in the background of a system on which the media-editing application is being executed. By performing rendering in the background, the background-rendering modules produce rendered results for the segments. That is, the modules pre-generate playable media output data (e.g., composite video frames or audio samples) of the media presentation without interrupting other operations (e.g., editing operations, etc.) of the media-editing application. The background-rendering modules in some embodiments include a first background-rendering module and a second background-rendering module. The first background-rendering module determines a prioritized order in which the segments are to be rendered. The second background-rendering module renders the segments of each category in the prioritized order that is determined by the first background-rendering module.
摘要:
Some embodiments provide a method that receives the addition of a video clip to a composite video project. The video clip has a sequence of video images at a first frame rate and the composite video project has a second frame rate for outputting video images. When the first frame rate does not match the second frame rate but is within a threshold of the second frame rate, the method generates output video images for a particular duration of the composite video project at the second frame rate by using each of the video images of the video clip once during the particular duration. When the first frame rate is not within the threshold, generating output video images for the particular duration of the composite video project at the second frame rate by using at least one of the video images for each output video image over the particular duration.
摘要:
A novel method for retiming a portion of a media content (e.g., audio data, video data, audio and video data, etc.) in a media-editing application is provided. The media editing application includes a user interface for defining a range in order to select a portion of the media content. The media editing application performs retiming by applying a speed effect to the portion of the media content selected by the defined range. For a faster speed effect, the media editing application retimes the selected portion of the media content by sampling the media content at a faster rate. For a slower speed effect, the media editing application retimes the selected portion of the media content by sampling the content at a slower rate.
摘要:
Some embodiments provide a media-editing application that includes several background-rendering modules. These modules automatically render segments of a media presentation in the background of a system on which the media-editing application is being executed. By performing rendering in the background, the background-rendering modules produce rendered results for the segments. That is, the modules pre-generate playable media output data (e.g., composite video frames or audio samples) of the media presentation without interrupting other operations (e.g., editing operations, etc.) of the media-editing application. The background-rendering modules in some embodiments include a first background-rendering module and a second background-rendering module. The first background-rendering module determines a prioritized order in which the segments are to be rendered. The second background-rendering module renders the segments of each category in the prioritized order that is determined by the first background-rendering module.
摘要:
For a media-editing application that creates a composite media presentation, some embodiments of the invention provide a method for reducing rendering operations by dividing the composite presentation into several segments and rendering the segments in a manner that allows for these segments to move with respect to each other without losing the rendered results. The media-editing application defines portions of a media presentation as segments. When the media-editing application renders a segment of the media presentation, the application computes an identifier that uniquely identifies the segment and then uses this identifier to store and later retrieve the rendered result for the segment. The application in some embodiments computes the identifier based on a set of attributes of the segment, and stores the results of rendering the segment at a location that is uniquely identifiable in a storage structure by the identifier.
摘要:
Some embodiments provide a method that receives the addition of a video clip to a composite video project. The video clip has a sequence of video images at a first frame rate and the composite video project has a second frame rate for outputting video images. When the first frame rate does not match the second frame rate but is within a threshold of the second frame rate, the method generates output video images for a particular duration of the composite video project at the second frame rate by using each of the video images of the video clip once during the particular duration. When the first frame rate is not within the threshold, generating output video images for the particular duration of the composite video project at the second frame rate by using at least one of the video images for each output video image over the particular duration.