WO2021018177A1 - 文字特效处理方法及装置 - Google Patents

文字特效处理方法及装置 Download PDF

Info

Publication number
WO2021018177A1
WO2021018177A1 PCT/CN2020/105438 CN2020105438W WO2021018177A1 WO 2021018177 A1 WO2021018177 A1 WO 2021018177A1 CN 2020105438 W CN2020105438 W CN 2020105438W WO 2021018177 A1 WO2021018177 A1 WO 2021018177A1
Authority
WO
WIPO (PCT)
Prior art keywords
text
special effect
display
terminal screen
multimedia
Prior art date
Application number
PCT/CN2020/105438
Other languages
English (en)
French (fr)
Inventor
沈言浩
倪光耀
杨辉
Original Assignee
北京字节跳动网络技术有限公司
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 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2021018177A1 publication Critical patent/WO2021018177A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography
    • 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

Definitions

  • the present disclosure relates to the field of image processing technology, and in particular to a method, device and computer-readable storage medium for processing text effects.
  • a fixed version of an application program corresponds to a fixed text special effect, that is, once the application version is determined, the type of text special effect is determined. For example, there are fixed types of text effects in the current version, and other new text effects cannot be added. Only after the version is updated, the new text effects can be added to the application with the version update, which is very inflexible.
  • the technical problem solved by the present disclosure is to provide a text special effect processing method, so as to at least partially solve the technical problem of inflexible text special effects in the prior art.
  • a text special effect processing device a text special effect processing hardware device, a computer-readable storage medium and a text special effect processing terminal are also provided.
  • a special text effect processing method including:
  • a special text effect processing method including:
  • a text special effect processing device including:
  • the request sending module is configured to send a request for obtaining text special effect resources to the server; wherein, the text special effect resources are used to realize the display special effects of text associated with multimedia;
  • the resource receiving module is configured to receive the text special effect resource sent by the server
  • the special effect display module is configured to perform special effect processing on at least two sentences of text according to the text special effect resource, so that the text displayed at the current position of the terminal screen is transformed to display the next text following the playback progress of the multimedia.
  • a text special effect processing device including:
  • the request receiving module is configured to receive a request for obtaining text special effect resources sent by the client; wherein, the text special effect resources are used to realize the display special effects of text associated with multimedia;
  • the resource sending module is configured to send the text special effect resource to the client, so that the client performs special effect processing on at least two sentences according to the text special effect resource, so that the text displayed at the current position of the terminal screen follows the The playback progress of the multimedia is changed to display the next sentence.
  • An electronic device including:
  • Memory for storing non-transitory computer readable instructions
  • the processor is configured to run the computer-readable instructions so that the processor implements any of the above-mentioned text special effects processing methods when executed.
  • a computer-readable storage medium for storing non-transitory computer-readable instructions.
  • the computer executes any of the above-mentioned text special effects processing methods .
  • a text special effect processing terminal includes any text special effect processing device described above.
  • the embodiment of the present disclosure obtains text special effect resources from the server, and performs special effect processing on the text according to the text special effect resources, so that the text displayed at the current position of the terminal screen is transformed to display the next text following the playback progress of the multimedia. After updating the client, you can get the text effect resources, making the text effect more flexible.
  • FIG. 1 is a schematic flowchart of a text special effect processing method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a method for processing text effects according to an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of a text special effects processing device according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of a text special effects processing device according to an embodiment of the present disclosure.
  • Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • the text special effect processing method mainly includes the following steps S11 to S13.
  • Step S11 Send a request for obtaining text special effect resources to the server; wherein, the text special effect resources are used to realize the display special effects of texts associated with multimedia.
  • the execution subject of this embodiment is a client installed on the terminal, for example, it may be a short video application or music playing software.
  • the terminal may be a mobile terminal (for example, a smart phone, a tablet computer, etc.) or a fixed terminal (for example, a desktop computer).
  • the multimedia can be a video, and the corresponding text is a line; it can also be music, and the corresponding text is a lyrics.
  • the display special effect can be to enlarge or reduce the text, gradually disappear from the terminal screen, and gradually display on the terminal screen.
  • multimedia options and/or text effect resource options can be provided on the client application interface, for example, a multimedia list is provided, where the multimedia list contains multiple multimedia names, such as video names or music names; and/or text effect resource lists , Where the text special effect resource list contains special effect information, such as zoom in or zoom out.
  • a multimedia list is provided, where the multimedia list contains multiple multimedia names, such as video names or music names; and/or text effect resource lists , Where the text special effect resource list contains special effect information, such as zoom in or zoom out.
  • Step S12 Receive the text special effect resource sent by the server.
  • the server may be a third-party server, and the third-party server is mainly used to store text special effect resources. It may also be an application server corresponding to the client. The application server is used to store multimedia and text associated with the multimedia in addition to storing text special effect resources.
  • Step S13 Perform special effect processing on at least two sentences of text according to the text special effect resource, so that the text displayed at the current position of the terminal screen is transformed to display the next text following the playback progress of the multimedia.
  • the display position of the next sentence of text can be the current position or other preset positions.
  • special effect processing is performed on at least two sentences of lyrics according to text special effect resources sent by the server, and during music playback, the lyrics displayed at the current position of the terminal screen follow the multimedia The playback progress of changes to display the next lyrics.
  • the text special effect resource is obtained from the server, and the text is processed according to the text special effect resource, so that the text displayed at the current position of the terminal screen is transformed to display the next sentence following the playback progress of the multimedia.
  • the text effects resources can be obtained, which makes the text effects more flexible.
  • step S13 specifically includes:
  • Step S131 Obtain the time stamp corresponding to the playback progress of the multimedia and the current text corresponding to the time stamp.
  • the time stamp is the time length of the current playing time relative to the initial playing time.
  • the corresponding relationship between the time stamp and the text can be preset, the corresponding time stamp is further determined according to the playback progress of the multimedia, and the corresponding text is obtained according to the time stamp.
  • Step S132 Determine the display transparency of the current text according to the time stamp.
  • the display transparency can be a value between 0-1.
  • the display transparency changes from 0 to 1 the text is gradually displayed, and when the display transparency changes from 1 to 0, the current text gradually disappears.
  • the specific value is determined in real time based on the timestamp.
  • Step S133 Control the current text to disappear from the terminal screen following the multimedia playback progress according to the display transparency, and display the next text on the terminal screen.
  • step S133 specifically includes:
  • the display position can be the current position or other preset positions.
  • the current lyrics are rendered on the terminal screen through a bitmap according to the timestamp.
  • the transparency of the current lyrics can be set to a gradient, for example, from a transparency of 1 to a transparency of 0 .
  • the transparency of the next lyrics to a gradient, for example, from a transparency of 0 to a transparency of 1, to form a fade-in effect.
  • the determining the display position of the next sentence on the terminal screen specifically includes:
  • the target position is used as the display position; or If the target position exceeds the first preset position of the terminal screen, the second preset position of the terminal screen is used as the display position.
  • the first preset position and the second preset position can be customized.
  • the first preset position is set to the bottom of the terminal screen
  • the second preset position is set to the top of the terminal screen.
  • the lyrics when displaying the next lyrics, get the next lyrics of the current lyrics, and move the position of the next lyrics to the next position.
  • the position of the bitmap exceeds the preset position of the terminal screen, that is, the first preset position, the lyrics are rendered to the initial position, that is, the second preset position.
  • step S133 specifically includes:
  • the time difference between the time stamp of the current text and the time stamp of the next sentence is taken as the time length. Take music and lyrics as an example.
  • rendering when the current lyrics disappear from the terminal screen, the next lyrics are rendered on the terminal screen through a bitmap, and the display transparency of the next lyrics is controlled so that the next lyrics increase with time Show slowly.
  • step S133 specifically includes:
  • the zoom factor is the ratio of enlargement or reduction of the text.
  • the current lyrics are magnified.
  • the magnification factor is proportional to the time.
  • the transparency of the current lyrics is also proportional to the time. When the transparency changes from 1 to 0, the current lyrics are zooming in at the same time. Completely disappear.
  • the determining the zoom factor of the current text includes:
  • the real-time zoom factor is determined according to the first proportional function and the playback progress.
  • the time difference between the time stamp of the current lyrics and the time stamp of the next lyrics is divided equally, and the zoom factor or zoom factor is proportional to the length of time, so that before the next lyrics are displayed, the current lyrics Just disappeared.
  • the method further includes:
  • the real-time display transparency is determined according to the second proportional function and the playback progress.
  • step S133 specifically includes:
  • the next sentence of text is moved from the first position to the current position for display.
  • the current position, the first position and the second position are three different positions on the terminal screen.
  • the current position may be the middle position of the terminal screen, and the first position may be below the middle position, The second position may be above the intermediate position.
  • three positions are preset, the first position, the current position, and the second position.
  • Get the timestamp display the current lyrics to the current position of the terminal screen through the bitmap, and move the current lyrics to the second display position as the playback progresses, and gradually shrink and increase the transparency until the current lyrics completely disappear; at the same time Display the next lyrics in a reduced size and a preset transparency in the first display position.
  • move the next lyrics to the current position move the next lyrics to the current position, and gradually enlarge the next lyrics while moving And the transparency gradually becomes smaller.
  • the method further includes:
  • Step S15 Run a local script program according to the script file in the text special effect resource
  • Step S16 Perform special effect processing on the text through the script program, so that the text is displayed on the terminal screen following the playback progress of the multimedia, and gradually disappears from the terminal screen.
  • a script program can be written in advance, the script program is configured in the client, and the corresponding script text is included in the text special effect resource.
  • the special effect processing of the text is realized by running the script program, so that the text displayed at the current position of the terminal screen is transformed into the next text following the playback progress of the multimedia .
  • the text special effect processing method mainly includes the following steps S21 to S22.
  • Step S21 Receive a request for acquiring text special effect resources sent by the client; wherein, the text special effect resources are used to realize the display special effects of text associated with multimedia.
  • Step S22 Send the text special effect resource to the client, so that the client performs special effect processing on at least two sentences according to the text special effect resource, so that the text displayed at the current position of the terminal screen follows the multimedia The playback progress changes to display the next sentence.
  • a text special effect resource is sent to the client, so that the client performs special effect processing on the text according to the text special effect resource, so that the text displayed at the current position of the terminal screen is transformed into a display following the playback progress of the multimedia
  • the device embodiments of the present disclosure can be used to perform the steps implemented by the method embodiments of the present disclosure.
  • an embodiment of the present disclosure provides a text effects processing device.
  • the device can execute the steps in the text effect processing method embodiment described in the first embodiment.
  • the device mainly includes: a request sending module 31, a resource receiving module 32, and a special effect display module 33; among them,
  • the request sending module 31 is configured to send a request for obtaining text special effect resources to the server; wherein, the text special effect resources are used to realize the display special effects of text associated with multimedia;
  • the resource receiving module 32 is configured to receive the text special effect resource sent by the server;
  • the special effect display module 33 is configured to perform special effect processing on at least two sentences of text according to the text special effect resource, so that the text displayed at the current position of the terminal screen is transformed to display the next text following the playback progress of the multimedia.
  • the special effect display module 33 includes: a text acquisition unit 331, a transparency determination unit 332, and a special effect display unit 333; wherein,
  • the text obtaining unit 331 is configured to obtain the time stamp corresponding to the playback progress of the multimedia and the current text corresponding to the time stamp;
  • the transparency determining unit 332 is configured to determine the display transparency of the current text according to the timestamp
  • the special effect display unit 333 is configured to control the current text to disappear from the terminal screen following the multimedia playback progress according to the display transparency, and display the next text on the terminal screen.
  • the special effect display unit 333 is specifically configured to: determine the display position of the next text on the terminal screen; control the current text to follow the multimedia playback progress gradually from the terminal according to the display transparency The screen fades out, and gradually fades in the next sentence at the display position.
  • the special effect display unit 333 is specifically configured to: add a preset offset to the current position as a target position; if the target position does not exceed the first preset position of the terminal screen, The target position is used as the display position; or, if the target position exceeds the first preset position of the terminal screen, the second preset position of the terminal screen is used as the display position.
  • the special effect display unit 333 is specifically configured to: obtain the time stamp of the next sentence of text; determine the time length according to the time stamp of the current text and the time stamp of the next sentence; control according to the display transparency The current text disappears from the terminal screen following the playback progress of the multimedia, and the next text is gradually displayed on the terminal screen according to the length of time.
  • the special effect display unit 333 is specifically configured to: determine the zoom factor of the current text; according to the display transparency and the zoom factor, control the current text to follow the multimedia playback progress while zooming The terminal screen disappears, and the next sentence is displayed on the terminal screen.
  • the special effect display unit 333 is specifically configured to: determine the time length according to the time stamp of the current text and the time stamp of the next sentence; divide the time length into equal parts according to the number of equal parts and the time The maximum value of the scaling coefficient determines a first proportional function; and the real-time scaling coefficient is determined according to the first proportional function and the playback progress.
  • the special effect display unit 333 is further configured to: determine a second proportional function according to the number of equal parts and the maximum value of the display transparency; determine the real-time display transparency according to the second proportional function and the playback progress .
  • the special effect display unit 333 is specifically configured to: display the next sentence of text in the first position of the terminal screen according to a preset transparency; and display the next sentence according to the display transparency and the playback progress
  • the current text moves from the current position to the second position of the terminal screen and disappears; and the next sentence of text is moved from the first position to the current position for display.
  • the device further includes: a script running module 34; wherein,
  • the script running module 34 is used to run a local script program according to the script file in the text special effect resource; perform special effect processing on the text through the script program, so that the text displayed at the current position of the terminal screen follows the multimedia playback The progress changes to display the next sentence.
  • an embodiment of the present disclosure provides a text effects processing device.
  • the device can execute the steps in the text effect processing method embodiment described in the second embodiment.
  • the device mainly includes: a request receiving module 41 and a resource sending module 42; among them,
  • the request receiving module 41 is configured to receive a request for obtaining text special effect resources sent by the client; wherein, the text special effect resources are used to realize the display special effects of text associated with multimedia;
  • the resource sending module 42 is configured to send the text special effect resource to the client, so that the client performs special effect processing on at least two sentences according to the text special effect resource, so that the text displayed at the current position of the terminal screen follows the The playback progress of the multimedia is changed to display the next sentence.
  • FIG. 5 shows a schematic structural diagram of an electronic device 500 suitable for implementing the embodiments of the present disclosure.
  • the terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 5 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the electronic device 500 may include a processing device (such as a central processing unit, a graphics processor, etc.) 501, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 502 or from a storage device 506
  • the program in the memory (RAM) 503 executes various appropriate actions and processing.
  • the RAM 503 also stores various programs and data required for the operation of the electronic device 500.
  • the processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504.
  • An input/output (I/O) interface 505 is also connected to the bus 504.
  • the following devices can be connected to the I/O interface 505: including input devices 506 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speakers, vibration An output device 507 such as a device; a storage device 506 such as a magnetic tape and a hard disk; and a communication device 509.
  • the communication device 509 may allow the electronic device 500 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 5 shows an electronic device 500 having various devices, it should be understood that it is not required to implement or have all the illustrated devices. It may alternatively be implemented or provided with more or fewer devices.
  • an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 509, or installed from the storage device 506, or installed from the ROM 502.
  • the processing device 501 When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the aforementioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the client and server can communicate with any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
  • Communication e.g., communication network
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future research and development network of.
  • LAN local area networks
  • WAN wide area networks
  • the Internet e.g., the Internet
  • end-to-end networks e.g., ad hoc end-to-end networks
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs.
  • the electronic device sends a request to the server to obtain text special effect resources; wherein, the text special effect resources are used To realize the display special effects of text associated with multimedia; receive the text special effect resource sent by the server; perform special effect processing on at least two sentences according to the text special effect resource, so that the text displayed at the current position of the terminal screen follows the The playback progress of the multimedia is changed to display the next sentence.
  • the computer program code used to perform the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include but are not limited to object-oriented programming languages such as Java, Smalltalk, C++, and Including conventional procedural programming languages-such as "C" language or similar programming languages.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user’s computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram can represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented in a software manner, or may be implemented in a hardware manner. Among them, the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
  • exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Product
  • SOC System on Chip
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium, which may contain or store a program for use by or in combination with the instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • the machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any suitable combination of the foregoing.
  • machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM portable compact disk read only memory
  • magnetic storage device or any suitable combination of the above.
  • a text special effect processing method including:
  • the performing special effect processing on at least two sentences of text according to the text special effect resource so that the text displayed at the current position of the terminal screen is transformed to display the next text following the playback progress of the multimedia, including:
  • the current text is controlled to disappear from the terminal screen following the playback progress of the multimedia, and the next text is displayed on the terminal screen.
  • controlling the current text to follow the playback progress of the multimedia to disappear from the terminal screen according to the display transparency and displaying the next text on the terminal screen includes:
  • the current text is controlled to gradually fade out from the terminal screen following the playback progress of the multimedia, and gradually fade in the next text at the display position.
  • the determining the display position of the next sentence on the terminal screen includes:
  • the target position does not exceed the first preset position of the terminal screen, use the target position as the display position; or,
  • the second preset position of the terminal screen is used as the display position.
  • controlling the current text to follow the playback progress of the multimedia to disappear from the terminal screen according to the display transparency and displaying the next text on the terminal screen includes:
  • the current text is controlled to disappear from the terminal screen following the playback progress of the multimedia, and the next text is gradually displayed on the terminal screen according to the length of time.
  • controlling the current text to follow the playback progress of the multimedia to disappear from the terminal screen according to the display transparency and displaying the next text on the terminal screen includes:
  • the current text is controlled to follow the playback progress of the multimedia to zoom and disappear from the terminal screen, and the next text is displayed on the terminal screen.
  • the determining the zoom factor of the current text includes:
  • the real-time zoom factor is determined according to the first proportional function and the playback progress.
  • the method further includes:
  • the real-time display transparency is determined according to the second proportional function and the playback progress.
  • controlling the current text to follow the playback progress of the multimedia to disappear from the terminal screen according to the display transparency and displaying the next text on the terminal screen includes:
  • the next sentence of text is moved from the first position to the current position for display.
  • the method further includes:
  • the script program is used to perform special effects processing on the text, so that the text displayed at the current position of the terminal screen is transformed to display the next text following the playback progress of the multimedia.
  • a text special effect processing method including:
  • a text special effect processing device including:
  • the request sending module is configured to send a request for obtaining text special effect resources to the server; wherein, the text special effect resources are used to realize the display special effects of text associated with multimedia;
  • the resource receiving module is configured to receive the text special effect resource sent by the server
  • the special effect display module is configured to perform special effect processing on at least two sentences of text according to the text special effect resource, so that the text displayed at the current position of the terminal screen is transformed to display the next text following the playback progress of the multimedia.
  • the special effect display module includes:
  • a text obtaining unit configured to obtain a time stamp corresponding to the playback progress of the multimedia and the current text corresponding to the time stamp;
  • a transparency determining unit configured to determine the display transparency of the current text according to the time stamp
  • the special effect display unit is configured to control the current text to disappear from the terminal screen following the playback progress of the multimedia according to the display transparency, and display the next text on the terminal screen.
  • the special effect display unit is specifically configured to: determine the display position of the next sentence of text on the terminal screen; and control the current text to follow the multimedia playback progress gradually from the terminal screen according to the display transparency Fade out, and gradually fade in the next sentence at the display position.
  • the special effect display unit is specifically configured to: add a preset offset to the current position as a target position; if the target position does not exceed the first preset position of the terminal screen, then Use the target position as the display position; or, if the target position exceeds the first preset position of the terminal screen, use the second preset position of the terminal screen as the display position.
  • the special effect display unit is specifically configured to: obtain the time stamp of the next sentence of text; determine the time length according to the time stamp of the current text and the time stamp of the next sentence; The current text disappears from the terminal screen following the playback progress of the multimedia, and the next text is gradually displayed on the terminal screen according to the length of time.
  • the special effect display unit is specifically configured to: determine the zoom factor of the current text; according to the display transparency and the zoom factor, control the current text to follow the multimedia playback progress while zooming The terminal screen disappears, and the next sentence is displayed on the terminal screen.
  • the special effect display unit is specifically configured to: determine the time length according to the time stamp of the current text and the time stamp of the next sentence; divide the time length into equal parts according to the number of equal parts and the The maximum value of the zoom factor determines the first proportional function; and the real-time zoom factor is determined according to the first proportional function and the playback progress.
  • the special effect display unit is further configured to: determine a second proportional function according to the number of equal parts and the maximum value of the display transparency; and determine the real-time display transparency according to the second proportional function and the playback progress.
  • the special effect display unit is specifically configured to: display the next sentence of text on the first position of the terminal screen according to a preset transparency; and display the current text according to the display transparency and the playback progress The text moves from the current position to the second position of the terminal screen and disappears; and the next sentence of text is moved from the first position to the current position for display.
  • the device further includes:
  • the script running module is used to run a local script program according to the script file in the text special effect resource; perform special effect processing on the text through the script program, so that the text displayed at the current position of the terminal screen follows the multimedia playback The progress changes to display the next sentence.
  • a text special effect processing device including:
  • the request receiving module is configured to receive a request for obtaining text special effect resources sent by the client; wherein, the text special effect resources are used to realize the display special effects of text associated with multimedia;
  • the resource sending module is configured to send the text special effect resource to the client, so that the client performs special effect processing on at least two sentences according to the text special effect resource, so that the text displayed at the current position of the terminal screen follows the The playback progress of the multimedia is changed to display the next sentence.
  • an electronic device including:
  • Memory for storing non-transitory computer readable instructions
  • the processor is configured to run the computer-readable instructions to enable the processor to implement the above-mentioned text special effect processing method when executed.
  • a computer-readable storage medium for storing non-transitory computer-readable instructions.
  • the non-transitory computer-readable instructions are executed by a computer, the The computer executes the above-mentioned text special effect processing method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种文字特效处理方法、装置、电子设备和计算机可读存储介质。其中方法包括:向服务器发送获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效(S11);接收所述服务器发送的所述文字特效资源(S12);根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字(S13)。通过向服务器获取文字特效资源,根据所述文字特效资源对所述文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字,无需对客户端进行更新,就可以获取到文字特效资源,使文字特效使用起来更加灵活。

