CN115734013A - Method and system for playing subtitles for video by using independent subtitle player application - Google Patents

Method and system for playing subtitles for video by using independent subtitle player application Download PDF

Info

Publication number
CN115734013A
CN115734013A CN202111005351.8A CN202111005351A CN115734013A CN 115734013 A CN115734013 A CN 115734013A CN 202111005351 A CN202111005351 A CN 202111005351A CN 115734013 A CN115734013 A CN 115734013A
Authority
CN
China
Prior art keywords
subtitle
video
player application
playing
user
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
CN202111005351.8A
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.)
East China Normal University
Original Assignee
East China Normal University
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 East China Normal University filed Critical East China Normal University
Priority to CN202111005351.8A priority Critical patent/CN115734013A/en
Publication of CN115734013A publication Critical patent/CN115734013A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Circuits (AREA)

Abstract

The invention discloses a system for playing subtitles for videos by using an independent subtitle player application, wherein the video player application comprises a sending module, and the subtitle player application comprises a receiving module, a foreign language learning function module, a subtitle playing function module, a subtitle style modifying module and a subtitle uploading function module for a user. Based on the system, the invention also discloses a using method, which comprises the following steps: the subtitle player application acquires identification information of a video which is currently played from the video player application, the subtitle player application can also acquire the playing progress and the playing double speed of the video which is currently played to synchronize the playing progress of the subtitle and the playing progress of the video, and a user can also use the foreign language learning function module, upload subtitle resources and modify the style of the floating window. The invention can reduce the coupling degree between the subtitle playing function and the video playing function, and is beneficial to expanding more purposes of the subtitle.

Description

