Movatterモバイル変換


[0]ホーム

URL:


CN104410924B - A kind of multimedia titles display methods and device - Google Patents

A kind of multimedia titles display methods and device
Download PDF

Info

Publication number
CN104410924B
CN104410924BCN201410691188.9ACN201410691188ACN104410924BCN 104410924 BCN104410924 BCN 104410924BCN 201410691188 ACN201410691188 ACN 201410691188ACN 104410924 BCN104410924 BCN 104410924B
Authority
CN
China
Prior art keywords
video
subtitle
subtitle file
information
multimedia
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.)
Expired - Fee Related
Application number
CN201410691188.9A
Other languages
Chinese (zh)
Other versions
CN104410924A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410691188.9ApriorityCriticalpatent/CN104410924B/en
Publication of CN104410924ApublicationCriticalpatent/CN104410924A/en
Application grantedgrantedCritical
Publication of CN104410924BpublicationCriticalpatent/CN104410924B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例公开了一种多媒体字幕显示方法及装置,该方法包括:获取视频对应的待显示的字幕文件;根据所述视频在视频播放设备上的播放进度,通过投影将所述字幕文件中的字幕与所述视频进行同步显示。本发明实施例的技术方案能同步显示视频对应的字幕,能对用户观看的视频进行拓展。

The embodiment of the present invention discloses a method and device for displaying multimedia subtitles. The method includes: obtaining a subtitle file corresponding to a video to be displayed; The subtitles for are displayed in sync with the video. The technical solution of the embodiment of the present invention can synchronously display the subtitles corresponding to the video, and can expand the video watched by the user.

Description

Translated fromChinese
一种多媒体字幕显示方法及装置A method and device for displaying multimedia subtitles

技术领域technical field

本发明涉及计算机应用技术领域,具体涉及一种多媒体字幕显示方法及装置。The invention relates to the technical field of computer applications, in particular to a method and device for displaying multimedia subtitles.

背景技术Background technique

字幕是用于帮助听力受损、语言不通、或语言学习等用户的补充媒体流,多年来已成为用于电影、电视节目的行业常用品。Subtitles are supplementary media streams used to assist users such as the hearing impaired, language barriers, or language learning, and have become an industry staple for movies and TV shows over the years.

当使用电视、家庭影院等播放电影、电视等视频时,有时播放的内容缺乏字幕,或者所显示的字幕的语言类别不符合视频观看者的需求(例如电影当前字幕为英文字幕而用户想要观看中文字幕),对于离线电影或电视,用户只能通过重新购买、下载或更换电视频道获取合适的版本重新播放,操作繁琐。When using TV, home theater, etc. to play movies, TV and other videos, sometimes the content played lacks subtitles, or the language category of the displayed subtitles does not meet the needs of video viewers (for example, the current subtitles of the movie are English subtitles and the user wants to watch Chinese subtitles), for offline movies or TV, users can only re-play the appropriate version by re-purchasing, downloading or changing TV channels, which is cumbersome.

发明内容Contents of the invention

有鉴于此,本发明实施例提供一种多媒体字幕显示方法及装置,以同步显示视频对应的字幕。In view of this, an embodiment of the present invention provides a method and device for displaying multimedia subtitles to synchronously display subtitles corresponding to a video.

第一方面,本发明实施例提供了一种多媒体字幕显示方法,包括:In a first aspect, an embodiment of the present invention provides a method for displaying multimedia subtitles, including:

获取视频对应的待显示的字幕文件;Obtain the subtitle file to be displayed corresponding to the video;

根据所述视频在视频播放设备上的播放进度,通过投影将所述字幕文件中的字幕与所述视频进行同步显示。According to the playback progress of the video on the video playback device, the subtitles in the subtitle file and the video are synchronously displayed through projection.

第二方面,本发明实施例还提供了一种多媒体字幕显示装置,包括:In a second aspect, the embodiment of the present invention also provides a multimedia subtitle display device, including:

字幕文件获取单元,用于获取视频对应的待显示的字幕文件;A subtitle file obtaining unit, configured to obtain a subtitle file to be displayed corresponding to the video;

同步显示单元,用于根据所述视频在视频播放设备上的播放进度,通过投影将所述字幕文件中的字幕与所述视频进行同步显示。The synchronous display unit is configured to synchronously display the subtitles in the subtitle file and the video through projection according to the playback progress of the video on the video playback device.

本发明实施例通过获取视频对应的待显示的字幕文件,根据所述视频在视频播放设备上的播放进度,通过投影将所述字幕文件中的字幕与所述视频进行同步显示,能同步显示视频对应的字幕,能对用户观看的视频进行拓展。In the embodiment of the present invention, by obtaining the subtitle file to be displayed corresponding to the video, according to the playback progress of the video on the video playback device, the subtitle in the subtitle file and the video are displayed synchronously through projection, and the video can be displayed synchronously. The corresponding subtitles can expand the video watched by the user.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据本发明实施例的内容和这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to the content of the embodiment of the present invention and these drawings without any creative effort.

图1是本发明实施例一所述的多媒体字幕显示方法流程图;FIG. 1 is a flowchart of a multimedia subtitle display method according to Embodiment 1 of the present invention;

图2是本发明实施例二所述的多媒体字幕显示方法流程图;FIG. 2 is a flow chart of the multimedia subtitle display method described in Embodiment 2 of the present invention;

