CN102055941A - Video player and video playing method - Google Patents

Video player and video playing method Download PDF

Info

Publication number
CN102055941A
CN102055941A CN2009101936408A CN200910193640A CN102055941A CN 102055941 A CN102055941 A CN 102055941A CN 2009101936408 A CN2009101936408 A CN 2009101936408A CN 200910193640 A CN200910193640 A CN 200910193640A CN 102055941 A CN102055941 A CN 102055941A
Authority
CN
China
Prior art keywords
captions
video
subtitle
regulated
handled
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
CN2009101936408A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN2009101936408A priority Critical patent/CN102055941A/en
Publication of CN102055941A publication Critical patent/CN102055941A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Circuits (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a video player belonging to the technical field of multimedia and comprising an audio and video processing module and a subtitle processing module, wherein the audio and video processing module is used for processing a multimedia source file and then outputting the multimedia source file in an acoustic image manner as well as carrying out audio output and video display; the subtitle processing module is used for processing a subtitle file and then outputting the subtitle file in a subtitle manner and comprises a single subtitle control module; and the subtitle control module is used for displaying the subtitle independent on a video playing window. The invention also relates to a video playing method for providing independent subtitle display. The subtitle is displayed independent on the video playing window and singly regulated, thus multiple problems brought by synchronizing the subtitle into the video in the prior art can be solved. For a handheld video playing device with a small screen, the clear subtitle can be obtained when the video is played; and for terminals of a computer and the like, the effect of subtitle display is more flexible and variable, thus the playing experience of a user is improved.

Description

Video player and video broadcasting method
[technical field]
The present invention relates to multimedia technology, especially relate to a kind of video player and video broadcasting method with captions control demonstration.
[background technology]
Video player: be the instrument that runs on the operating system, the binary system audio-video document of this locality or the network storage, decode by computer, convert voice and video information to, then by output equipment output people's discernible sound of ear human eye or image, the purpose that reaches on computer and handheld device music appreciating or watch video.Computer and handheld device user will use computer or handheld device to watch audio-video frequency content will use video player,
Captions: refer to show the non-presentation content such as dialogue of TV, film, stage works the inside, also make a general reference the literal of films and television programs post-production with written form.The spoken title of films and television programs generally appears at the screen below; The voice content of program is shown in the captions mode, can help the more weak spectators of hearing to understand programme content.In addition, captions also can be used for the translate foreign languages program, allow the spectators that do not understand this foreign language, can hear the vocal cords of original work, understand programme content simultaneously.
The mode of traditional video player processing caption is that caption stream is merged the video flowing that is added to, and through processed, captions can together show with video, so captions have synchronous effect preferably; But captions can be confined to the video playback window, and on little terminal handheld devices such as mobile phone, the situation that captions do not see can appear in video window very little (under the non-played in full screen mode, video window is less than terminal desktop).
In a single day the captions of making in advance are synthesized in the video and just can not change in addition, lack display effect more flexibly.
[summary of the invention]
Given this, be necessary captions to be synthesized the problem that occurs in video, a kind of video player that can control demonstration to captions separately is provided at the conventional video player.
A kind of video player, comprise audio frequency and video processing module and captions processing module, described audio frequency and video processing module is handled the form output of back with acoustic image with multimedia source files, carrying out audio frequency output and video shows, described captions processing module is handled the back with captions form and lip synchronization output with subtitle file, described captions processing module comprises independent subtitle control module, and described subtitle control module can be independent of captions the video playback window and show.
Adopt independently captions processing module, captions can be independent of the video playback window and show, and regulate separately, can overcome traditional problems that are synthesized to captions in the video to be brought.Concerning hand-held video playback apparatus, can obtain apparent captions during displaying video with the small screen; And for terminals such as computers, the effect that captions show seems more flexible and changeable, improves user's broadcast and experiences.
Preferably, described subtitle control module comprises lock unit, and described lock unit obtains the timestamp information of video flowing in the audio frequency and video processing module, with captions and audio-visual synchronization.
Lock unit can be with video flowing and caption stream synchronous playing.
Preferably, described subtitle control module also comprises regulon, and described regulon is regulated captions.
Preferably, the adjusting that described regulon carries out captions comprises the demonstration adjusting, and described demonstration is regulated effect and state that caption character is shown and regulated.
Preferably, described demonstration is regulated captions is comprised that in literal size, font, angle of inclination, color, display position and the transparency more than one regulate.
Preferably, described regulon comprises regulating and controlling to the adjusting that captions carry out, and described regulating and controlling is regulated the output form of captions.
Preferably, described regulating and controlling the captions time of carrying out is regulated and the language adjusting in more than one control.
Regulon can carry out many-sided adjusting to captions, enlarges applicable surface, and increases the flexibility that shows.
In addition, the embodiment of the invention also provides a kind of method of video playback.
A kind of video broadcasting method comprises the steps: the audio frequency and video processing: multimedia source files is handled the form output of back with acoustic image, carry out audio frequency output and carry out video at the video playback window showing; Captions are handled: after subtitle file is handled captions are independent of described video playback window and show.
Captions are independent of the video playback window show, and regulate separately, can overcome traditional problems that are synthesized to captions in the video to be brought.Concerning hand-held video playback apparatus, can obtain apparent captions during displaying video with the small screen; And for terminals such as computers, the effect that captions show seems more flexible and changeable, improves user's broadcast and experiences.
Preferably, the step that described captions are handled comprises the timestamp information that obtains video flowing, with the step of captions and audio-visual synchronization.
Preferably, describedly captions are independent of the step that described video playback window shows after subtitle file is handled and comprise the step that captions are regulated, described captions are regulated comprises demonstration adjusting and regulating and controlling, described demonstration is regulated effect and state that the literal in the captions is shown and is regulated, and described regulating and controlling is regulated the output form of captions.
[description of drawings]
Fig. 1 is the structure chart of the video player of one embodiment of the invention;
Fig. 2 is the video playback processing method of one embodiment of the invention.
[embodiment]
As shown in Figure 1, be the system construction drawing of the video player of present embodiment.This video player comprises audio frequency and video processing module 100 and captions processing module 200.Audio frequency and video processing module 100 is handled the form output of back with acoustic image with multimedia source files, carries out audio frequency output and video and shows; Captions processing module 200 is handled the back with subtitle file and is exported with the captions form.Wherein, captions processing module 200 comprises parsing module 210, subtitle control module 220 and display module 230.
In traditional captions handling process, subtitle file synthesizes through the parsing and the video flowing of parsing module 210, carries out video then and shows.Handle with respect to traditional captions, present embodiment has increased independent subtitle control module 220 and display module 230, thereby captions can be independent of the video playback window and show.Being independent of the video playback window and can being the window that will show captions and separate with the video playback window and be distributed on the display screen, also can be to show that the window of captions is superimposed upon on the video playback window, and the window of demonstration captions is set to transparent.
As shown in Figure 1, audio frequency and video processing module 100 comprises that medium parsing and flow point are from module 110, audio decoder module 120 and video decode module 130, multimedia source files is resolved through medium and flow point is separated into audio stream and video flowing from module 110, is output as Voice ﹠ Video after the processing through audio decoder module 120 and video decode module 130 respectively.
Subtitle file cooperates the Control Parameter of subtitle control module 220 through after the parsing of parsing module 210, shows by display module 230.Display module 230 can take to generate separately the form of captions forms, and captions are presented in these forms.
Subtitle control module 220 comprises lock unit 221 and regulon 222.Lock unit 221 obtains the timestamp information of video flowing in the audio frequency and video processing module 100, with captions and audio-visual synchronization.222 pairs of captions of regulon are regulated.All have temporal information in the subtitle file, which time point the demonstration time with the indication passage originates in, therefore which section literal lock unit 221 just can show according to the decision of the temporal information in the subtitle file behind the timestamp information of the frame of video of obtaining current broadcast.Under the prerequisite that subtitle file is free from mistakes, lock unit 221 can guarantee the synchronous of captions and video.
Display effect, state and the output form of 222 pairs of captions of regulon are regulated.The adjusting of being carried out comprises demonstration adjusting and regulating and controlling, shows that regulating the state that the literal in the captions is shown regulates, and regulating and controlling is regulated the output form of captions.
Wherein show and regulate the adjusting that captions is comprised literal size, font, angle of inclination, color, display position and transparency etc.By above-mentioned adjusting, the display effect of the literal of captions can be carried out real-time regulated, wherein the effect of literal size, font and inclination can realize by the call word library file; Display position can accurately be controlled by input coordinate, and perhaps click is moved forms and realized; Color and transparency are regulated and then can be adopted change RGB parameter and transparency parameter to realize.By regulating the display effect of captions, can allow the user can be more clearly visible captions.Such as in handheld device, display screen is all very little, and traditional captions processing method makes that captions are difficult to be seen clearly.And on terminals such as computer, the display effect of captions all is changeless, underaction.
After adopting independent captions, the display effect of captions can be conditioned, and does not influence the broadcast of multimedia file, thereby makes the beholder that better viewing experience can be arranged.
Regulating and controlling is carried out time adjusting and language adjusting etc. to captions.Under some unusual situations, destroyed as the video file part, perhaps subtitle file editor's mistake causes occurring part or all of video and the synchronous problem of captions, therefore is necessary in playing process captions to be carried out time fine tuning.As take to import correction time and 0.5 second and captions are adjusted to and audio video synchronization for finely tuning the method that combines at interval.Adopt the video player of present embodiment can also be written into a plurality of subtitle files simultaneously, as multilingual captions with respect to same video.Can control a kind of demonstration or multilingual demonstration of language or between different language, switch demonstration etc.
As shown in Figure 2, the video player for present embodiment carries out the step that video playback is handled.
S10: audio frequency and video are handled.Multimedia source files is handled the form output of back with acoustic image, carry out audio frequency output and carry out video showing at the video playback window.
S20: captions are handled.Show after the subtitle file processing captions being independent of described video playback window.The starting point that originates in video playback handled in captions, and when multimedia file was written into video player, subtitle file was written into simultaneously.
It is as follows that more detailed treatment step handled in captions:
S21: resolve subtitle file.Subtitle file is resolved to caption stream.
S22: Synchronous Processing.Obtain the timestamp information in the video flowing, captions and video playback are synchronous.
S23: captions show.Captions are presented at independently in the forms, and these forms can separate with the video playback forms and are distributed on the display screen, or the window that will show captions is superimposed upon on the video playback window, shows that the window of captions is set to transparent.
S24: captions are further regulated.Adjusting to captions can be to set in advance parameter, also can be the real-time regulated in video playback.The adjusting of being carried out comprises the adjusting of display effects such as literal size, font, angle of inclination, color, display position and transparency, also comprises the adjusting of control captions output forms such as time adjusting and language adjusting.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (10)

1. video player, comprise audio frequency and video processing module and captions processing module, described audio frequency and video processing module is handled the form output of back with acoustic image with multimedia source files, carrying out audio frequency output and video shows, described captions processing module is handled the back with subtitle file and is exported with the captions form, it is characterized in that described captions processing module comprises independent subtitle control module, described subtitle control module is independent of the video playback window with captions and shows.
2. video player as claimed in claim 1 is characterized in that described subtitle control module comprises lock unit, and described lock unit obtains the timestamp information of video flowing in the audio frequency and video processing module, with captions and audio-visual synchronization.
3. video player as claimed in claim 1 or 2 is characterized in that described subtitle control module also comprises regulon, and described regulon is regulated captions.
4. video player as claimed in claim 3 is characterized in that, the adjusting that described regulon carries out captions comprises the demonstration adjusting, and described demonstration is regulated effect and state that caption character is shown and regulated.
5. video player as claimed in claim 4 is characterized in that, described demonstration is regulated captions are comprised that in literal size, font, angle of inclination, color, display position and the transparency more than one regulate.
6. video player as claimed in claim 4 is characterized in that described regulon comprises regulating and controlling to the adjusting that captions carry out, and described regulating and controlling is regulated the output form of captions.
7. video player as claimed in claim 6 is characterized in that, described regulating and controlling the captions time of carrying out is regulated and the language adjusting in more than one control.
8. a video broadcasting method is characterized in that, comprises the steps:
Audio frequency and video are handled: multimedia source files is handled the form output of back with acoustic image, carry out audio frequency output and carry out video at the video playback window showing;
Captions are handled: after subtitle file is handled captions are independent of described video playback window and show.
9. video broadcasting method as claimed in claim 8 is characterized in that, describedly captions is independent of the step that described video playback window shows after subtitle file is handled and comprises the timestamp information that obtains video flowing, with captions and audio-visual synchronization.
10. video broadcasting method as claimed in claim 8, it is characterized in that, describedly captions are independent of the step that described video playback window shows after subtitle file is handled and comprise the step that captions are regulated, described captions are regulated comprises demonstration adjusting and regulating and controlling, described demonstration is regulated effect and state that the literal in the captions is shown and is regulated, and described regulating and controlling is regulated the output form of captions.
CN2009101936408A 2009-11-03 2009-11-03 Video player and video playing method Pending CN102055941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101936408A CN102055941A (en) 2009-11-03 2009-11-03 Video player and video playing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101936408A CN102055941A (en) 2009-11-03 2009-11-03 Video player and video playing method

Publications (1)

Publication Number Publication Date
CN102055941A true CN102055941A (en) 2011-05-11

Family

ID=43959814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101936408A Pending CN102055941A (en) 2009-11-03 2009-11-03 Video player and video playing method

Country Status (1)

Country Link
CN (1) CN102055941A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103700385A (en) * 2012-09-27 2014-04-02 深圳市快播科技有限公司 Media player, playing method, and video post-processing method in hardware acceleration mode
CN104104990A (en) * 2014-07-29 2014-10-15 小米科技有限责任公司 Method and device for adjusting subtitles in video
CN104699374A (en) * 2015-03-23 2015-06-10 联想(北京)有限公司 Control method and electronic device
CN105163170A (en) * 2015-08-27 2015-12-16 北京暴风科技股份有限公司 Method and system for analyzing and displaying video captions
CN105323655A (en) * 2015-10-10 2016-02-10 上海慧体网络科技有限公司 Method for synchronizing videos/score according to time stamps on mobile terminal
CN105979169A (en) * 2015-12-15 2016-09-28 乐视网信息技术(北京)股份有限公司 Video subtitle adding method, device and terminal
CN106060266A (en) * 2016-06-28 2016-10-26 广东欧珀移动通信有限公司 Control method, control device and electronic device
CN106210838A (en) * 2016-07-14 2016-12-07 腾讯科技(深圳)有限公司 Caption presentation method and device
CN106454480A (en) * 2016-09-30 2017-02-22 乐视控股(北京)有限公司 Video playing control method and apparatus
CN107105352A (en) * 2017-05-16 2017-08-29 青岛海信电器股份有限公司 Captioning synchronization method and device
CN108449622A (en) * 2018-03-26 2018-08-24 腾龙电子技术(上海)股份有限公司 A kind of blended data source smart television plays and interactive system
CN109091866A (en) * 2018-08-02 2018-12-28 腾讯科技(深圳)有限公司 Display control method, device, computer-readable medium and electronic equipment
CN112911364A (en) * 2021-01-18 2021-06-04 珠海全志科技股份有限公司 Audio and video playing method, computer device and computer readable storage medium
CN115734013A (en) * 2021-08-30 2023-03-03 华东师范大学 Method and system for playing subtitles for video by using independent subtitle player application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004146929A (en) * 2002-10-22 2004-05-20 Nippon Television Network Corp Caption adjustment function attached receiver and adjustment system for caption display
CN101262611A (en) * 2005-05-01 2008-09-10 腾讯科技(深圳)有限公司 A stream media player
CN101404730A (en) * 2008-09-23 2009-04-08 腾讯科技(深圳)有限公司 Method for loading caption in video flow and player thereof
CN101527153A (en) * 2008-12-08 2009-09-09 中国移动通信集团广东有限公司 Method of synchronously displaying asynchronous transmitted text and audio and video data on mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004146929A (en) * 2002-10-22 2004-05-20 Nippon Television Network Corp Caption adjustment function attached receiver and adjustment system for caption display
CN101262611A (en) * 2005-05-01 2008-09-10 腾讯科技(深圳)有限公司 A stream media player
CN101404730A (en) * 2008-09-23 2009-04-08 腾讯科技(深圳)有限公司 Method for loading caption in video flow and player thereof
CN101527153A (en) * 2008-12-08 2009-09-09 中国移动通信集团广东有限公司 Method of synchronously displaying asynchronous transmitted text and audio and video data on mobile terminal

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103700385A (en) * 2012-09-27 2014-04-02 深圳市快播科技有限公司 Media player, playing method, and video post-processing method in hardware acceleration mode
CN104104990B (en) * 2014-07-29 2018-06-19 小米科技有限责任公司 Adjust the method and device of subtitle in video
CN104104990A (en) * 2014-07-29 2014-10-15 小米科技有限责任公司 Method and device for adjusting subtitles in video
CN104699374A (en) * 2015-03-23 2015-06-10 联想(北京)有限公司 Control method and electronic device
CN104699374B (en) * 2015-03-23 2018-12-14 联想(北京)有限公司 A kind of control method and electronic equipment
CN105163170A (en) * 2015-08-27 2015-12-16 北京暴风科技股份有限公司 Method and system for analyzing and displaying video captions
CN105323655A (en) * 2015-10-10 2016-02-10 上海慧体网络科技有限公司 Method for synchronizing videos/score according to time stamps on mobile terminal
CN105979169A (en) * 2015-12-15 2016-09-28 乐视网信息技术(北京)股份有限公司 Video subtitle adding method, device and terminal
CN106060266A (en) * 2016-06-28 2016-10-26 广东欧珀移动通信有限公司 Control method, control device and electronic device
CN106060266B (en) * 2016-06-28 2019-06-21 Oppo广东移动通信有限公司 Control method, control device and electronic device
CN106210838A (en) * 2016-07-14 2016-12-07 腾讯科技(深圳)有限公司 Caption presentation method and device
CN106210838B (en) * 2016-07-14 2019-05-24 腾讯科技(深圳)有限公司 Caption presentation method and device
CN106454480A (en) * 2016-09-30 2017-02-22 乐视控股(北京)有限公司 Video playing control method and apparatus
CN107105352A (en) * 2017-05-16 2017-08-29 青岛海信电器股份有限公司 Captioning synchronization method and device
CN108449622A (en) * 2018-03-26 2018-08-24 腾龙电子技术(上海)股份有限公司 A kind of blended data source smart television plays and interactive system
CN109091866A (en) * 2018-08-02 2018-12-28 腾讯科技(深圳)有限公司 Display control method, device, computer-readable medium and electronic equipment
CN109091866B (en) * 2018-08-02 2020-01-10 腾讯科技(深圳)有限公司 Display control method and device, computer readable medium and electronic equipment
CN112911364A (en) * 2021-01-18 2021-06-04 珠海全志科技股份有限公司 Audio and video playing method, computer device and computer readable storage medium
CN115734013A (en) * 2021-08-30 2023-03-03 华东师范大学 Method and system for playing subtitles for video by using independent subtitle player application

Similar Documents

Publication Publication Date Title
CN102055941A (en) Video player and video playing method
CN102111601B (en) Content-based adaptive multimedia processing system and method
US8265301B2 (en) Audio signal processing apparatus, audio signal processing method, program, and input apparatus
US10782928B2 (en) Apparatus and method for providing various audio environments in multimedia content playback system
US20060285654A1 (en) System and method for performing automatic dubbing on an audio-visual stream
JP2009540668A (en) System and method for applying closed captions
TW200522731A (en) Translation of text encoded in video signals
JP2017507560A (en) Method and apparatus for synchronizing playback in two electronic devices
CN112601101A (en) Subtitle display method and device, electronic equipment and storage medium
CN112616062A (en) Subtitle display method and device, electronic equipment and storage medium
JP2010200085A (en) Video apparatus
CN207854084U (en) A kind of caption display system
JP2010206265A (en) Device and method for controlling sound, data structure of stream, and stream generator
JP2008245038A (en) Broadcast receiver and display method
JP5551186B2 (en) Broadcast receiving apparatus and program information audio output method in broadcast receiving apparatus
KR20160093404A (en) Method and Apparatus for Multimedia Contents Service with Character Selective Audio Zoom In
CN112055253B (en) Method and device for adding and multiplexing independent subtitle stream
US20220264193A1 (en) Program production apparatus, program production method, and recording medium
KR100779117B1 (en) Sight and hearing of difficulty-person support system
JP2015018079A (en) Subtitle voice generation apparatus
KR101559170B1 (en) A display apparatus and method for controllong thesame
CN114079799A (en) Music live broadcast system and method based on virtual reality
KR100416260B1 (en) Device for processing caption information, and caption television and a method of processing caption
WO2014207874A1 (en) Electronic device, output method, and program
JP2014107608A (en) Image display apparatus, image projection apparatus, image display system, and image display method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110511