CN110198468A - A kind of video caption display methods, device and electronic equipment - Google Patents

A kind of video caption display methods, device and electronic equipment Download PDF

Info

Publication number
CN110198468A
CN110198468A CN201910407116.XA CN201910407116A CN110198468A CN 110198468 A CN110198468 A CN 110198468A CN 201910407116 A CN201910407116 A CN 201910407116A CN 110198468 A CN110198468 A CN 110198468A
Authority
CN
China
Prior art keywords
subtitle
video
file
target
font
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
CN201910407116.XA
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201910407116.XA priority Critical patent/CN110198468A/en
Publication of CN110198468A publication Critical patent/CN110198468A/en
Pending legal-status Critical Current

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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/278Subtitling

Abstract

The embodiment of the invention provides a kind of video caption display methods, device and relevant devices, the video caption display methods includes: to obtain the corresponding video caption file of video to be played, wherein, default subtitle in video caption file includes various states information, wherein, every kind of status information indicates a kind of video information, and every kind of status information corresponds to a kind of Subtitle Demonstration form;When playing the video to be played, the video caption file is loaded in video to be played, and the default subtitle in the video caption file is shown according to corresponding Subtitle Demonstration form.Using the display mode single-phase ratio of all video captions in the embodiment of the present invention, with the display interface of video in the prior art, so that the display mode of video caption is more diversified.

Description

