CN111147895A - TB-level video transcoding method based on cloud computing - Google Patents

TB-level video transcoding method based on cloud computing Download PDF

Info

Publication number
CN111147895A
CN111147895A CN201911349596.5A CN201911349596A CN111147895A CN 111147895 A CN111147895 A CN 111147895A CN 201911349596 A CN201911349596 A CN 201911349596A CN 111147895 A CN111147895 A CN 111147895A
Authority
CN
China
Prior art keywords
video
transcoding
bos
tool
cloud
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
Application number
CN201911349596.5A
Other languages
Chinese (zh)
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.)
Xi'an Tianmutual Communication Co Ltd
Original Assignee
Xi'an Tianmutual Communication 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 Xi'an Tianmutual Communication Co Ltd filed Critical Xi'an Tianmutual Communication Co Ltd
Priority to CN201911349596.5A priority Critical patent/CN111147895A/en
Publication of CN111147895A publication Critical patent/CN111147895A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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/27Server based end-user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a TB-level video transcoding method based on cloud computing, which comprises the following steps of: s1, uploading the video file to an object storage BOS by using a BOSCMD tool; step S2, obtaining all the video files by using the SDK provided by the cloud platform, and traversing to a local database; s3, capturing data in real time through a Python tool, generating an automatic execution script, and pushing the automatic execution script to an audio and video transcoding VOD from the object storage BOS; and step S4, acquiring the case with the transcoding failure, pulling the data to a local database, correspondingly generating an automatic execution script, and removing the audio file and the video file with the transcoding failure. According to the invention, the video files are transcoded by means of the BOS CMD tool and the Python tool, so that a large number of video files are transcoded simultaneously and quickly transferred to a cloud platform, and the storage cost of the video files is greatly reduced.

Description