Description

文字特效处理方法及装置
相关申请的交叉引用
本申请要求于2019年08月01日提交的,申请号为201910708517.9、发明名称为“文字特效处理方法及装置”的中国专利申请的优先权,该申请的全文通过引用结合在本申请中。
技术领域
本公开涉及图像处理技术领域,特别是涉及一种文字特效处理方法、装置和计算机可读存储介质。
背景技术
文字设计,在以往用户界面设计里经常提及的是字体范式,重在其形。文字特效很少被人提及,不过随着简约设计的流行趋势,如果能让文字“动”起来,即使是单一的图文页面也会立即“活”起来,也会是一种别样的用户视觉体验感。
现有技术中,固定版本的应用程序通过对应固定的文字特效,即一旦确定了应用程序版本,就确定了文字特效种类。例如当前版本中有固定类型的文字特效,无法再添加其他新的文字特效,只有当版本更新后,新的文字特效才可以随着版本的更新被添加到应用程序中, 这样非常不灵活。
发明内容
提供该发明内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该发明内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。
本公开解决的技术问题是提供一种文字特效处理方法,以至少部分地解决现有技术中文字特效不灵活的技术问题。此外,还提供一种文字特效处理装置、文字特效处理硬件装置、计算机可读存储介质和文字特效处理终端。
为了实现上述目的,根据本公开的一个方面,提供以下技术方案:
一种文字特效处理方法,包括:
向服务器发送获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效;
接收所述服务器发送的所述文字特效资源;
根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
为了实现上述目的,根据本公开的一个方面,提供以下技术方案:
一种文字特效处理方法,包括:
接收客户端发送的获取文字特效资源的请求;其中,所述文字特 效资源用于实现与多媒体相关联的文字的显示特效;
向所述客户端发送所述文字特效资源,以使所述客户端根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
为了实现上述目的,根据本公开的一个方面,提供以下技术方案:
一种文字特效处理装置,包括:
请求发送模块,用于向服务器发送获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效;
资源接收模块,用于接收所述服务器发送的所述文字特效资源;
特效显示模块,用于根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
为了实现上述目的,根据本公开的一个方面,提供以下技术方案:
一种文字特效处理装置,包括:
请求接收模块,用于接收客户端发送的获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效;
资源发送模块,用于向所述客户端发送所述文字特效资源,以使所述客户端根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
为了实现上述目的,根据本公开的一个方面,提供以下技术方案:
一种电子设备,包括:
存储器,用于存储非暂时性计算机可读指令;以及
处理器,用于运行所述计算机可读指令,使得所述处理器执行时实现上述任一项所述的文字特效处理方法。
为了实现上述目的,根据本公开的一个方面,提供以下技术方案:
一种计算机可读存储介质,用于存储非暂时性计算机可读指令,当所述非暂时性计算机可读指令由计算机执行时,使得所述计算机执行上述任一项所述的文字特效处理方法。
为了实现上述目的,根据本公开的又一个方面,还提供以下技术方案:
一种文字特效处理终端,包括上述任一文字特效处理装置。
本公开实施例通过向服务器获取文字特效资源,根据所述文字特效资源对所述文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字,无需对客户端进行更新,就可以获取到文字特效资源,使文字特效使用起来更加灵活。
上述说明仅是本公开技术方案的概述,为了能更清楚了解本公开的技术手段,而可依照说明书的内容予以实施,并且为让本公开的上述和其他目的、特征和优点能够更明显易懂,以下特举较佳实施例,并配合附图,详细说明如下。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其 他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为根据本公开一个实施例的文字特效处理方法的流程示意图;
图2为根据本公开一个实施例的文字特效处理方法的流程示意图;
图3为根据本公开一个实施例的文字特效处理装置的结构示意图;
图4为根据本公开一个实施例的文字特效处理装置的结构示意图;
图5为根据本公开一个实施例的电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例” 表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
实施例一
为了解决现有技术中文字特效不灵活的技术问题,本公开实施例提供一种文字特效处理方法。如图1所示,该文字特效处理方法主要包括如下步骤S11至步骤S13。
步骤S11:向服务器发送获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效。
本实施例的执行主体为安装在终端的客户端,例如可以是短视频应用程序或音乐播放软件等。终端可以为移动终端(例如,智能手机、平板电脑等),也可以为固定终端(例如,台式电脑)。
其中,多媒体可以为视频,相应的文字为台词;也可以为音乐,相应的文字为歌词。
其中,显示特效可以为将文字进行放大、缩小、逐渐从终端屏幕消失、逐渐显示在终端屏幕等。
具体的,可以在客户端应用界面提供多媒体选项和/或文字特效资源选项,例如,提供多媒体列表,其中多媒体列表中包含多个多媒体名称,例如视频名称或音乐名称;和/或文字特效资源列表,其中,文字特效资源列表中包含特效信息,例如放大或缩小等。通过上述多媒体选项和/或文字特效资源选项,用户可以根据需求在客户端选择多媒体和/或对应的文字特效资源,然后从本地获取对应的多媒体及 与多媒体相关联的文字,或者,向服务器发送获取多媒体资源的请求,接收服务端发送的多媒体和与多媒体相关联的文字,例如音乐及对应的歌词。
步骤S12:接收所述服务器发送的所述文字特效资源。
其中,所述服务器可以为第三方服务器,该第三方服务器主要用于存储文字特效资源。也可以为与客户端对应的应用服务器,该应用服务器除了用于存储文字特效资源之前,还用于存储多媒体及与所述多媒体相关联的文字。
步骤S13:根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
其中,下一句文字的显示位置可以为当前位置,也可以为预设的其它位置。
具体的,以所述多媒体为音乐和歌词为例,根据服务器发送的文字特效资源对至少两句歌词进行特效处理,在音乐播放的过程中,使得在终端屏幕当前位置显示的歌词跟随所述多媒体的播放进度变换为显示下一句歌词。
本实施例通过向服务器获取文字特效资源,根据所述文字特效资源对所述文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字,无需对客户端进行更新,就可以获取到文字特效资源,使文字特效使用起来更加灵活。
在一个可选的实施例中,步骤S13具体包括:
步骤S131:获取所述多媒体的播放进度对应的时间戳和所述时 间戳对应的当前文字。
其中,时间戳为当前播放时间相对于起始播放时间的时间长度。
具体的,可预先设置时间戳和文字之后的对应关系,进一步根据多媒体的播放进度确定对应的时间戳,进而根据时间戳获取对应的文字。
步骤S132:根据所述时间戳确定所述当前文字的显示透明度。
其中,显示透明度可以为0-1之间的值,当显示透明度由0变为1时,则逐渐显示所述文字,当显示透明度由1变为0时,则所述当前文字逐渐消失。具体值根据时间戳实时确定。
步骤S133:根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并将下一句文字显示在所述终端屏幕上。
在一个可选的实施例中,步骤S133具体包括:
确定所述下一句文字在所述终端屏幕的显示位置;根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度逐渐从所述终端屏幕淡出,并在所述显示位置逐渐淡入所述下一句文字。
其中,显示位置可以为当前位置,也可以为预设的其它位置。
具体的,以音乐和歌词为例,在渲染时,根据时间戳将当前歌词通过位图渲染到终端屏幕上,渲染时可以将当前歌词的透明度设置为渐变,例如从透明度为1到透明度为0,以形成淡出的效果,并将下一句歌词的透明度也设置为渐变,例如从透明度为0到透明度为1,以形成淡入的效果。
进一步的,所述确定所述下一句文字在所述终端屏幕的显示位置 具体包括:
在所述当前位置的基础上加上预设偏移量作为目标位置;若所述目标位置未超出所述终端屏幕的第一预设位置,则将所述目标位置作为所述显示位置;或,若所述目标位置超出所述终端屏幕的第一预设位置,则将所述终端屏幕的第二预设位置作为所述显示位置。
其中,第一预设位置和第二预设位置可以自定义设置。例如,将第一预设位置设置为终端屏幕的底端,将第二预设位置设置为终端屏幕的顶端。
具体的,以音乐和歌词为例,在显示下一句歌词时,获取当前歌词的下一句歌词,并将下一句歌词的位置移动到下一个位置,具体实现时可以将位图加一个偏移量,如此循环。当位图的位置超过终端屏幕的预设位置即第一预设位置,则将歌词渲染到初始位置即第二预设位置。
在一个可选的实施例中,步骤S133具体包括:
获取所述下一句文字的时间戳;根据所述当前文字的时间戳和所述下一句文字的时间戳确定时间长度;根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并根据所述时间长度将所述下一句文字逐渐显示在所述终端屏幕上。
具体的,将当前文字的时间戳和所述下一句文字的时间戳的时间差作为时间长度。以音乐和歌词为例,在渲染时,当当前歌词从终端屏幕消失时,将下一句歌词通过位图渲染到终端屏幕上,并控制下一句歌词的显示透明度,使下一句歌词随着时间长度慢慢显示。
在一个可选的实施例中,步骤S133具体包括:
确定所述当前文字的缩放系数;根据所述显示透明度和所述缩放系数控制所述当前文字跟随所述多媒体的播放进度进行缩放的同时从所述终端屏幕消失,并将所述下一句文字显示在所述终端屏幕上。
其中,缩放系数为将文字放大或缩小的比例。
具体的,以音乐和歌词为例,对当前歌词做放大处理,放大的系数与时间成正比,当前歌词的透明度同时也与时间成正比,当透明度由1变为0,当前歌词在放大的同时完全消失。
进一步的,所述确定所述当前文字的缩放系数,包括:
根据所述当前文字的时间戳和所述下一句文字的时间戳确定时间长度;
对所述时间长度进行等分,根据等分份数和所述缩放系数的最大值确定第一正比例函数;
根据所述第一正比例函数和所述播放进度确定实时缩放系数。
例如,如果对时间长度做了5等分,则缩放系数与播放进度的关系为y=1/5x,其中,x为播放进度,用时间戳表示,y为缩放系数。
具体的,以音乐和歌词为例,将当前歌词的时间戳与下一句歌词的时间戳时间差做等分,将放大系数或缩小系数与这个时间长度做正比,这样下一句歌词显示之前,当前歌词正好消失。
进一步的,所述方法还包括:
根据所述等分份数和所述显示透明度的最大值确定第二正比例函数;
根据所述第二正比例函数和所述播放进度确定实时显示透明度。
同理,例如,如果对时间长度做了5等分,则实时显示透明度与播放进度的关系为y=1/5x,其中,x为播放进度,用时间戳表示,y为显示透明度。
在一个可选的实施例中,步骤S133具体包括:
根据预设透明度将所述下一句文字显示在所述终端屏幕的第一位置;
根据所述显示透明度和所述将所述播放进度将所述当前文字从所述当前位置移动到所述终端屏幕的第二位置处消失;
将所述下一句文字由所述第一位置移动至所述当前位置显示。
其中,当前位置、第一位置和第二位置为终端屏幕上的三个不同位置,其中一种示例如下:当前位置可以为终端屏幕的中间位置,第一位置可以在所述中间位置的下方,第二位置可以在所述中间位置的上方。
具体的,以音乐和歌词为例,预先设置3个位置,第一位置、当前位置和第二位置。获取时间戳,将当前歌词通过位图显示到终端屏幕的当前位置,随着播放进度,将当前歌词移动到第二显示位置上,并且逐渐缩小、透明度逐渐变大、直至当前歌词完全消失;同时在第一显示位置以缩小的大小以及一个预设的透明度显示下一句歌词,当移动到显示下一句歌词的时间戳时,将下一句歌词移动至当前位置上,移动的同时逐渐放大下一句歌词且透明度逐渐变小。
在一个可选的实施例中,所述方法还包括:
步骤S15:根据所述文字特效资源中的脚本文件运行本地的脚本程序;
步骤S16:通过所述脚本程序对所述文字进行特效处理,使得所述文字跟随所述多媒体的播放进度显示在终端屏幕上,并逐渐从所述终端屏幕上消失。
具体的,可以预先编写脚本程序,将该脚本程序配置在客户端中,并将对应的脚本文字包含在文字特效资源中。在接收到所述服务器发送的所述文字特效资源后,通过运行脚本程序,实现所述文字的特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
实施例二
为了解决现有技术中文字特效不灵活的技术问题,本公开实施例提供一种文字特效处理方法。如图2所示,该文字特效处理方法主要包括如下步骤S21至步骤S22。
步骤S21:接收客户端发送的获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效。
步骤S22:向所述客户端发送所述文字特效资源,以使所述客户端根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
本实施例的执行主体为服务器。关于本实施例的各个名词解释及实现具体参见上述实施例一,这里不再赘述。
本实施例通过向客户端发送文字特效资源,以使客户端根据所述文字特效资源对所述文字进行特效处理,使得在终端屏幕当前位置显 示的文字跟随所述多媒体的播放进度变换为显示下一句文字,无需对客户端进行更新,就可以获取到文字特效资源,使文字特效使用起来更加灵活。
本领域技术人员应能理解,在上述各个实施例的基础上,还可以进行明显变型(例如,对所列举的模式进行组合)或等同替换。
在上文中,虽然按照上述的顺序描述了文字特效处理方法实施例中的各个步骤,本领域技术人员应清楚,本公开实施例中的步骤并不必然按照上述顺序执行,其也可以倒序、并行、交叉等其他顺序执行,而且,在上述步骤的基础上,本领域技术人员也可以再加入其他步骤,这些明显变型或等同替换的方式也应包含在本公开的保护范围之内,在此不再赘述。
下面为本公开装置实施例,本公开装置实施例可用于执行本公开方法实施例实现的步骤,为了便于说明,仅示出了与本公开实施例相关的部分,具体技术细节未揭示的,请参照本公开方法实施例。
实施例三
为了解决现有技术中文字特效不灵活的技术问题,本公开实施例提供一种文字特效处理装置。该装置可以执行上述实施例一所述的文字特效处理方法实施例中的步骤。如图3所示,该装置主要包括:请求发送模块31、资源接收模块32和特效显示模块33;其中,
请求发送模块31用于向服务器发送获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效;
资源接收模块32用于接收所述服务器发送的所述文字特效资源;
特效显示模块33用于根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
进一步的,所述特效显示模块33包括:文字获取单元331、透明度确定单元332和特效显示单元333;其中,
文字获取单元331用于获取所述多媒体的播放进度对应的时间戳和所述时间戳对应的当前文字;
透明度确定单元332用于根据所述时间戳确定所述当前文字的显示透明度;
特效显示单元333用于根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并将下一句文字显示在所述终端屏幕上。
进一步的,所述特效显示单元333具体用于:确定所述下一句文字在所述终端屏幕的显示位置;根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度逐渐从所述终端屏幕淡出,并在所述显示位置逐渐淡入所述下一句文字。
进一步的,所述特效显示单元333具体用于:在所述当前位置的基础上加上预设偏移量作为目标位置;若所述目标位置未超出所述终端屏幕的第一预设位置,则将所述目标位置作为所述显示位置;或,若所述目标位置超出所述终端屏幕的第一预设位置,则将所述终端屏幕的第二预设位置作为所述显示位置。
进一步的,所述特效显示单元333具体用于:获取所述下一句文字的时间戳;根据所述当前文字的时间戳和所述下一句文字的时间戳确定时间长度;根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并根据所述时间长度将所述下一句文字逐渐显示在所述终端屏幕上。
进一步的,所述特效显示单元333具体用于:确定所述当前文字的缩放系数;根据所述显示透明度和所述缩放系数控制所述当前文字跟随所述多媒体的播放进度进行缩放的同时从所述终端屏幕消失,并将所述下一句文字显示在所述终端屏幕上。
进一步的,所述特效显示单元333具体用于:根据所述当前文字的时间戳和所述下一句文字的时间戳确定时间长度;对所述时间长度进行等分,根据等分份数和所述缩放系数的最大值确定第一正比例函数;根据所述第一正比例函数和所述播放进度确定实时缩放系数。
进一步的,所述特效显示单元333还用于:根据所述等分份数和所述显示透明度的最大值确定第二正比例函数;根据所述第二正比例函数和所述播放进度确定实时显示透明度。
进一步的,所述特效显示单元333具体用于:根据预设透明度将所述下一句文字显示在所述终端屏幕的第一位置;根据所述显示透明度和所述将所述播放进度将所述当前文字从所述当前位置移动到所述终端屏幕的第二位置处消失;将所述下一句文字由所述第一位置移动至所述当前位置显示。
进一步的,所述装置还包括:脚本运行模块34;其中,
脚本运行模块34用于根据所述文字特效资源中的脚本文件运行本地的脚本程序;通过所述脚本程序对所述文字进行特效处理,使得 在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
有关文字特效处理装置实施例的工作原理、实现的技术效果等详细说明可以参考前述文字特效处理方法实施例中的相关说明,在此不再赘述。
实施例四
为了解决现有技术中文字特效不灵活的技术问题,本公开实施例提供一种文字特效处理装置。该装置可以执行上述实施例二所述的文字特效处理方法实施例中的步骤。如图4所示,该装置主要包括:请求接收模块41和资源发送模块42;其中,
请求接收模块41用于接收客户端发送的获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效;
资源发送模块42用于向所述客户端发送所述文字特效资源,以使所述客户端根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
有关文字特效处理装置实施例的工作原理、实现的技术效果等详细说明可以参考前述文字特效处理方法实施例中的相关说明,在此不再赘述。
实施例五
下面参考图5,其示出了适于用来实现本公开实施例的电子设备500的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图5示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图5所示,电子设备500可以包括处理装置(例如中央处理器、图形处理器等)501,其可以根据存储在只读存储器(ROM)502中的程序或者从存储装置506加载到随机访问存储器(RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有电子设备500操作所需的各种程序和数据。处理装置501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。
通常,以下装置可以连接至I/O接口505:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置506;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置507;包括例如磁带、硬盘等的存储装置506;以及通信装置509。通信装置509可以允许电子设备500与其他设备进行无线或有线通信以交换数据。虽然图5示出了具有各种装置的电子设备500,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置509从网络上被下载和安装,或者从存储装置506被安装,或者从ROM 502被安装。在该计算机程序被处理装置501执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可 读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:向服务器发送获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效;接收所述服务器发送的所述文字特效资源;根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
可以以一种或多种程序设计语言或其组合来编写用于执行本公 开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下 并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,提供了一种文字特效处理方法,包括:
向服务器发送获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效;
接收所述服务器发送的所述文字特效资源;
根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
进一步的,所述根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字,包括:
获取所述多媒体的播放进度对应的时间戳和所述时间戳对应的当前文字;
根据所述时间戳确定所述当前文字的显示透明度;
根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并将下一句文字显示在所述终端屏幕上。
进一步的,所述根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并将下一句文字显示在所述终端屏幕上,包括:
确定所述下一句文字在所述终端屏幕的显示位置;
根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度逐渐从所述终端屏幕淡出,并在所述显示位置逐渐淡入所述下一句文字。
进一步的,所述确定所述下一句文字在所述终端屏幕的显示位置,包括:
在所述当前位置的基础上加上预设偏移量作为目标位置;
若所述目标位置未超出所述终端屏幕的第一预设位置,则将所述目标位置作为所述显示位置;或,
若所述目标位置超出所述终端屏幕的第一预设位置,则将所述终端屏幕的第二预设位置作为所述显示位置。
进一步的,所述根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并将下一句文字显示在所述终端屏幕上,包括:
获取所述下一句文字的时间戳;
根据所述当前文字的时间戳和所述下一句文字的时间戳确定时间长度;
根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并根据所述时间长度将所述下一句文字逐渐显示在所述终端屏幕上。
进一步的,所述根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并将下一句文字显示在所述终端屏幕上,包括:
确定所述当前文字的缩放系数;
根据所述显示透明度和所述缩放系数控制所述当前文字跟随所述多媒体的播放进度进行缩放的同时从所述终端屏幕消失,并将所述下一句文字显示在所述终端屏幕上。
进一步的,所述确定所述当前文字的缩放系数,包括:
根据所述当前文字的时间戳和所述下一句文字的时间戳确定时间长度;
对所述时间长度进行等分,根据等分份数和所述缩放系数的最大值确定第一正比例函数;
根据所述第一正比例函数和所述播放进度确定实时缩放系数。
进一步的,所述方法还包括:
根据所述等分份数和所述显示透明度的最大值确定第二正比例函数;
根据所述第二正比例函数和所述播放进度确定实时显示透明度。
进一步的,所述根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并将下一句文字显示在所述终端屏幕上,包括:
根据预设透明度将所述下一句文字显示在所述终端屏幕的第一位置;
根据所述显示透明度和所述将所述播放进度将所述当前文字从所述当前位置移动到所述终端屏幕的第二位置处消失;
将所述下一句文字由所述第一位置移动至所述当前位置显示。
进一步的,所述方法还包括:
根据所述文字特效资源中的脚本文件运行本地的脚本程序;
通过所述脚本程序对所述文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
根据本公开的一个或多个实施例,提供了一种文字特效处理方法,包括:
接收客户端发送的获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效;
向所述客户端发送所述文字特效资源,以使所述客户端根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
根据本公开的一个或多个实施例,提供了一种文字特效处理装置,包括:
请求发送模块,用于向服务器发送获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效;
资源接收模块,用于接收所述服务器发送的所述文字特效资源;
特效显示模块,用于根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
进一步的,所述特效显示模块包括:
文字获取单元,用于获取所述多媒体的播放进度对应的时间戳和所述时间戳对应的当前文字;
透明度确定单元,用于根据所述时间戳确定所述当前文字的显示透明度;
特效显示单元,用于根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并将下一句文字显示在所述终端屏幕上。
进一步的,所述特效显示单元具体用于:确定所述下一句文字在所述终端屏幕的显示位置;根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度逐渐从所述终端屏幕淡出,并在所述显示位置逐渐淡入所述下一句文字。
进一步的,所述特效显示单元具体用于:在所述当前位置的基础上加上预设偏移量作为目标位置;若所述目标位置未超出所述终端屏幕的第一预设位置,则将所述目标位置作为所述显示位置;或,若所述目标位置超出所述终端屏幕的第一预设位置,则将所述终端屏幕的第二预设位置作为所述显示位置。
进一步的,所述特效显示单元具体用于:获取所述下一句文字的时间戳;根据所述当前文字的时间戳和所述下一句文字的时间戳确定时间长度;根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并根据所述时间长度将所述下一句文字逐渐显示在所述终端屏幕上。
进一步的,所述特效显示单元具体用于:确定所述当前文字的缩放系数;根据所述显示透明度和所述缩放系数控制所述当前文字跟随所述多媒体的播放进度进行缩放的同时从所述终端屏幕消失,并将所述下一句文字显示在所述终端屏幕上。
进一步的,所述特效显示单元具体用于:根据所述当前文字的时间戳和所述下一句文字的时间戳确定时间长度;对所述时间长度进行等分,根据等分份数和所述缩放系数的最大值确定第一正比例函数;根据所述第一正比例函数和所述播放进度确定实时缩放系数。
进一步的,所述特效显示单元还用于:根据所述等分份数和所述显示透明度的最大值确定第二正比例函数;根据所述第二正比例函数和所述播放进度确定实时显示透明度。
进一步的,所述特效显示单元具体用于:根据预设透明度将所述下一句文字显示在所述终端屏幕的第一位置;根据所述显示透明度和所述将所述播放进度将所述当前文字从所述当前位置移动到所述终 端屏幕的第二位置处消失;将所述下一句文字由所述第一位置移动至所述当前位置显示。
进一步的,所述装置还包括:
脚本运行模块,用于根据所述文字特效资源中的脚本文件运行本地的脚本程序;通过所述脚本程序对所述文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
根据本公开的一个或多个实施例,提供了一种文字特效处理装置,包括:
请求接收模块,用于接收客户端发送的获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效;
资源发送模块,用于向所述客户端发送所述文字特效资源,以使所述客户端根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
根据本公开的一个或多个实施例,提供了一种电子设备,包括:
存储器,用于存储非暂时性计算机可读指令;以及
处理器,用于运行所述计算机可读指令,使得所述处理器执行时实现上述的文字特效处理方法。
根据本公开的一个或多个实施例,提供了一种计算机可读存储介质,用于存储非暂时性计算机可读指令,当所述非暂时性计算机可读 指令由计算机执行时,使得所述计算机执行上述的文字特效处理方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (15)

  1. 一种文字特效处理方法,其特征在于,包括:
    向服务器发送获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效;
    接收所述服务器发送的所述文字特效资源;
    根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字,包括:
    获取所述多媒体的播放进度对应的时间戳和所述时间戳对应的当前文字;
    根据所述时间戳确定所述当前文字的显示透明度;
    根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并将下一句文字显示在所述终端屏幕上。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并将下一句文字显示在所述终端屏幕上,包括:
    确定所述下一句文字在所述终端屏幕的显示位置;
    根据所述显示透明度控制所述当前文字跟随所述多媒体的播放 进度逐渐从所述终端屏幕淡出,并在所述显示位置逐渐淡入所述下一句文字。
  4. 根据权利要求3所述的方法,其特征在于,所述确定所述下一句文字在所述终端屏幕的显示位置,包括:
    在所述当前位置的基础上加上预设偏移量作为目标位置;
    若所述目标位置未超出所述终端屏幕的第一预设位置,则将所述目标位置作为所述显示位置;或,
    若所述目标位置超出所述终端屏幕的第一预设位置,则将所述终端屏幕的第二预设位置作为所述显示位置。
  5. 根据权利要求2所述的方法,其特征在于,所述根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并将下一句文字显示在所述终端屏幕上,包括:
    获取所述下一句文字的时间戳;
    根据所述当前文字的时间戳和所述下一句文字的时间戳确定时间长度;
    根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并根据所述时间长度将所述下一句文字逐渐显示在所述终端屏幕上。
  6. 根据权利要求2所述的方法,其特征在于,所述根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并将下一句文字显示在所述终端屏幕上,包括:
    确定所述当前文字的缩放系数;
    根据所述显示透明度和所述缩放系数控制所述当前文字跟随所述多媒体的播放进度进行缩放的同时从所述终端屏幕消失,并将所述下一句文字显示在所述终端屏幕上。
  7. 根据权利要求6所述的方法,其特征在于,所述确定所述当前文字的缩放系数,包括:
    根据所述当前文字的时间戳和所述下一句文字的时间戳确定时间长度;
    对所述时间长度进行等分,根据等分份数和所述缩放系数的最大值确定第一正比例函数;
    根据所述第一正比例函数和所述播放进度确定实时缩放系数。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:
    根据所述等分份数和所述显示透明度的最大值确定第二正比例函数;
    根据所述第二正比例函数和所述播放进度确定实时显示透明度。
  9. 根据权利要求2所述的方法,其特征在于,所述根据所述显示透明度控制所述当前文字跟随所述多媒体的播放进度从所述终端屏幕消失,并将下一句文字显示在所述终端屏幕上,包括:
    根据预设透明度将所述下一句文字显示在所述终端屏幕的第一位置;
    根据所述显示透明度和所述将所述播放进度将所述当前文字从所述当前位置移动到所述终端屏幕的第二位置处消失;
    将所述下一句文字由所述第一位置移动至所述当前位置显示。
  10. 根据权利要求1-9任一项所述的方法,其特征在于,所述方法还包括:
    根据所述文字特效资源中的脚本文件运行本地的脚本程序;
    通过所述脚本程序对所述文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
  11. 一种文字特效处理方法,其特征在于,包括:
    接收客户端发送的获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效;
    向所述客户端发送所述文字特效资源,以使所述客户端根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
  12. 一种文字特效处理装置,其特征在于,包括:
    请求发送模块,用于向服务器发送获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示特效;
    资源接收模块,用于接收所述服务器发送的所述文字特效资源;
    特效显示模块,用于根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
  13. 一种文字特效处理装置,其特征在于,包括:
    请求接收模块,用于接收客户端发送的获取文字特效资源的请求;其中,所述文字特效资源用于实现与多媒体相关联的文字的显示 特效;
    资源发送模块,用于向所述客户端发送所述文字特效资源,以使所述客户端根据所述文字特效资源对至少两句文字进行特效处理,使得在终端屏幕当前位置显示的文字跟随所述多媒体的播放进度变换为显示下一句文字。
  14. 一种电子设备,包括:
    存储器,用于存储非暂时性计算机可读指令;以及
    处理器,用于运行所述计算机可读指令,使得所述处理器执行时实现根据权利要求1-10任一项所述的文字特效处理方法及权利要求11所述的文字特效处理方法。
  15. 一种计算机可读存储介质,用于存储非暂时性计算机可读指令,当所述非暂时性计算机可读指令由计算机执行时,使得所述计算机执行权利要求1-10任一项所述的文字特效处理方法及权利要求11所述的文字特效处理方法。
PCT/CN2020/105438 2019-08-01 2020-07-29 文字特效处理方法及装置 WO2021018177A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910708517.9A CN112395825A (zh) 2019-08-01 2019-08-01 文字特效处理方法及装置
CN201910708517.9 2019-08-01

Publications (1)

Publication Number Publication Date
WO2021018177A1 true WO2021018177A1 (zh) 2021-02-04

Family

ID=74228223

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/105438 WO2021018177A1 (zh) 2019-08-01 2020-07-29 文字特效处理方法及装置

Country Status (2)

Country Link
CN (1) CN112395825A (zh)
WO (1) WO2021018177A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150109532A1 (en) * 2013-10-23 2015-04-23 Google Inc. Customizing mobile media captioning based on mobile media rendering
CN104899184A (zh) * 2014-03-04 2015-09-09 腾讯科技(深圳)有限公司 文字处理方法、装置及系统
CN106340287A (zh) * 2016-08-25 2017-01-18 广安欧奇仕电子科技有限公司 一种手机歌曲点唱的处理方法
CN108055592A (zh) * 2017-11-21 2018-05-18 广州视源电子科技股份有限公司 字幕显示方法、装置、移动终端及存储介质
CN109672919A (zh) * 2018-12-26 2019-04-23 新华三技术有限公司合肥分公司 字幕显示方法、装置及用户终端

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102207208B1 (ko) * 2014-07-31 2021-01-25 삼성전자주식회사 음악 정보 시각화 방법 및 장치
CN107943964A (zh) * 2017-11-27 2018-04-20 腾讯音乐娱乐科技(深圳)有限公司 歌词显示方法、装置及计算机可读存储介质
CN109257499B (zh) * 2018-09-30 2021-07-27 腾讯音乐娱乐科技(深圳)有限公司 一种歌词的动态展示方法及装置
CN109902282B (zh) * 2019-02-20 2023-05-09 腾讯音乐娱乐科技(深圳)有限公司 一种文字排版方法、装置和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150109532A1 (en) * 2013-10-23 2015-04-23 Google Inc. Customizing mobile media captioning based on mobile media rendering
CN104899184A (zh) * 2014-03-04 2015-09-09 腾讯科技(深圳)有限公司 文字处理方法、装置及系统
CN106340287A (zh) * 2016-08-25 2017-01-18 广安欧奇仕电子科技有限公司 一种手机歌曲点唱的处理方法
CN108055592A (zh) * 2017-11-21 2018-05-18 广州视源电子科技股份有限公司 字幕显示方法、装置、移动终端及存储介质
CN109672919A (zh) * 2018-12-26 2019-04-23 新华三技术有限公司合肥分公司 字幕显示方法、装置及用户终端

Also Published As

Publication number Publication date
CN112395825A (zh) 2021-02-23

Similar Documents

Publication Publication Date Title
JP7412553B2 (ja) 情報表示方法及び装置、電子デバイス、並びにコンピュータ読取可能媒体
US20230107220A1 (en) Video processing method and apparatus, electronic device, and computer readable storage medium
WO2021135626A1 (zh) 菜单项选择方法、装置、可读介质及电子设备
WO2021114979A1 (zh) 视频页面显示方法、装置、电子设备和计算机可读介质
WO2021190129A1 (zh) 页面处理方法、装置、电子设备及计算机可读存储介质
CN111459364B (zh) 图标更新方法、装置和电子设备
CN110070592B (zh) 特效包的生成方法、装置和硬件装置
CN112307375A (zh) 页面展示方法、装置、电子设备和计算机可读介质
CN110837333A (zh) 调整多媒体文件的播放进度方法、装置、终端及存储介质
WO2023216936A1 (zh) 视频播放方法、装置、电子设备、存储介质和程序产品
WO2020224294A1 (zh) 用于处理信息的系统、方法和装置
CN114363686B (zh) 多媒体内容的发布方法、装置、设备和介质
CN112181571A (zh) 浮窗显示方法、装置、终端及存储介质
CN114187170B (zh) 图像特效包的生成方法、装置、设备及存储介质
CN111259636A (zh) 文档渲染方法、装置和电子设备
CN113766303B (zh) 多屏互动方法、装置、设备及存储介质
CN111273830A (zh) 显示数据方法、装置、电子设备和计算机可读介质
JP2024515693A (ja) テーブル展示方法、装置、機器及び媒体
EP4134904A1 (en) Image special effect configuration method, image recognition method, apparatuses, and electronic device
WO2021114981A1 (zh) 视频播放页面显示方法、装置、电子设备和介质
WO2024027648A1 (zh) 信息的显示方法、装置、电子设备和存储介质
WO2024001893A1 (zh) 素材展示方法、装置、设备、计算机可读存储介质及产品
WO2024022179A1 (zh) 媒体内容的显示方法、装置、电子设备和存储介质
WO2023207543A1 (zh) 媒体内容的发布方法、装置、设备、存储介质和程序产品
CN111460211A (zh) 音频信息播放方法、装置和电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20846971

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20846971

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20846971

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20846971

Country of ref document: EP

Kind code of ref document: A1