图3是本发明实施例三所述的多媒体字幕显示方法流程图;FIG. 3 is a flow chart of the multimedia subtitle display method described in Embodiment 3 of the present invention;

图4是本发明实施例四所述的多媒体字幕显示装置的结构框图;4 is a structural block diagram of a multimedia subtitle display device according to Embodiment 4 of the present invention;

图5是本发明实施例五所述的多媒体字幕显示装置的结构框图;5 is a structural block diagram of a multimedia subtitle display device according to Embodiment 5 of the present invention;

图6是本发明实施例六所述的多媒体字幕显示装置的结构框图。FIG. 6 is a structural block diagram of a multimedia subtitle display device according to Embodiment 6 of the present invention.

具体实施方式Detailed ways

为使本发明解决的技术问题、采用的技术方案和达到的技术效果更加清楚,下面将结合附图对本发明实施例的技术方案作进一步的详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the technical problems solved by the present invention, the technical solutions adopted and the technical effects achieved clearer, the technical solutions of the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only the technical solutions of the present invention. Some, but not all, embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods.

实施例一Embodiment one

图1是本发明实施例一提供的多媒体字幕显示方法流程图,本实施例可适用于通过具有投影装置的终端(包括手机等移动终端),在视频播放设备所播放的视频时,通过投影同步显示所播放视频的字幕的情况,该方法可以由配置在所述具有投影装置的终端中的视频字幕显示装置来执行,如图1所示,本实施例所述的多媒体字幕显示方法包括:Fig. 1 is a flow chart of the multimedia subtitle display method provided by Embodiment 1 of the present invention. This embodiment can be applied to synchronously projecting a video played by a video playback device through a terminal (including a mobile terminal such as a mobile phone) with a projection device. In the case of displaying the subtitles of the played video, the method may be performed by the video subtitle display device configured in the terminal with the projection device, as shown in Figure 1, the multimedia subtitle display method described in this embodiment includes:

步骤S101、获取视频对应的待显示的字幕文件。Step S101. Obtain a subtitle file to be displayed corresponding to the video.

终端获取字幕文件可通过多种方式。例如终端接收用户输入当前视频的名称后,从互联网、服务器、和/或本地数据库中搜索该视频名称对应的字幕文件。此时,本步骤中,所述终端的具体操作包括:There are many ways for the terminal to obtain the subtitle file. For example, after receiving the name of the current video input by the user, the terminal searches for a subtitle file corresponding to the video name from the Internet, a server, and/or a local database. Now, in this step, the specific operations of the terminal include:

获取视频对应的待显示的字幕文件的检索信息;Obtain the retrieval information of the subtitle file to be displayed corresponding to the video;

根据所述检索信息获取所述字幕文件。The subtitle file is acquired according to the retrieval information.

当然,用户可通过视频的名称进行搜索,还可通过一些描述信息进行搜索,因此,所述检索信息包括所述视频的名称、描述信息、或两者结合。Of course, the user can search by the name of the video, and can also search by some description information. Therefore, the search information includes the name of the video, description information, or a combination of both.

进一步地,为了进一步限定需要显示的字幕的更进一步详细信息,所述检索信息还可包括所述视频的版本信息、所述字幕文件的语言类别、或者两结合。Further, in order to further limit further detailed information of subtitles to be displayed, the retrieval information may also include version information of the video, language type of the subtitle file, or a combination of the two.

又如,若所述终端具有拍照功能或录像功能,可对所述播放设备当前播放的视频进行拍照或录像,根据拍照或录像结果自动从互联网、数据库、服务器、和/或本地数据库中搜索该视频的字幕文件。For another example, if the terminal has a camera function or a video recording function, it can take a photo or video of the video currently played by the playback device, and automatically search for the video from the Internet, databases, servers, and/or local databases according to the results of the photo or video. The subtitle file for the video.

步骤S102、根据所述视频在视频播放设备上的播放进度,通过投影将所述字幕文件中的字幕与所述视频进行同步显示。Step S102 , according to the playback progress of the video on the video playback device, synchronously display the subtitles in the subtitle file and the video through projection.

与上一步相同,所述视频在视频播放设备上的播放进度的获取也可以通过多种方式,例如可采用如下方式:Same as the previous step, the playback progress of the video on the video playback device can also be acquired in a variety of ways, for example, the following ways can be used:

方式一、用户输入的已经播放的时间;Method 1: The played time input by the user;

方式二、默认从头开始播放;Method 2: Play from the beginning by default;

方式三、直接与该视频播放设备进行通过有线或无线通信方式进行数据交互,从该播放设备中读取该视频文件的播放进度信息;Method 3: directly interact with the video playback device through wired or wireless communication, and read the playback progress information of the video file from the playback device;

方式四、若所述终端具有拍照功能或录像功能,可对所述播放设备当前播放的视频进行拍照或录像,根据拍照或录像结果自动从互联网、数据库、服务器、和/或本地数据库中搜索该拍照内容或录像内容对应的进度信息。Method 4. If the terminal has a camera function or a video recording function, it can take a photo or video of the video currently played by the playback device, and automatically search for the video from the Internet, databases, servers, and/or local databases according to the results of the photo or video. The progress information corresponding to the photo content or video content.

