CN110728116A - Method and device for generating audio files of video file - Google Patents

Method and device for generating audio files of video file Download PDF

Info

Publication number
CN110728116A
CN110728116A CN201911009040.1A CN201911009040A CN110728116A CN 110728116 A CN110728116 A CN 110728116A CN 201911009040 A CN201911009040 A CN 201911009040A CN 110728116 A CN110728116 A CN 110728116A
Authority
CN
China
Prior art keywords
dubbing
target
video file
generating
file
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.)
Granted
Application number
CN201911009040.1A
Other languages
Chinese (zh)
Other versions
CN110728116B (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.)
Shenzhen Dianmao Technology Co Ltd
Original Assignee
Shenzhen Dianmao Technology 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 Shenzhen Dianmao Technology Co Ltd filed Critical Shenzhen Dianmao Technology Co Ltd
Priority to CN201911009040.1A priority Critical patent/CN110728116B/en
Publication of CN110728116A publication Critical patent/CN110728116A/en
Application granted granted Critical
Publication of CN110728116B publication Critical patent/CN110728116B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for generating a video file dubbing manuscript, wherein the method comprises the following steps: acquiring a target video file, wherein the target video file is compiled by a teaching and research staff according to a specified format; extracting all original contents of the target video file and formats corresponding to the original contents, and screening and matching all the original contents; and generating a target dubbing draft for dubbing by dubbing personnel from the original content left after screening and matching. The invention solves the following problems in the prior art: the process of collating dubbing drafts by dubbing personnel is time-consuming and labor-consuming, and because of the difference of dubbing roles, a plurality of collated dubbing drafts need to be exported.

Description