TB-level video transcoding method based on cloud computing
Technical Field
The invention relates to the technical field of video transcoding, in particular to a TB-level video transcoding method based on cloud computing.
Background
With the continuous iterative update of the mobile internet technology and the coming of the 5G era, people gradually move information knowledge from traditional paper books to the internet and to the mobile terminal. The online education mode is a second choice for many people to develop the function education. Live broadcasting is a common learning mode, and due to time asymmetry, many people often choose video on demand learning. Many large online education institutions have their own video libraries, which are typically stored inside the institution, and with the increase in data volume, the cost of storing video inevitably increases. In the existing video transcoding method, if a large number of processed files are not all video files, the pressure on a transcoding server is very large, and a large number of video files can be transcoded unsuccessfully.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a TB-level video transcoding method based on cloud computing, aiming at the defects in the prior art, so as to realize simultaneous transcoding and fast migration of large-batch video files to a cloud platform.
In order to solve the technical problems, the technical scheme of the invention is as follows:
a TB-level video transcoding method based on cloud computing comprises the following steps:
step S1, uploading the video file to an object storage BOS by using a BOS CMD tool;
step S2, obtaining all the video files by using the SDK provided by the cloud platform, and traversing to a local database;
s3, capturing data in real time through a Python tool, generating an automatic execution script, and pushing the automatic execution script to an audio and video transcoding VOD from the object storage BOS;
and step S4, acquiring the case with the transcoding failure, pulling the data to a local database, correspondingly generating an automatic execution script, and removing the audio file and the video file with the transcoding failure.
Preferably, in step S1, the BOS CMD tool is a Baidu cloud BOS CMD tool, and the object storage BOS is used for managing and processing the video file.
Preferably, in the step S2, the SDK is a software development kit.
Preferably, in the step S2, the traversing to the local database includes traversing and inserting the video file into the local database through a Python tool.
Preferably, in the step S3, the audio/video transcoding VOD is an audio/video transcoder.
Preferably, in step S4, the generating the corresponding automated execution script includes generating the automated execution script according to the data corresponding.
By adopting the technical scheme, the cloud-computing-based TB-level video transcoding method provided by the invention transcodes video files by means of a BOS CMD tool and a Python tool, so that a large number of (10W +, 7TB +) video files are transcoded simultaneously, a large number of video files are transcoded simultaneously and rapidly transferred to a cloud platform, the storage cost of the video files is greatly reduced, and the transcoding efficiency is high.
Drawings
Fig. 1 is a flowchart of a TB-level video transcoding method based on cloud computing according to the present invention;
fig. 2 is a flowchart of a TB-level video transcoding method based on cloud computing according to a first embodiment of the present invention.
Detailed Description
The following further describes embodiments of the present invention with reference to the drawings. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
As shown in fig. 1, in a flowchart of a TB-level video transcoding method based on cloud computing according to the present invention, the TB-level video transcoding method based on cloud computing includes the following steps: step S1, uploading the video file to an object storage BOS by using a BOS CMD tool; step S2, obtaining all the video files by using the SDK provided by the cloud platform, and traversing to a local database; s3, capturing data in real time through a Python tool, generating an automatic execution script, and pushing the automatic execution script to an audio and video transcoding VOD from the object storage BOS; and step S4, acquiring the case with the transcoding failure, pulling the data to a local database, correspondingly generating an automatic execution script, and removing the audio file and the video file with the transcoding failure. The BOS CMD tool is a Baidu cloud BOS CMD tool, the object storage BOS is used for managing and processing the video file, and a user can configure parameters for task operation of the video through configuration files or commands; the SDK is a software development kit; traversing to the local database comprises traversing the video file through a Python tool and inserting the video file into the local database; the audio and video transcoding VOD is an audio and video transcoder; the correspondingly generating the automated execution script includes correspondingly generating the automated execution script according to the data. It can be understood that the invention can solve the problem of fast uploading and transcoding of large-batch (10W + video, 7 TB) video files of clients.
Specifically, fig. 2 is a flowchart of a TB-level video transcoding method based on cloud computing according to a first embodiment of the present invention, and with reference to fig. 1 and fig. 2, after the batch transcoding in the first step is completed, the batch deletion needs to be performed on the file with failed transcoding. Of course, if all the video files in the file package do not have the defect, the method only marks the core operation part.
It can be understood that, in practical application, in a normal state, the local video can be directly uploaded to the audio-video-on-demand VOD platform for transcoding. However, when the amount of client data is large, this operation is not realistic, and if the number of videos is 10W +, this operation must be implemented by means of a tool. Firstly, uploading a video file to an object storage BOS by using a BOS CMD tool; then, obtaining all files by using the SDK provided by the cloud platform, and traversing to a local database; a user can capture data in real time through a Python tool, generate an automatic execution script and push the automatic execution script from an object storage BOS to an audio and video transcoding VOD; and the VOD control center for decompiling the audio and video transcoding acquires the case with the transcoding failure, pulls the data to the local, correspondingly generates an automatic execution script, and removes the audio and video file with the transcoding failure. Specifically, the invention aims to realize simultaneous transcoding of a large number of (10W +, 7TB +) video files, realize rapid migration of a large number of files to a cloud platform, greatly reduce the storage cost of the video files and improve the transcoding efficiency of the video files.
It should be noted that, for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the order of acts described, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and elements referred to are not necessarily required in this application.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a ROM, a RAM, etc.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the described embodiments. It will be apparent to those skilled in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, and the scope of protection is still within the scope of the invention.

Claims (6)

1. A TB-level video transcoding method based on cloud computing is characterized by comprising the following steps: the method comprises the following steps:
step S1, uploading the video file to an object storage BOS by using a BOS CMD tool;
step S2, obtaining all the video files by using the SDK provided by the cloud platform, and traversing to a local database;
s3, capturing data in real time through a Python tool, generating an automatic execution script, and pushing the automatic execution script to an audio and video transcoding VOD from the object storage BOS;
and step S4, acquiring the case with the transcoding failure, pulling the data to a local database, correspondingly generating an automatic execution script, and removing the audio file and the video file with the transcoding failure.
2. The cloud-computing-based TB-level video transcoding method of claim 1, wherein said method comprises: in step S1, the BOS CMD tool is a Baidu cloud BOS CMD tool, and the object storage BOS is configured to manage and process the video file.
3. The cloud-computing-based TB-level video transcoding method of claim 1, wherein said method comprises: in the step S2, the SDK is a software development kit.
4. The cloud-computing-based TB-level video transcoding method of claim 1, wherein said method comprises: in the step S2, the traversing to the local database includes traversing and inserting the video file into the local database through a Python tool.
5. The cloud-computing-based TB-level video transcoding method of claim 1, wherein said method comprises: in the step S3, the audio/video transcoding VOD is an audio/video transcoder.
6. The cloud-computing-based TB-level video transcoding method of claim 1, wherein said method comprises: in step S4, the generating the corresponding automated execution script includes generating the automated execution script according to the data corresponding.
CN201911349596.5A 2019-12-24 2019-12-24 TB-level video transcoding method based on cloud computing Pending CN111147895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911349596.5A CN111147895A (en) 2019-12-24 2019-12-24 TB-level video transcoding method based on cloud computing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911349596.5A CN111147895A (en) 2019-12-24 2019-12-24 TB-level video transcoding method based on cloud computing