本领域技术人员需要明确的是,所述视频在视频播放设备上的播放进度可包括但不限于以上四种方式中,只要能获取到所述视频在视频播放设备上的播放进度即可。Those skilled in the art need to be clear that the playback progress of the video on the video playback device may include but not limited to the above four methods, as long as the playback progress of the video on the video playback device can be obtained.

为了减少手动操作过程,本步骤优选为,根据所述视频在视频播放设备上的播放进度,通过投影将所述字幕文件中的字幕与所述视频进行同步显示的操作具体包括:In order to reduce the manual operation process, this step is preferably, according to the playback progress of the video on the video playback device, the operation of synchronously displaying the subtitles in the subtitle file and the video through projection specifically includes:

根据所述视频在视频播放设备上播放的内容实时获取所述视频的播放进度;Obtaining the playback progress of the video in real time according to the content of the video played on the video playback device;

根据所述播放进度从所述字幕文件获取当前帧的字幕;Acquiring the subtitle of the current frame from the subtitle file according to the playback progress;

驱动投影设备实时将当前帧的字幕同步投影在所述视频播放设备上。The projection device is driven to synchronously project the subtitle of the current frame on the video playback device in real time.

本发明实施例通过获取视频对应的待显示的字幕文件,根据所述视频在视频播放设备上的播放进度,通过投影将所述字幕文件中的字幕与所述视频进行同步显示,能同步显示视频对应的字幕,能对用户观看的视频进行拓展。In the embodiment of the present invention, by obtaining the subtitle file to be displayed corresponding to the video, according to the playback progress of the video on the video playback device, the subtitle in the subtitle file and the video are displayed synchronously through projection, and the video can be displayed synchronously. The corresponding subtitles can expand the video watched by the user.

实施例二Embodiment two

图2是本发明实施例二所述的多媒体字幕显示方法流程图,如图2所示,本实施例所述的多媒体字幕显示方法包括:Fig. 2 is the flow chart of the multimedia subtitle display method described in the second embodiment of the present invention, as shown in Fig. 2, the multimedia subtitle display method described in the present embodiment comprises:

步骤S201、获取视频对应的待显示的字幕文件的检索信息。Step S201, acquiring retrieval information of subtitle files to be displayed corresponding to the video.

例如,所述检索信息包括所述视频的名称、描述信息、或者两结合。For example, the search information includes the name of the video, description information, or a combination of the two.

进一步地,所述检索信息还可包括所述视频的名称和/或描述信息,以及所述视频的版本信息和/或所述字幕文件的语言类别。Further, the search information may also include the name and/or description information of the video, as well as the version information of the video and/or the language type of the subtitle file.

即为了进一步限定需要显示的字幕的更进一步详细信息,所述检索信息还可包括所述视频的版本信息、所述字幕文件的语言类别、或者两结合。That is, in order to further limit the further detailed information of the subtitles to be displayed, the search information may also include the version information of the video, the language type of the subtitle file, or a combination of the two.

步骤S202、根据所述检索信息获取所述字幕文件。Step S202. Obtain the subtitle file according to the search information.

例如根据所述检索信息从互联网、数据库、服务器、和/或本地数据库中搜索该视频的字幕文件。For example, the subtitle file of the video is searched from the Internet, a database, a server, and/or a local database according to the retrieval information.

步骤S203、根据所述检索信息获取所述字幕文件的操作具体包括:根据所述检索信息从互联网、数据库、服务器、和/或本地数据库中下载所述字幕文件。Step S203, the operation of obtaining the subtitle file according to the retrieval information specifically includes: downloading the subtitle file from the Internet, a database, a server, and/or a local database according to the retrieval information.

本实施例的技术方案在实施例一的基础之上,具体公开了一种获取视频对应的待显示的字幕文件的具体实施方式,即通过接收用户的检索信息来查询相关数据来获取字幕文件,该技术方案不要求该终端的摄像或拍摄装置。On the basis of the first embodiment, the technical solution of this embodiment specifically discloses a specific implementation manner of obtaining the subtitle file to be displayed corresponding to the video, that is, the subtitle file is obtained by querying relevant data by receiving user search information, This technical solution does not require the camera or photographing device of the terminal.

实施例三Embodiment Three

图3是本发明实施例三所述的多媒体字幕显示方法流程图,如图3所示,本实施例所述的多媒体字幕显示方法包括:Fig. 3 is a flowchart of the multimedia subtitle display method described in Embodiment 3 of the present invention. As shown in Fig. 3, the multimedia subtitle display method described in this embodiment includes:

步骤S301、根据所述视频在视频播放设备上播放的内容对所述视频进行识别。Step S301. Identify the video according to the content of the video played on the video playback device.

即对所述视频在视频播放设备上播放的内容进行识别,例如可拍摄一张或一张以上的照片,依据所述照片查找该视频的标识。又如还可通过拍摄当前播放内容的一小段视频片段,依据所述视频片段查找该视频的标识。That is, to identify the content of the video played on the video playback device, for example, one or more photos may be taken, and the identification of the video may be searched based on the photos. For another example, by shooting a short video segment of the currently playing content, the identifier of the video can be searched according to the video segment.

再通过该视频标识查找字幕文件。Then, the subtitle file is searched through the video identifier.

作为优选,根据所述视频在视频播放设备上播放的内容对所述视频进行识别的操作具体包括:获取所述视频在视频播放设备上播放时的语音信息和/或图像信息,根据所述语音信息和/或图像信息对所述视频进行识别。Preferably, the operation of identifying the video according to the content of the video played on the video playback device specifically includes: acquiring voice information and/or image information when the video is played on the video playback device, and according to the voice information and/or image information identifying the video.

