HLS-based multimedia file processing method and server

A multimedia file and folder technology, applied in the multimedia field, can solve problems such as poor user experience, failure of the client to play the target multimedia file, and slow response speed of the server

Inactive Publication Date: 2016-02-24
INSPUR QILU SOFTWARE IND
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the above technical solution, the slice file is stored in the disk of the server. When multiple clients play the target multimedia file on the disk at the same time, frequent read and write operations a

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
  • HLS-based multimedia file processing method and server
  • HLS-based multimedia file processing method and server
  • HLS-based multimedia file processing method and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

[0054] Such as figure 1 As shown, the embodiment of the present invention provides a kind of HLS-based multimedia file processing method, and this method may comprise the following steps:

[0055] S0: Build a tmpfs file system;

[0056] S1: Build at least one folder in the tmpfs file system;

[0057] S2: Obtain the target multimedia file, transcode t...

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 provides an HLS (HTTP Live Streaming)-based multimedia file processing method and a server. The method comprises: establishing a tmpfs file system; establishing one or more file folders in the tmpfs file system; transcoding a target multimedia file to one or more slicing files, and storing all of the files into the one or more file folders; aiming at each slicing file, storing file information of a current slicing file to a database; respectively receiving play request commands from at least two clients to generate index files M3U8 corresponding to all of the clients, and returning the generated M3U8 to the corresponding clients; and respectively receiving file request commands from the at least two clients, and acquiring target slicing files from the tmpfs file system according to the file request commands, and providing the target slicing files to the corresponding clients. Through the technical scheme of the method, the user experience is improved.

Description

technical field [0001] The invention relates to the field of multimedia technology, in particular to an HLS-based multimedia file processing method and server. Background technique [0002] HLS (HTTPLiveStreaming, dynamic code rate adaptive technology) is currently the main technical means for playing multimedia files. By transcoding target multimedia files (such as audio and video) into multiple slice files in the server, and then transcoding The coded slice files are stored in the disk, and the file information such as the transcoding time point, playback duration, and storage path on the disk of each slice file is stored in the database. When there is a client that needs to play the target multimedia file, the server That is, a file directory index file will be generated according to the playback requirements of the client, and the client can read the corresponding slice file from the disk of the server through the file directory index file to complete the playback of the...

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): H04N21/231H04N21/2343H04N21/239H04N21/845
CPCH04N21/2393H04N21/23113H04N21/234336H04N21/8456
Inventor 芮明
Owner INSPUR QILU SOFTWARE IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products