CN105657451B - Uploaded videos file is carried out at the same time the method and system of transcoding - Google Patents

Uploaded videos file is carried out at the same time the method and system of transcoding Download PDF

Info

Publication number
CN105657451B
CN105657451B CN201610029593.3A CN201610029593A CN105657451B CN 105657451 B CN105657451 B CN 105657451B CN 201610029593 A CN201610029593 A CN 201610029593A CN 105657451 B CN105657451 B CN 105657451B
Authority
CN
China
Prior art keywords
file
transcoding
server
binary data
request
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.)
Active
Application number
CN201610029593.3A
Other languages
Chinese (zh)
Other versions
CN105657451A (en
Inventor
张颖
曹航瑞
马幸晖
黄柑波
严穗东
吴权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianyi Digital Life Technology Co Ltd
Original Assignee
CENTURY DRAGON INFORMATION NETWORK Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by CENTURY DRAGON INFORMATION NETWORK Co Ltd filed Critical CENTURY DRAGON INFORMATION NETWORK Co Ltd
Priority to CN201610029593.3A priority Critical patent/CN105657451B/en
Publication of CN105657451A publication Critical patent/CN105657451A/en
Application granted granted Critical
Publication of CN105657451B publication Critical patent/CN105657451B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440236Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234327Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by decomposing into layers, e.g. base layer and one or more enhancement layers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to the method and system that a kind of uploaded videos file is carried out at the same time transcoding, wherein, the method that uploaded videos file is carried out at the same time transcoding includes the following steps:According to the local file information that client is uploaded by data transmission channel, complete file is virtually obtained, the URL of complete file is sent to transcoding server;It receives transcoding server and request is downloaded according to the document misregistration amount that URL is sent, client is transmitted to by instructing transmission channel that document misregistration amount is downloaded request;It receives client and request reading and the binary data of file uploaded is downloaded according to document misregistration amount;Binary data is recorded, and binary data is transmitted to transcoding server according to preset format;Transcoding is carried out to the binary data received by transcoding server.The present invention can greatly improve the speed of transcoding response, reduce the standby time of transcoding server, improve the utilization rate of transcoding server.

Description

Uploaded videos file is carried out at the same time the method and system of transcoding
Technical field
The present invention relates to video data communication technologies, and the side of transcoding is carried out at the same time more particularly to a kind of uploaded videos file Method and system.
Background technology
Video file there are many different coding form and different quality scales, existing mobile Internet/internet, The different applications such as mobile phone, PC, TV field, complicated network environment and irregular terminal processing capacity so as to video text Part is other than coded format, the also demand of the different quality rank of the parameters such as code check, pixel.
In order to meet the broadcasting demand in different application field, need video file carrying out multiple conversions, to generate difference The target video file of form, different quality rank.Transcoding:Video Transcoding Technology is by vision signal from a kind of format conversion into another A kind of form.There are two the critical functions towards different field for its tool.It is to be realized between traditional equipment and emerging equipment first Communication.For example, many existing video conferencing systems are H.263 established based on old video encoding standard, and newest regard Frequency conference system employs H.264 Baseline Profiles.Therefore, real-time video transcoding technology be realize communicate between the two must can not Few factor.Traditional technology is usually that video file completely first is uploaded to file server according to byte order, using HTTP Or File Transfer Protocol realizes that upload operation, video file upload reinform transcoding server and go to access file server after finishing, and obtains The data of video file is taken to carry out transcoding.In specific implementation, the video file of upload is subjected to transcoding, general there are two sides Method:1) after single file uploads, transcoding server is notified, reading file by transcoding server carries out transcoding.2) multiple files After upload, batch notifies transcoding server, and starting multiple transcoding process batches by transcoding server reads file progress transcoding.
During realization, inventor has found that at least there are the following problems in traditional technology:Two above code-transferring method, it is right One video file is required to first to wait for entire file upload to finish and is handled again, this when, transcoding server was idle , less efficient, the response time of wherein method two is slower, and efficiency is minimum.
Invention content
Based on this, it is necessary to the problem of transcoding efficiency is low, the reaction time is slow is carried out to video file in traditional technology, The method and system that a kind of uploaded videos file is carried out at the same time transcoding is provided.
To achieve these goals, the embodiment of technical solution of the present invention is:
On the one hand, a kind of method that uploaded videos file is carried out at the same time transcoding is provided, is included the following steps:
According to the local file information that client is uploaded by data transmission channel, complete file is virtually obtained, it will be complete The URL of file is sent to transcoding server;Local file information includes file name, the byte-sized of file and file header letter Breath;
It receives transcoding server and request is downloaded according to the document misregistration amount that URL is sent, by instructing transmission channel by file Offset downloads request and is transmitted to client;
It receives client and request reading and the binary data of file uploaded is downloaded according to document misregistration amount;According to default Form records binary data, and binary data is transmitted to transcoding server;By transcoding server to receive two into Data processed carry out transcoding;Preset format includes file identification, start offset amount and uploads Bytes.
On the one hand, a kind of method that uploaded videos file is carried out at the same time transcoding is additionally provided, is included the following steps:
Local file information is uploaded to file server by data transmission channel;By file server according to local file Information virtually obtains complete file, and the URL of complete file is sent to transcoding server;Local file information includes filename Title, the byte-sized of file and File header information;
It receives file server and request is downloaded by the document misregistration amount that transmission channel is instructed to forward;Document misregistration amount is downloaded Ask what is sent for transcoding server according to URL;
The binary data of request reading file is downloaded according to document misregistration amount, binary number is recorded according to preset format According to, and binary data is sent to file server;By file server by binary data be transmitted to transcoding server into Row transcoding;Preset format includes file identification, start offset amount and uploads Bytes.
On the other hand, the system that a kind of uploaded videos file is carried out at the same time transcoding is provided, including:
Virtual file module, for the local file information uploaded according to client by data transmission channel, virtual To complete file, the URL of complete file is sent to transcoding server;Word of the local file information including file name, file Save size and File header information;
Request module is forwarded, request is downloaded, and pass through according to the document misregistration amount that URL is sent for receiving transcoding server Document misregistration amount is downloaded request and is transmitted to client by instruction transmission channel;
Data module is recorded, request reading and upload the two of file are downloaded according to document misregistration amount for receiving client Binary data;Binary data is recorded, and binary data is transmitted to transcoding server according to preset format;By transcoding service Device carries out transcoding to the binary data received;Wherein, preset format includes file identification, start offset amount and upload Bytes。
On the other hand, the system that a kind of uploaded videos file is carried out at the same time transcoding is provided, including:
Upload information module uploads local file information for passing through data transmission channel to file server;By file Server virtually obtains complete file, and the URL of complete file is sent to transcoding server according to local file information;Part Fileinfo includes file name, the byte-sized of file and File header information;
Client receiving module is downloaded for receiving file server by the document misregistration amount that transmission channel is instructed to forward Request;Document misregistration amount downloads what request was sent for transcoding server according to URL;
Data module is read, for downloading the binary data of request reading file according to document misregistration amount;According to default Form records binary data, and binary data is sent to file server;Binary data is turned by file server It issues transcoding server and carries out transcoding;Preset format includes file identification, start offset amount and uploads Bytes.
Above-mentioned technical proposal has the advantages that:
Uploaded videos file of the present invention is carried out at the same time the method and system of transcoding, when file uploads, file server end Fictionalize a file, without etc. to be uploaded finish can start transcoding.The file read according to required for transcoding The data of offset location carry out the upload of corresponding data, turn so that video file starts quickly to start in upload Code effectively shortens the response time of video code conversion task.Video carries out transcoding range after uploading is very extensive, and the present invention can The speed of transcoding response is greatly improved, reduces the standby time of transcoding server, improves the utilization rate of transcoding server.
Description of the drawings
Fig. 1 is that the method that the uploaded videos file that the present invention is realized from file server end angle is carried out at the same time transcoding is implemented The flow diagram of example 1;
Fig. 2 is the embodiment of the method 1 that the uploaded videos file that the present invention is realized from client angle is carried out at the same time transcoding Flow diagram;
Fig. 3 is that the system that the uploaded videos file that the present invention is realized from file server end angle is carried out at the same time transcoding is implemented The structure diagram of example 1;
Fig. 4 is the system embodiment 1 that the uploaded videos file that the present invention is realized from client angle is carried out at the same time transcoding Structure diagram;
Fig. 5 is the schematic diagram for one specific embodiment of method and system that uploaded videos file of the present invention is carried out at the same time transcoding.
Specific embodiment
For the ease of understanding the present invention, the present invention is described more fully below with reference to relevant drawings.In attached drawing Give the preferred embodiment of the present invention.But the present invention can realize in many different forms, however it is not limited to this paper institutes The embodiment of description.On the contrary, the purpose for providing these embodiments is made to the disclosure more thorough and comprehensive.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention The normally understood meaning of technical staff is identical.Term used in the description of the invention herein is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term as used herein " and/or " including one or more phases The arbitrary and all combination of the Listed Items of pass.
The uploaded videos file that the present invention is realized from file server end angle is carried out at the same time the embodiment of the method 1 of transcoding:
Transcoding efficiency is low, the reaction time is slow in order to solve the problems, such as to carry out video file in traditional technology, and the present invention carries A kind of uploaded videos file realized from file server angle has been supplied to be carried out at the same time the embodiment of the method 1 of transcoding;Fig. 1 is this hair The bright uploaded videos file realized from file server end angle is carried out at the same time the flow diagram of the embodiment of the method 1 of transcoding; As shown in Figure 1, it may comprise steps of:
Step S110:According to the local file information that client is uploaded by data transmission channel, complete text is virtually obtained Part, by URL (the Uniform Resoure Locator of complete file:Uniform resource locator) it is sent to transcoding server;Office Portion's fileinfo includes file name, the byte-sized of file and File header information;
Step S120:It receives transcoding server and request is downloaded according to the document misregistration amount that URL is sent, by instructing transmission logical Document misregistration amount is downloaded into request and is transmitted to client in road;
Step S130:It receives client and request reading and the binary number of file uploaded is downloaded according to document misregistration amount According to;Binary data is recorded, and binary data is transmitted to transcoding server according to preset format;It is docked by transcoding server The binary data received carries out transcoding;Preset format includes file identification, start offset amount and uploads Bytes (byte).
Generally, a complete file includes:File name, the byte-sized of file, File header information and entire text The binary data of part.In the present embodiment, file server virtually obtains the specific technical solution of complete file, in a tool Can be in the embodiment of body:File server receives file name, the byte-sized of file, the file header letter of client upload Breath, but the binary data of entire file is also in the client, at this time there are no uploading to file server, but for turning The download request of code server, file server return to all fileinfo, including file name, the byte-sized of file, (this part by client is uploaded and obtained the binary data of File header information and entire file, is then forwarded to transcoding clothes Business device).Therefore possess the content-data of complete fileinfo and file from the angle of transcoding server, file server, That is a complete file.So as to which the embodiment of the present invention be made to without waiting for uploading to finish that transcoding can be started.
In a specific embodiment, step S120 can specifically include step:
It receives document misregistration amount and downloads request, the parameter area of request is downloaded according to document misregistration amount, obtain document misregistration The numerical value of amount;
By the numerical value of document misregistration amount by the way that transmission channel is instructed to be sent to client.
In above-mentioned two step, file server is by asking the HTTP (hypertext transfer protocol of transcoding server: HyperText Transfer Protocol) request parameter Range (range), obtain document misregistration amount numerical value;Specific shape Formula is for example:Bytes=4923749-, i.e. circular document the server transmission data since 4923749 bytes of file.Client The position of the numerical value of document misregistration amount, i.e. document misregistration amount read required for transcoding can be got by file server, The upload of corresponding data is carried out according to the position, so that video file starts quickly start transcoding in upload, is had Effect shortens the response time of video code conversion task.
In a specific embodiment, the present embodiment can also include step:
Session connection is established with client;Session connection includes data transmission channel and instruction transmission channel.
The concrete methods of realizing of this step is:Plug-in unit is uploaded (wherein, on special by special upload client end AP P or Web It can be integrated with the client for uploading plug-in unit to pass client), by the plug-in unit and upload server (upload server can be for File server provides session interface and the server of storage and retrieval file service) establish two http sessions connection, one Item is instruction transmission channel, and one is data transmission channel.
Plug-in unit in the embodiment of the present invention can be using being run on the browsers such as IE of writing of ActiveX language should With program, there is the ability essentially identical with normal client end, such as (the ActiveX plug-in units such as network communication, reading local disk It has been traditional technology, therefore not to repeat here).
The uploaded videos file that the present invention is realized from client angle is carried out at the same time the embodiment of the method 1 of transcoding:
For the technical solution that the present invention is further explained, the present invention also provides a kind of from the upper of client angle realization Pass the embodiment of the method 1 that video file is carried out at the same time transcoding;Fig. 2 is the uploaded videos file that the present invention is realized from client angle It is carried out at the same time the flow diagram of the embodiment of the method 1 of transcoding;As shown in Fig. 2, step can be included:
Step S210:Local file information is uploaded to file server by data transmission channel;By file server root Complete file is virtually obtained, and the URL of complete file is sent to transcoding server according to local file information;Local file information Including file name, the byte-sized of file and File header information;
Step S220:It receives file server and request is downloaded by the document misregistration amount that transmission channel is instructed to forward;File Offset downloads what request was sent for transcoding server according to URL;
Step S230:The binary data of request reading file is downloaded according to document misregistration amount, is recorded according to preset format Binary data, and binary data is sent to file server;Binary data is transmitted to transcoding by file server Server carries out transcoding;Preset format includes file identification, start offset amount and uploads Bytes.
In a specific embodiment, step S230 can specifically include:
It obtains file server and the numerical value of document misregistration amount that the parameter area asked obtains is downloaded according to document misregistration amount;
According to the numerical value of document misregistration amount read file binary data, record binary data offset location and Bytes is uploaded, and binary data is uploaded to file server.
In above-mentioned steps, since client can get the document misregistration read required for transcoding by file server Position is measured, the upload of corresponding data is carried out according to the position, so that video file starts quickly to start in upload Transcoding;The relevant information of binary data uploaded is stored simultaneously, it is inclined to prepare to proceed to respond to the file of transcoder transmission Shifting amount downloads request, until the entire video file of client is uploaded to file server, in this process transcoding server simultaneously The transcoding of this document is carried out, so as to reduce the standby time of transcoding server, improves the utilization rate of transcoding server.
In a specific embodiment, step can also be included:
Session connection is established with file server;Session connection includes data transmission channel and instruction transmission channel.
Specifically, this step can be accomplished by the following way:Client end AP P or Web upload plug-in unit, by the plug-in unit with (upload server can provide session interface and the clothes of storage and retrieval file service for file server to upload server Business device) two http session connections are established, one is instruction transmission channel, and one is data transmission channel.And by plug-in unit with The technology that server establishes session connection belongs to traditional technology, seldom repeats herein.
The uploaded videos file that the present invention is realized from file server end angle is carried out at the same time the system embodiment 1 of transcoding:
The technology that the method for transcoding is carried out at the same time based on the uploaded videos file realized above from file server angle is thought Think, the present invention provides the system embodiments 1 that the uploaded videos file realized from file server angle is carried out at the same time transcoding;Figure 3 are carried out at the same time the structure of the system embodiment 1 of transcoding for the uploaded videos file of the invention realized from file server end angle Schematic diagram;As shown in figure 3, it can include:
Virtual file module 310, for the local file information uploaded according to client by data transmission channel, virtually Complete file is obtained, the URL of complete file is sent to transcoding server;Local file information includes file name, file Byte-sized and File header information;
Request module 320 is forwarded, request is downloaded according to the document misregistration amount that URL is sent for receiving transcoding server, and Client is transmitted to by instructing transmission channel that document misregistration amount is downloaded request;
Data module 330 is recorded, request reading and the file uploaded are downloaded according to document misregistration amount for receiving client Binary data;Binary data is recorded, and binary data is transmitted to transcoding server according to preset format;By transcoding Server carries out transcoding to the binary data received;Wherein, preset format includes file identification, start offset amount and upload Bytes。
In a specific embodiment, can also include:
Conversation module 340 is established, for establishing session connection with client;Session connection includes data transmission channel and refers to Enable transmission channel.
The uploaded videos file that the present invention is realized from client angle is carried out at the same time the system embodiment 1 of transcoding:
In order to further illustrate technical scheme of the present invention, and based on the uploaded videos text realized above from client angle Part is carried out at the same time the technological thought of the method for transcoding, and the present invention also provides the uploaded videos file realized from client angle is same The system embodiment 1 of Shi Jinhang transcodings;Fig. 4 is that the uploaded videos file that the present invention is realized from client angle is carried out at the same time transcoding System embodiment 1 structure diagram;As shown in figure 4, it can include:
Upload information module 410 uploads local file information for passing through data transmission channel to file server;By text Part server virtually obtains complete file, and the URL of complete file is sent to transcoding server according to local file information;Office Portion's fileinfo includes file name, the byte-sized of file and File header information;
Client receiving module 420, for receive file server by instruct transmission channel forward document misregistration amount Download request;Document misregistration amount downloads what request was sent for transcoding server according to URL;
Data module 430 is read, for downloading the binary data of request reading file according to document misregistration amount;According to pre- If form records binary data, and binary data is sent to file server;By file server by binary data It is transmitted to transcoding server and carries out transcoding;Preset format includes file identification, start offset amount and uploads Bytes.
In a specific embodiment, data module is read, specifically for obtaining file server according to document misregistration Amount downloads the numerical value of document misregistration amount that the parameter area of request obtains;According to the numerical value of document misregistration amount read file two into Data processed record the offset location of binary data and upload Bytes, and binary data is uploaded to file server.
In order to more specifically show the realization process of technical solution of the present invention, it is special with client, file server and For interactive process between transcoding server three, illustrate the specific implementation flow of technical solution of the present invention;Fig. 5 is the present invention Uploaded videos file is carried out at the same time the schematic diagram of one specific embodiment of method and system of transcoding, as shown in Figure 5:
(1) plug-in unit is uploaded using special upload client end AP P or Web, which establishes two HTTP with upload server Session connection, one is instruction transmission channel, and one is data transmission channel.Special upload client first passes through data transmission and leads to Road uploads file name, byte-sized, the low volume datas such as file header, then file server according to these data in upload service A virtual complete file on device, this file open the URL of virtual file through but not limited to the mode of HTTP connections To transcoding server.
(2) after transcoding server obtains the URL of the virtual file, to file server in a manner of normally downloading HTTP interface transmission Web downloads request and HTTP seek document misregistrations amount downloads request (the i.e. document misregistration amount download of HTTP Request), and pass through the parameter Range (range) for the HTTP request for asking transcoding server, obtain the numerical value of document misregistration amount.
(3) after file server receives the HTTP request of transcoding server, by the document misregistration amount of this HTTP request Numerical value be sent to special upload client by instructing transmission channel, client is moved according to the document misregistration numerical quantity of HTTP Then the reading pointer of local file starts to read the binary data of file, then the number read out to same position According to being sent to file server, and the offset of the binary data of file server is successfully uploaded in local record Position and the Bytes uploaded;In a specific embodiment, the record format used is (filename/file ID rises Beginning offset uploads Bytes) triple;In addition, the record format can also include other such as file identifications, file attribute Etc. contents.
(4) after file server receives the data of client upload, while record this document has uploaded to clothes The offset location of the binary data of business device and the Bytes uploaded;In a specific embodiment, the record used Form is (filename/file ID, uploads Bytes at start offset amount) triple.
(5) simultaneously, file server is downloaded the HTTP seek document misregistrations amount of the correspondence transcoding server received and is asked The data (binary data for being uploaded to file server by the above process by client) asked are transmitted to transcoding by HTTP Server.
(6) transcoding server obtains required video data and carries out transcoding.
(7) above process is uploaded to file server until the entire video file of client, in this process transcoding service Device is carried out at the same time the transcoding of this document.
The embodiment of the present invention fictionalizes a file when file uploads, by file server end, without It can start transcoding etc. to be uploaded finish.The data of document misregistration amount position read according to required for transcoding carry out corresponding number According to upload so that video file starts quickly start transcoding in upload, effectively shorten video code conversion task Response time.Video carries out transcoding range after uploading is very extensive, and the present invention, which proposes a kind of uploaded videos and is carried out at the same time, to be turned The method and system of code can greatly improve the speed of transcoding response, reduce the standby time of transcoding server, improve transcoding clothes The utilization rate of business device.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, it is all considered to be the range of this specification record.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that those of ordinary skill in the art are come It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of method that uploaded videos file is carried out at the same time transcoding, which is characterized in that include the following steps:
File server receives the local file information that client uploads, and complete text is virtually obtained according to the local file information The URL of the complete file is sent to transcoding server by part;Word of the local file information including file name, file Section size and File header information, the local file information are uploaded by data transmission channel;
File server receives the transcoding server and is downloaded according to the document misregistration amount that the fileinfo that the URL is obtained is sent Request is transmitted to the client by instructing transmission channel that the document misregistration amount is downloaded request;
File server receive the client according to the document misregistration amount download request read and upload the two of file into Data processed;The binary data is recorded, and the binary data is transmitted to the transcoding server according to preset format; Transcoding is carried out to the binary data received by the transcoding server;The preset format includes file identification, rises Beginning offset and upload Bytes.
2. the method that uploaded videos file according to claim 1 is carried out at the same time transcoding, which is characterized in that receive described turn Code server downloads request according to the document misregistration amount that the fileinfo that the URL is obtained is sent, by instructing transmission channel will The document misregistration amount, which is downloaded, asks to specifically include the step of being transmitted to the client:
It receives the document misregistration amount and downloads request, the parameter area of request is downloaded according to the document misregistration amount, obtain file The numerical value of offset;
The numerical value of the document misregistration amount is sent to the client by described instruction transmission channel.
3. the method that uploaded videos file according to claim 1 is carried out at the same time transcoding, which is characterized in that further include step Suddenly:
Session connection is established with the client;The session connection includes the data transmission channel and described instruction transmission is logical Road.
4. a kind of method that uploaded videos file is carried out at the same time transcoding, which is characterized in that include the following steps:
Client uploads local file information to file server;By the file server according to local file information void Plan obtains complete file, and the URL of the complete file is sent to transcoding server;The local file information includes file Title, the byte-sized of file and File header information, the local file information are uploaded by data transmission channel;
Client receives the file server and downloads request by the document misregistration amount that transmission channel is instructed to forward;The file Offset downloads what request was sent for the transcoding server according to the fileinfo that the URL is obtained;
Client downloads the binary data of request reading file according to the document misregistration amount, according to recording preset format Binary data, and the binary data is sent to the file server;By the file server by described two into Data forwarding processed carries out transcoding to the transcoding server;The preset format includes file identification, start offset amount and upload Bytes。
5. the method that uploaded videos file according to claim 4 is carried out at the same time transcoding, which is characterized in that according to the text Part offset downloads the binary data that file is read in request, and the binary data is recorded, and by described according to preset format Binary data is sent to the step of file server and specifically includes:
It obtains the file server and the document misregistration amount that the parameter area asked obtains is downloaded according to the document misregistration amount Numerical value;
The binary data of file is read according to the numerical value of the document misregistration amount, records the offset bit of the binary data Bytes is put and uploaded, and the binary data is uploaded to the file server.
6. the method that uploaded videos file according to claim 4 is carried out at the same time transcoding, which is characterized in that further include step Suddenly:
Session connection is established with the file server;The session connection includes the data transmission channel and described instruction passes Defeated channel.
7. a kind of system that uploaded videos file is carried out at the same time transcoding, which is characterized in that including:
Virtual file module for the local file information uploaded according to client by data transmission channel, has virtually obtained The URL of the complete file is sent to transcoding server by whole file;The local file information includes file name, file Byte-sized and File header information;
Request module is forwarded, it is inclined according to the file that the fileinfo that the URL is obtained is sent for receiving the transcoding server Shifting amount downloads request, and passes through and instruct transmission channel that document misregistration amount download request is transmitted to the client;
Data module is recorded, request reading and the file uploaded are downloaded according to the document misregistration amount for receiving the client Binary data;The binary data is recorded, and the binary data is transmitted to the transcoding according to preset format Server;Transcoding is carried out to the binary data received by the transcoding server;Wherein, the preset format includes File identification, start offset amount and upload Bytes.
8. the system that uploaded videos file according to claim 7 is carried out at the same time transcoding, which is characterized in that further include:
Conversation module is established, for establishing session connection with the client;The session connection is led to including the data transmission Road and described instruction transmission channel.
9. a kind of system that uploaded videos file is carried out at the same time transcoding, which is characterized in that including:
Upload information module uploads local file information for passing through data transmission channel to file server;By the file Server virtually obtains complete file, and the URL of the complete file is sent to transcoding clothes according to the local file information Business device;The local file information includes file name, the byte-sized of file and File header information;
Client receiving module is downloaded for receiving the file server by the document misregistration amount that transmission channel is instructed to forward Request;The document misregistration amount downloads what request was sent for the transcoding server according to the fileinfo that the URL is obtained;
Data module is read, for downloading the binary data of request reading file according to the document misregistration amount;According to default Form records the binary data, and the binary data is sent to the file server;By the file service The binary data is transmitted to the transcoding server and carries out transcoding by device;The preset format includes file identification, starting Offset and upload Bytes.
10. the system that uploaded videos file according to claim 9 is carried out at the same time transcoding, which is characterized in that the reading Data module, for obtaining the file that the file server is obtained according to the parameter area of document misregistration amount download request The numerical value of offset;The binary data of file is read according to the numerical value of the document misregistration amount, records the binary data Offset location and upload Bytes, and the binary data is uploaded to the file server.
CN201610029593.3A 2016-01-14 2016-01-14 Uploaded videos file is carried out at the same time the method and system of transcoding Active CN105657451B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610029593.3A CN105657451B (en) 2016-01-14 2016-01-14 Uploaded videos file is carried out at the same time the method and system of transcoding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610029593.3A CN105657451B (en) 2016-01-14 2016-01-14 Uploaded videos file is carried out at the same time the method and system of transcoding