Method and system for playing subtitles for video by using independent subtitle player application
Technical Field
The invention relates to the technical field of computer application software, and particularly provides a method for adding subtitles to a video by an application in a floating window mode.
Background
With the progress of internet technology and the improvement of international level in China, more and more excellent foreign excellent movie works are introduced into the domestic market, and meanwhile, the number of foreign language learners and foreign movie enthusiasts is increased year by year. The floating window is a common content display mode in application development, a window body of the floating window can be transparent or semitransparent, the floating window can be displayed on a display interface of electronic equipment, the floating window is commonly used for displaying application contents to a user, and the user can conveniently and quickly control an application program.
However, most foreign films and televisions seen in China currently have only Chinese subtitles or bilingual subtitles, but foreign subtitles are very small. Such subtitles have poor viewing effects and are not suitable for foreign language learning. In addition, at present, the invention uses the videos played by the video players on the market, and the subtitles are basically embedded in the videos, namely the subtitles are part of the videos, or the video players support the plug-in subtitles, namely the subtitles are played by using the components of the video players, but the plug-in subtitles are only one function in the video players. By using the two methods, the coupling degree between the subtitle playing function and the video playing function is very high, and the expansion of more functions of the subtitles is not facilitated. For example, if the present invention wants to learn a foreign language with subtitles of a movie and wants to add a word in the subtitles to the word book of the present invention for carrying the word, the movie player needs to support the word book function and the word carrying function, which will certainly increase the complexity of the application and is not good for the user to operate.
Therefore, the invention provides the novel subtitle playing method, and subtitles are added to the film and television by an independent application program in a floating window mode. In this way, more purposes of the subtitles can be expanded, such as foreign language learning and the like.
Disclosure of Invention
The invention aims to solve the above problems, and provides a method for adding subtitles to a subtitle player in a floating window mode, so that a user can add custom subtitles to videos in a floating window mode in the process of watching the videos. Therefore, subtitles of various languages can be added to the foreign language movie, and a user can learn foreign languages in the process of watching the foreign language movie.
In order to achieve the above object, the present invention provides a method and system for adding subtitles to another video player application by using an application with a floating window, wherein the method comprises the following steps:
video played by one subtitle player application in a floating window fashion for another video player application matches time-synchronized subtitles. The floating window of the subtitle player application and the video content played by the video player are displayed on the screen of the same electronic equipment.
The video player application includes a sending module.
The sending module provides information to the subtitle player application through the video player application, wherein the information comprises time, playing progress, movie and television information, names of movie and television resources and the like.
The caption player comprises a receiving module, a foreign language learning function module, a caption playing function module, a caption style modifying module and a caption uploading function module by a user.
A receiving module: for the subtitle player application to receive information provided by the video player application.
The subtitle playing function module: when the jumping of the video played in the video player is detected, or the watching movie and television resources are switched by the user, the subtitle player program adjusts the subtitles played by the floating window by using the information provided by the video player program, so that the subtitles matched with the video played in the video player are played synchronously. If the user adjusts the playing progress of the video in the video player or the user switches the video, the subtitle player application can adjust the subtitles played in the floating window by using the information provided by the video player application, so that the subtitles matched with the video played in the video player are played synchronously.
The method specifically comprises the following steps: when a video starts playing, a video player application sends a start signal to a subtitle player application, the subtitle player application also starts playing subtitles synchronously, the time when the subtitles start playing is recorded as t1, and the current time is currentTime, then the current subtitle player application should play the subtitles at the corresponding time (currentTime-t 1), if the playing time of the video changes t before, at this moment, the video player application sends time synchronization information to the subtitle player application, and after receiving the time synchronization information, the subtitle player application modifies t1 to t 1.
The foreign language learning function module: preferably, the user operates the subtitle playing floating window applied to the subtitle player, the components contained in the subtitle playing floating window and the clickable subtitle characters, and the operation includes one of long pressing of the word in the subtitle playing floating window (after long pressing of the word in the subtitle, the word can be added to the word book), double pressing (after double pressing of the floating window, a setting window is popped up to adjust the size of the subtitle playing floating window and adjust the color of the subtitle and floating window bodies), and dragging (after dragging operation of the floating window body, the position of the floating window body will be changed). The subtitle player application can react to the operation performed by the user, and is used for clicking the word searching function of the user word book of the subtitle player application. When the user uses the subtitle player application alone, the word-background function of the word book in the subtitle player application can also be used.
The user uploads a subtitle function module: preferably, the subtitle player application may store the subtitle resources at the server side, and the subtitle resources at the server side may be uploaded by the user.
And a subtitle style modifying module: preferably, the subtitle player application can modify the form color, transparency and position style of the form in the screen, and the size, color and background of the subtitle font of the floating window. The subtitle player application can adjust the display state of the floating window according to the real-time states of the user equipment and the video player application by acquiring the real-time states of the user equipment and the video player application, and if the video in the video player is paused for more than 10 seconds, the floating window can be in a hidden state so as not to influence other operations of a user.
A terminal device, comprising: the system comprises a memory, a processor and a subtitle playing program which is stored on the memory and runs on the processor, wherein the subtitle playing program is executed by the processor to execute the subtitle player using method.
A computer-readable storage medium having stored thereon a subtitle playback program that, when executed by a processor, implements the subtitle player using method described above.
Based on the system, the invention also provides a using method, which comprises the following steps:
step 1, a sending module of a video player application provides information to a subtitle player application, wherein the information comprises time, playing progress, movie and television information, names of movie and television resources and the like;
step 2, a receiving module of the subtitle player application receives the information provided by the video player application; the floating window of the subtitle player application and the video content played by the video player are displayed on the screen of the same electronic equipment.
Step 3, when the situation that the video played in the video player skips is detected, or the user switches the watched movie and television resources is detected, the subtitle player adjusts the subtitles played by the floating window by using the information provided by the video player program, namely the playing progress and the movie and television information, so that the subtitles matched with the video played in the video player are played synchronously; and acquiring the identification information of the video currently playing from the video player application program by the subtitle player application program, wherein the identification information is used for acquiring which video is currently played, so that the subtitle corresponding to the video is played. The subtitle player application can also obtain the playing progress of the video being played, and is used for synchronizing the playing progress of the subtitle and the playing progress of the video. The subtitle player application can also acquire the playing speed of the current video so as to synchronize the subtitle playing speed, and can also acquire whether the video is paused so as to determine when the subtitle is paused and whether the subtitle playing floating window needs to be closed.
And 4, the user can use the foreign language learning function module, the paraphrase of the words in the subtitles can be inquired by clicking the word searching function, the words in the subtitles can also be added to the word book, and after the words are added to the word book, the user can use the word book to carry out word back.
The user can upload the subtitle resources through the user uploading subtitle function module applied by the subtitle player, and the server side can store the subtitle resources;
the user can modify the size, color, background, etc. of the subtitle font of the floating window through the modify subtitle style module. The subtitle player can adjust the display state of the floating window according to the real-time states of the user equipment and the video player by acquiring the real-time states of the user equipment and the video player, and if the video in the video player pauses for more than 10 seconds, the floating window is hidden, so that the floating window can be hidden when the video player does not play the video, and other operations of a user are prevented from being influenced.
The invention has the advantages that:
the invention can reduce the coupling degree between the subtitle playing function and the video playing function, and is beneficial to expanding more purposes of the subtitle. In this way, more purposes of the subtitles can be expanded, such as foreign language learning and the like. The user can add self-defined subtitles to the movie in a floating window mode in the process of watching the movie. Therefore, subtitles of various languages can be added to the foreign language movie, and a user can learn foreign languages in the process of watching the foreign language movie. The foreign language learning is more interesting, and meanwhile, the software also reduces the coupling of video playing and caption playing, so that the caption can be used for more purposes, and the user experience is enriched.
Drawings
Fig. 1 is a schematic diagram of a method for matching time-synchronized subtitles by a subtitle player application to video played by another video player application in a floating window manner according to the present invention.
Fig. 2 is a schematic diagram of a method for playing subtitles for video using a standalone subtitle player application in accordance with the present invention.
Detailed Description
The present invention is further described in detail with reference to the following specific examples and the accompanying drawings. The procedures, conditions, experimental methods and the like for carrying out the present invention are general knowledge and common general knowledge in the art except for the contents specifically mentioned below, and the present invention is not particularly limited.
The system comprises a video player application and a subtitle player application;
the video player application comprises a sending module; the subtitle player application comprises a receiving module, a foreign language learning function module, a subtitle playing function module, a subtitle style modifying module and a subtitle uploading function module for a user;
the sending module provides information to a subtitle player application through a video player application; the receiving module is used for receiving information provided by the video player application by the subtitle player application; the subtitle playing function module comprises: when detecting that the user adjusts the playing progress of the video in the video player or the user switches the video, the subtitle player application can adjust the subtitles played in the floating window by using the information provided by the video player application, so as to synchronously play the subtitles matched with the video played in the video player; the foreign language learning function module includes: the method comprises the steps that a user operates a subtitle playing floating window applied by a subtitle player, a component contained in the subtitle playing floating window and a clickable subtitle character, and the subtitle player application reacts to the operation performed by the user and is used for clicking a word book of the user applied by the subtitle player to search words; the user subtitle uploading function module comprises: a user uploads subtitle resources to a server, and subtitle player application can store the subtitle resources at the server; the subtitle modification module comprises: the subtitle player application can modify the form color and transparency of the floating window, the position style of the form in the screen, and the size, color and background of the subtitle font.
The embodiment of the invention provides a method for matching time-synchronized subtitles for videos played by one subtitle player application in a floating window mode for another video player application. When it is detected that the video played in the video player jumps or the user switches the watched movie resource, the subtitle player program adjusts the subtitle played by the floating window by using the information provided by the video player program, i.e. the playing progress and the name of the movie resource, so as to synchronously play the subtitle matched with the video played in the video player.
In the subtitle player program, a user can operate the subtitle playing floating window of the subtitle player and the components contained in the subtitle playing floating window, and after clicking, long pressing, double clicking and dragging the subtitle playing floating window, the subtitle player application can react to the operation performed by the user and is used for clicking word searching and adding word books.
The subtitle player program can enable the floating window to be hidden when the video player does not play videos by acquiring the real-time states of the user equipment and the video player and adjusting the state of the floating window according to the real-time states of the user equipment and the video player so as to avoid influencing other operations of a user.
The caption player application comprises a user word book, a back word and related foreign language learning functions. When the user uses the subtitle player program alone. It is also possible to use the word book, the back word and the associated foreign language learning functions in the subtitle player.
The caption player application can store caption resources at the server end, and the caption resources at the server end can be uploaded by a user.
The subtitle player application of the invention can modify the style of the floating window, the size, the color and the like of the subtitle font.
The protection of the present invention is not limited to the above embodiments. Variations and advantages that may occur to those skilled in the art may be incorporated into the invention without departing from the spirit and scope of the inventive concept, and the scope of the appended claims is intended to be protected.