步骤S302、根据识别结果获取所述视频对应的待显示的字幕文件。Step S302. Obtain a subtitle file to be displayed corresponding to the video according to the recognition result.

步骤S303、根据所述视频在视频播放设备上的播放进度,通过投影将所述字幕文件中的字幕与所述视频进行同步显示。Step S303, according to the playback progress of the video on the video playback device, synchronously display the subtitles in the subtitle file and the video through projection.

本实施例的技术方案在实施例一的基础之上,具体公开了一种获取视频对应的待显示的字幕文件的另一种具体实施方式,即根据所述视频在视频播放设备上播放的内容识别视频,根据识别结果获取视频对应的待显示的字幕文件,该技术方案要求该终端的摄像或拍摄装置,但不需要用户手动操作,能够自动实现发明目的。On the basis of the first embodiment, the technical solution of this embodiment specifically discloses another specific implementation manner of obtaining the subtitle file to be displayed corresponding to the video, that is, the content played on the video playback device according to the video Recognize the video, and obtain the subtitle file corresponding to the video to be displayed according to the recognition result. This technical solution requires the camera or shooting device of the terminal, but does not require manual operation by the user, and can automatically achieve the purpose of the invention.

实施例四Embodiment Four

图4是本发明实施例四所述的多媒体字幕显示装置的结构框图,如图4所示,本实施例所述的多媒体字幕显示装置包括:Fig. 4 is a structural block diagram of the multimedia subtitle display device described in Embodiment 4 of the present invention, as shown in Fig. 4, the multimedia subtitle display device described in the present embodiment includes:

字幕文件获取单元410,用于获取视频对应的待显示的字幕文件;A subtitle file obtaining unit 410, configured to obtain a subtitle file to be displayed corresponding to the video;

终端获取字幕文件可通过多种方式。例如终端接收用户输入当前视频的名称后,从互联网、服务器、和/或本地数据库中搜索该视频名称对应的字幕文件。此时,本字幕文件获取单元410中,所述终端的具体操作包括:There are many ways for the terminal to obtain the subtitle file. For example, after receiving the name of the current video input by the user, the terminal searches for a subtitle file corresponding to the video name from the Internet, a server, and/or a local database. At this point, in the subtitle file acquisition unit 410, the specific operations of the terminal include:

获取视频对应的待显示的字幕文件的检索信息;Obtain the retrieval information of the subtitle file to be displayed corresponding to the video;

根据所述检索信息获取所述字幕文件。The subtitle file is acquired according to the retrieval information.

当然,用户可通过视频的名称进行搜索,还可通过一些描述信息进行搜索,因此,所述检索信息包括所述视频的名称、描述信息、或两者结合。Of course, the user can search by the name of the video, and can also search by some description information. Therefore, the search information includes the name of the video, description information, or a combination of both.

进一步地,为了进一步限定需要显示的字幕的更进一步详细信息,所述检索信息还可包括所述视频的版本信息、所述字幕文件的语言类别、或者两结合。Further, in order to further limit further detailed information of subtitles to be displayed, the retrieval information may also include version information of the video, language type of the subtitle file, or a combination of the two.

又如,若所述终端具有拍照功能或录像功能,可对所述播放设备当前播放的视频进行拍照或录像,根据拍照或录像结果自动从互联网、数据库、服务器、和/或本地数据库中搜索该视频的字幕文件。For another example, if the terminal has a camera function or a video recording function, it can take a photo or video of the video currently played by the playback device, and automatically search for the video from the Internet, databases, servers, and/or local databases according to the results of the photo or video. The subtitle file for the video.

同步显示单元420,用于根据所述视频在视频播放设备上的播放进度,通过投影将所述字幕文件中的字幕与所述视频进行同步显示。The synchronous display unit 420 is configured to synchronously display the subtitles in the subtitle file and the video through projection according to the playback progress of the video on the video playback device.

进一步地,所述同步显示单元420具体用于:Further, the synchronization display unit 420 is specifically used for:

根据所述视频在视频播放设备上播放的内容实时获取所述视频的播放进度;Obtaining the playback progress of the video in real time according to the content of the video played on the video playback device;

根据所述播放进度从所述字幕文件获取当前帧的字幕;Acquiring the subtitle of the current frame from the subtitle file according to the playback progress;

驱动投影设备实时将当前帧的字幕同步投影在所述视频播放设备上。The projection device is driven to synchronously project the subtitle of the current frame on the video playback device in real time.

与字幕文件获取单元410相同,所述视频在视频播放设备上的播放进度的获取也可以通过多种方式,例如可采用如下方式:Same as the subtitle file acquisition unit 410, the acquisition of the playback progress of the video on the video playback device can also be obtained in a variety of ways, for example, the following methods can be used:

方式一、用户输入的已经播放的时间;Method 1: The played time input by the user;

方式二、默认从头开始播放;Method 2: Play from the beginning by default;

方式三、直接与该视频播放设备进行通过有线或无线通信方式进行数据交互,从该播放设备中读取该视频文件的播放进度信息;Method 3: directly interact with the video playback device through wired or wireless communication, and read the playback progress information of the video file from the playback device;

