Virtual slicing method and system used for distributed media file transcoding system
A virtual slicing and media file technology, applied in the transmission system, electrical components, etc., can solve the problems of wasting NAS storage space, write blocking, occupying LAN bandwidth, etc., to save NAS storage space, reduce the amount of processed data, and reduce network traffic. The effect of load
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] The slicing method in the present invention mainly performs dot processing on the media source file, records the positions of the key frames in the video to be transcoded, and saves them in the form of a list, thereby completing the virtualized slicing. The segmentation method in the present invention will now be specifically described in conjunction with the accompanying drawings. see figure 2 , there will be a key frame (I frame) in each media source file that needs to be transcoded. The key frame can be decoded independently, and the subsequent P frame and B frame refer to the previous I frame, and the I frame determines the next key frame Whether all previous images are decoded correctly, therefore, the segmentation method in the present invention cannot segment the file according to the absolute duration. In order to ensure the correctness of the segmentation of the media source file, the segmentation point of the media source file must satisfy: the first frame o...
Embodiment 2
[0061] The present invention also provides a virtual slicing system of a distributed media file transcoding system. The slicing system includes a segmentation module, a transcoding module, and a merging module. The structural diagram is shown in Figure 5 , wherein, the segmentation module is used to slice the media source file, and generates a slice index list file from the slice data; the transcoding module is used to transcode the audio and video data, and reads the Get the audio and video data that needs to be transcoded; the merging module is used to merge each segment of audio and video data files obtained by transcoding into a target file.
[0062] The segmentation module searches the start position and the end position of the key frame in the media source file according to the segmentation method in embodiment 1, divides the media source file, and saves the data of each segment in sequence in the slice index list file. The transcoding module obtains transcoding tasks a...
Embodiment 3
[0065] Now give an example according to the description of the above-mentioned embodiment, see Figure 2 to Figure 5 :
[0066] Suppose the duration of the media source file is T, and the duration of the target slice is T m , then the starting point of the first segment of the slice is t 0 = 0, read in the media source file after the duration of the target slice, search backwards in turn until the end of the first key frame, and detect the position of the first key frame t 1 , the first paragraph of search ends, and the first paragraph of the slice is expressed as [t 0 ,t 1 ); the second paragraph starts from t 1 start, skip T m Time...and so on, the Nth paragraph is expressed as [t n-1 ,t n ); when the slicing is completed, the slicing positions are saved in the same file according to the sequence of the slicing, so far, the virtual slicing is completed, and the entire video file is virtually divided into segments, except for the last period less than T m In additio...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com