Claims (9)

1. A system for playing subtitles for video using a standalone subtitle player application, comprising a video player application and a subtitle player application;
the video player application comprises a sending module; the subtitle player application comprises a receiving module, a foreign language learning function module, a subtitle playing function module, a subtitle style modifying module and a subtitle uploading function module for a user;
the sending module provides information to a subtitle player application through a video player application;
the receiving module is used for receiving information provided by the video player application by the subtitle player application;
the subtitle playing function module comprises: when detecting that the user adjusts the playing progress of the video in the video player or the user switches the video, the subtitle player application can adjust the subtitles played in the floating window by using the information provided by the video player application, so as to synchronously play the subtitles matched with the video played in the video player;
the foreign language learning function module includes: the method comprises the steps that a user operates a subtitle playing floating window applied by a subtitle player, a component contained in the subtitle playing floating window and a clickable subtitle character, and the subtitle player application reacts to the operation performed by the user and is used for clicking a word book of the user applied by the subtitle player to search words;
the user subtitle uploading function module comprises: a user uploads subtitle resources to a server side, and a subtitle player application can store the subtitle resources at the server side;
the subtitle modification module comprises: the subtitle player application can modify the form color and transparency of the floating window, the position style of the form in the screen, and the size, color and background of the subtitle font.
2. The system of claim 1, wherein the information comprises time, playing progress, movie information, and name of movie resource.
3. The system according to claim 1, wherein the subtitle playing function module specifically comprises the following steps: when a video starts to be played, a video player application sends a start signal to a subtitle player application, the subtitle player application also starts to play subtitles synchronously, the time when the subtitles start to be played is recorded as t1, and the current time is currentTime, then the current subtitle player application should play the subtitles with the corresponding time of currentTime-t1, if the playing time of the video changes t relatively before, at the moment, the video player application sends time synchronization information to the subtitle player application, and after the subtitle player application receives the time synchronization information, the subtitle player application modifies t1 into t1-t.
4. The system for playing subtitles for video using a standalone subtitle player application according to claim 1, wherein the operations comprise clicking, long pressing, double pressing, and dragging; after clicking a word in the caption, popping up the meaning of the word in the form of a floating window; after long-time pressing operation is carried out on the words in the subtitles, the words can be added into a word book; after double-click is carried out on the floating window, a setting window is popped up and used for adjusting the size of the caption in the floating window and adjusting the color of the caption and the window body of the floating window; after the suspension window body is dragged, the position of the suspension window body can be changed.
5. The system for playing subtitles for video using an independent subtitle player application according to claim 1, wherein a user can use a word-background function of a word book in the subtitle player application when the subtitle player application is used alone.
6. The system of claim 1, wherein the subtitle player application is capable of adjusting the display state of the floating window by obtaining the real-time status of the user equipment and the video player application, and adjusting the display state of the floating window according to the real-time status of the user equipment and the video player application, and if the video in the video player is paused for more than 10 seconds, the floating window will be in a hidden state so as not to affect other operations of the user.
7. A method for playing subtitles for video using a standalone subtitle player application, comprising the steps of:
step 1, a sending module of a video player application provides information for a subtitle player application;
step 2, a receiving module of the subtitle player application receives the information provided by the video player application; a floating window applied by a subtitle player and video content played by a video player are displayed on a screen of the same electronic equipment;
step 3, when the jumping of the video played in the video player application is detected, or the user switches the watched movie resource, the subtitle player application adjusts the subtitle played by the floating window by using the information provided by the video player application, so as to synchronously play the subtitle matched with the video played in the video player; the subtitle player application acquires identification information of a video currently played from the video player application, and the identification information is used for acquiring which video is currently played so as to play a subtitle corresponding to the video; the subtitle player application can also acquire the playing progress of the video being played and is used for synchronizing the playing progress of the subtitle and the playing progress of the video; the subtitle player application can also acquire the playing speed of the current video so as to synchronize the subtitle playing speed, and can also acquire whether the video is paused so as to determine when the subtitle is paused and whether a subtitle playing floating window needs to be closed;
step 4, the user can use the foreign language learning function module to inquire the paraphrase of the words in the caption by clicking the word searching function, and the words in the caption can also be added to the word book; the user can upload the subtitle resources through the user uploading subtitle function module applied by the subtitle player, and the server side can store the subtitle resources; the user can modify the size, color and background of the subtitle font of the floating window through the subtitle style modifying module.
8. A terminal device, comprising: a memory, a processor, and a subtitle playback program stored on the memory and running on the processor, the subtitle playback program being executed by the processor to perform the method of claim 7.
9. A computer-readable storage medium, having stored thereon a subtitle playback program that, when executed by a processor, implements the method of claim 7.
CN202111005351.8A 2021-08-30 2021-08-30 Method and system for playing subtitles for video by using independent subtitle player application Pending CN115734013A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111005351.8A CN115734013A (en) 2021-08-30 2021-08-30 Method and system for playing subtitles for video by using independent subtitle player application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111005351.8A CN115734013A (en) 2021-08-30 2021-08-30 Method and system for playing subtitles for video by using independent subtitle player application

