Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2017-11-21
上海网达软件股份有限公司
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) The physical slicing method is to read all the data from the NAS file system, find the cutting point, and then divide the data into small files and write them to the NAS storage. In this process, both the source file reading and writing access the NAS storage , a large number of parallel transcoding tasks will lead to a high NAS storage load, and at the same time occupy a large amount of bandwidth in the LAN, writes will be blocked, resulting in IO errors, resulting in the termination of the transcoding task;
[0006] (2) When processing high-definition video, the segmentation process occupies a large proportion of time in the entire transcoding process, and it increases synchronously with the increase in audio and video bit rate and audio and video file duration, especially the processing of large files is slow;
[0007] (3) Due to the large amount of video data, the output slice file will be written to NAS storage again after being divided. The slice file occupies the same storage space as the source file, wasting NAS storage space

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Virtual slicing method and system used for distributed media file transcoding system
  • Virtual slicing method and system used for distributed media file transcoding system
  • Virtual slicing method and system used for distributed media file transcoding system

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of multimedia processing, specifically to a virtual slicing method and system used for a distributed media file transcoding system. The method utilizes characteristics of key frames in media file video data, through a mode of presetting cutting points, searches actual key frame cutting points of the video, processing data of video segmenting are defined between two key frames, at the same time, location information of the segmenting points is recorded in a vertical slice index file, thereby efficiently completing transcoding of the media file.

Description

technical field [0001] The invention relates to the technical field of multimedia processing, in particular to a virtual slicing method and system for a distributed media file transcoding system. Background technique [0002] With the development of Internet technology, especially the intelligence of mobile terminals, audio and video play an increasingly important role in production and life. In order to meet different usage needs and apply to different devices, for audio and video processing, A variety of encoding techniques and different audio and video file formats have emerged. In order to efficiently utilize multimedia resources and adapt to the viewing needs of mobile platforms, it is necessary to convert various encoding formats into standards such as H.264 with higher compression efficiency. Multimedia transcoding technology has become an urgent need in Internet technology. [0003] Multimedia transcoding is the process of converting one code stream into another cod...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/06H04L29/08
CPCH04L67/1097H04L65/75H04L65/765
Inventor 唐杰
Owner 上海网达软件股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products