Publications (1)

Publication Number Publication Date
CN111147895A true CN111147895A (en) 2020-05-12

Family

ID=70519775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911349596.5A Pending CN111147895A (en) 2019-12-24 2019-12-24 TB-level video transcoding method based on cloud computing

Country Status (1)

Country Link
CN (1) CN111147895A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050078961A (en) * 2004-02-03 2005-08-08 삼성전자주식회사 Apparatus and method processing call in voice/data integration switching system
CN103379362A (en) * 2012-04-24 2013-10-30 腾讯科技(深圳)有限公司 Video-on-demand method and system
US20160198226A1 (en) * 2005-04-18 2016-07-07 Mark Sinclair Krebs Multimedia System For Mobile Client Platforms
CN106210611A (en) * 2015-04-30 2016-12-07 中国电信股份有限公司 A kind of for playing the method for video, video monitoring platform and system
CN106453658A (en) * 2016-12-08 2017-02-22 北京君泰家安科技有限公司 Online education platform
CN107295084A (en) * 2017-06-26 2017-10-24 深圳水晶石数字科技有限公司 A kind of video editing system and method based on high in the clouds
CN107635156A (en) * 2017-10-27 2018-01-26 杭州当虹科技有限公司 A kind of carousel system and carousel operation flow method based on distributed structure/architecture
CN109257631A (en) * 2018-09-30 2019-01-22 武汉斗鱼网络科技有限公司 Video carousel playback method, device, computer equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050078961A (en) * 2004-02-03 2005-08-08 삼성전자주식회사 Apparatus and method processing call in voice/data integration switching system
US20160198226A1 (en) * 2005-04-18 2016-07-07 Mark Sinclair Krebs Multimedia System For Mobile Client Platforms
CN103379362A (en) * 2012-04-24 2013-10-30 腾讯科技(深圳)有限公司 Video-on-demand method and system
CN106210611A (en) * 2015-04-30 2016-12-07 中国电信股份有限公司 A kind of for playing the method for video, video monitoring platform and system
CN106453658A (en) * 2016-12-08 2017-02-22 北京君泰家安科技有限公司 Online education platform
CN107295084A (en) * 2017-06-26 2017-10-24 深圳水晶石数字科技有限公司 A kind of video editing system and method based on high in the clouds
CN107635156A (en) * 2017-10-27 2018-01-26 杭州当虹科技有限公司 A kind of carousel system and carousel operation flow method based on distributed structure/architecture
CN109257631A (en) * 2018-09-30 2019-01-22 武汉斗鱼网络科技有限公司 Video carousel playback method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US10743008B2 (en) Video file transcoding system, segmentation method, and transcoding method and apparatus
US10389971B2 (en) Embedding video content in portable document format files
US11159790B2 (en) Methods, apparatuses, and systems for transcoding a video
CN103974061B (en) A kind of method of testing and system play
WO2021068105A1 (en) Pre-production systems for making movies, tv shows and multimedia contents
US20200192866A1 (en) Connecting storyboard system to editorial system
WO2016125366A1 (en) Image processing device, image processing system, and image processing method
WO2022093950A1 (en) Automated post-production editing for user-generated multimedia contents
US11812121B2 (en) Automated post-production editing for user-generated multimedia contents
US10289677B2 (en) Systems and methods for using a program schedule to facilitate modifying closed-captioning text
US20180091826A1 (en) Simultaneous Encoding and Sending of a Video Data File
US20240013811A1 (en) Video processing method and apparatus
US20150358653A1 (en) Method and apparatus for processing audio/video file
CN104318467A (en) Food material information input method for intelligent refrigerator
US20230362425A1 (en) Evolutionary parameter optimization for selecting optimal personalized screen carousels
CN111147895A (en) TB-level video transcoding method based on cloud computing
US20170264685A1 (en) Distribution method, distribution request method, and information processing device
US20220191345A1 (en) System and method for determining compression rates for images comprising text
US10158598B2 (en) Social interaction data preservation for augmented photos
EP2306346A1 (en) Device and method for processing information
CN114025190B (en) Multi-code rate scheduling method and multi-code rate scheduling device
CN114565767A (en) Image segmentation method and device
EP2860733A1 (en) Multimedia file playback method, playback apparatus and system
US20140300983A1 (en) Media storage and management system
US20220377126A1 (en) Distributed network recording system with multi-user audio manipulation and editing

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200512