方式四、若所述终端具有拍照功能或录像功能,可对所述播放设备当前播放的视频进行拍照或录像,根据拍照或录像结果自动从互联网、数据库、服务器、和/或本地数据库中搜索该拍照内容或录像内容对应的进度信息。Method 4. If the terminal has a camera function or a video recording function, it can take a photo or video of the video currently played by the playback device, and automatically search for the video from the Internet, databases, servers, and/or local databases according to the results of the photo or video. The progress information corresponding to the photo content or video content.

本领域技术人员需要明确的是,所述视频在视频播放设备上的播放进度可包括但不限于以上四种方式中,只要能获取到所述视频在视频播放设备上的播放进度即可。Those skilled in the art need to be clear that the playback progress of the video on the video playback device may include but not limited to the above four methods, as long as the playback progress of the video on the video playback device can be obtained.

为了减少手动操作过程,本单元用于根据所述视频在视频播放设备上的播放进度,通过投影将所述字幕文件中的字幕与所述视频进行同步显示具体包括:In order to reduce the manual operation process, this unit is used to synchronously display the subtitles in the subtitle file and the video through projection according to the playback progress of the video on the video playback device, specifically including:

根据所述视频在视频播放设备上播放的内容实时获取所述视频的播放进度;Obtaining the playback progress of the video in real time according to the content of the video played on the video playback device;

根据所述播放进度从所述字幕文件获取当前帧的字幕;Acquiring the subtitle of the current frame from the subtitle file according to the playback progress;

驱动投影设备实时将当前帧的字幕同步投影在所述视频播放设备上。The projection device is driven to synchronously project the subtitle of the current frame on the video playback device in real time.

本实施例提供的多媒体字幕显示装置可执行本发明实施例一所提供的多媒体字幕显示方法,具备执行方法相应的功能模块和有益效果。The multimedia subtitle display device provided in this embodiment can execute the multimedia subtitle display method provided in Embodiment 1 of the present invention, and has corresponding functional modules and beneficial effects for executing the method.

实施例五Embodiment five

图5是本发明实施例五所述的多媒体字幕显示装置的结构框图,如图5所示,本实施例所述的多媒体字幕显示装置包括:Fig. 5 is a structural block diagram of the multimedia subtitle display device described in Embodiment 5 of the present invention. As shown in Fig. 5, the multimedia subtitle display device described in this embodiment includes:

字幕文件获取单元510,用于获取视频对应的待显示的字幕文件。The subtitle file obtaining unit 510 is configured to obtain a subtitle file to be displayed corresponding to the video.

同步显示单元520,用于根据所述视频在视频播放设备上的播放进度,通过投影将所述字幕文件中的字幕与所述视频进行同步显示。The synchronous display unit 520 is configured to synchronously display the subtitles in the subtitle file and the video through projection according to the playback progress of the video on the video playback device.

其中,所述字幕文件获取单元510具体包括检索信息获取子单元511和字幕文件检索子单元512。Wherein, the subtitle file acquisition unit 510 specifically includes a retrieval information acquisition subunit 511 and a subtitle file retrieval subunit 512 .

具体地,所述检索信息获取子单元511,用于获取视频对应的待显示的字幕文件的检索信息。Specifically, the retrieval information obtaining subunit 511 is configured to obtain retrieval information of subtitle files to be displayed corresponding to the video.

进一步地,所述检索信息包括所述视频的名称和/或描述信息。Further, the search information includes the name and/or description information of the video.

进一步地,所述检索信息还包括所述视频的版本信息和/或所述字幕文件的语言类别。Further, the search information also includes version information of the video and/or language category of the subtitle file.

具体地,所述字幕文件检索子单元512,用于根据所述检索信息获取所述字幕文件。Specifically, the subtitle file retrieval subunit 512 is configured to obtain the subtitle file according to the retrieval information.

进一步地,所述字幕文件检索子单元512具体用于:根据所述检索信息从互联网、数据库或服务器中下载所述字幕文件。Further, the subtitle file retrieval subunit 512 is specifically configured to: download the subtitle file from the Internet, a database or a server according to the retrieval information.

进一步地,所述同步显示单元520具体用于:Further, the synchronization display unit 520 is specifically used for:

根据所述视频在视频播放设备上播放的内容实时获取所述视频的播放进度;Obtaining the playback progress of the video in real time according to the content of the video played on the video playback device;

根据所述播放进度从所述字幕文件获取当前帧的字幕;Acquiring the subtitle of the current frame from the subtitle file according to the playback progress;

驱动投影设备实时将当前帧的字幕同步投影在所述视频播放设备上。The projection device is driven to synchronously project the subtitle of the current frame on the video playback device in real time.

本实施例提供的多媒体字幕显示装置可执行本发明实施例二所提供的多媒体字幕显示方法,具备执行方法相应的功能模块和有益效果。The multimedia subtitle display device provided in this embodiment can execute the multimedia subtitle display method provided in Embodiment 2 of the present invention, and has corresponding functional modules and beneficial effects for executing the method.

实施例六Embodiment six

图6是本发明实施例六所述的多媒体字幕显示装置的结构框图,如图6所示,本实施例所述的多媒体字幕显示装置包括:FIG. 6 is a structural block diagram of the multimedia subtitle display device described in Embodiment 6 of the present invention. As shown in FIG. 6, the multimedia subtitle display device described in this embodiment includes:

字幕文件获取单元610,用于获取视频对应的待显示的字幕文件;A subtitle file acquisition unit 610, configured to acquire a subtitle file to be displayed corresponding to the video;

