CN110728116B - Method and device for generating video file dubbing manuscript - Google Patents
Method and device for generating video file dubbing manuscript Download PDFInfo
- Publication number
- CN110728116B CN110728116B CN201911009040.1A CN201911009040A CN110728116B CN 110728116 B CN110728116 B CN 110728116B CN 201911009040 A CN201911009040 A CN 201911009040A CN 110728116 B CN110728116 B CN 110728116B
- Authority
- CN
- China
- Prior art keywords
- dubbing
- target
- file
- manuscript
- video 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000012216 screening Methods 0.000 claims abstract description 28
- 238000004590 computer program Methods 0.000 claims description 10
- 238000009877 rendering Methods 0.000 claims description 8
- 238000001914 filtration Methods 0.000 claims description 6
- 230000014509 gene expression Effects 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 3
- 101150034459 Parpbp gene Proteins 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 241000244987 Daiswa polyphylla Species 0.000 description 1
- 241000416918 Polyphylla Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
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 written by a researcher 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 staff from the residual original content after screening and matching. The invention solves the following problems in the prior art: the process of dubbing personnel to sort the dubbing manuscripts is very time-consuming and labor-consuming, and because of different dubbing roles, a plurality of sorted dubbing manuscripts need to be exported.
Description
Technical Field
The invention relates to the technical field of Internet application, in particular to a method and a device for generating a video file dubbing manuscript.
Background
In the existing workflow, in order to complete the production of course video, the instructor will deliver the video after writing the video file. And the video staff can sort a dubbing manuscript according to the video file and deliver the dubbing manuscript to the corresponding dubbing staff. In this process, many pieces of information that are irrelevant to dubbing, such as codes, pictures in courses, and labels and diagrams related to video production, need to be filtered and filtered. However, the process of dubbing a dubbing person to sort the dubbing manuscripts is very time-consuming and labor-consuming, and because of different dubbing roles, a plurality of sorted dubbing manuscripts need to be exported and distributed to different dubbing persons, which increases communication cost intangibly.
Disclosure of Invention
The embodiment of the invention provides a method and a device for generating a dubbing manuscript of a video file, which are used for solving the problems that in the prior art, a dubbing staff is very time-consuming and labor-consuming in the process of sorting the dubbing manuscript, and a plurality of sorted dubbing manuscripts need to be exported because of different dubbing roles.
In order to solve the technical problems, a first technical scheme adopted by the embodiment of the invention is as follows:
a method for generating a video file dubbing manuscript, comprising: acquiring a target video file, wherein the target video file is written by a researcher 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 staff from the residual original content after screening and matching.
Optionally, after the generating a dubbing manuscript for dubbing by a dubbing staff, the original content remaining after the filtering and matching includes: and combining the content of the target dubbing manuscript with a preset style to generate a target dubbing file, and generating a corresponding target HTML file from the target dubbing file through a template rendering method.
Optionally, after the combining the content of the target dubbing manuscript with the preset style to generate the target dubbing file and generating the corresponding target HTML file by using the template rendering method, the method includes: uploading the target HTML file to a designated server; and receiving a target access link corresponding to the target HTML file returned by the specified server.
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 designated address for the dubbing staff to view the target HTML file.
Optionally, the extracting all original content of the target video file and a 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.
Optionally, the filtering and matching all the original content 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 tag matching method.
Optionally, the specified server includes a paris cloud server and an ali cloud server.
In order to solve the technical problems, a second technical scheme adopted by the embodiment of the invention is as follows:
a generation apparatus of a video file dubbing manuscript, comprising: the document acquisition module is used for acquiring a target video document, wherein the target video document is written by a researcher 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 manuscript generation module is used for generating a target dubbing manuscript for dubbing by dubbing staff from the residual original content after screening and matching.
In order to solve the above technical problems, a third technical solution adopted in the embodiment of the present invention is as follows:
a computer-readable storage medium having stored thereon a computer program which, when executed, implements a method of generating a video file soundtrack as described above.
In order to solve the above technical problems, a fourth technical solution adopted in the embodiment of the present invention is as follows:
a computer device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the method of generating a video file soundtrack as described above when executing the computer program.
The embodiment of the invention has the beneficial effects that: different from the situation in the prior art, the embodiment of the invention obtains the target video file, compiles the target video file according to the appointed format by a researcher, extracts all original contents of the target video file and formats corresponding to the original contents, screens and matches all the original contents, and finally generates the residual original contents after screening and matching into the target dubbing manuscript for dubbing by dubbing staff, thereby solving the following problems in the prior art: the process of dubbing personnel to sort the dubbing manuscripts is very time-consuming and labor-consuming, and because of different dubbing roles, a plurality of sorted dubbing manuscripts need to be exported.
Drawings
Fig. 1 is a flowchart of an implementation of a method for generating a dubbing of a video file according to an embodiment of the present invention;
fig. 2 is a partial structure frame diagram of an implementation manner of a generating device for a video file dubbing manuscript in accordance with a second embodiment of the present invention;
FIG. 3 is a partial structural framework of an implementation of a computer readable storage medium according to a third embodiment of the present invention;
FIG. 4 is a partial structural frame diagram of an implementation of a computer device according to a fourth embodiment of the present invention.
Detailed Description
Example 1
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a method for generating a video file soundtrack according to an embodiment of the present invention, and may be obtained in conjunction with fig. 1, where the method for generating a video file soundtrack according to the present invention includes:
step S101: and obtaining a target video file, wherein the target video file is written by a researcher according to a specified format.
Step S102: 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 staff from the residual original content after screening and matching.
In this embodiment, optionally, after the generating a dubbing draft for dubbing by a dubbing staff, the generating a dubbing draft includes:
and combining the content of the target dubbing manuscript with a preset style to generate a target dubbing file, and generating a corresponding target HTML file from the target dubbing file through a template rendering method.
HTML (Hyper Text Markup Language ) is a tile that forms the Web world and defines the meaning and structure of Web page content. Hypertext markup language, a standard universal markup language. "hypertext" means that the page may contain pictures, links, and even non-text elements such as music and programs. The structure of the hypertext markup language includes a "header" 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 the combining the content of the target dubbing draft with the preset style to generate the target dubbing file and generating the corresponding target HTML file by using the template rendering method, the method includes:
uploading the target HTML file to a designated server; and receiving a target access link corresponding to the target HTML file returned by the specified server.
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 designated address for the dubbing staff to view the target HTML file.
In this embodiment, optionally, the extracting all original contents of the target video file and formats 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.
In this embodiment, optionally, the filtering and matching all the original content 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 tag matching method.
Regular expressions, also known as regular expressions, are a concept of computer science, and are commonly used to retrieve and replace text that conforms to a certain pattern (rule). Specifically, a regular expression is a logical formula that operates on strings (including common characters (e.g., letters between a and z) and special characters (called "meta-characters"), by forming a "regular string" with specific characters and combinations of the specific characters that are defined in advance, and this "regular string" is used to express a filtering logic for the string.
In this embodiment, optionally, the specified server includes a paris polyphylla server and an ari polyphylla server.
In summary, in this embodiment, only a researcher is required to write a video document according to a specified format, and a video producer can automatically complete the generation of the dubbing manuscript by using the method of the invention, and filter out all information irrelevant to the dubbing to generate an online dubbing manuscript with attractive style and convenient reading. In addition, the invention can distribute the dubbing manuscript to all dubbing staff in the form of web page link without file transmission, and can synchronize to the cloud end with any content modification, thereby avoiding repeated transmission of the dubbing manuscript file.
According to the embodiment of the invention, the target video file is written by a researcher according to the appointed format, all original contents of the target video file and the format corresponding to the original contents are extracted, all original contents are screened and matched, and finally, the rest original contents after being screened and matched are generated into the target dubbing draft for dubbing by a dubbing person, so that the following problems in the prior art are solved: the process of dubbing personnel to sort the dubbing manuscripts is very time-consuming and labor-consuming, and because of different dubbing roles, a plurality of sorted dubbing manuscripts need to be exported.
Example two
Referring to fig. 2, fig. 2 is a partial structural frame diagram of a video file dubbing generation apparatus according to an embodiment of the present invention, and may be obtained with reference to fig. 2, where a video file dubbing generation apparatus 100 according to an embodiment of the present invention includes:
the document acquisition module 110 is configured to acquire a target video document, where the target video document is written by a researcher according to a specified format.
The content extraction module 120 is configured to extract all original contents of the target video file and formats corresponding to the original contents, and filter and match all the original contents.
And the dubbing draft generation module 130 is configured to generate a target dubbing draft for dubbing by a dubbing staff from the original content remaining after the filtering and the matching.
According to the embodiment of the invention, the target video file is written by a researcher according to the appointed format, all original contents of the target video file and the format corresponding to the original contents are extracted, all original contents are screened and matched, and finally, the rest original contents after being screened and matched are generated into the target dubbing draft for dubbing by a dubbing person, so that the following problems in the prior art are solved: the process of dubbing personnel to sort the dubbing manuscripts is very time-consuming and labor-consuming, and because of different dubbing roles, a plurality of sorted dubbing manuscripts need to be exported.
Example III
Referring to fig. 3, a computer readable storage medium 10 according to an embodiment of the present invention may 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, which computer program 11, when executed, implements the video file dubbing generation method as described in embodiment one. Since the method for generating the dubbing manuscript of the video file has been described in detail in the first embodiment, a description thereof will not be repeated here.
The method for generating the dubbing manuscript of the video file, which is realized by the embodiment of the invention, comprises the steps of obtaining a target video file, compiling the target video file according to a designated format by a researcher, 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 residual original contents after screening and matching into the target dubbing manuscript for dubbing by the dubbing staff, thereby solving the following problems in the prior art: the process of dubbing personnel to sort the dubbing manuscripts is very time-consuming and labor-consuming, and because of different dubbing roles, a plurality of sorted dubbing manuscripts need to be exported.
Example IV
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 capable of running on the processor 21, wherein the processor 21 implements the method for generating a video file soundtrack according to the first embodiment when executing the computer program 221. Since the method for generating the dubbing manuscript of the video file has been described in detail in the first embodiment, a description thereof will not be repeated here.
The method for generating the dubbing manuscript of the video file, which is realized by the embodiment of the invention, comprises the steps of obtaining a target video file, compiling the target video file according to a designated format by a researcher, 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 residual original contents after screening and matching into the target dubbing manuscript for dubbing by the dubbing staff, thereby solving the following problems in the prior art: the process of dubbing personnel to sort the dubbing manuscripts is very time-consuming and labor-consuming, and because of different dubbing roles, a plurality of sorted dubbing manuscripts need to be exported.
The foregoing description is only of embodiments of the present invention, and is not intended to limit the scope of the invention, and all equivalent structures or equivalent processes using the descriptions and the drawings of the present invention or directly or indirectly applied to other related technical fields are included in the scope of the present invention.
Claims (7)
1. The method for generating the dubbing manuscript of the video file is characterized by comprising the following steps of:
acquiring a target video file, wherein the target video file is written by a researcher 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;
generating a target dubbing manuscript for dubbing by dubbing staff from the residual original content after screening and matching;
after the original content which is left after screening and matching is generated into a dubbing manuscript for dubbing by a dubbing staff, the method comprises the following steps:
combining the content of the target dubbing manuscript 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;
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 comprises the following steps:
uploading the target HTML file to a designated server;
receiving a target access link corresponding to the target HTML file returned by the designated server;
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 designated address for the dubbing staff to view the target HTML file.
2. The method for generating a dubbing manuscript of a video document according to claim 1, wherein the extracting all original contents of the target video document and formats 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.
3. The method for generating a video file soundtrack according to claim 1, wherein the filtering and matching all the original contents 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 tag matching method.
4. The method for generating a video file soundtrack according to claim 1, wherein the specified server comprises a pari cloud server and an ari cloud server.
5. A generation apparatus for a video file dubbing manuscript, comprising:
the document acquisition module is used for acquiring a target video document, wherein the target video document is written by a researcher 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;
the dubbing manuscript generating module is used for generating a target dubbing manuscript for dubbing by dubbing staff from the residual original content after screening and matching;
after the original content which is left after screening and matching is generated into a dubbing manuscript for dubbing by a dubbing staff, the method comprises the following steps:
combining the content of the target dubbing manuscript 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;
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 comprises the following steps:
uploading the target HTML file to a designated server;
receiving a target access link corresponding to the target HTML file returned by the designated server;
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 designated address for the dubbing staff to view the target HTML file.
6. A computer-readable storage medium, having stored thereon a computer program which, when executed, implements the method of generating a video file soundtrack according to any one of claims 1 to 4.
7. A computer device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the method of generating a video file soundtrack according to any one of claims 1 to 4 when the computer program is executed.
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 CN110728116A (en) | 2020-01-24 |
CN110728116B true 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)
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 |
-
2019
- 2019-10-23 CN CN201911009040.1A patent/CN110728116B/en active Active
Patent Citations (3)
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 |
---|---|
CN110728116A (en) | 2020-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109582945B (en) | Article generation method, article generation device and storage medium | |
CN103699591A (en) | Page body extraction method based on sample page | |
CN1808377A (en) | Application-generic sequence diagram generator driven by a non-proprietary language | |
CN106681708A (en) | Automatic source code annotation generation method based on data mining | |
CN101702160A (en) | Method for acquiring internet subject information and device thereof | |
CN103744987A (en) | Video website media asset integrating method and system based on DOM tree matching | |
CN107436931B (en) | Webpage text extraction method and device | |
CN107145591B (en) | Title-based webpage effective metadata content extraction method | |
CN106227770A (en) | A kind of intelligentized news web page information extraction method | |
CN105740355A (en) | Aggregated text density based webpage body text extraction method and apparatus | |
CN110728116B (en) | Method and device for generating video file dubbing manuscript | |
CN113033177B (en) | Method and device for analyzing electronic medical record data | |
CN117473971A (en) | Automatic generation method and system for bidding documents based on purchasing text library | |
Balk et al. | IMPACT: working together to address the challenges involving mass digitization of historical printed text | |
KR102140648B1 (en) | System for converting hangeul word file on the web | |
Elizarov et al. | Mathematical content semantic markup methods and open scientific e-journals management systems | |
CN110830851B (en) | Method and device for making video file | |
CN106033348A (en) | Webpage making method, device and electronic equipment | |
CN116306506A (en) | Intelligent mail template method based on content identification | |
Ast et al. | Anagnosis, herculaneum, and the digital corpus of literary papyri | |
Guralnick et al. | Humans in the loop: Community science and machine learning synergies for overcoming herbarium digitization bottlenecks | |
JP7474260B2 (en) | Structured document processing device, structured document processing method and program | |
CN113408290A (en) | Intelligent marking method and system for Chinese text | |
Al-Sulaiti et al. | Compilation of an Arabic children’s corpus | |
KR101207375B1 (en) | System and method for managing mathematical contents |
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 |