Method and device for generating audio files of video file
Technical Field
The invention relates to the technical field of internet application, in particular to a method and a device for generating a dubbing manuscript of a video file.
Background
In the existing workflow, in order to complete the production of the curriculum video, the instructor and the developer will deliver the video to the video personnel after writing the finished video file. The video personnel can arrange a dubbing manuscript according to the video file and deliver the dubbing manuscript to the corresponding dubbing personnel. In this process, many information that is not related to dubbing, such as codes and pictures in the course and some video production related labels and diagrams, needs to be filtered out. However, the process of dubbing by dubbing personnel is time-consuming and labor-consuming, and because of different dubbing roles, a plurality of pieces of finished dubbing documents need to be exported and distributed to different dubbing personnel, which increases communication cost invisibly.
Disclosure of Invention
The embodiment of the invention provides a method and a device for generating a dubbing manuscript of a video file, which aim to solve the problems that in the prior art, the process of arranging the dubbing manuscript by dubbing personnel is time-consuming and labor-consuming, and a plurality of arranged dubbing manuscripts need to be exported due to different dubbing roles.
In order to solve the above technical problem, a first technical solution adopted in the embodiments of the present invention is as follows:
a method for generating a video file dubbing manuscript comprises the following steps: acquiring a target video file, wherein the target video file is compiled by a teaching and research staff according to a specified format; extracting all original contents of the target video file and formats corresponding to the original contents, and screening and matching all the original contents; and generating a target dubbing draft for dubbing by dubbing personnel from the original content left after screening and matching.
Optionally, after generating a dubbing draft for dubbing performed by a dubbing staff from the original content remaining after the filtering and matching, the method includes: and combining the content of the target dubbing draft with a preset style to generate a target dubbing file, and generating a corresponding target HTML file from the target dubbing file by a template rendering method.
Optionally, after the content of the target dubbing manuscript is combined with a preset style to generate a target dubbing file, and the target dubbing file is generated into a corresponding target HTML file by a template rendering method, the method includes: uploading the target HTML file to a designated server; and receiving a target access link which is returned by the specified server and corresponds to the target HTML file.
Optionally, after receiving the target access link corresponding to the target HTML file returned by the designated server, the method includes: and sending the target access link to a specified address for the dubbing staff to view the target HTML file.
Optionally, the extracting all original contents of the target video copy and the format corresponding to the original contents includes: and extracting all the original contents corresponding to the target video file and formats corresponding to all the original contents according to the original codes corresponding to the target video file.
Optionally, the screening and matching all the original contents includes: and screening and matching all the original contents by using a specified screening and matching method, wherein the specified screening and matching method comprises a regular expression method and a label matching method.
Optionally, the designated servers include a qiri cloud server and an ariicloud server.
In order to solve the above technical problem, a second technical solution adopted in the embodiments of the present invention is as follows:
a device for generating a dubbing script for a video document, comprising: the file acquisition module is used for acquiring a target video file which is compiled by teaching and research personnel according to a specified format; the content extraction module is used for extracting all original contents of the target video file and formats corresponding to the original contents, and screening and matching all the original contents; and the dubbing draft generating module is used for generating the original contents left after screening and matching into a target dubbing draft for dubbing personnel to dub.
In order to solve the above technical problem, a third technical solution adopted in the embodiments of the present invention is as follows:
a computer-readable storage medium having stored thereon a computer program which, when executed, implements the method of generating a dubbing script for a video document as described above.
In order to solve the above technical problem, a fourth technical solution adopted in the embodiments of the present invention is as follows:
a computer device comprising a processor, a memory and a computer program stored on the memory and operable on the processor, the processor executing the computer program to implement the method for generating a dubbing manuscript for a video file as described above.
The embodiment of the invention has the beneficial effects that: different from the situation in the prior art, the embodiment of the present invention obtains the target video file, the target video file is compiled by the instructor according to the specified format, extracts all the original contents of the target video file and the format corresponding to the original contents, screens and matches all the original contents, and finally generates the remaining original contents after the screening and matching into the target dubbing draft for dubbing by the dubbing staff, thereby solving the following problems in the prior art: the process of collating dubbing drafts by dubbing personnel is time-consuming and labor-consuming, and because of the difference of dubbing roles, a plurality of collated dubbing drafts need to be exported.
Drawings
Fig. 1 is a flowchart illustrating an implementation of a method for generating a dubbing manuscript of a video file according to a first embodiment of the present invention;
fig. 2 is a partial structural frame diagram of an embodiment of a device for generating a dubbing manuscript for a video file according to a second embodiment of the present invention;
FIG. 3 is a partial structural framework diagram of an embodiment of a computer-readable storage medium according to a third embodiment of the present invention;
fig. 4 is a partial structural framework diagram of an embodiment of a computer device according to a fourth embodiment of the present invention.
Detailed Description
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a method for generating a dubbing manuscript in a video file according to an embodiment of the present invention, which can be obtained by referring to fig. 1, and the method for generating a dubbing manuscript in a video file according to the present invention includes:
step S101: and acquiring a target video file, wherein the target video file is compiled by a teaching and research staff according to a specified format.
Step S102: and extracting all original contents of the target video file and formats corresponding to the original contents, and screening and matching all the original contents.
Step S103: and generating a target dubbing draft for dubbing by dubbing personnel from the original content left after screening and matching.
In this embodiment, optionally, after generating a dubbing draft for dubbing performed by a dubbing person from the original content remaining after the filtering and matching, the method includes:
and combining the content of the target dubbing draft with a preset style to generate a target dubbing file, and generating a corresponding target HTML file from the target dubbing file by a template rendering method.
Among them, HTML (Hyper Text Markup Language) is a tile constituting the Web world, and defines the meaning and structure of Web contents. Hypertext markup language, an application under standard universal markup language. "hypertext" refers to the non-textual elements that may contain pictures, links, and even music and programs within a page. The structure of the hypertext markup language includes a "Head" part (english: Head) that provides information about a web page, and a "Body" part (english: Body) that provides specific contents of the web page.
In this embodiment, optionally, after generating a target dubbing file by combining the content of the target dubbing manuscript with a preset style and generating a corresponding target HTML file from the target dubbing file by using a template rendering method, the method includes:
uploading the target HTML file to a designated server; and receiving a target access link which is returned by the specified server and corresponds to the target HTML file.
In this embodiment, optionally, after receiving the target access link corresponding to the target HTML file returned by the specified server, the method includes:
and sending the target access link to a specified address for the dubbing staff to view the target HTML file.
In this embodiment, optionally, the extracting all the original content of the target video copy and the format corresponding to the original content includes:
and extracting all the original contents corresponding to the target video file and formats corresponding to all the original contents according to the original codes corresponding to the target video file.
In this embodiment, optionally, the screening and matching all the original contents includes:
and screening and matching all the original contents by using a specified screening and matching method, wherein the specified screening and matching method comprises a regular expression method and a label matching method.
Regular expressions, also called regular expressions, are a concept of computer science, and regular expressions are generally used to retrieve and replace texts that conform to a certain pattern (rule). In particular, a regular expression is a logical formula for operating on character strings (including common characters (e.g., letters between a and z) and special characters (called "meta characters"), i.e., a "regular character string" is formed by using specific characters defined in advance and a combination of the specific characters, and the "regular character string" is used for expressing a filtering logic for the character strings.
In this embodiment, optionally, the designated server includes a qili cloud server and an arii cloud server.
In summary, in this embodiment, only the instructor needs to write the video file according to the specified format, and the video producer can use the method of the present invention to automatically complete the generation of the dubbing manuscript, and filter out all the information irrelevant to dubbing, so as to generate an on-line dubbing manuscript with beautiful style and convenient reading. In addition, the invention can distribute the dubbing drafts to all dubbing staff in the form of webpage links without file transmission and any content modification, and can also be synchronized to the cloud, thereby avoiding repeatedly sending the dubbing draft files.
The embodiment of the invention solves the following problems in the prior art by acquiring the target video file which is compiled by the instructor according to the specified format, extracting all original contents of the target video file and the format corresponding to the original contents, screening and matching all the original contents, and finally generating the remaining original contents after screening and matching into the target dubbing draft for dubbing by the dubbing personnel: the process of collating dubbing drafts by dubbing personnel is time-consuming and labor-consuming, and because of the difference of dubbing roles, a plurality of collated dubbing drafts need to be exported.
Example two
Referring to fig. 2, fig. 2 is a partial structural frame diagram of an apparatus for generating a dubbing manuscript in a video file according to an embodiment of the present invention, which can be obtained by referring to fig. 2, and the apparatus 100 for generating a dubbing manuscript in a video file according to an embodiment of the present invention includes:
and the document acquiring module 110 is configured to acquire a target video document, where the target video document is written by a teacher according to a specified format.
The content extraction module 120 is configured to extract all original contents of the target video copy and formats corresponding to the original contents, and screen and match all the original contents.
And a dubbing draft generating module 130, configured to generate a target dubbing draft for dubbing by the dubbing staff, from the original content remaining after the filtering and matching.
The embodiment of the invention solves the following problems in the prior art by acquiring the target video file which is compiled by the instructor according to the specified format, extracting all original contents of the target video file and the format corresponding to the original contents, screening and matching all the original contents, and finally generating the remaining original contents after screening and matching into the target dubbing draft for dubbing by the dubbing personnel: the process of collating dubbing drafts by dubbing personnel is time-consuming and labor-consuming, and because of the difference of dubbing roles, a plurality of collated dubbing drafts need to be exported.
EXAMPLE III
Referring to fig. 3, a computer-readable storage medium 10 according to an embodiment of the present invention can be seen, where the computer-readable storage medium 10 includes: ROM/RAM, magnetic disk, optical disk, etc., on which a computer program 11 is stored, the computer program 11, when executed, implementing the method for generating a dubbing script for a video file according to an embodiment. Since the method for generating the dubbing manuscript of the video file has already been described in detail in the first embodiment, the description is not repeated here.
The method for generating the dubbing draft of the video file, which is realized by the embodiment of the invention, comprises the steps of obtaining the target video file which is compiled by teaching and research personnel according to a specified format, extracting all original contents of the target video file and formats corresponding to the original contents, screening and matching all the original contents, and finally generating the target dubbing draft for dubbing by the dubbing personnel according to the remaining original contents after screening and matching, thereby solving the following problems in the prior art: the process of collating dubbing drafts by dubbing personnel is time-consuming and labor-consuming, and because of the difference of dubbing roles, a plurality of collated dubbing drafts need to be exported.
Example four
Referring to fig. 4, a computer device 20 according to an embodiment of the present invention includes a processor 21, a memory 22, and a computer program 221 stored in the memory 22 and executable on the processor 21, where the processor 21 executes the computer program 221 to implement the method for generating a dubbing manuscript of a video file according to an embodiment. Since the method for generating the dubbing manuscript of the video file has already been described in detail in the first embodiment, the description is not repeated here.
The method for generating the dubbing draft of the video file, which is realized by the embodiment of the invention, comprises the steps of obtaining the target video file which is compiled by teaching and research personnel according to a specified format, extracting all original contents of the target video file and formats corresponding to the original contents, screening and matching all the original contents, and finally generating the target dubbing draft for dubbing by the dubbing personnel according to the remaining original contents after screening and matching, thereby solving the following problems in the prior art: the process of collating dubbing drafts by dubbing personnel is time-consuming and labor-consuming, and because of the difference of dubbing roles, a plurality of collated dubbing drafts need to be exported.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for generating a dubbing manuscript of a video file is characterized by comprising the following steps:
acquiring a target video file, wherein the target video file is compiled by a teaching and research staff according to a specified format;
extracting all original contents of the target video file and formats corresponding to the original contents, and screening and matching all the original contents;
and generating a target dubbing draft for dubbing by dubbing personnel from the original content left after screening and matching.
2. The method of claim 1, wherein the step of generating the dubbing draft for dubbing by the dubbing personnel comprises:
and combining the content of the target dubbing draft with a preset style to generate a target dubbing file, and generating a corresponding target HTML file from the target dubbing file by a template rendering method.
3. The method for generating a dubbing manuscript in a video file according to claim 1, wherein the generating a target dubbing file by combining the content of the target dubbing manuscript with a preset style, and generating a corresponding target HTML file from the target dubbing file by a template rendering method comprises:
uploading the target HTML file to a designated server;
and receiving a target access link which is returned by the specified server and corresponds to the target HTML file.
4. The method of claim 1, wherein after receiving the target access link corresponding to the target HTML file returned by the designated server, the method comprises:
and sending the target access link to a specified address for the dubbing staff to view the target HTML file.
5. The method of claim 1, wherein the extracting all original contents of the target video document and the format corresponding to the original contents comprises:
and extracting all the original contents corresponding to the target video file and formats corresponding to all the original contents according to the original codes corresponding to the target video file.
6. The method of claim 1, wherein said screening and matching all of said original content comprises:
and screening and matching all the original contents by using a specified screening and matching method, wherein the specified screening and matching method comprises a regular expression method and a label matching method.
7. The method of claim 3, wherein the designated server comprises a Cleveland server and an Alice server.
8. An apparatus for generating a dubbing script for a video file, comprising:
the file acquisition module is used for acquiring a target video file which is compiled by teaching and research personnel according to a specified format;
the content extraction module is used for extracting all original contents of the target video file and formats corresponding to the original contents, and screening and matching all the original contents;
and the dubbing draft generating module is used for generating the original contents left after screening and matching into a target dubbing draft for dubbing personnel to dub.
9. A computer-readable storage medium having stored thereon a computer program which, when executed, implements the method of generating a dubbing script for a video file according to any one of claims 1 to 7.
10. A computer device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for generating a dubbing manuscript for a video file according to any one of claims 1 to 7 when executing the computer program.
CN201911009040.1A 2019-10-23 2019-10-23 Method and device for generating video file dubbing manuscript Active CN110728116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911009040.1A CN110728116B (en) 2019-10-23 2019-10-23 Method and device for generating video file dubbing manuscript

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911009040.1A CN110728116B (en) 2019-10-23 2019-10-23 Method and device for generating video file dubbing manuscript

Publications (2)

Publication Number Publication Date
CN110728116A true CN110728116A (en) 2020-01-24
CN110728116B CN110728116B (en) 2023-12-26

Family

ID=69222841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911009040.1A Active CN110728116B (en) 2019-10-23 2019-10-23 Method and device for generating video file dubbing manuscript

Country Status (1)

Country Link
CN (1) CN110728116B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014141054A1 (en) * 2013-03-11 2014-09-18 Video Dubber Ltd. Method, apparatus and system for regenerating voice intonation in automatically dubbed videos
CN108228658A (en) * 2016-12-22 2018-06-29 阿里巴巴集团控股有限公司 It is a kind of to automatically generate the method, apparatus and electronic equipment for dubbing word
CN109119063A (en) * 2018-08-31 2019-01-01 腾讯科技(深圳)有限公司 Video dubs generation method, device, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014141054A1 (en) * 2013-03-11 2014-09-18 Video Dubber Ltd. Method, apparatus and system for regenerating voice intonation in automatically dubbed videos
CN108228658A (en) * 2016-12-22 2018-06-29 阿里巴巴集团控股有限公司 It is a kind of to automatically generate the method, apparatus and electronic equipment for dubbing word
CN109119063A (en) * 2018-08-31 2019-01-01 腾讯科技(深圳)有限公司 Video dubs generation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110728116B (en) 2023-12-26

Similar Documents

Publication Publication Date Title
US10671251B2 (en) Interactive eReader interface generation based on synchronization of textual and audial descriptors
US20130191728A1 (en) Systems, methods, and media for generating electronic books
US20200293266A1 (en) Platform for educational and interactive ereaders and ebooks
CN104903930A (en) Methods and systems for creating, delivering, using and leveraging integrated teaching and learning
CN104317563A (en) Online courseware cooperation development system
CN117436417A (en) Presentation generation method and device, electronic equipment and storage medium
Balk et al. IMPACT: working together to address the challenges involving mass digitization of historical printed text
CN110830851B (en) Method and device for making video file
Lush Managing accessible library web content
CN110728116A (en) Method and device for generating audio files of video file
CN106033348A (en) Webpage making method, device and electronic equipment
CN114973798A (en) Word learning card generation method and device
Calabrò et al. Book4All: A tool to make an e-book more accessible to students with vision/visual-impairments
Riga et al. An evaluation methodology of math-to-speech in non-English DAISY digital talking books
CN111027280A (en) Method and system for generating and rendering digital publication and readable storage medium
Eaves et al. Prototyping an Electronic Edition of William Blake’s Manuscript of Vala, or the Four Zoas: A Progress Report
Murphy Intermediality: experiencing the virtual text
Litta et al. DM Reviews-June 2018
McKie Screenwriting 2.0
Osborn et al. Dreamweaver CS5 Digital Classroom
Shelly et al. Microsoft Expression Web 3: Complete
Perez et al. Lab 1–MonarchPress Product Description
Lode Even Better Books with LaTeX the Agile Way in 2023: Streamline Your Writing Process and Connect with Readers from Day One
Chang The impact of XML in digital library development
Forrest Approaches to digital preservation: re-examining the recovery of the Chora of Metaponto, The Necropoleis

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
GR01 Patent grant
GR01 Patent grant