CN108055574A - Media file transcoding generates the method and system of multitone rail multi-subtitle on-demand content - Google Patents
Media file transcoding generates the method and system of multitone rail multi-subtitle on-demand content Download PDFInfo
- Publication number
- CN108055574A CN108055574A CN201711225515.1A CN201711225515A CN108055574A CN 108055574 A CN108055574 A CN 108055574A CN 201711225515 A CN201711225515 A CN 201711225515A CN 108055574 A CN108055574 A CN 108055574A
- Authority
- CN
- China
- Prior art keywords
- index
- file
- subtitle
- stream
- files
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
- H04N21/4398—Processing of audio elementary streams involving reformatting operations of audio signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
- H04N21/4355—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving reformatting operations of additional data, e.g. HTML pages on a television screen
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440236—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by media transcoding, e.g. video is transformed into a slideshow of still pictures, audio is converted into text
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4856—End-user interface for client configuration for language selection, e.g. for the menu or subtitles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64784—Data processing by the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
Abstract
The invention discloses a kind of method and system of media file transcoding generation multitone rail multi-subtitle on-demand content.This method is used in trans-coding system, to the transcoding of video, audio and subtitle, by way of being separately encoded to video, audio and subtitle, can generate video flowing, audio stream and caption stream respectively.The system can be gone to return to the corresponding video flowing of user, audio stream and caption stream according to the specific requirements of user.Compared with the prior art, the roll-off file of technical solution of the present invention supports user's dynamic select audio and subtitle, reduces the bandwidth occupancy of original MCVF multichannel voice frequency and subtitle, and the memory space for reducing media file occupies.The flexibility ratio of trans-coding system is added simultaneously, dynamically increases multilingual audio and subtitle that media file is supported, video is avoided to repeat transcoding.
Description
Technical field
The invention belongs to multimedia technology field more particularly to a kind of generation multitone rail multi-subtitle program requests of media file transcoding
The method and system of content.
Background technology
Current VOD system provide the user various contents, simultaneously to cover more user groups
In order to meet viewing demand of the different user under different network environments, it is necessary to reduce the occupancy to bandwidth.And transcoding is taken
It is engaged in for supplier, to file size in the transcoding of video and transmission process, transcoding flexibility ratio, transcoding workload is considered
It is necessary.
Current most typical method is that video, audio and subtitle are integrated into a media file, for heterogeneous networks
In the case of environment, output equipment, system can read the video file that transcoding is good, and detailed process is:To original media
File carries out transcoding work, and all videos, audio and subtitle are all integrated into a media file, then deposit media file
It stores up in particular category, is transferred out when receiving request.
It is disadvantageous in that using this system:
Transcoding flexibility ratio is very low, and for same video, if audio and subtitle are changed, video will be repeated to compile
Code is many times;
A large amount of occupancy of bandwidth, for the video file that this method is used to generate, it comprises all audio and subtitle,
When user asks, it is necessary to which these audios and subtitle are all transferred out;
In the way of subtitle is embedded into a manner of hard coded in video, for each subtitle will a video file,
Extremely occupy memory space;
, it is necessary to re-download video and audio file during the different subtitles of user's switching, interim card may be caused,
Reduce user experience.
The content of the invention
In order to solve technical problem existing in the prior art, the present invention proposes a kind of media file transcoding generation multitone rail
The purpose of the method and system of multi-subtitle on-demand content, the system and method, for roll-off file, is used in transcoding process
A kind of more flexible media file organizational form supports polytype audio and subtitle, saves customer flow, reduces media text
Part occupies storage.
In order to achieve the goal above, present invention employs following technical solutions:
For the media file of input, a media file is distinguished into transcoding, transcoding to its video, audio and subtitle first
Export different stream files:Video flowing, audio stream, caption stream, then slicing treatment is carried out to different stream files, and create correspondence
Index file.
Video flowing, audio stream and subtitle stream files all can be sliced and then generate corresponding index file record.It completes
, it is necessary to an index.m3u8 index file be generated, by video flowing, audio stream and caption stream in the processing procedure of each stream file
Index file be recorded in index.m3u8 index files.
If necessary to add in new voice and subtitle file, according to above-mentioned steps, first transcoding exports stream file, then convection current
File is cut into slices, and generates index file, and then index file is added in index.m3u8 index files.
Then the present invention passes through corresponding rope by being cut into slices, being stored to the stream file exported after media file transcoding
Quotation part is accessed in order, and the index file of video flowing, audio stream and caption stream finally is written to index.m3u8 indexes
In file.
During user plays, selected to play corresponding file stream respectively according to index.m3u8 index files.
Compared with prior art, advantageous effects of the invention are:
After technical solution using the present invention, according to the content of request transcoding, it is possible to reduce transcoding workload supports dynamic
Audio, subtitle are added, without changing existing content, adds the flexibility ratio of trans-coding system;
Video separates storage with audio and subtitle, in the case that multilingual, reduce storage and occupies;
For a user, support the selection of multilingual and multi-subtitle, reduce the occupancy to bandwidth, improve user experience.
Description of the drawings
Fig. 1 is the index file relational graph of the present invention;
Fig. 2 is the flow chart that a kind of media file transcoding of the present invention generates the method for multitone rail multi-subtitle on-demand content.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to each reality of the present invention
The mode of applying is explained in detail.
As shown in Fig. 2, media file is by transcoder, respectively video, audio and subtitle transcoding are exported to obtain video flowing,
Audio stream and subtitle stream files, then slicing treatment is carried out to stream file:The file of ts forms is obtained after cutting into slices to video stream file;
To obtaining the file of ts forms after the section of audio stream file;To obtaining the subtitle of WebVTT forms after subtitle stream files section
File.
After stream file section, corresponding .m3u8 formatted files are created.Section text can be reconfigured by index file
Part is reduced into former stream file.It, will be respective after video flowing, audio stream and caption stream cut into slices and create respective index file
Index file is added in index.m3u8 index files, and index file relation is as shown in Figure 1.In index.m3u8 index files
The middle index file for preserving each stream file.
In media file transcoding process, can storage catalogue and index.m3u8 index files be created according to name.When a certain
The media file of name carries out transcoding for the first time, then first creates storage catalogue and index.m3u8 index files, then transcoding output
Stream file simultaneously carries out it slicing treatment, the index file for creating section, is finally written to the index file of section
In index.m3u8 index files.
When there is the media file catalogue of the same name with needing transcoding, then it represents that had media file transcoding of the same name
Processing, it is only necessary to which transcoding exports stream file and to the index file of its slicing treatment, establishment section, then the index file by section
It is written in index.m3u8 index files.Video, audio and the subtitle of dynamic addition input can be realized in this way
Stream.
User selects video flowing, audio stream and caption stream, respectively from index.m3u8 ropes as needed when watching video
Section file is found in quotation part, and is sent to user.User when switching different options during use, again according to
Address in index.m3u8 index files sends new content to user.
A kind of system of media file transcoding generation multitone rail multi-subtitle on-demand content, including:
Input unit, for input medium file;
Transcoder, for input medium file, and by its video, audio and subtitle respectively transcoding export to obtain video flowing,
Audio stream and subtitle stream files;
Section unit, for carrying out slicing treatment to different stream files;
First generation unit, for generating index file corresponding from the section of different stream files;
Judging unit, for judging whether index.m3u8 index files;
Second generation unit, for generating index.m3u8 index files;
Processing unit, for the index file of video flowing, audio stream and caption stream to be recorded in index.m3u8 indexes text
In part;
Broadcast unit, for being selected to play corresponding file stream respectively according to index.m3u8 index files.
The course of work of the system is as follows:
Media file is inputted from input unit to transcoder, and then by transcoder by the video of media file, audio and word
Transcoding exports to obtain video flowing, audio stream and subtitle stream files curtain respectively, and section unit carries out slicing treatment to these stream files,
During section by the first generation unit generation and the corresponding index file of section, then judging unit judge whether
Index.m3u8 index files, if in the presence of the index file of video flowing, audio stream and caption stream is recorded in by processing unit
In index.m3u8 index files;If being not present, the second generation unit generation index.m3u8 index files, and then will regard again
The index file of frequency stream, audio stream and caption stream is recorded in index.m3u8 index files;End user according to
Selection plays corresponding file stream to index.m3u8 index files respectively on broadcast unit.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto,
Any one skilled in the art in the technical scope disclosed by the present invention, the change or replacement that can be readily occurred in,
It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with scope of the claims
Subject to.
Claims (2)
1. a kind of method of media file transcoding generation multitone rail multi-subtitle on-demand content, in trans-coding system, to video, sound
Frequency and subtitle carry out transcoding, which is characterized in that comprise the following steps:
S1, input medium file;
S2 distinguishes transcoding, transcoding outputting video streams, audio stream and subtitle stream files to the video of media file, audio and subtitle;
S3 carries out slicing treatment to different stream files, and creates corresponding index file;
S4 judges whether index.m3u8 index files, if in the presence of by the index of video flowing, audio stream and caption stream
File is written to index.m3u8 index files;If being not present, storage catalogue and index.m3u8 indexes are created according to name
File, then the index file of video flowing, audio stream and caption stream is written in index.m3u8 index files;
S5 during user plays, selects to play corresponding file stream according to index.m3u8 index files respectively.
2. a kind of system of media file transcoding generation multitone rail multi-subtitle on-demand content, which is characterized in that including:
Input unit, for input medium file;
Transcoder, for transcoding to export to obtain video flowing, audio stream and subtitle respectively by the video of media file, audio and subtitle
Stream file;
Section unit, for carrying out slicing treatment to different stream files;
First generation unit, for generating index file corresponding from the section of different stream files;
Judging unit, for judging whether index.m3u8 index files;
Second generation unit, for generating index.m3u8 index files;
Processing unit, for the index file of video flowing, audio stream and caption stream to be recorded in index.m3u8 index files;
Broadcast unit, for being selected to play corresponding file stream respectively according to index.m3u8 index files.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711225515.1A CN108055574A (en) | 2017-11-29 | 2017-11-29 | Media file transcoding generates the method and system of multitone rail multi-subtitle on-demand content |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711225515.1A CN108055574A (en) | 2017-11-29 | 2017-11-29 | Media file transcoding generates the method and system of multitone rail multi-subtitle on-demand content |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108055574A true CN108055574A (en) | 2018-05-18 |
Family
ID=62121164
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711225515.1A Pending CN108055574A (en) | 2017-11-29 | 2017-11-29 | Media file transcoding generates the method and system of multitone rail multi-subtitle on-demand content |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108055574A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111601142A (en) * | 2020-05-08 | 2020-08-28 | 青岛海信传媒网络技术有限公司 | Subtitle display method and display equipment |
CN113315931A (en) * | 2021-07-06 | 2021-08-27 | 伟乐视讯科技股份有限公司 | HLS stream-based data processing method and electronic equipment |
CN113938706A (en) * | 2020-07-14 | 2022-01-14 | 华为技术有限公司 | Method and system for adding subtitles and/or audios |
CN114900718A (en) * | 2022-07-12 | 2022-08-12 | 深圳市华曦达科技股份有限公司 | Multi-region perception automatic multi-subtitle realization method, device and system |
WO2022253079A1 (en) * | 2021-06-01 | 2022-12-08 | 中兴通讯股份有限公司 | Hls stream-based subtitle display method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102760464A (en) * | 2011-04-29 | 2012-10-31 | 腾讯科技(深圳)有限公司 | Method and device for displaying FLASH video file subtitles |
CN103024528A (en) * | 2013-01-07 | 2013-04-03 | 杭州浦禾通信技术有限公司 | Mobile terminal and method for transmitting streaming media data on mobile terminal |
WO2014033504A1 (en) * | 2012-09-03 | 2014-03-06 | Wijetunga Sagara | Method and system for segmenting and separately package audio, video, subtitle and metadata |
CN105898517A (en) * | 2015-12-15 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Caption display control method and device |
CN106331753A (en) * | 2015-06-30 | 2017-01-11 | 意法半导体国际有限公司 | Synchronized rendering of split multimedia content on network clients |
-
2017
- 2017-11-29 CN CN201711225515.1A patent/CN108055574A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102760464A (en) * | 2011-04-29 | 2012-10-31 | 腾讯科技(深圳)有限公司 | Method and device for displaying FLASH video file subtitles |
WO2014033504A1 (en) * | 2012-09-03 | 2014-03-06 | Wijetunga Sagara | Method and system for segmenting and separately package audio, video, subtitle and metadata |
CN103024528A (en) * | 2013-01-07 | 2013-04-03 | 杭州浦禾通信技术有限公司 | Mobile terminal and method for transmitting streaming media data on mobile terminal |
CN106331753A (en) * | 2015-06-30 | 2017-01-11 | 意法半导体国际有限公司 | Synchronized rendering of split multimedia content on network clients |
CN105898517A (en) * | 2015-12-15 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Caption display control method and device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111601142A (en) * | 2020-05-08 | 2020-08-28 | 青岛海信传媒网络技术有限公司 | Subtitle display method and display equipment |
CN111601142B (en) * | 2020-05-08 | 2022-03-01 | 青岛海信传媒网络技术有限公司 | Subtitle display method and display equipment |
CN113938706A (en) * | 2020-07-14 | 2022-01-14 | 华为技术有限公司 | Method and system for adding subtitles and/or audios |
WO2022012521A1 (en) * | 2020-07-14 | 2022-01-20 | 华为技术有限公司 | Method and system for adding subtitles and/or audios |
WO2022253079A1 (en) * | 2021-06-01 | 2022-12-08 | 中兴通讯股份有限公司 | Hls stream-based subtitle display method and device |
CN113315931A (en) * | 2021-07-06 | 2021-08-27 | 伟乐视讯科技股份有限公司 | HLS stream-based data processing method and electronic equipment |
CN113315931B (en) * | 2021-07-06 | 2022-03-11 | 伟乐视讯科技股份有限公司 | HLS stream-based data processing method and electronic equipment |
CN114900718A (en) * | 2022-07-12 | 2022-08-12 | 深圳市华曦达科技股份有限公司 | Multi-region perception automatic multi-subtitle realization method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108055574A (en) | Media file transcoding generates the method and system of multitone rail multi-subtitle on-demand content | |
JP7103402B2 (en) | Information processing equipment and information processing method | |
US10366725B2 (en) | Server side crossfading for progressive download media | |
US9445136B2 (en) | Signaling characteristics of segments for network streaming of media data | |
US9135953B2 (en) | Method for creating, editing, and reproducing multi-object audio contents files for object-based audio service, and method for creating audio presets | |
CN105814900B (en) | System and method for managing adjacent channel in adaptive streaming environment | |
US20130262693A1 (en) | Methods and apparatus for segmenting, distributing, and resegmenting adaptive rate content streams | |
CN103024603B (en) | A kind of for solving playing network video time the device and method that pauses in short-term | |
WO2008141215A1 (en) | Subtitle data customization and exposure | |
JP6508206B2 (en) | INFORMATION PROCESSING APPARATUS AND METHOD | |
CN103299616A (en) | Reproduction device, method for controlling reproduction device, generation device, method for controlling generation device, recording medium, data structure, control program, and recording medium containing said program | |
CN104244023A (en) | Video cloud editing system and method | |
CN105828096A (en) | Media stream file processing method and device | |
WO2021065277A1 (en) | Information processing device, reproduction processing device, and information processing method | |
JP7226335B2 (en) | Information processing device, information processing method and program | |
CN106463139A (en) | Decoding device, decoding method, and program | |
KR20160113270A (en) | Signaling and handling of forensic marking for adaptive streaming | |
JP2021129127A (en) | Reception device, transmission device, reception method, transmission method, and program | |
KR101603976B1 (en) | Method and apparatus for concatenating video files | |
KR101744974B1 (en) | Method and apparatus for representing common attribute for a plurality of content elements in hypertext transfer protocol streaming service | |
US11823714B2 (en) | Server side crossfading for progressive download media | |
JP2022133163A (en) | Content generation device, reception device, and program | |
JP2019121037A (en) | Information processing device, information processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180518 |
|
RJ01 | Rejection of invention patent application after publication |