Publications (1)

Publication Number Publication Date
CN115734013A true CN115734013A (en) 2023-03-03

Family

ID=85290830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111005351.8A Pending CN115734013A (en) 2021-08-30 2021-08-30 Method and system for playing subtitles for video by using independent subtitle player application

Country Status (1)

Country Link
CN (1) CN115734013A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1652586A (en) * 2005-02-23 2005-08-10 乐金电子(沈阳)有限公司 TV set and method for storing caption information thereof
US20070147781A1 (en) * 2005-12-22 2007-06-28 Makoto Shibata Information playback apparatus and operation key control method
KR100752477B1 (en) * 2006-05-17 2007-08-27 엘지전자 주식회사 Apparatus and method for language learning using a caption data
JP2008108296A (en) * 2006-10-23 2008-05-08 Toshiba Corp Information reproducing device and information reproducing method
CN102055941A (en) * 2009-11-03 2011-05-11 腾讯科技(深圳)有限公司 Video player and video playing method
CN103117077A (en) * 2013-01-17 2013-05-22 广东欧珀移动通信有限公司 Display system and display method of blu-ray player disc VSFilter
CN104469523A (en) * 2014-12-25 2015-03-25 杨海 Word clicking and paraphrase displaying foreign language video playing method for mobile equipment
CN105354331A (en) * 2015-12-02 2016-02-24 深圳大学 Online video based vocabulary learning aiding method and vocabulary learning system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1652586A (en) * 2005-02-23 2005-08-10 乐金电子(沈阳)有限公司 TV set and method for storing caption information thereof
US20070147781A1 (en) * 2005-12-22 2007-06-28 Makoto Shibata Information playback apparatus and operation key control method
KR100752477B1 (en) * 2006-05-17 2007-08-27 엘지전자 주식회사 Apparatus and method for language learning using a caption data
JP2008108296A (en) * 2006-10-23 2008-05-08 Toshiba Corp Information reproducing device and information reproducing method
CN102055941A (en) * 2009-11-03 2011-05-11 腾讯科技(深圳)有限公司 Video player and video playing method
CN103117077A (en) * 2013-01-17 2013-05-22 广东欧珀移动通信有限公司 Display system and display method of blu-ray player disc VSFilter
CN104469523A (en) * 2014-12-25 2015-03-25 杨海 Word clicking and paraphrase displaying foreign language video playing method for mobile equipment
CN105354331A (en) * 2015-12-02 2016-02-24 深圳大学 Online video based vocabulary learning aiding method and vocabulary learning system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"实战软字幕——SubViewer字幕播放器的使用", 《微型计算机 》, no. 12, 26 July 2007 (2007-07-26) *
ADITYA RAMANI ET AL.: "Automatic Subtitle Generation for Videos", 《2020 6TH INTERNATIONAL CONFERE》NCE ON ADVANCED COMPUTING AND COMMUNICATION SYSTEMS (ICACCS):, 23 April 2020 (2020-04-23) *
摸鱼MOYUU: "娱乐中学外语:独立字幕播放软件-Penguin Subtitle Player", pages 1, Retrieved from the Internet <URL:https://www.bilibili.com/read/cv3705734/> *
肖梦华等: "一种基于嵌入式流媒体视频播放器的多字幕组件设计", 《计算机应用与软件》, vol. 31, no. 3, 15 March 2014 (2014-03-15) *