A kind of video caption display methods, device and electronic equipment
Technical field
The present invention relates to the technical fields that video caption is shown, more particularly to a kind of video caption display methods, device And relevant device.
Background technique
As Internet technology updates the development of iteration, various types of videos are all able to fast propagation on network, make Bulk information more quickly, is easily presented on people at the moment.Among these, the effect of video caption is indispensable, video caption In include text information and video in have very big correlation, it is description, summary or the summary to video content, Such as user watches external some videos, needs subtitle to help to understand the content of video.In short, the display energy of video caption People are enough allowed more comprehensively, easily to watch video, understand video.
In the display methods of existing video caption, video later period editing personnel set subtitle in editing video Unified format is simultaneously added in video, and generation includes the video of subtitle, and is stored in server, whole when user watches video End can obtain the video and be played from server, and the display mode of all video captions is identical in the display interface of the video , and be fixed and invariable, cause the display mode of video caption single.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of video caption display methods, device and relevant device, to solve The certainly single problem of the display mode of video caption present in the relevant technologies.Specific technical solution is as follows:
The embodiment of the invention provides a kind of video caption display methods, which comprises
Obtain the corresponding video caption file of video to be played, wherein the default subtitle packet in the video caption file Various states information is included, every kind of status information indicates a kind of video information, and every kind of status information corresponds to a kind of Subtitle Demonstration Form;
When playing the video to be played, the video caption file is loaded in the video to be played, and by institute The default subtitle stated in video caption file is shown according to corresponding Subtitle Demonstration form.
Further, further includes:
The status information that subtitle is preset in the video caption file is detected, the status information includes: the predetermined word Character types, character gender and tone state belonging to curtain;
The default subtitle is configured in the form of corresponding Subtitle Demonstration, wherein pass through the font color table of subtitle Show the character types, the character gender is indicated by the font format of subtitle, described in the font size expression by subtitle Tone state.
Further, the default subtitle by the video caption file is shown according to corresponding Subtitle Demonstration form Show, comprising:
Obtain the subtitle to be shown in the default subtitle;
The corresponding Subtitle Demonstration form of the subtitle to be shown is detected, the Subtitle Demonstration form includes the word to be shown Font color, font format and the font size of curtain;
It is shown according to font color, font format and the font size of the subtitle to be shown.
Further, further includes:
When showing the target subtitle in the subtitle file, monitor whether that receiving user sets the target subtitle Set operation;
If receiving user to operate the setting of the target subtitle, the target subtitle is accordingly arranged, institute Stating setting operation includes one or more of following combinations: changing font color, font format and the word of the target subtitle Body size.
Further, further includes:
Target video subtitle file is generated, the target video subtitle file includes the user to the video caption text The setting of part operates;
The target video subtitle file is sent to intended recipient end, so that the intended recipient end is according to the mesh Video caption file is marked in loading caption on video, is operated according to the setting by the word in the target video subtitle file Curtain is shown according to corresponding Subtitle Demonstration form.
The embodiment of the invention also provides a kind of video caption display devices characterized by comprising
Module is obtained, for obtaining the corresponding video caption file of video to be played, wherein in the video caption file Default subtitle include various states information, every kind of status information indicates a kind of video information, and every kind of status information is corresponding A kind of Subtitle Demonstration form;
Playing module, for loading the video words in the video to be played when playing the video to be played Curtain file, and the default subtitle in the video caption file is shown according to corresponding Subtitle Demonstration form.
Further, described device further include:
Detection module, for detecting the status information for presetting subtitle in the video caption file, the status information packet It includes: character types belonging to the default subtitle, character gender and tone state;
Setup module, for the default subtitle to be configured in the form of corresponding Subtitle Demonstration, wherein pass through subtitle Font color indicate the character types, the character gender is indicated by the font format of subtitle, passes through the font of subtitle Size indicates the tone state.
Further, the playing module, is specifically used for:
Obtain the subtitle to be shown in the default subtitle;
The corresponding Subtitle Demonstration form of the subtitle to be shown is detected, the Subtitle Demonstration form includes the word to be shown Font color, font format and the font size of curtain;
It is shown according to font color, font format and the font size of the subtitle to be shown.
Further, described device further include:
Monitoring modular, for monitoring whether to receive user to institute when showing the target subtitle in the subtitle file State the setting operation of target subtitle;
Setup module operates the setting of the target subtitle if being also used to receive user, to the target subtitle Accordingly it is arranged, the setting operation includes one or more of following combinations: changing the font face of the target subtitle Color, font format and font size.
Further, described device further include:
Generation module, for generating target video subtitle file, the target video subtitle file includes the user couple The setting of the video caption file operates;
Sending module, for the target video subtitle file to be sent to intended recipient end, so that the intended recipient End, in loading caption on video, is operated according to the setting by the target video according to the target video subtitle file Subtitle in subtitle file is shown according to corresponding Subtitle Demonstration form.
The embodiment of the invention provides a kind of electronic equipment, including processor, communication interface, memory and communication bus, Wherein, processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any of the above-described video caption display methods Step.
The embodiment of the invention also provides a kind of computer readable storage medium, the computer readable storage medium memory Computer program is contained, the computer program realizes the step of any of the above-described video caption display methods when being executed by processor Suddenly.
The embodiment of the invention also provides a kind of computer program products comprising instruction, when it runs on computers When, so that the step of computer executes any of the above-described video caption display methods.
The embodiment of the present invention the utility model has the advantages that
The embodiment of the invention provides a kind of video caption display methods, terminal obtains the corresponding video words of video to be played Curtain file, wherein the default subtitle in video caption file includes various states information, wherein every kind of status information indicates one Kind video information, and every kind of status information corresponds to a kind of Subtitle Demonstration form, when playing video to be played, in view to be played Video caption file is loaded in frequency, and the default subtitle in video caption file is shown according to corresponding Subtitle Demonstration form. It is directed to the video caption comprising different conditions information, is shown according to different display format.With video in the prior art Display interface in all video captions display mode single-phase ratio so that the display mode of video caption is more various Change.
Certainly, implement any of the products of the present invention or method it is not absolutely required at the same reach all the above excellent Point.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described.
Fig. 1 is a kind of flow diagram of video caption display methods provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of video caption display methods provided in an embodiment of the present invention;
Fig. 3 is the video caption display methods flow diagram that another embodiment provided by the invention provides;
Fig. 4 is the video caption display methods flow diagram that another embodiment provided by the invention provides;
Fig. 5 is a kind of structural schematic diagram of video caption display device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of electronic equipment provided in an embodiment of the present invention;
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.
Display mode in order to solve the problems, such as subtitle in the prior art is relatively simple, in embodiment provided by the invention, Classification marker can be carried out to video caption file to be processed first, i.e., to each sentence in the video caption file to be processed Dialogue is classified, such as classification can be marked from three dimensions in the comparison in video caption file, and each classification can With a corresponding ID, such as: 1. play role, be specifically as follows protagonist one, act the leading role it is second-class;2. gender, including male or female;③ The dialogue tone, can, anger happy with control or calmness etc..Such as a certain dialogue 1 can mark are as follows: protagonist one, male, happily; A certain comparison 2 can mark are as follows: act the leading role two, female is angry.
Server generates final video by obtaining and integrating the above-mentioned video caption file including classification marker comparison Subtitle file, for terminal when playing the corresponding video of the video caption, which can be sent to terminal by server, Terminal can load the video caption by obtaining the video caption file, and when playing corresponding video in the video File, and the dialogue in the video caption file is shown according to corresponding Subtitle Demonstration form, it in this way can be to avoid existing The problem for having the display mode of subtitle in technology relatively simple.In addition, the embodiment of the present invention can also receive user to the video The editor of subtitle file carries out personalized setting to the video caption and operates, by the subtitle dialogue shown in video according to The desired mode in family is shown, and the subtitle file after setting can also be shared with to other users, improves user's viewing Participation when video.
In conjunction with above-described embodiment, a kind of video caption display methods is provided in the embodiment of the present invention, as shown in Figure 1, should Method may include steps of in the execution process of terminal side:
Step 110 obtains the corresponding video caption file of video to be played.
Wherein, the default subtitle in video caption file includes various states information, and every kind of status information indicates a kind of view Frequency information, and every kind of status information corresponds to a kind of Subtitle Demonstration form.
Step 120, when playing video to be played, video caption file is loaded in video to be played, and by video words Default subtitle in curtain file is shown according to corresponding Subtitle Demonstration form.
Using above-mentioned video caption display methods provided in an embodiment of the present invention, in the broadcast interface of video, can incite somebody to action Default subtitle in video caption file is shown according to corresponding Subtitle Demonstration form, that is, is directed to the view comprising different conditions information Frequency subtitle is shown according to different display format.With all video captions in the display interface of video in the prior art Display mode single-phase ratio, so that the display mode of video caption is more diversified.
In order to be configured in the form of corresponding Subtitle Demonstration to default subtitle, in one embodiment of the invention, such as Shown in Fig. 2, above-mentioned video caption display methods can with the following steps are included:
The status information of subtitle is preset in step 130, detection video caption file.
In this step, terminal parses video caption file, detects the shape that subtitle is preset in video caption file State information.
Wherein, above-mentioned status information includes one or more of dimension: character types, predetermined word belonging to default subtitle Tone state belonging to character gender and default subtitle belonging to act.
For example, when status information belonging to default subtitle is character types, which can be divided into leading role one, Leading role two, Pei Jiaoyi, the second-class role of supporting role;
When presetting status information belonging to subtitle is character gender, which can be divided into male, women The two character genders;
When status information belonging to default subtitle is emotion, which can be divided into happy, angry, sad The emotions such as wound.
Default subtitle is configured by step 140 in the form of corresponding Subtitle Demonstration.
Wherein, the default subtitle of affiliated character types indicates that affiliated character gender's is pre- by the font color of subtitle If subtitle is indicated by the font format of subtitle, the default subtitle of affiliated tone state is by the font size of subtitle come table Show.
In this step, terminal receives the default subtitle and its corresponding Subtitle Demonstration form that server is sent, this is aobvious Show that form can be that server is labeled to be sent to well terminal, terminal is set according to the corresponding Subtitle Demonstration form It sets.
Such as in the broadcast interface of video, terminal receives the default subtitle that server is sent and its corresponding subtitle is aobvious Show form, and be configured in the related set interface in broadcast interface, the subtitle font color for acting the leading role one is passed through into red Indicate, act the leading role that two subtitle font color is indicated by green;The subtitle of the subtitle large print of the happy tone, the angry tone With small size font representation etc..
Using above-mentioned video caption display methods provided in an embodiment of the present invention, terminal is able to detect in video caption file The status information of default subtitle, default subtitle is configured in the form of corresponding Subtitle Demonstration by corresponding subtitle, so that view The display mode of frequency subtitle is more diversified.
Further, in order to show that the default subtitle in video caption file according to corresponding Subtitle Demonstration form, such as Shown in Fig. 3, above-mentioned steps 120 can with specifically includes the following steps:
Step 121 obtains the subtitle to be shown preset in subtitle.
In this step, it after terminal obtains the corresponding video caption file of video to be played, is obtained from video caption file Take the subtitle to be shown in default subtitle.
Step 122, the corresponding Subtitle Demonstration form of detection subtitle to be shown, Subtitle Demonstration form includes subtitle to be shown Font color, font format and font size.
Step 123 is shown according to the font color, font format and font size of subtitle to be shown.
It, can be according to the font face of subtitle to be shown using above-mentioned video caption display methods provided in an embodiment of the present invention Color, font format and font size are shown.So that video caption display format is more diversified.
In addition, the terminal of that embodiment of the invention can also receive user to the editor of the video caption file, to the video words Curtain carries out personalized setting operation, and the subtitle dialogue shown in video is shown in such a way that user wants, and Subtitle file after setting can also be shared with to other users, improve participation when user watches video.As shown in figure 4, Above-mentioned video caption display methods can with the following steps are included:
Step 150, show subtitle file in target subtitle when, monitor whether that receiving user sets target subtitle Set operation.
Wherein, target subtitle is the corresponding video caption of video that terminal is currently played.
In this step, whether terminal detection user is directed to multiple states of video caption, and input indicates each state mesh The display information of the display format of marking-up curtain.
Such as when terminal plays out video, the configuration of a video caption can be shown in the broadcast interface of video Interface includes the status information of video object subtitle and the display format of target subtitle in configuration interface, and user is watching When video, the display information of the corresponding display format of video caption of multiple states can be inputted in based on the configuration interface.
Step 160 operates the setting of target subtitle when receiving user, and target subtitle is accordingly arranged.
If receiving user to operate the setting of target subtitle, wherein setting operation includes one of following or several Kind combination: change font color, font format and the font size of target subtitle, to target in the configuration interface of video playing Subtitle is arranged accordingly.
Such as the status information of the target subtitle are as follows: Zhu Jiaoyi, leading role two, user can input master in the configuration interface The Subtitle Demonstration form at angle one is No. ten, red, black matrix, and the Subtitle Demonstration form of leading role two is No. ten, yellow, the Song typeface.
Such as the status information of the video caption are as follows: leading role one and be male role, leading role two and be women of role, user Can be inputted in the configuration interface leading role one and be male role Subtitle Demonstration form be No. ten, red, black matrix, leading role two And be women of role Subtitle Demonstration form be No. ten, yellow, the Song typeface.
If being not received by user to operate the setting of target subtitle, by target subtitle with corresponding Subtitle Demonstration shape Formula is configured.
Step 170 generates target video subtitle file.
Terminal established on the broadcast interface of video target subtitle different conditions and its corresponding Subtitle Demonstration form it Afterwards, target video subtitle file can be generated, wherein video caption file includes that user grasps the setting of video caption file Make.
Target video subtitle file is sent to intended recipient end by step 180, so that intended recipient end is regarded according to target Frequency subtitle file is in loading caption on video, according to setting operation by the subtitle in target video subtitle file according to corresponding Subtitle Demonstration form is shown.
After generating target video subtitle file, above-mentioned target video subtitle file can be uploaded to service by terminal Device, server are saved, when the link of target video subtitle and its corresponding display format is shared with other terminals by user, Other terminals can download the target video subtitle file that user shares from server by opening link.
After other terminals receive target video subtitle file, when playing the video, it can be regarded according to the target The Subtitle Demonstration form set in frequency subtitle file shows target video subtitle.
Using above-mentioned video caption display methods provided in an embodiment of the present invention, terminal can receive user to the video words The editor of curtain file carries out personalized setting to the video caption and operates, by the subtitle dialogue shown in video according to user Desired mode is shown, and the subtitle file after setting can also be shared with to other users, is improved user and is watched view Participation when frequency.
Correspondingly, based on the same inventive concept, the video caption display methods provided according to that above embodiment of the present invention, this Inventive embodiments provide a kind of video caption display device, as shown in figure 5, the device includes:
Module 501 is obtained, for obtaining the corresponding video caption file of video to be played, wherein in video caption file Default subtitle include various states information, every kind of status information indicates a kind of video information, and every kind of status information is corresponding A kind of Subtitle Demonstration form;
Playing module 502, for when playing video to be played, loading video caption file in video to be played, and Default subtitle in video caption file is shown according to corresponding Subtitle Demonstration form.
Further, the device further include:
Detection module, for detecting the status information for presetting subtitle in video caption file, status information includes: predetermined word Character types, character gender and tone state belonging to curtain;
Setup module, for default subtitle to be configured in the form of corresponding Subtitle Demonstration, wherein pass through the word of subtitle Body color indicates character types, indicates character gender by the font format of subtitle, indicates the tone by the font size of subtitle State.
Further, playing module 502 are specifically used for:
Obtain the subtitle to be shown in default subtitle;
The corresponding Subtitle Demonstration form of subtitle to be shown is detected, Subtitle Demonstration form includes the font face of subtitle to be shown Color, font format and font size;
It is shown according to the font color, font format and font size of subtitle to be shown.
Further, above-mentioned apparatus further include:
Monitoring modular, for monitoring whether to receive user to target word when showing the target subtitle in subtitle file The setting operation of curtain;
Setup module operates the setting of target subtitle if being also used to receive user, carries out to target subtitle corresponding Setting, setting operation include one or more of following combinations: changing font color, font format and the font of target subtitle Size.
Further, the device further include:
Generation module, for generating target video subtitle file, target video subtitle file includes user to video caption The setting of file operates;
Sending module, for target video subtitle file to be sent to intended recipient end, so that intended recipient end is in basis Target video subtitle file in loading caption on video, according to setting operation by the subtitle in target video subtitle file according to Corresponding Subtitle Demonstration form is shown.
The embodiment of the invention also provides a kind of electronic equipment, as shown in fig. 6, include processor 601, communication interface 602, Memory 603 and communication bus 604, wherein processor 601, communication interface 602, memory 603 are complete by communication bus 604 At mutual communication,
Memory 603, for storing computer program;
Processor 601 when for executing the program stored on memory 603, realizes that any of the above-described video caption is shown The step of method.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with computer program in storage medium, the computer program realizes any of the above-described video caption when being executed by processor The step of display methods.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it When running on computers so that computer execute in above-described embodiment it is any be applied to video caption display methods.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For electronic equipment, computer media and computer program product embodiments, since it is substantially similar to the method embodiment, institute To be described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (11)