同步显示单元620,用于根据所述视频在视频播放设备上的播放进度,通过投影将所述字幕文件中的字幕与所述视频进行同步显示。The synchronous display unit 620 is configured to synchronously display the subtitles in the subtitle file and the video through projection according to the playback progress of the video on the video playback device.

其中,所述字幕文件获取单元610具体包括视频识别子单元611和字幕文件识别子单元612。Wherein, the subtitle file acquisition unit 610 specifically includes a video identification subunit 611 and a subtitle file identification subunit 612 .

具体地,所述视频识别子单元611,用于根据所述视频在视频播放设备上播放的内容对所述视频进行识别。Specifically, the video identification subunit 611 is configured to identify the video according to the content of the video played on the video playback device.

进一步地,所述视频识别子单元611具体用于:获取所述视频在视频播放设备上播放时的语音信息和/或图像信息,根据所述语音信息和/或图像信息对所述视频进行识别。Further, the video identification subunit 611 is specifically configured to: acquire voice information and/or image information of the video when it is played on a video playback device, and identify the video according to the voice information and/or image information .

具体地,所述字幕文件识别子单元612,用于根据识别结果获取所述视频对应的待显示的字幕文件。Specifically, the subtitle file identification subunit 612 is configured to acquire a subtitle file to be displayed corresponding to the video according to the identification result.

进一步地,所述同步显示单元620具体用于:Further, the synchronization display unit 620 is specifically used for:

根据所述视频在视频播放设备上播放的内容实时获取所述视频的播放进度;Obtaining the playback progress of the video in real time according to the content of the video played on the video playback device;

根据所述播放进度从所述字幕文件获取当前帧的字幕;Acquiring the subtitle of the current frame from the subtitle file according to the playback progress;

驱动投影设备实时将当前帧的字幕同步投影在所述视频播放设备上。The projection device is driven to synchronously project the subtitle of the current frame on the video playback device in real time.

本实施例提供的多媒体字幕显示装置可执行本发明实施例三所提供的多媒体字幕显示方法,具备执行方法相应的功能模块和有益效果。The multimedia subtitle display device provided in this embodiment can execute the multimedia subtitle display method provided in Embodiment 3 of the present invention, and has corresponding functional modules and beneficial effects for executing the method.

以上实施例提供的技术方案中的全部或部分内容可以通过软件编程实现,其软件程序存储在可读取的存储介质中,存储介质例如:计算机中的硬盘、光盘或软盘。All or part of the technical solutions provided by the above embodiments can be realized by software programming, and the software program is stored in a readable storage medium, such as a hard disk, an optical disk or a floppy disk in a computer.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (12)

