CN105848006A - Adaptive subtitle adjustment method for video player - Google Patents
Adaptive subtitle adjustment method for video player Download PDFInfo
- Publication number
- CN105848006A CN105848006A CN201610191265.3A CN201610191265A CN105848006A CN 105848006 A CN105848006 A CN 105848006A CN 201610191265 A CN201610191265 A CN 201610191265A CN 105848006 A CN105848006 A CN 105848006A
- Authority
- CN
- China
- Prior art keywords
- audio
- captions
- video player
- size
- subtitle
- 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/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
-
- 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/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
-
- 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/485—End-user interface for client configuration
- H04N21/4858—End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/278—Subtitling
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Circuits (AREA)
Abstract
The present invention discloses an adaptive subtitle adjustment method for a video player. According to the technical scheme of the invention, a camera is arranged on the video player to capture an image in the face of the video player during the playing process. After that, the image is parsed. According to the size of a human face image in the above image, the distance between the human face and a screen can be calculated. According to the calculated distance, the size of the subtitle is adjusted. Meanwhile, the audio information and a subtitle file of an audio-video file are acquired at the same time, and the audio information is parsed to generate a dialogue time table. According to the dialogue time table, the playing time of the subtitle file is adjusted, so that a subtitle time table is kept consistent with the dialogue time table. The above method can automatically adjust the size and the time of the subtitle, and the user experience is good.
Description
Technical field
The present invention relates to audio and video player field, particularly relate to a kind of method that audio and video player self adaptation captions adjust.
Background technology
Captions (subtitlesofmotionpicture) refer to, with non-visual contents such as the dialogues in written form display TV, film, stage works, also refer to the word of films and television programs post-production.The spoken title of films and television programs, is generally present in below screen, and the captions of theatrical production, then may be shown in stage both sides or top.
After American has opened the beginning, captions are popularized rapidly America and Europe the most with crushing force.Pixel rigorous abnormal Vienna State Opera also frankness in people mind is adopted;Florida grand theater in Miami especially and then have employed English and Spanish bilingual subtitles.At Germany Wagner Music Day location Bai Luyite, Wagner German only recognized by " Temple of God " theater created, and does not the most give captions place to stay, and such exception is phoenix feathers and unicorn horns really.
Being shown in captions mode by the voice content of program, the spectators that audition can be helped more weak understand programme content.It addition, captions can be used for translating foreign language program, allow and do not understand the spectators of this foreign language, the vocal cords of original work can be heard, understand programme content simultaneously.
Overcome language barrier, the easiest for singer, such as pavarotti all one's life with the classical opera of the Italy that deduces as own duty, never set foot in moral, Russia, west, English, the uneven spectators of the opera of Mei Deng state, still more L proficiency.The appearance of captions, adds the non-mother tongue opera affinity to spectators, and the particularly success to " the Ka Jiaka Barnes & Noble baby " of those directorys rarely known by the people such as Ya Naxieke and " caprice " of Astrid Strauss is showed and performed meritorious deeds never to be obliterated.But 2005, the United Kingdom National theatre with the whole-colored English directory as characteristic also determined to use English subtitles, but attracts the sound of a piece of query.The Graham Sodd method of investing dimension gram the most held office at theater is painful to this, it is believed that this is that one appreciatory to spectators " is anaesthetized ", even have issued the language of the exasperation " demolishing " theater.But take the post as today of president at him, though there are some unwillingness in the heart to captions, but under the pressure of trend of the times, also have to give tacit consent to this present situation.
The most popular subtitling format, is divided into graphical format and text formatting two class.
Graphical format captions are made up of idx and sub file, idx is equivalent to index file, the inside includes timing code and the attribute of Subtitle Demonstration that captions occur, sub file is exactly caption data itself, owing to being picture format, so bigger, easily more than 10M (but we can by boil down to rar file, with the same less than compression under the support of unrar.dll, but a lot of space can be saved).Idx+sub can deposit the captions of polyglot, can select easily playing when.
The extension name of text formatting captions is typically srt, smi, ssa or sub (the same with graphical format suffix above, but data form is different) because being text formatting, so small-sized, the most a hundred or so come KB.Wherein srt text subtitle is most popular, because it makes and amendment is the simplest :+one captions of a time code.
The captions of existing audio and video player typically play out only in size set in advance and time, and the size that there will be word sometimes is not fully up to expectations or there is the situation of mismatch between captions and sound, at this time can only manually regulate, very inconvenient.
Patent " audio-visual caption playing system and method " (application number: 201210084901.4 applyings date: 2012-03-27) discloses a kind of audio-visual caption playing system, it is applicable to a DLNA environment, including: a server, there is provided an image file according to a DLNA agreement, and require that information provides the caption information corresponding to above-mentioned image file according to captions;And a playing device, above-mentioned image file is received according to above-mentioned DLNA agreement, serve with an ICP/IP protocol and state captions requirement information to above-mentioned server to receive above-mentioned caption information, and integrate above-mentioned image file and above-mentioned caption information to play audiovisual materials, an image file that can simultaneously play audiovisual materials and the method system of independent subtitle file can be provided by server and playing device, help user when playing film, image file and its independent subtitle file of audiovisual materials can be play simultaneously.
Although this patent gives the system and method for a kind of caption playing, but does not solve to be automatically adjusted the size of word in captions and the problem of captions time.
Summary of the invention
The technical problem to be solved is for defect involved in background technology, it is provided that a kind of method that audio and video player self adaptation captions adjust.
The present invention solves above-mentioned technical problem by the following technical solutions:
A kind of method that audio and video player self adaptation captions adjust, comprises the steps of
Step 1), arranges photographic head on audio and video player, to shoot when audio and video player is play in the face of the picture at place;
Step 2), the picture of photographic head shooting is resolved, calculates the distance of face distance screen according to the size of facial image in picture;
Step 3), according to default distance and size of caption synopsis, obtains the size of caption that the distance of face distance screen is corresponding;
Step 4), obtains audio-frequency information and the subtitle file of audio-video document;
Step 5), adjusts the size of captions in subtitle file according to the size of caption obtained in step 3);
Step 6), carries out audio-frequency information resolving generation dialogue timetable;
Step 7), is adjusted subtitle file according to dialogue timetable so that captions timetable is consistent with dialogue timetable.
The further prioritization scheme of method adjusted as the present invention a kind of audio and video player self adaptation captions, described photographic head uses pinhole cameras.
The further prioritization scheme of method adjusted as the present invention a kind of audio and video player self adaptation captions, the model of described pinhole cameras is Samsung SCB-1000PD.
The further prioritization scheme of method adjusted as the present invention a kind of audio and video player self adaptation captions, described photographic head uses infrared camera.
The further prioritization scheme of method adjusted as the present invention a kind of audio and video player self adaptation captions, the model of described infrared camera is HT-0025.
The present invention uses above technical scheme compared with prior art, has following technical effect that
1. simple in construction, easy to use;
2. being automatically adjusted size and the time of captions, Consumer's Experience is good.
Detailed description of the invention
Below technical scheme is described in further detail:
The invention discloses a kind of method that audio and video player self adaptation captions adjust, comprise the steps of
Step 1), arranges photographic head on audio and video player, to shoot when audio and video player is play in the face of the picture at place;
Step 2), the picture of photographic head shooting is resolved, calculates the distance of face distance screen according to the size of facial image in picture;
Step 3), according to default distance and size of caption synopsis, obtains the size of caption that the distance of face distance screen is corresponding;
Step 4), obtains audio-frequency information and the subtitle file of audio-video document;
Step 5), adjusts the size of captions in subtitle file according to the size of caption obtained in step 3);
Step 6), carries out audio-frequency information resolving generation dialogue timetable;
Step 7), is adjusted subtitle file according to dialogue timetable so that captions timetable is consistent with dialogue timetable.
Described photographic head can use pinhole cameras, and model is Samsung SCB-1000PD.
Described photographic head can also use infrared camera, and model is HT-0025.
Those skilled in the art of the present technique it is understood that unless otherwise defined, all terms used herein (including technical term and scientific terminology) have with the those of ordinary skill in art of the present invention be commonly understood by identical meaning.Should also be understood that those terms defined in such as general dictionary should be understood that have the meaning consistent with the meaning in the context of prior art, and unless defined as here, will not explain by idealization or the most formal implication.
Above-described detailed description of the invention; the purpose of the present invention, technical scheme and beneficial effect are further described; it is it should be understood that; the foregoing is only the detailed description of the invention of the present invention; it is not limited to the present invention; all within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. done, should be included within the scope of the present invention.
Claims (5)
1. the method that audio and video player self adaptation captions adjust, it is characterised in that comprise the steps of
Step 1), arranges photographic head on audio and video player, to shoot when audio and video player is play in the face of the picture at place;
Step 2), the picture of photographic head shooting is resolved, calculates the distance of face distance screen according to the size of facial image in picture;
Step 3), according to default distance and size of caption synopsis, obtains the size of caption that the distance of face distance screen is corresponding;
Step 4), obtains audio-frequency information and the subtitle file of audio-video document;
Step 5), adjusts the size of captions in subtitle file according to the size of caption obtained in step 3);
Step 6), carries out audio-frequency information resolving generation dialogue timetable;
Step 7), is adjusted subtitle file according to dialogue timetable so that captions timetable is consistent with dialogue timetable.
The method that audio and video player self adaptation captions the most according to claim 1 adjust, it is characterised in that described photographic head uses pinhole cameras.
The method that audio and video player self adaptation captions the most according to claim 2 adjust, it is characterised in that the model of described pinhole cameras is Samsung SCB-1000PD.
The method that audio and video player self adaptation captions the most according to claim 1 adjust, it is characterised in that described photographic head uses infrared camera.
The method that audio and video player self adaptation captions the most according to claim 4 adjust, it is characterised in that the model of described infrared camera is HT-0025.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610191265.3A CN105848006A (en) | 2016-03-30 | 2016-03-30 | Adaptive subtitle adjustment method for video player |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610191265.3A CN105848006A (en) | 2016-03-30 | 2016-03-30 | Adaptive subtitle adjustment method for video player |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105848006A true CN105848006A (en) | 2016-08-10 |
Family
ID=56584421
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610191265.3A Pending CN105848006A (en) | 2016-03-30 | 2016-03-30 | Adaptive subtitle adjustment method for video player |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105848006A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106454434A (en) * | 2016-11-15 | 2017-02-22 | 广州华多网络科技有限公司 | Barrage playing method and device |
CN106792177A (en) * | 2016-12-28 | 2017-05-31 | 海尔优家智能科技(北京)有限公司 | A kind of TV control method and system |
CN111669664A (en) * | 2020-06-17 | 2020-09-15 | Oppo广东移动通信有限公司 | Video playing method, video playing device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1921607A (en) * | 2005-08-23 | 2007-02-28 | 凌阳科技股份有限公司 | Method for intelligent control of television and intelligent control device |
CN101071562A (en) * | 2006-05-12 | 2007-11-14 | 上海乐金广电电子有限公司 | Caption size regulating method for karaoke audio device |
US20090278986A1 (en) * | 2006-09-21 | 2009-11-12 | Panasonic Corporation | Closed caption production device, closed caption production method and closed caption production program |
CN103647909A (en) * | 2013-12-16 | 2014-03-19 | 宇龙计算机通信科技(深圳)有限公司 | Caption adjusting method and caption adjusting device |
EP2824911A1 (en) * | 2012-03-08 | 2015-01-14 | ZTE Corporation | Mobile terminal video display method and device |
-
2016
- 2016-03-30 CN CN201610191265.3A patent/CN105848006A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1921607A (en) * | 2005-08-23 | 2007-02-28 | 凌阳科技股份有限公司 | Method for intelligent control of television and intelligent control device |
CN101071562A (en) * | 2006-05-12 | 2007-11-14 | 上海乐金广电电子有限公司 | Caption size regulating method for karaoke audio device |
US20090278986A1 (en) * | 2006-09-21 | 2009-11-12 | Panasonic Corporation | Closed caption production device, closed caption production method and closed caption production program |
EP2824911A1 (en) * | 2012-03-08 | 2015-01-14 | ZTE Corporation | Mobile terminal video display method and device |
CN103647909A (en) * | 2013-12-16 | 2014-03-19 | 宇龙计算机通信科技(深圳)有限公司 | Caption adjusting method and caption adjusting device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106454434A (en) * | 2016-11-15 | 2017-02-22 | 广州华多网络科技有限公司 | Barrage playing method and device |
CN106792177A (en) * | 2016-12-28 | 2017-05-31 | 海尔优家智能科技(北京)有限公司 | A kind of TV control method and system |
CN111669664A (en) * | 2020-06-17 | 2020-09-15 | Oppo广东移动通信有限公司 | Video playing method, video playing device, electronic equipment and storage medium |
CN111669664B (en) * | 2020-06-17 | 2022-06-07 | Oppo广东移动通信有限公司 | Video playing method, video playing device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018121001A1 (en) | Method and system for outputting simultaneous interpretation of digital television program, and smart terminal | |
Chaume | The turn of audiovisual translation: New audiences and new technologies | |
Cintas et al. | Voiceover and dubbing | |
US10726842B2 (en) | Caption delivery system | |
CN106340294A (en) | Synchronous translation-based news live streaming subtitle on-line production system | |
US20060285654A1 (en) | System and method for performing automatic dubbing on an audio-visual stream | |
JP6253671B2 (en) | Electronic device, control method and program | |
CN102055941A (en) | Video player and video playing method | |
CN105848006A (en) | Adaptive subtitle adjustment method for video player | |
CN105843393A (en) | Video player for self-adaptively adjusting subtitles | |
JP2012109901A (en) | Data presentation device | |
Haikuo | Film translation in China: Features and technical constraints of dubbing and subtitling English into Chinese | |
JP6271194B2 (en) | Providing second screen information to mobile devices | |
CN207854084U (en) | A kind of caption display system | |
KR20170009295A (en) | Device and method for providing moving picture, and computer program for executing the method | |
Rittmayer | Translation and film: Slang, dialects, accents and multiple languages | |
Neves | A world of change in a changing world | |
Adamou et al. | Transforming television drama through dubbing and subtitling: Sex and the Cities | |
JP2008306691A (en) | Bilingual double caption | |
WO2020147394A1 (en) | Method employing artificial intelligence for dynamic generation of television closed captions, and related apparatus | |
Ohene-Djan et al. | E-Subtitles: Emotional Subtitles as a Technology to Assist the Deaf and Hearing-Impaired when Learning from Television and Film. | |
CN110035323A (en) | Adjust automatically shows the multi-medium play method and system of subtitle language | |
Romero-Fresco | Subtitling for the deaf and hard of hearing | |
AU2007100441A4 (en) | Go-Access! Personal Guide and Venue Access System | |
Hayes | English Dubs: Why are anglophone viewers receptive to English dubbing on streaming platforms and to foreign-accent strategies? |
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 |
Application publication date: 20160810 |
|
RJ01 | Rejection of invention patent application after publication |