Publications (2)

Publication Number Publication Date
CN105657451A CN105657451A (en) 2016-06-08
CN105657451B true CN105657451B (en) 2018-06-22

Family

ID=56487426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610029593.3A Active CN105657451B (en) 2016-01-14 2016-01-14 Uploaded videos file is carried out at the same time the method and system of transcoding

Country Status (1)

Country Link
CN (1) CN105657451B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174226B (en) * 2017-12-19 2020-11-10 平安科技(深圳)有限公司 Transcoding device and method for live video and computer readable storage medium
CN109714597A (en) * 2019-01-22 2019-05-03 成都神州数码索贝科技有限公司 A kind of lossless video compression method
CN114143569B (en) * 2021-11-18 2024-02-27 聚好看科技股份有限公司 Webpage recording and live broadcasting method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635635A (en) * 2009-08-25 2010-01-27 北京原力创新科技有限公司 Cloud mode streaming media service platform
CN102045312A (en) * 2009-10-21 2011-05-04 三星电子(中国)研发中心 Self-adaptative transcoding method and system
CN102123279A (en) * 2010-12-28 2011-07-13 乐视网信息技术(北京)股份有限公司 Distributed real-time transcoding method and system
CN102497370A (en) * 2011-12-12 2012-06-13 深圳市融创天下科技股份有限公司 Method and system for publication and on demand of media program in mobile Internet
CN102780918A (en) * 2012-08-15 2012-11-14 华数传媒网络有限公司 Video distributed coding format converting method
CN102811373A (en) * 2011-05-30 2012-12-05 上海圣炅商务咨询有限公司 Method for carrying out video broadcast on Internet and mobile Internet by mobile terminal
CN102882829A (en) * 2011-07-11 2013-01-16 腾讯科技(深圳)有限公司 Transcoding method and system
CN103838779A (en) * 2012-11-27 2014-06-04 深圳市腾讯计算机系统有限公司 Idle computing resource multiplexing type cloud transcoding method and system and distributed file device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120102154A1 (en) * 2010-10-26 2012-04-26 Futurewei Technologies, Inc. Cloud-Based Transcoding Platform Systems and Methods

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635635A (en) * 2009-08-25 2010-01-27 北京原力创新科技有限公司 Cloud mode streaming media service platform
CN102045312A (en) * 2009-10-21 2011-05-04 三星电子(中国)研发中心 Self-adaptative transcoding method and system
CN102123279A (en) * 2010-12-28 2011-07-13 乐视网信息技术(北京)股份有限公司 Distributed real-time transcoding method and system
CN102811373A (en) * 2011-05-30 2012-12-05 上海圣炅商务咨询有限公司 Method for carrying out video broadcast on Internet and mobile Internet by mobile terminal
CN102882829A (en) * 2011-07-11 2013-01-16 腾讯科技(深圳)有限公司 Transcoding method and system
CN102497370A (en) * 2011-12-12 2012-06-13 深圳市融创天下科技股份有限公司 Method and system for publication and on demand of media program in mobile Internet
CN102780918A (en) * 2012-08-15 2012-11-14 华数传媒网络有限公司 Video distributed coding format converting method
CN103838779A (en) * 2012-11-27 2014-06-04 深圳市腾讯计算机系统有限公司 Idle computing resource multiplexing type cloud transcoding method and system and distributed file device