Translated fromChinese
1.一种多媒体字幕显示方法,其特征在于,所述方法应用于通过具有投影装置的终端,终端用于在视频播放设备播放视频时,通过投影同步显示所播放视频的字幕,包括:1. A method for displaying multimedia subtitles, characterized in that, the method is applied to a terminal with a projection device, and the terminal is used to synchronously display the subtitles of the played video through projection when the video playback device plays the video, including:获取视频对应的待显示的字幕文件;Obtain the subtitle file to be displayed corresponding to the video;根据所述视频在视频播放设备上的播放进度,通过投影将所述字幕文件中的字幕与所述视频进行同步显示;According to the playback progress of the video on the video playback device, the subtitles in the subtitle file and the video are displayed synchronously by projection;所述获取视频对应的待显示的字幕文件,包括:The subtitle file to be displayed corresponding to the acquired video includes:获取所述视频在视频播放设备上播放时的语音信息和/或图像信息,根据所述语音信息和/或图像信息对所述视频进行识别;Acquire voice information and/or image information when the video is played on the video playback device, and identify the video according to the voice information and/or image information;根据识别结果获取所述视频对应的待显示的字幕文件;Obtain the subtitle file to be displayed corresponding to the video according to the recognition result;其中,所述根据所述语音信息和/或图像信息对所述视频进行识别,包括:Wherein, the identifying the video according to the voice information and/or image information includes:拍摄一张或一张以上的照片,依据所述照片查找所述视频的标识;或者,拍摄当前播放内容的一段视频片段,依据所述视频片段查找所述视频的标识。Take one or more photos, and search for the identification of the video according to the photos; or, take a video segment of the currently playing content, and search for the identification of the video based on the video segment.2.根据权利要求1所述的多媒体字幕显示方法,其特征在于,获取视频对应的待显示的字幕文件的操作具体包括:2. The multimedia subtitle display method according to claim 1, wherein the operation of obtaining the subtitle file to be displayed corresponding to the video specifically includes:获取视频对应的待显示的字幕文件的检索信息;Obtain the retrieval information of the subtitle file to be displayed corresponding to the video;根据所述检索信息获取所述字幕文件。The subtitle file is acquired according to the retrieval information.3.根据权利要求2所述的多媒体字幕显示方法,其特征在于,所述检索信息包括所述视频的名称和/或描述信息。3. The method for displaying multimedia subtitles according to claim 2, wherein the search information includes title and/or description information of the video.4.根据权利要求3所述的多媒体字幕显示方法,其特征在于,所述检索信息还包括所述视频的版本信息和/或所述字幕文件的语言类别。4. The method for displaying multimedia subtitles according to claim 3, wherein the retrieval information further includes version information of the video and/or language category of the subtitle file.5.根据权利要求2-4任一所述的多媒体字幕显示方法,其特征在于,根据所述检索信息获取所述字幕文件的操作具体包括:根据所述检索信息从互联网、数据库或服务器中下载所述字幕文件。5. The multimedia subtitle display method according to any one of claims 2-4, wherein the operation of obtaining the subtitle file according to the retrieval information specifically comprises: downloading from the Internet, a database or a server according to the retrieval information The subtitle file.6.根据权利要求1所述的多媒体字幕显示方法,其特征在于,根据所述视频在视频播放设备上的播放进度,通过投影将所述字幕文件中的字幕与所述视频进行同步显示的操作具体包括:6. The multimedia subtitle display method according to claim 1, characterized in that, according to the playback progress of the video on the video playback device, the subtitle in the subtitle file and the video are synchronously displayed by projection Specifically include:根据所述视频在视频播放设备上播放的内容实时获取所述视频的播放进度;Obtaining the playback progress of the video in real time according to the content of the video played on the video playback device;根据所述播放进度从所述字幕文件获取当前帧的字幕;Acquiring the subtitle of the current frame from the subtitle file according to the playback progress;驱动投影设备实时将当前帧的字幕同步投影在所述视频播放设备上。The projection device is driven to synchronously project the subtitle of the current frame on the video playback device in real time.7.一种多媒体字幕显示装置,其特征在于,所述装置应用于通过具有投影装置的终端,终端用于在视频播放设备播放视频时,通过投影同步显示所播放视频的字幕,包括:7. A multimedia subtitle display device, characterized in that the device is applied to a terminal with a projection device, and the terminal is used to synchronously display the subtitles of the played video through projection when the video playback device plays the video, including:字幕文件获取单元,用于获取视频对应的待显示的字幕文件;A subtitle file obtaining unit, configured to obtain a subtitle file to be displayed corresponding to the video;同步显示单元,用于根据所述视频在视频播放设备上的播放进度,通过投影将所述字幕文件中的字幕与所述视频进行同步显示;A synchronous display unit, configured to synchronously display the subtitles in the subtitle file and the video through projection according to the playback progress of the video on the video playback device;所述字幕文件获取单元具体包括视频识别子单元和字幕文件识别子单元;The subtitle file acquisition unit specifically includes a video identification subunit and a subtitle file identification subunit;所述视频识别子单元,用于获取所述视频在视频播放设备上播放时的语音信息和/或图像信息,根据所述语音信息和/或图像信息对所述视频进行识别;The video recognition subunit is configured to acquire voice information and/or image information of the video when it is played on a video playback device, and identify the video according to the voice information and/or image information;其中,所述根据所述语音信息和/或图像信息对所述视频进行识别,包括:Wherein, the identifying the video according to the voice information and/or image information includes:拍摄一张或一张以上的照片,依据所述照片查找所述视频的标识;或者,拍摄当前播放内容的一段视频片段,依据所述视频片段查找所述视频的标识;Take one or more photos, and search for the identification of the video based on the photos; or, take a video segment of the currently playing content, and search for the identification of the video based on the video segment;所述字幕文件识别子单元,用于根据识别结果获取所述视频对应的待显示的字幕文件。The subtitle file identification subunit is configured to acquire a subtitle file to be displayed corresponding to the video according to the identification result.8.根据权利要求7所述的多媒体字幕显示装置,其特征在于,所述字幕文件获取单元具体包括检索信息获取子单元和字幕文件检索子单元;8. The multimedia subtitle display device according to claim 7, wherein the subtitle file acquisition unit specifically includes a retrieval information acquisition subunit and a subtitle file retrieval subunit;所述检索信息获取子单元,用于获取视频对应的待显示的字幕文件的检索信息;The retrieval information acquisition subunit is configured to acquire retrieval information of subtitle files to be displayed corresponding to the video;所述字幕文件检索子单元,用于根据所述检索信息获取所述字幕文件。The subtitle file retrieval subunit is configured to obtain the subtitle file according to the retrieval information.9.根据权利要求8所述的多媒体字幕显示装置,其特征在于,所述检索信息包括所述视频的名称和/或描述信息。9 . The multimedia subtitle display device according to claim 8 , wherein the search information includes the name and/or description information of the video.10.根据权利要求9所述的多媒体字幕显示装置,其特征在于,所述检索信息还包括所述视频的版本信息和/或所述字幕文件的语言类别。10. The multimedia subtitle display device according to claim 9, wherein the search information further includes version information of the video and/or language category of the subtitle file.11.根据权利要求8-10任一所述的多媒体字幕显示装置,其特征在于,所述字幕文件检索子单元具体用于:根据所述检索信息从互联网、数据库或服务器中下载所述字幕文件。11. The multimedia subtitle display device according to any one of claims 8-10, wherein the subtitle file retrieval subunit is specifically configured to: download the subtitle file from the Internet, a database or a server according to the retrieval information .12.根据权利要求9所述的多媒体字幕显示装置,其特征在于,所述同步显示单元具体用于:12. The multimedia subtitle display device according to claim 9, wherein the synchronous display unit is specifically used for:根据所述视频在视频播放设备上播放的内容实时获取所述视频的播放进度;Obtaining the playback progress of the video in real time according to the content of the video played on the video playback device;根据所述播放进度从所述字幕文件获取当前帧的字幕;Acquiring the subtitle of the current frame from the subtitle file according to the playback progress;驱动投影设备实时将当前帧的字幕同步投影在所述视频播放设备上。The projection device is driven to synchronously project the subtitle of the current frame on the video playback device in real time.
CN201410691188.9A2014-11-252014-11-25A kind of multimedia titles display methods and deviceExpired - Fee RelatedCN104410924B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410691188.9ACN104410924B (en)2014-11-252014-11-25A kind of multimedia titles display methods and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410691188.9ACN104410924B (en)2014-11-252014-11-25A kind of multimedia titles display methods and device

