CN104349173A - Video repeating method and device - Google Patents
Video repeating method and device Download PDFInfo
- Publication number
- CN104349173A CN104349173A CN201310340940.0A CN201310340940A CN104349173A CN 104349173 A CN104349173 A CN 104349173A CN 201310340940 A CN201310340940 A CN 201310340940A CN 104349173 A CN104349173 A CN 104349173A
- Authority
- CN
- China
- Prior art keywords
- video
- user
- subtitle
- input
- subtitles
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47214—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/78—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/783—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/432—Content retrieval operation from a local storage medium, e.g. hard-disk
- H04N21/4325—Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Databases & Information Systems (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明提出视频复读方法及装置。方法包括:在视频播放过程中,检测到用户输入了复读指令,则在当前播放的视频文件的字幕数据中,查找当前视频画面上的字幕以及该字幕的起始和结束时刻;按照该字幕的起始和结束时刻,对起始、结束时刻之间的视频片段进行复读。本发明能够对正在播放的视频进行截取和复读。
The invention proposes a video rereading method and device. The method includes: during the video playing process, detecting that the user has input a repeat instruction, then searching for the subtitle on the current video screen and the start and end times of the subtitle in the subtitle data of the currently played video file; Start and end time, repeat the video clips between the start and end time. The invention can intercept and reread the video being played.
Description
技术领域 technical field
本发明涉及视频技术领域,尤其涉及视频复读方法及装置。 The invention relates to the field of video technology, in particular to a video rereading method and device. the
背景技术 Background technique
字幕就是文字版本的音视频中的对话,评论等,可以用于各种音视频场合,如电影、电视节目、视频游戏。制作字幕时,字幕文本出现的时间需要精确匹配音视频中音频(如台词)的出现时间,通常在字幕文本中需要提供标识来标记某段文字开始和结束的位置。对于电子媒体,这些标识一般都表现为相对视音频开始时间的时间偏移量。字幕的存在形式有图片(如DVD格式中的VOBSUBs、BMP图形字幕)、SRT文件、SSA文件。对于SRT、SSA文件来说,每一行字幕都有其在视频中出现和结束的时间偏移量。比如下面截取了SRT文件的一部分作为例子: Subtitles are dialogues, comments, etc. in text versions of audio and video, and can be used in various audio and video occasions, such as movies, TV programs, and video games. When making subtitles, the appearance time of the subtitle text needs to precisely match the appearance time of the audio (such as lines) in the audio and video. Usually, a mark needs to be provided in the subtitle text to mark the start and end positions of a certain text. For electronic media, these markers are generally expressed as time offsets relative to the start time of audio and video. Subtitles exist in the form of pictures (such as VOBSUBs in DVD format, BMP graphic subtitles), SRT files, and SSA files. For SRT and SSA files, each line of subtitles has its time offset when it appears and ends in the video. For example, the following intercepts a part of the SRT file as an example:
00:20:49,601-->00:20:52,267 00:20:49,601-->00:20:52,267
Elise在外面和Lissie Calhoun谈话 Elise talking to Lissie Calhoun outside
“Elise在外面和Lissie Calhoun谈话”这句话在视频中的起始和结束时刻相对于视频开始时刻的偏移量分别是“00:20:49,601”和“00:20:52,267”。 The phrase "Elise was outside talking to Lissie Calhoun" starts and ends in the video at offsets of "00:20:49,601" and "00:20:52,267", respectively, from the start of the video. the
音视频编解码指通过特定的压缩技术,将某种视频格式的文件转换成另一种视频格式文件的方式。因为视频信号数字化后数据带宽很高,通常在20MB/秒以上,因此计算机很难对之进行保存和处理。采用压缩技术以后通常数据带宽可以降到1-10MB/秒,这样就可以将视频信号保存在计算机中并作相应的处理。目前视频流传输中最为重要的编解码标准有国际电联的H.261、H.263,运动静止图像专家组的M-JPEG和国际标准化组织运动图像专家组的MPEG系列标准,此外在互联网上被广泛应用的还有Real-Networks的RealVideo、微软公司的WMV以及Apple公司的QuickTime等。 Audio and video codec refers to the way of converting a video format file into another video format file through a specific compression technology. Because the data bandwidth of the video signal is very high after digitization, usually above 20MB/s, it is difficult for the computer to store and process it. After using the compression technology, the data bandwidth can usually be reduced to 1-10MB/sec, so that the video signal can be stored in the computer and processed accordingly. At present, the most important codec standards in video stream transmission include H.261 and H.263 of ITU, M-JPEG of the Moving Picture Experts Group and MPEG series standards of the International Organization for Standardization Moving Picture Experts Group. Also widely used are Real-Networks' RealVideo, Microsoft's WMV, and Apple's QuickTime. the
音视频复用指将音频、视频、元数据、字幕和其他信息按照一定的方式放入某个容器中,并且添加一系列播放所需要的信息,从而使得播放器能够播放该音视频的技术。音视频解复用指的是将复用后的数据拆解出相应的音频、视频、元数据、字幕等。此技术和音视频编解码技术是视频切割的基础。 Audio and video multiplexing refers to the technology of putting audio, video, metadata, subtitles and other information into a certain container in a certain way, and adding a series of information required for playback, so that the player can play the audio and video. Audio and video demultiplexing refers to demultiplexing the multiplexed data into corresponding audio, video, metadata, subtitles, etc. This technology and audio and video codec technology are the basis of video cutting. the
数据库技术是信息系统的一个核心技术。是一种计算机辅助管理数据的方法,它研究如何组织和存储数据,如何高效地获取和处理数据。是通过研究数据库的结构、存储、设计、管理以及应用的基本理论和实现方法,并利用这些理论来实现对数据库中的数据进行处理、分析和理解的技术。数据库技术研究和管理的对象是数据,所以数据库技术所涉及的具体内容主要包括:通过对数据的统一组织和管理,按照指定的结构建立相应的数据库和数据仓库;利用数据库管理系统和数据挖掘系统设计出能够实现对数据库中的数据进行添加、修改、删除、处理、分析、理解、报表和打印等多种功能的数据管理和数据挖掘应用系统;并利用应用管理系统最终实现对数据的处理、分析和理解。 Database technology is a core technology of information system. It is a method of computer-aided management of data, which studies how to organize and store data, and how to efficiently acquire and process data. It is a technology to process, analyze and understand the data in the database by studying the basic theory and implementation methods of the structure, storage, design, management and application of the database, and using these theories. The object of database technology research and management is data, so the specific content involved in database technology mainly includes: through the unified organization and management of data, the establishment of corresponding databases and data warehouses according to the specified structure; the use of database management systems and data mining systems Design a data management and data mining application system that can realize multiple functions such as adding, modifying, deleting, processing, analyzing, understanding, reporting, and printing data in the database; and use the application management system to finally realize data processing, Analyze and understand. the
目前,存在这样一种需求,例如:外语学习者在使用PC、Pad或手机观看外语电视、电影时,往往会发现一些对话中的句子或某个单词值得深入学习,但是这些句子在屏幕上转瞬即逝,单凭拖动进度条,很难操纵播放器进行精确地定位,更难以方便地进行切割存储;而且针对某个单词,学习者往往希望能够得到它的多种使用方式和相应的例句,最好还能是多媒体形式,以方便加深记忆,并创建属于自己的多媒体生词本。但是当前常见的播放软件无法精确、方便、快捷地做到这一点,从而无法实现这种寓教于乐的高效率的外语学习形式。 At present, there is such a demand. For example, when foreign language learners watch foreign language TV or movies on PCs, Pads or mobile phones, they often find that some sentences in the dialogue or a certain word are worthy of deep learning, but these sentences are flashed on the screen. Fleeting, just by dragging the progress bar, it is difficult to manipulate the player for precise positioning, and it is even more difficult to cut and store conveniently; and for a certain word, learners often hope to get its multiple usage methods and corresponding example sentences , preferably in the form of multimedia, to facilitate the deepening of memory, and create your own multimedia vocabulary. However, the current common playback software cannot do this accurately, conveniently, and quickly, thereby failing to realize this high-efficiency foreign language learning form that combines teaching with entertainment. the
发明内容 Contents of the invention
本发明提供视频复读方法及装置,以实现对正在播放的视频的截取和复读。 The invention provides a video replay method and device, so as to realize the interception and replay of the video being played. the
本发明的技术方案是这样实现的: Technical scheme of the present invention is realized like this:
一种视频复读方法,该方法包括: A video repeat method, the method comprising:
在视频播放过程中,检测到用户输入了复读指令,则在当前播放的视频文件的字幕数据中,查找当前视频画面上的字幕以及该字幕的起始和结束时刻; During video playback, if it is detected that the user has input a repeat command, then search for the subtitle on the current video screen and the start and end time of the subtitle in the subtitle data of the currently playing video file;
按照该字幕的起始和结束时刻,对起始、结束时刻之间的视频片段进行复读。 According to the start and end time of the subtitle, the video segments between the start and end time are re-read. the
所述检测到用户输入了复读指令之后进一步包括: After detecting that the user has input the repeat instruction, it further includes:
检测到用户输入了要复读的字幕,则在当前播放的视频文件的字幕数据中,查找用户输入的字幕以及该字幕的起始和结束时刻,按照该字幕的起始和结束时刻,对起始、结束时刻之间的视频片段进行复读。 If it is detected that the user has input the subtitle to be repeated, then in the subtitle data of the currently playing video file, search for the subtitle input by the user and the start and end time of the subtitle, and set the start and end time of the subtitle according to the start and end time of the subtitle , and the video segment between the end moments to repeat. the
所述检测到用户输入了复读指令之前进一步包括: Before detecting that the user has entered the repeat instruction, it further includes:
检测到用户选择了视频播放器上的选项:打开根据字幕进行视频截取的功能,判断字幕数据是否已经正确加载到当前正在播放的视频中,若否,查找当前视频文件的字幕数据,将该字幕数据加载到当前视频中。 Detect that the user has selected the option on the video player: enable the function of video capture based on subtitles, and determine whether the subtitle data has been correctly loaded into the currently playing video. If not, search for the subtitle data of the current video file and put the subtitle Data is loaded into the current video. the
所述对起始、结束时刻之间的视频片段进行复读之后进一步包括: After repeating the video segment between the start and end moments, it further includes:
检测到用户输入了停止复读指令,退出复读状态,继续正常播放原视频。 It is detected that the user has input the command to stop repeating, exit the repeating state, and continue to play the original video normally. the
所述对起始、结束时刻之间的视频片段进行复读之后进一步包括: After repeating the video segment between the start and end moments, it further includes:
检测到用户输入了保存指令,则截取当前正在复读的视频片段,将当前视频画面的字幕和截取的视频片段保存到用户视频数据库中,以便用户后续索引。 When it is detected that the user has input a saving instruction, the video segment currently being read back is intercepted, and the subtitles of the current video frame and the intercepted video segment are saved in the user video database for subsequent indexing by the user. the
所述方法进一步包括: The method further comprises:
在视频播放过程中,若检测到用户输入了携带字幕的保存指令,则在当前播放的视频文件的字幕数据中,查找包含用户输入的字幕的所有视频片段,将该字幕和查找到的所有视频片段保存到用户视频数据库中,以便用户后续索引。 During video playback, if it is detected that the user has input a save command with subtitles, then in the subtitle data of the currently playing video file, search for all video clips containing the subtitles input by the user, and combine the subtitles with all the found videos Clips are saved to the user's video database for subsequent indexing by the user. the
一种视频复读装置,该装置包括: A video playback device, the device includes:
视频片段查找模块:在视频播放过程中,检测到用户输入了复读指令,则在当前播放的视频文件的字幕数据中,查找当前视频画面上的字幕以及该 字幕的起始和结束时刻,将该起始和结束时刻发送给复读控制模块; Video clip search module: During video playback, if it is detected that the user has input a repeat instruction, then in the subtitle data of the currently played video file, search for the subtitle on the current video screen and the start and end moments of the subtitle, and then The start and end times are sent to the repeat control module;
复读控制模块:按照视频片段查找模块发来的起始和结束时刻,控制视频播放器复读起始、结束时刻之间的视频片段。 Repeat control module: according to the start and end time sent by the video segment search module, control the video player to reread the video segment between the start and end time. the
所述视频片段查找模块进一步用于,若检测到用户输入复读指令的同时输入了要复读的字幕,则在当前播放的视频文件的字幕数据中,查找用户输入的字幕以及该字幕的起始和结束时刻,将该起始和结束时刻发送给复读控制模块。 The video clip search module is further used to, if it is detected that the user has input the subtitle to be re-read while the re-reading instruction is input, then in the subtitle data of the currently played video file, search for the subtitle input by the user and the start and end of the subtitle. End time, send the start and end time to the repeat control module. the
所述装置进一步包括:字幕加载判断模块,用于在检测到用户选择了视频播放器上的选项:打开根据字幕进行视频截取的功能,判断字幕数据是否已经正确加载到当前正在播放的视频上,若否,查找当前视频文件的字幕数据,将该字幕数据加载到当前视频上。 The device further includes: a subtitle loading judging module, which is used to detect that the user has selected the option on the video player: open the function of video interception according to the subtitle, and judge whether the subtitle data has been correctly loaded on the currently playing video, If not, find the subtitle data of the current video file, and load the subtitle data to the current video. the
所述复读控制模块进一步用于,检测到用户输入了停止复读指令,控制视频播放器退出复读状态并继续正常播放原视频。 The replay control module is further configured to detect that the user has input a stop replay instruction, and control the video player to exit the replay state and continue to play the original video normally. the
所述视频片段查找模块进一步用于,在复读过程中,若检测到用户输入了保存指令,则截取当前正在复读的视频片段,将当前视频片段的字幕和截取的视频片段保存到用户视频数据库中,以便用户后续索引; The video segment search module is further used for, in the rereading process, if it is detected that the user has input a preservation instruction, then intercept the currently rereading video segment, and save the subtitles of the current video segment and the intercepted video segment into the user video database , so that users can subsequently index;
或者进一步用于,在视频播放过程中,若检测到用户输入了携带字幕的保存指令,则在当前播放的视频文件的字幕数据中,查找包含用户输入的字幕的所有视频片段,将该字幕和查找到的所有视频片段保存到用户视频数据库中,以便用户后续索引。 Or it is further used, in the video playback process, if it is detected that the user has input a save instruction with subtitles, then in the subtitle data of the currently played video file, search for all video segments that contain the subtitles input by the user, and combine the subtitles with the subtitles. All found video clips are stored in the user's video database for subsequent indexing by the user. the
可见,本发明能够对正在播放的视频进行截取和复读。 It can be seen that the present invention can intercept and reread the video being played. the
附图说明 Description of drawings
图1为本发明实施例提供的视频复读方法流程图; Fig. 1 is the flow chart of the video rereading method that the embodiment of the present invention provides;
图2为本发明实施例提供的视频复读装置的组成示意图。 Fig. 2 is a schematic diagram of the composition of the video repeating device provided by the embodiment of the present invention. the
具体实施方式 Detailed ways
下面结合附图及具体实施例对本发明再作进一步详细的说明。 The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. the
图1为本发明实施例提供的视频复读方法流程图,如图1所示,其具体步骤如下: Fig. 1 is the flow chart of the video rereading method that the embodiment of the present invention provides, as shown in Fig. 1, its specific steps are as follows:
步骤100:预先在视频播放器上增加选项:打开根据字幕进行视频截取的功能。 Step 100: add an option on the video player in advance: open the function of video interception according to subtitles. the
步骤101:在视频播放开始时或者播放过程中,检测到用户选择了视频播放器上的选项:打开根据字幕进行视频截取的功能。 Step 101: At the beginning or during the playback of the video, it is detected that the user selects the option on the video player: enable the function of video interception according to subtitles. the
步骤102:判断字幕数据是否已经正确加载到当前正在播放的视频中,若是,执行步骤104;否则,执行步骤103。 Step 102: Determine whether the subtitle data has been correctly loaded into the currently playing video, if so, execute step 104; otherwise, execute step 103. the
这里,字幕数据需要是文本格式的,且每条字幕需要注明其对应的起始和结束时刻。目前,SRT和SSA格式的字幕数据满足此要求。 Here, the subtitle data needs to be in text format, and each subtitle needs to indicate its corresponding start and end time. Currently, subtitle data in SRT and SSA formats meet this requirement. the
步骤103:在本地指定文件夹下查找当前视频文件对应的字幕数据,将该字幕数据加载到当前视频上。 Step 103: Find subtitle data corresponding to the current video file in a local designated folder, and load the subtitle data to the current video. the
如果在本地无法找到对应的字幕数据,则还可以从网络上查询并下载对应的字幕数据,若从网络上也无法找到,则弹出对话框提示用户:根据字幕进行视频截取的功能无法使用。 If the corresponding subtitle data cannot be found locally, you can also query and download the corresponding subtitle data from the network. If you cannot find the corresponding subtitle data from the network, a dialog box will pop up to prompt the user: the function of video interception based on subtitles cannot be used. the
当字幕数据加载到视频上后,可以弹出对话框提示用户:根据字幕进行视频截取的功能已经正确开启,可以正常使用。 After the subtitle data is loaded to the video, a dialog box can pop up to prompt the user: the function of video capture based on the subtitle has been correctly enabled and can be used normally. the
步骤104:在视频播放过程中,当检测到用户点击了视频播放器界面上的“复读”按钮时,将当前视频画面上的字幕作为视频播放器界面上的文本输入框的默认数据,在当前视频文件的字幕数据中查找当前视频画面的字幕以及该字幕的起始和结束时刻。 Step 104: During video playback, when it is detected that the user has clicked the "Repeat" button on the video player interface, the subtitles on the current video screen are used as the default data of the text input box on the video player interface. Find the subtitle of the current video frame and the start and end time of the subtitle in the subtitle data of the video file. the
视频播放过程中,视频播放器界面上需要显示“复读”、“保存”两个按钮和一个用于输入字幕的文本输入框。 During video playback, the video player interface needs to display two buttons, "Repeat" and "Save", and a text input box for entering subtitles. the
需要说明的是,若用户点击了视频播放器界面上的“复读”按钮时,用户 同时编辑了视频播放器界面上的文本输入框,即在文本输入框上输入了新的字幕,则在当前视频文件的字幕数据中查找用户输入的字幕以及该字幕的起始和结束时刻,然后执行步骤105。 It should be noted that if the user clicks the "Repeat" button on the video player interface, and the user edits the text input box on the video player interface at the same time, that is, enters a new subtitle in the text input box, then in the current Find the subtitle input by the user and the start and end time of the subtitle in the subtitle data of the video file, and then perform step 105 . the
步骤105:按照该字幕的起始和结束时刻,对起始、结束时刻之间的视频片段进行复读,即进行重复播放。 Step 105: According to the start and end time of the subtitle, reread the video segment between the start and end time, that is, perform repeated playback. the
步骤106:当检测到用户输入了停止复读指令时,退出复读状态,继续正常播放原视频。 Step 106: When it is detected that the user has input an instruction to stop repeating, exit the repeating state and continue to play the original video normally. the
在复读状态下,当用户点击了视频播放器界面上除了按钮、菜单或输入框外的任何一点,视频播放器就退出复读状态,继续正常播放原视频。 In the repeating state, when the user clicks any point on the video player interface except the button, menu or input box, the video player will exit the repeating state and continue to play the original video normally. the
在实际应用中,在视频播放过程中,用户也可以随时激活视频播放器界面上的文本输入框,在该文本框中编辑要搜索的字幕,当用户编辑完毕点击“保存”按钮后,在当前视频文件中搜索并截取包含用户输入的字幕的所有视频片段,并将该字幕和截取的所有视频片段保存到用户视频数据库中,此后,用户就可以直接根据该字幕索引到并播放对应的视频片段。 In practical applications, during video playback, the user can also activate the text input box on the video player interface at any time, edit the subtitles to be searched in the text box, and click the "Save" button after editing, the current Search and intercept all video clips containing subtitles entered by the user in the video file, and save the subtitles and all the clipped video clips in the user video database. After that, the user can directly index and play the corresponding video clips based on the subtitles . the
或者,当视频片段复读过程中,若用户点击了“保存”按钮(未对文本输入框进行编辑),则截取当前正在复读的视频片段,将当前文本输入框中的字幕和截取的视频片段保存到用户视频数据库中,此后,用户就可以直接根据该字幕索引到并播放对应的视频片段。 Or, if the user clicks the "Save" button (the text input box is not edited) during the rereading of the video clip, the video clip currently being replayed will be intercepted, and the subtitles in the current text input box and the intercepted video clip will be saved into the user's video database, and then the user can directly index and play the corresponding video segment according to the subtitle. the
图2为本发明实施例提供的视频复读装置的组成示意图,如图2所示,其主要包括:视频片段查找模块21和复读模块22,其中: Fig. 2 is the composition schematic diagram of the video rereading device that the embodiment of the present invention provides, as shown in Fig. 2, it mainly comprises: video segment search module 21 and rereading module 22, wherein:
视频片段查找模块21:在视频播放过程中,检测到用户输入了复读指令,则在当前播放的视频文件的字幕数据中,查找当前视频画面上的字幕以及该字幕的起始和结束时刻,将该起始和结束时刻发送给复读控制模块22。 Video clip search module 21: in the video playback process, detect that the user has input a rereading instruction, then in the subtitle data of the video file currently played, search for the subtitle on the current video screen and the start and end moments of the subtitle, and The start and end times are sent to the repeat control module 22 . the
复读控制模块22:按照视频片段查找模块21发来的起始和结束时刻,控制视频播放器对起始、结束时刻之间的视频片段进行复读。 Replay control module 22: according to the start and end time sent by the video segment search module 21, control the video player to reread the video segments between the start and end time. the
视频片段查找模块21进一步用于,若检测到用户输入复读指令的同时输入了要复读的字幕,则在当前播放的视频文件的字幕数据中,查找用户输入的字幕以及该字幕的起始和结束时刻,将该起始和结束时刻发送给复读控制模块22。 The video segment search module 21 is further used for, if detecting that the user inputs the subtitle to be reread while inputting the reread instruction, then in the subtitle data of the video file currently played, search for the subtitle input by the user and the beginning and end of the subtitle time, send the start and end time to the repeat control module 22. the
在实际应用中,图2所示装置还可进一步包括:字幕加载判断模块,用于在检测到用户选择了视频播放器上的选项:打开根据字幕进行视频截取的功能时,判断字幕数据是否已经正确加载到当前正在播放的视频上,若否,查找当前视频文件的字幕数据,将该字幕数据加载到当前视频上。 In practical applications, the device shown in Figure 2 may further include: a subtitle loading judging module, which is used to determine whether the subtitle data has Correctly load to the currently playing video, if not, find the subtitle data of the current video file, and load the subtitle data to the current video. the
复读控制模块22进一步用于,检测到用户输入了停止复读指令,控制视频播放器退出复读状态并继续正常播放原视频。 The replay control module 22 is further used to detect that the user has input a stop replay instruction, and control the video player to exit the replay state and continue to play the original video normally. the
视频片段查找模块21进一步用于,在复读过程中,若检测到用户输入了保存指令,则截取当前正在复读的视频片段,将当前视频片段的字幕和截取的视频片段保存到用户视频数据库中,以便用户后续索引。 The video segment search module 21 is further used for, in the repeating process, if detect that the user has input preservation instruction, then intercept the video segment currently being repeated, the subtitle of current video segment and the video segment of interception are saved in the user's video database, for subsequent indexing by users. the
视频片段查找模块21进一步用于,在视频播放过程中,若检测到用户输入了携带字幕的保存指令,则在当前播放的视频文件的字幕数据中,查找包含用户输入的字幕的所有视频片段,将该字幕和查找到的所有视频片段保存到用户视频数据库中,以便用户后续索引。 The video segment search module 21 is further used for, in the video playing process, if detect that the user has input the preservation instruction that carries subtitle, then in the subtitle data of the video file of current play, search all video segments that comprise the subtitle of user input, Save the subtitle and all found video clips in the user video database for subsequent indexing by the user. the
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。 The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the present invention. within the scope of protection. the
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310340940.0A CN104349173A (en) | 2013-08-07 | 2013-08-07 | Video repeating method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310340940.0A CN104349173A (en) | 2013-08-07 | 2013-08-07 | Video repeating method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104349173A true CN104349173A (en) | 2015-02-11 |
Family
ID=52503853
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310340940.0A Pending CN104349173A (en) | 2013-08-07 | 2013-08-07 | Video repeating method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104349173A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104991937A (en) * | 2015-07-07 | 2015-10-21 | 北京大生在线科技有限公司 | Audio recording method and apparatus |
CN105578297A (en) * | 2015-12-30 | 2016-05-11 | Tcl集团股份有限公司 | Audio and radio file fragment type repeat play method and system at WEB end |
CN105788407A (en) * | 2016-04-07 | 2016-07-20 | 柴占红 | On-line KTV type music teaching realization method |
CN106210900A (en) * | 2015-05-06 | 2016-12-07 | Tcl集团股份有限公司 | A kind of Web audio/video player multistage re-reading labelling realization method and system |
WO2017133604A1 (en) * | 2016-02-04 | 2017-08-10 | 厦门幻世网络科技有限公司 | Method and device for playing animation |
CN107770382A (en) * | 2017-10-30 | 2018-03-06 | 江西博瑞彤芸科技有限公司 | The method for playing text information |
CN109712443A (en) * | 2019-01-02 | 2019-05-03 | 北京儒博科技有限公司 | A kind of content is with reading method, apparatus, storage medium and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571030A (en) * | 2003-07-23 | 2005-01-26 | 上海乐金广电电子有限公司 | Repetitive caption playing method of CD-ROM |
CN1622609A (en) * | 2003-11-28 | 2005-06-01 | Lg电子株式会社 | Method and apparatus for repetitive playback of a video section based on subtitles |
TWI271704B (en) * | 2004-01-12 | 2007-01-21 | Sunplus Technology Co Ltd | A control method and device capable of playing digital multimedia content according to corresponding time of a caption |
US20090175596A1 (en) * | 2008-01-09 | 2009-07-09 | Sony Corporation | Playback apparatus and method |
CN102387310A (en) * | 2010-08-31 | 2012-03-21 | 腾讯科技(深圳)有限公司 | Method and device for positioning video segments |
US20130108242A1 (en) * | 2011-10-28 | 2013-05-02 | Verizon Patent And Licensing Inc. | Closed Captioning Content Based Digital Video Recording Systems and Methods |
-
2013
- 2013-08-07 CN CN201310340940.0A patent/CN104349173A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571030A (en) * | 2003-07-23 | 2005-01-26 | 上海乐金广电电子有限公司 | Repetitive caption playing method of CD-ROM |
CN1622609A (en) * | 2003-11-28 | 2005-06-01 | Lg电子株式会社 | Method and apparatus for repetitive playback of a video section based on subtitles |
TWI271704B (en) * | 2004-01-12 | 2007-01-21 | Sunplus Technology Co Ltd | A control method and device capable of playing digital multimedia content according to corresponding time of a caption |
US20090175596A1 (en) * | 2008-01-09 | 2009-07-09 | Sony Corporation | Playback apparatus and method |
CN102387310A (en) * | 2010-08-31 | 2012-03-21 | 腾讯科技(深圳)有限公司 | Method and device for positioning video segments |
US20130108242A1 (en) * | 2011-10-28 | 2013-05-02 | Verizon Patent And Licensing Inc. | Closed Captioning Content Based Digital Video Recording Systems and Methods |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106210900A (en) * | 2015-05-06 | 2016-12-07 | Tcl集团股份有限公司 | A kind of Web audio/video player multistage re-reading labelling realization method and system |
CN104991937A (en) * | 2015-07-07 | 2015-10-21 | 北京大生在线科技有限公司 | Audio recording method and apparatus |
CN105578297A (en) * | 2015-12-30 | 2016-05-11 | Tcl集团股份有限公司 | Audio and radio file fragment type repeat play method and system at WEB end |
CN105578297B (en) * | 2015-12-30 | 2020-12-22 | 武汉Tcl集团工业研究院有限公司 | Method and system for repeatedly playing audio and video files at WEB terminal in fragment mode |
WO2017133604A1 (en) * | 2016-02-04 | 2017-08-10 | 厦门幻世网络科技有限公司 | Method and device for playing animation |
CN105788407A (en) * | 2016-04-07 | 2016-07-20 | 柴占红 | On-line KTV type music teaching realization method |
CN105788407B (en) * | 2016-04-07 | 2018-07-13 | 柴占红 | A kind of online KTV formulas music teaching implementation method |
CN107770382A (en) * | 2017-10-30 | 2018-03-06 | 江西博瑞彤芸科技有限公司 | The method for playing text information |
CN109712443A (en) * | 2019-01-02 | 2019-05-03 | 北京儒博科技有限公司 | A kind of content is with reading method, apparatus, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8966360B2 (en) | Transcript editor | |
US10482168B2 (en) | Method and apparatus for annotating video content with metadata generated using speech recognition technology | |
JP4347223B2 (en) | System and method for annotating multimodal characteristics in multimedia documents | |
CN104349173A (en) | Video repeating method and device | |
US20160098998A1 (en) | Voice searching metadata through media content | |
US20130007043A1 (en) | Voice description of time-based media for indexing and searching | |
JP2008518315A (en) | How to annotate a timeline file | |
TW201246917A (en) | Handheld electronic device and method for recording multimedia clip | |
US10560656B2 (en) | Media message creation with automatic titling | |
CN101322408A (en) | Interactive television without trigger signal | |
CN1998050A (en) | Method and apparatus for playing multimedia play list and storing media therefor | |
US20040177317A1 (en) | Closed caption navigation | |
US20170084309A1 (en) | Video file creation device and video file creation method | |
CN103324513A (en) | Program annotation method and device | |
WO2023160288A1 (en) | Conference summary generation method and apparatus, electronic device, and readable storage medium | |
CN113923479A (en) | Audio and video editing method and device | |
CN104657524B (en) | DWG drawing voice annotation function | |
US9251256B2 (en) | System and method for maintaining cue point data structure independent of recorded time-varying content | |
CN104424237A (en) | Whiteboard teaching system attachment preview method and whiteboard teaching system | |
KR20180062005A (en) | System and method selecting and managing moving image | |
KR101783872B1 (en) | Video Search System and Method thereof | |
KR20140137219A (en) | Method for providing s,e,u-contents by easily, quickly and accurately extracting only wanted part from multimedia file | |
KR101477492B1 (en) | Apparatus for editing and playing video contents and the method thereof | |
KR102066750B1 (en) | Terminal apparatus and method for controlling record file | |
WO2006030995A9 (en) | Index-based authoring and editing system for video contents |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150211 |