1. a kind of video caption display methods characterized by comprising
Obtain the corresponding video caption file of video to be played, wherein the default subtitle in the video caption file includes more Kind status information, every kind of status information indicates a kind of video information, and every kind of status information corresponds to a kind of Subtitle Demonstration form;
When playing the video to be played, the video caption file is loaded in the video to be played, and by the view Default subtitle in frequency subtitle file is shown according to corresponding Subtitle Demonstration form.
2. the method according to claim 1, wherein further include:
The status information that subtitle is preset in the video caption file is detected, the status information includes: the default subtitle institute Character types, character gender and the tone state of category;
The default subtitle is configured in the form of corresponding Subtitle Demonstration, wherein institute is indicated by the font color of subtitle Character types are stated, the character gender is indicated by the font format of subtitle, the tone is indicated by the font size of subtitle State.
3. the method according to claim 1, wherein the default subtitle by the video caption file is pressed It is shown according to corresponding Subtitle Demonstration form, comprising:
Obtain the subtitle to be shown in the default subtitle;
The corresponding Subtitle Demonstration form of the subtitle to be shown is detected, the Subtitle Demonstration form includes the subtitle to be shown Font color, font format and font size;
It is shown according to font color, font format and the font size of the subtitle to be shown.
4. any method according to claim 1~3, which is characterized in that further include:
When showing the target subtitle in the subtitle file, monitor whether that receiving user grasps the setting of the target subtitle Make;
If receiving user to operate the setting of the target subtitle, the target subtitle is accordingly arranged, it is described to set Setting operation includes one or more of following combinations: the font color, font format and font for changing the target subtitle are big It is small.
5. according to the method described in claim 4, it is characterized by further comprising:
Target video subtitle file is generated, the target video subtitle file includes the user to the video caption file Setting operation;
The target video subtitle file is sent to intended recipient end, so that the intended recipient end is regarded according to the target Frequency subtitle file operates according to the setting in loading caption on video and presses the subtitle in the target video subtitle file It is shown according to corresponding Subtitle Demonstration form.
6. a kind of video caption display device characterized by comprising
Module is obtained, for obtaining the corresponding video caption file of video to be played, wherein pre- in the video caption file If subtitle includes various states information, every kind of status information indicates a kind of video information, and every kind of status information is corresponding a kind of Subtitle Demonstration form;
Playing module, for when playing the video to be played, loading the video caption text in the video to be played Part, and the default subtitle in the video caption file is shown according to corresponding Subtitle Demonstration form.
7. device according to claim 6, which is characterized in that described device further include:
Detection module, for detecting the status information for presetting subtitle in the video caption file, the status information includes: institute State character types belonging to default subtitle, character gender and tone state;
Setup module, for the default subtitle to be configured in the form of corresponding Subtitle Demonstration, wherein pass through the word of subtitle Body color indicates the character types, indicates the character gender by the font format of subtitle, passes through the font size of subtitle Indicate the tone state.
8. device according to claim 6, which is characterized in that the playing module is specifically used for:
Obtain the subtitle to be shown in the default subtitle;
The corresponding Subtitle Demonstration form of the subtitle to be shown is detected, the Subtitle Demonstration form includes the subtitle to be shown Font color, font format and font size;
It is shown according to font color, font format and the font size of the subtitle to be shown.
9. according to any device of claim 6~8, which is characterized in that further include:
Monitoring modular, for monitoring whether to receive user to the mesh when showing the target subtitle in the subtitle file The setting of marking-up curtain operates;
Setup module operates the setting of the target subtitle if being also used to receive user, carries out to the target subtitle Corresponding setting, the setting operation includes one or more of following combinations: changing font color, the word of the target subtitle Physique formula and font size.
10. device according to claim 9, which is characterized in that further include:
Generation module, for generating target video subtitle file, the target video subtitle file includes the user to described The setting of video caption file operates;
Sending module, for the target video subtitle file to be sent to intended recipient end, so that the intended recipient end exists According to the target video subtitle file in loading caption on video, operated according to the setting by the target video subtitle Subtitle in file is shown according to corresponding Subtitle Demonstration form.
11. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and step of claim 1-5.
CN201910407116.XA 2019-05-15 2019-05-15 A kind of video caption display methods, device and electronic equipment Pending CN110198468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910407116.XA CN110198468A (en) 2019-05-15 2019-05-15 A kind of video caption display methods, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910407116.XA CN110198468A (en) 2019-05-15 2019-05-15 A kind of video caption display methods, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN110198468A true CN110198468A (en) 2019-09-03