Similar Documents

Publication Publication Date Title
US8875023B2 (en) Thumbnail navigation bar for video
TWI538520B (en) Method for adding video information, method for displaying video information and devices using the same
US11122323B2 (en) Smart television signal source-based method for displaying floating menu and smart television
US9013631B2 (en) Method and apparatus for processing and displaying multiple captions superimposed on video images
MXPA05003232A (en) Method of and apparatus for synchronizing interactive contents.
WO2023273853A1 (en) Image processing method and apparatus, and device and storage medium
JP2010021632A (en) Content information reproducing apparatus, content information reproducing system, content information reproducing method, content information reproducing program, recording medium therefor and information processing apparatus
JP2007174255A (en) Recording and reproducing device
CA2495871C (en) Information storage medium containing interactive graphics stream for change of av data reproducing state, and reproducing method and apparatus thereof
CN111356025A (en) Multi-subtitle display method, intelligent terminal and storage medium
US10674226B2 (en) Video content replay
CN106936830B (en) Multimedia data playing method and device
JP2008048297A (en) Method for providing content, program of method for providing content, recording medium on which program of method for providing content is recorded and content providing apparatus
CN115734013A (en) Method and system for playing subtitles for video by using independent subtitle player application
CN116095388A (en) Video generation method, video playing method and related equipment
CN107396179B (en) Television function display method, storage medium and television terminal
CN101714140A (en) Instant translation system with multimedia display and method thereof
KR100392473B1 (en) Method for process of learning language using moving picture in internet
KR101663098B1 (en) Content reproduction system and method for language-learning
KR101918395B1 (en) Apparatus and method for displaying movement trace of contents object
US20210158723A1 (en) Method and System for Teaching Language via Multimedia Content
KR101648711B1 (en) Apparatus for processing moving image ancillary information using script and method thereof
JP2014207619A (en) Video recording and reproducing device and control method of video recording and reproducing device
KR19990064823A (en) Method and storing media for controlling caption function for studying foreign language subscript included in moving picture
US20100204980A1 (en) Real-time translation system with multimedia display function and method thereof

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