Publications (2)

Publication NumberPublication Date
CN104410924A CN104410924A (en)2015-03-11
CN104410924Btrue CN104410924B (en)2018-03-23

Family

ID=52648508

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410691188.9AExpired - Fee RelatedCN104410924B (en)2014-11-252014-11-25A kind of multimedia titles display methods and device

Country Status (1)

CountryLink
CN (1)CN104410924B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105872730A (en)*2015-11-232016-08-17乐视网信息技术(北京)股份有限公司Subtitle data fusion method and device
CN105848005A (en)*2016-03-282016-08-10乐视控股(北京)有限公司Video subtitle display method and video subtitle display device
CN108418791A (en)*2018-01-272018-08-17惠州Tcl移动通信有限公司Communication means and mobile terminal with addition caption function
CN110213665A (en)*2019-04-262019-09-06深圳市亿联智能有限公司The method and multimedia system for supporting multilingual network subtitle to show on the set-top box
CN113794940A (en)*2021-09-012021-12-14北京百度网讯科技有限公司 Subtitle display method, device, electronic device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1870728A (en)*2005-05-232006-11-29北京大学Method and system for automatic subtilting
CN102087668A (en)*2011-02-172011-06-08天擎华媒(北京)科技有限公司Method for automatically obtaining audio and video subtitles and lyrics and fast locating, searching and individually displaying
CN103067775A (en)*2013-01-282013-04-24Tcl集团股份有限公司Subtitle display method for audio/video terminal, audio/video terminal and server
CN103179093A (en)*2011-12-222013-06-26腾讯科技(深圳)有限公司Matching system and method for video subtitles
CN103458321A (en)*2012-06-042013-12-18联想(北京)有限公司Method and device for loading subtitles
CN103731609A (en)*2012-10-112014-04-16百度在线网络技术(北京)有限公司Video playing method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
TWI255412B (en)*2004-09-292006-05-21Inventec CorpSystem and method for displaying an image according to audio signals
CN102802044A (en)*2012-06-292012-11-28华为终端有限公司Video processing method, terminal and subtitle server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1870728A (en)*2005-05-232006-11-29北京大学Method and system for automatic subtilting
CN102087668A (en)*2011-02-172011-06-08天擎华媒(北京)科技有限公司Method for automatically obtaining audio and video subtitles and lyrics and fast locating, searching and individually displaying
CN103179093A (en)*2011-12-222013-06-26腾讯科技(深圳)有限公司Matching system and method for video subtitles
CN103458321A (en)*2012-06-042013-12-18联想(北京)有限公司Method and device for loading subtitles
CN103731609A (en)*2012-10-112014-04-16百度在线网络技术(北京)有限公司Video playing method and system
CN103067775A (en)*2013-01-282013-04-24Tcl集团股份有限公司Subtitle display method for audio/video terminal, audio/video terminal and server

Also Published As

Publication numberPublication date
CN104410924A (en)2015-03-11

Similar Documents

PublicationPublication DateTitle
US12010391B2 (en)Method and apparatus for creating and sharing customized multimedia segments
US8689255B1 (en)Synchronizing video content with extrinsic data
RU2628108C2 (en)Method of providing selection of video material episode and device for this
TWI545944B (en)Method of digital content version switching and corresponding device
CN104410924B (en)A kind of multimedia titles display methods and device
CN103686200A (en)Intelligent television video resource searching method and system
CN104918105B (en)More screen playing methods, equipment and the system of media file
CN105144739B (en) Display system with media processing mechanism and operating method thereof
US9883243B2 (en)Information processing method and electronic apparatus
CN102592628A (en)Play control method of audio and video play file
WO2016192501A1 (en)Video search method and apparatus
US10205794B2 (en)Enhancing digital media with supplemental contextually relevant content
CN104168512A (en)Method and device for displaying video information
CN104581396A (en)Processing method and device for promotion information
CN103188549B (en)Video playing device and operation method thereof
WO2016150273A1 (en)Video playing method, mobile terminal and system
TWI533685B (en) Scene control system, method and recording medium
US9491447B2 (en)System for providing complex-dimensional content service using complex 2D-3D content file, method for providing said service, and complex-dimensional content file therefor
TW201225669A (en)System and method for synchronizing with multimedia broadcast program and computer program product thereof
WO2017096883A1 (en)Video recommendation method and system
WO2013187796A1 (en)Method for automatically editing digital video files
JP2010010736A (en)Video content playback device
JP2014130536A (en)Information management device, server, and control method
KR20110040219A (en) Automatic channel setting method and suitable content reproduction method in television receiver
JP6215866B2 (en) Internet video playback system and program

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CP01Change in the name or title of a patent holder
CP01Change in the name or title of a patent holder

Address after:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20180323


[8]ページ先頭

©2009-2025 Movatter.jp