Family

ID=67752783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910407116.XA Pending CN110198468A (en) 2019-05-15 2019-05-15 A kind of video caption display methods, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110198468A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653919A (en) * 2020-12-22 2021-04-13 维沃移动通信有限公司 Subtitle adding method and device
CN113723342A (en) * 2021-09-08 2021-11-30 北京奇艺世纪科技有限公司 Subtitle display method and device, electronic equipment and readable storage medium
CN114286154A (en) * 2021-09-23 2022-04-05 腾讯科技(深圳)有限公司 Subtitle processing method and device for multimedia file, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010217898A (en) * 2010-04-05 2010-09-30 Hitachi Ltd Caption display method
CN104581341A (en) * 2013-10-24 2015-04-29 华为终端有限公司 Subtitle display method and subtitle display equipment
CN108055592A (en) * 2017-11-21 2018-05-18 广州视源电子科技股份有限公司 Caption presentation method, device, mobile terminal and storage medium
CN108093310A (en) * 2017-11-30 2018-05-29 腾讯科技(深圳)有限公司 Sharing method and device, storage medium, the electronic device of information
CN108833990A (en) * 2018-06-29 2018-11-16 北京优酷科技有限公司 Video caption display methods and device
CN108924636A (en) * 2018-06-29 2018-11-30 北京优酷科技有限公司 Caption presentation method and device
CN108924599A (en) * 2018-06-29 2018-11-30 北京优酷科技有限公司 Video caption display methods and device
CN109462768A (en) * 2018-10-25 2019-03-12 维沃移动通信有限公司 A kind of caption presentation method and terminal device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010217898A (en) * 2010-04-05 2010-09-30 Hitachi Ltd Caption display method
CN104581341A (en) * 2013-10-24 2015-04-29 华为终端有限公司 Subtitle display method and subtitle display equipment
CN108055592A (en) * 2017-11-21 2018-05-18 广州视源电子科技股份有限公司 Caption presentation method, device, mobile terminal and storage medium
CN108093310A (en) * 2017-11-30 2018-05-29 腾讯科技(深圳)有限公司 Sharing method and device, storage medium, the electronic device of information
CN108833990A (en) * 2018-06-29 2018-11-16 北京优酷科技有限公司 Video caption display methods and device
CN108924636A (en) * 2018-06-29 2018-11-30 北京优酷科技有限公司 Caption presentation method and device
CN108924599A (en) * 2018-06-29 2018-11-30 北京优酷科技有限公司 Video caption display methods and device
CN109462768A (en) * 2018-10-25 2019-03-12 维沃移动通信有限公司 A kind of caption presentation method and terminal device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653919A (en) * 2020-12-22 2021-04-13 维沃移动通信有限公司 Subtitle adding method and device
CN112653919B (en) * 2020-12-22 2023-03-14 维沃移动通信有限公司 Subtitle adding method and device
CN113723342A (en) * 2021-09-08 2021-11-30 北京奇艺世纪科技有限公司 Subtitle display method and device, electronic equipment and readable storage medium
CN113723342B (en) * 2021-09-08 2023-09-29 北京奇艺世纪科技有限公司 Subtitle display method and device, electronic equipment and readable storage medium
CN114286154A (en) * 2021-09-23 2022-04-05 腾讯科技(深圳)有限公司 Subtitle processing method and device for multimedia file, electronic equipment and storage medium
WO2023045635A1 (en) * 2021-09-23 2023-03-30 腾讯科技(深圳)有限公司 Multimedia file subtitle processing method and apparatus, electronic device, computer-readable storage medium, and computer program product

