Video file processing method, device, video server and system

A technology for video files and processing methods, applied in the field of communications, can solve the problems of video transcoding time, etc., and achieve the effect of solving the long time transcoding and shortening the transcoding time.

Active Publication Date: 2018-08-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the problem of relatively long video transcoding time in the prior art, the embodiment of the present invention provides a video file processing method, device, video server and system

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
  • Video file processing method, device, video server and system
  • Video file processing method, device, video server and system
  • Video file processing method, device, video server and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] see figure 1 , a method for processing a video file is provided in the present embodiment, the method comprising:

[0059] 101. Acquire a video file, and divide the video file into at least two video sub-files;

[0060] 102. Send the at least two video sub-files to a transcoding service unit for transcoding respectively, and obtain the at least two video sub-files transcoded by the transcoding service unit;

[0061] 103. Obtain a transcoded video file according to the at least two transcoded video subfiles.

[0062] Optionally, the acquisition of video files includes:

[0063] receiving a request for playing a video file initiated by a terminal, and obtaining the video file according to the request for playing a video file initiated by the terminal;

[0064] Optionally, after obtaining the transcoded video file according to the at least two transcoded video subfiles, further comprising:

[0065] returning the transcoded video file to the terminal, so that the termin...

Embodiment 2

[0080] This embodiment provides a method for processing a video file. The terminal initiates a video playback request, the transcoding service unit transcodes the video, and the terminal plays the transcoded video in real time. The processing method of the video file provided in this embodiment is based on a kind of distributed system, and this distributed system comprises the server of the video website that provides video service for the terminal, video server and a plurality of transcoding service units, each transcoding service unit Both can communicate with the video server. Wherein, the server of the video website receives the request of the terminal to play the video, and further sends the request to the video server, and the video server obtains the video file according to the received request, and further divides the video file into at least two video sub-files, and divides the video The sub-file is sent to the transcoding service unit for transcoding. In this embodi...

Embodiment 3

[0101] This embodiment provides a method for processing video files, and the method provided in this embodiment is also based on the distributed system described in Embodiment 2, so this embodiment will not repeat it. There is no need for the terminal to initiate a video playback request. When there is a video that has not been transcoded in the video website, the server of the video website sends a video transcoding request to the transcoding service unit to transcode the video, and the server of the video website saves the video. Transcoded video files, when the terminal requests to play the video, it can directly play the transcoded video file without sending a transcoding request to the transcoding service unit, which further reduces the waiting time for the end user to play the video request, and since the video file has been completely transcoded, the problem of relatively long video buffering time due to video sub-file transcoding failure will not occur during video play...

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 discloses a video file processing method, device, video server and system, belonging to the technical field of communication. The method includes: acquiring a video file, dividing the video file into at least two video sub-files; sending the at least two video sub-files to a transcoding service unit for transcoding respectively, and obtaining at least two transcoding service A transcoded video subfile of the unit; a transcoded video file is obtained according to the at least two transcoded video subfiles. In the present invention, the entire video file is divided into multiple video sub-files for transcoding respectively. When a video sub-file fails to be transcoded, it will not affect the transcoding of other video sub-files. Just transcoding, no need to re-transcode the entire video file, which greatly shortens the transcoding time of the video file.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a video file processing method, device, video server and system. Background technique [0002] At present, video services are quite popular on the Internet. Many video websites can provide users with rich video resources. Users can find their favorite video files on the video websites and click to play to watch them. However, the video files stored on the video website are all stored with predetermined codes. When the user clicks to play the video, the video files stored on the video website need to be re-encoded and decoded. [0003] In order to speed up the process of video encoding and decoding, most of the existing solutions are that the terminal sends the video file to a single server for transcoding. If the task fails or the server fails during the transcoding, the video file is transferred to other servers. Re-transcode on the Internet, and return to the video file ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04N21/2343H04N21/238
Inventor 徐郑
Owner TENCENT TECH (SHENZHEN) CO LTD
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