Also Published As

Publication number Publication date
CN105657451A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN108848060B (en) Multimedia file processing method, processing system and computer readable storage medium
US8621099B2 (en) Systems and methods for formatting media content for distribution
CA2841377C (en) Video transcoding services provided by searching for currently transcoded versions of a requested file before performing transcoding
US20140165119A1 (en) Offline download method, multimedia file download method and system thereof
JP5897134B2 (en) Mobile multimedia real-time transcoding system, apparatus, storage medium, and method
EP2151970B1 (en) Processing and supplying video data
EP2288114B1 (en) Method and apparatus for providing and receiving contents via network, method and apparatus for backing up data via network, backup data providing device, and backup system
CN102006368B (en) Streaming media audio file play method based on mobile terminal memory card cache technology
KR20150106961A (en) Using quality information for adaptive streaming of media content
CN102571726A (en) Multimedia data sharing method, system and state judgment server
CN105657451B (en) Uploaded videos file is carried out at the same time the method and system of transcoding
CN111831246A (en) Screen projection method, device, equipment and storage medium based on 5G network
CN109992564A (en) Document storage system and method
CN111510790B (en) Video request method, system, computer device and computer readable storage medium
CN108769830B (en) Method for caching video and related equipment
CN103152606A (en) Video file processing method, device and system
CN110290396A (en) A kind of method, apparatus, system, equipment and the storage medium of video processing
CN106375319A (en) Audio and video transcoding scheduling method, apparatus, device and system
CN113079386A (en) Video online playing method and device, electronic equipment and storage medium
CN110659006B (en) Cross-screen display method and device, electronic equipment and readable storage medium
CN105338371A (en) Multimedia transcoding scheduling method and apparatus
US20100161708A1 (en) System of providing contents information on idle-mode screen of mobile terminal using personal computer of functioning as server, method thereof and computer readable record medium on which program for executing method is recorded
EP3989082A1 (en) Multimedia file storage and access method
CN112953944A (en) Audio-video transcoding method based on MapReduce
CN113094165A (en) Method for increasing speed of loading application program at cloud end

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220302

Address after: Room 1423, No. 1256 and 1258, Wanrong Road, Jing'an District, Shanghai 200040

Patentee after: Tianyi Digital Life Technology Co.,Ltd.

Address before: 1 / F and 2 / F, East Garden, Huatian International Plaza, 211 Longkou Middle Road, Tianhe District, Guangzhou, Guangdong 510630

Patentee before: Century Dragon Information Network Co.,Ltd.

TR01 Transfer of patent right