Similar Documents

Publication Publication Date Title
CN110198468A (en) A kind of video caption display methods, device and electronic equipment
CN108495185A (en) A kind of video title generation method and device
US8977983B2 (en) Text entry method and display apparatus using the same
CN104199879B (en) A kind of data processing method and data processing equipment
US9900664B2 (en) Method and system for display control, breakaway judging apparatus and video/audio processing apparatus
CN102740142B (en) For different terminals provides method and the IPTV service system of IPTV service
CN102065234B (en) Caption producing and broadcasting method and system based on distributive type caption processing system
CN106202024B (en) A kind of system, method and client for realizing branching selection structure electrical book editor
CN108304368A (en) The kind identification method and device and storage medium and processor of text message
CN103841460A (en) Image data transmission method and electronic devices
CN103634651B (en) The display methods and system of the source preview image of Android television
CN110290397A (en) A kind of method for processing video frequency, device and electronic equipment
TWI625966B (en) Pairing system and pairing method for display devices and multi-media devices
CN106411649A (en) Control method and device for remote play system
WO2024022473A1 (en) Method for sending comment in live-streaming room, method for receiving comment in live-streaming room, and related device
CN105162839A (en) Data processing method, data processing device and data processing system
CN104079953A (en) Method and system based on video information sharing operation
CN105472376A (en) Multimedia interface detection system and detection method
CN110020378A (en) The content delivery method and device of video website
TWI571119B (en) Method and system of displaying and controlling, breakaway judging apparatus and video/audio processing apparatus
US9049416B2 (en) System and method for constructing scene clip, and record medium thereof
JP6900334B2 (en) Video output device, video output method and video output program
CN106658156A (en) Method for acquiring display parameters of display device, display device, and terminal
CN108833957B (en) Information sending method and device
CN115599335B (en) Method and system for sharing layout files based on multi-screen mode

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: 20190903