CN106954095A - The player method and device of a kind of multimedia file - Google Patents
The player method and device of a kind of multimedia file Download PDFInfo
- Publication number
- CN106954095A CN106954095A CN201710250002.XA CN201710250002A CN106954095A CN 106954095 A CN106954095 A CN 106954095A CN 201710250002 A CN201710250002 A CN 201710250002A CN 106954095 A CN106954095 A CN 106954095A
- Authority
- CN
- China
- Prior art keywords
- file
- multimedia file
- browser
- captions
- video
- 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
- H04N21/4314—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47214—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market
-
- 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/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4782—Web browsing, e.g. WebTV
Abstract
The invention discloses a kind of player method of multimedia file and device, wherein methods described includes:Obtain the currently playing moment for the destination multimedia file played in browser;From the corresponding subtitle file of the destination multimedia file, the caption text data matched with the currently playing moment is extracted;The caption text data is filled in the captions label being pre-configured with the browser, wherein, the captions label is located at the precalculated position in the broadcast window.The present invention by by caption text data Overlapping display in the broadcast window of browser so that Subtitle Demonstration can not be influenceed by panoramic video visual angle effect, improve user experience.Further, since captions are relatively independent with video image, it is easy to the maintenance of subtitle file.Also, multiple multimedia files can share same captions in the present invention, so as to further facilitate the making and issue of multimedia file, and the workload of captions maintenance is reduced.
Description
Technical field
The present invention relates to the player method and device of multi-media processing technical field, more particularly to a kind of multimedia file.
Background technology
The popularization of development and individual mobile terminal (such as smart mobile phone, PAD) with mobile Internet, more and more
User begins to use individual mobile terminal equipment to watch Internet video, and with the gradually enhancing of browser function, increasingly
Many application providers start to play video using browser.
Captions are often used in video file, play in a browser the video with captions one kind be achieved in that by
Caption data is compressed in vedio data as a part for video image, is then together sent to browser and is broadcast
Put.Above-mentioned implementation needs to carry out captions the compression process of early stage, therefore the pre-production cost of video file is higher, and
And it is follow-up if it is desired to modified to captions, then because captions have been compressed in vedio data, cause modification difficulty compared with
Greatly.
The content of the invention
The embodiments of the invention provide a kind of player method of multimedia file and device, the early stage of multimedia file is reduced
Cost of manufacture, facilitates follow-up subtitle file to change.
In a first aspect, the embodiments of the invention provide a kind of player method of multimedia file, including:
Obtain the currently playing moment for the destination multimedia file played in browser;
In the corresponding subtitle file of the destination multimedia file, the captioned test matched with the currently playing moment is extracted
Data;
The caption text data is filled in the captions label being pre-configured with the browser, wherein, the word
Curtain label is located at the precalculated position in the broadcast window.
Second aspect, the embodiment of the present invention additionally provides a kind of player method device of multimedia file, including:
Time acquisition unit, the currently playing moment for the destination multimedia file played for obtaining in browser;
Caption recognition unit, in the corresponding subtitle file of the destination multimedia file, extract with it is currently playing
The caption text data of moment matching;
Subtitle Demonstration unit, for by the caption text data, being filled in the captions being pre-configured with the browser
In label, wherein, the captions label is located at the precalculated position in the broadcast window.
The third aspect, the embodiments of the invention provide a kind of browser, includes the broadcasting of above-described multimedia file
Device.
Fourth aspect, the embodiments of the invention provide a kind of electronic equipment, including:
One or more processors;
Memory;And
One or more programs, wherein, one or more of programs are stored in the memory, and are configured
Into by one or more of computing devices, it is characterised in that realize above-described multimedia when described program is performed
Step in the player method of file.
5th aspect, the embodiments of the invention provide a kind of computer-readable recording medium, is stored thereon with computer journey
Sequence, the computer program realizes the step in the player method of above-described multimedia file when being executed by processor.
The player method and device of multimedia file provided in an embodiment of the present invention, at least have the advantages that:This
Inventive embodiments by by caption text data Overlapping display in the broadcast window of browser so that Subtitle Demonstration can not be by
The influence of panoramic video visual angle effect, improves user experience.Further, since captions are relatively independent with video image, this
Inventive embodiments are easy to the maintenance of subtitle file.In addition, multiple multimedia files can share same word in the embodiment of the present invention
Curtain, so as to further facilitate the making and issue of multimedia file, and reduces the workload of captions maintenance.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below by institute in the description to the embodiment of the present invention
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is the schematic flow sheet of the player method of multimedia file provided in an embodiment of the present invention;
Fig. 2 is a kind of application scenarios schematic diagram of the player method of the multimedia file of the embodiment of the present invention;
Fig. 3 is another schematic flow sheet of the player method of multimedia file provided in an embodiment of the present invention;
Fig. 4 A~Fig. 4 B are one of the player method playing panoramic video using multimedia file described in the embodiment of the present invention
Individual exemplary plot;
Fig. 5 is to play the one of single visual angle video file using the player method of multimedia file described in the embodiment of the present invention
Individual exemplary plot;
Fig. 6 is a kind of structural representation of the playing device of multimedia file provided in an embodiment of the present invention;
Fig. 7 is another structural representation of the playing device of multimedia file provided in an embodiment of the present invention;
Fig. 8 is another structural representation of the playing device of multimedia file provided in an embodiment of the present invention;
Fig. 9 is another structural representation of the playing device of multimedia file provided in an embodiment of the present invention;
Figure 10 is another structural representation of the playing device of multimedia file provided in an embodiment of the present invention;
The structural representation of Figure 11 electronic equipments provided in an embodiment of the present invention.
Embodiment
The exemplary embodiment of the present invention is more fully described below with reference to accompanying drawings.Although showing the present invention in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
Limited.Conversely it is able to be best understood from the present invention there is provided these embodiments, and can be by the scope of the present invention
Complete conveys to those skilled in the art.
As it was noted above, prior art by caption data since it is desired that suppress captions among video image, so early stage
Video production high cost, and because caption data is solidificated in video image, if necessary to be modified to subtitle file, generally
Need to suppress video file again, therefore the human cost and time cost of modification captions are also all higher.In addition, in aphorama
In frequency, with the change at visual angle, the caption data of solidification in the picture may show that all or none method is not shown, will have influence on user
Usage experience.
To solve the above problems, the embodiments of the invention provide a kind of player method of multimedia file, this method can be with
Applied to the browser in terminal device, for being played out from Network Capture multimedia file.
Fig. 1 is refer to, is given in a possible application scenarios of embodiment of the present invention methods described, Fig. 1, user's
Personal terminal, such as smart mobile phone 11 and/or PC 12, are connected by network 14 with the server 15 of distal end, specifically, intelligence
Energy mobile phone 11 may access to network 14 by the base station 13 of mobile communications network.Personal terminal generally has a display/aobvious
Display screen 16, the display/display screen 16 provides User Interface, for example, show the interface of browser 17.User can pass through
Personal terminal, access server 15 obtains the service that server is provided, such as video request program or interactive entertainment.Server 15
Can be by video stream to personal terminal, personal terminal receives above-mentioned video flowing by its browser, and passes through correlation broadcasting
Device carries out loading broadcasting, and shows in video playback window 18 in a browser.
As shown in Fig. 2 the player method of multimedia file provided in an embodiment of the present invention, including:
Step 21, the currently playing moment for the destination multimedia file played in browser is obtained.
In the embodiment of the present invention, terminal device can pass through locally-installed browser, access server, the reception server
The Media Stream of the destination multimedia file of transmission is simultaneously played out, so as to show multimedia file to user.It is clear in step 21
Looking at device can be by player plays destination multimedia file, and obtains in playing process working as the destination multimedia file
The preceding broadcasting moment, specifically, browser can obtain the currently playing moment by being interacted with player.It is described currently to broadcast
Put constantly represent destination multimedia file in play position, for example, the currently playing moment be 05 point 22 seconds, represent it is currently playing
Moment is the 05th point be located in the destination multimedia video file 22 seconds.
Step 22, from the corresponding subtitle file of the destination multimedia file, extract what is matched with the currently playing moment
Caption text data.
In the embodiment of the present invention, the corresponding subtitle file of destination multimedia file can preserve network side, and some is pre-defined
Address, for example, preserve in the server.Browser pulls destination multimedia file pair in loaded targets multimedia file
The subtitle file answered, a kind of specific implementation can be:Word of the browser from the destination multimedia file being pre-configured with
At curtain file address, the file for including caption data is obtained.After subtitle file is got, according to current play time, from
The caption text data of correspondence time is extracted in the caption data of subtitle file.May not be in video image in view of captions
Exist always, the corresponding caption text data of some reproduction time can be sky, now by return to step 21, reacquire
Current play time.
Certainly, the subtitle file of the embodiment of the present invention can also be stored in terminal equipment side, now need to set up local word
Corresponding relation between curtain file and destination multimedia file, so as to can be found in step 22 according to above-mentioned corresponding relation
Local subtitle file, and then extract the caption text data matched with the currently playing moment.
Step 23, by the caption text data, it is filled in the captions label being pre-configured with the browser, its
In, the captions label is located at the precalculated position in the broadcast window.
In order to ensure the complete display of captions, the broadcasting that the embodiment of the present invention passes through destination multimedia file in a browser
Overlapping display caption text data in window, one kind is achieved in that, configures a captions label, captions mark in a browser in advance
Label are located at the precalculated position in the broadcast window, and such as the latter half positioned at broadcast window then, will in step 23
The caption text data, is filled in the captions label being pre-configured with into the browser.Here, captions label specifically can be with
Realized by DOM Document Object Model (DOM, Document Object Model).
Captions label only can be shown when needing display captions, be that this embodiment of the present invention can be by captions label
Hidden state is defaulted as, i.e., is not shown in a browser.And in step 23, can be in the word when needing display captions
Curtain text data is filled into before or after the captions label, and the captions label is adjusted to from the hidden state of acquiescence
Dispaly state, is shown in the precalculated position in the broadcast window.It is generally filled with captions filling and adjusts the aobvious of captions label
Show that these action required times of state are very short, therefore captions label first can be adjusted to dispaly state in step 23 and refill
Captions, also can first fill captions and captions label is adjusted into dispaly state again.
By above step, embodiment of the present invention browser is when playing multimedia file, by Subtitle Demonstration in browser
Broadcast window captions label in, because captions are some positions for being superimposed upon browser, even if therefore viewing aphorama
Frequency visual angle is changed, and captions are also remained in browser, so as to ensure that the reliable display of captions.Further, since word
Curtain text is independently of video image, it is not necessary to which captions are compressed in video image, if follow-up need to change caption content,
Only need to change the caption data of corresponding subtitle file, that is, alleviate the human cost of early stage video production and time into
This, has been also convenient for follow-up caption content modification.
The embodiment of the present invention can there is provided a variety of multimedia sources with different video parameter for some content of multimedia
File, the capacity of equipment different to adapt to terminal device meets the personalized broadcasting demand of user.In addition, a variety of multimedia sources
File can share same subtitle file, can simplify the maintenance of subtitle file.Fig. 3 is refer to, the embodiments of the invention provide
The player method of another multimedia file, this method can apply to browser, as shown in figure 3, this method is specifically included:
Step 31, the playing request for a multimedia file is received, the multimedia file includes a variety of different videos
The multimedia source files of parameter;
Here it is possible to receive the playing request for some multimedia file of user input, many matchmakers by browser
Body file can safeguard the multimedia source files of a variety of different video parameters, and these multimedia sources at network side server
File can share same subtitle file.For example, above-mentioned video parameter can include panorama and non-panoramic video.Here, panorama
Video refers to that, there is provided larger range of viewing visual angle, such as 360 ° visual angles, user can change it in video display process
Visual angle;And single visual angle video file is then only to provide a kind of video file of angular field of view, in video file playing process
Angular field of view can not change.Above-mentioned video parameter can also include resolution ratio, and generally, resolution ratio is higher, and image sharpness is also got over
Good, the speed for parsing obtained Streaming Media is also bigger.
Step 32, the video parameter that the video parameter and/or browser selected according to user is supported, determines that target video is joined
Number, and, the corresponding multimedia source files of the target video parameter are selected, as destination multimedia file and are played.
In the embodiment of the present invention, browser can provide plurality of optional video parameter and be selected for user, and user can select
Oneself expect the target video parameter of multimedia file played, for example, select panoramic video or high-resolution video to be broadcast
Put.
In addition, browser can also be according to the video parameter itself supported, to determine target video play parameter.For example,
Browser can judge whether browser environment supports that panoramic video is played by JavaScript, for example, work as browser
Support to have been generally acknowledged that browser can support that panoramic video is played when WebGL (Web graph shape storehouse) interfaces and Canvas interfaces simultaneously,
Otherwise it is assumed that not supporting that panoramic video is played.WebGL interfaces and Canvas interfaces are a kind of JavaScript application programs and connect
Mouth (API), can be used for interactive mode 3D and 2D figures are presented in Web browser.
Selection and the video parameter of browser support that the embodiment of the present invention can also simultaneously according to user, to be selected
Select.For example, when user selects panoramic video but browser does not support that panoramic video is played, now browser can be automatically by mesh
Mark video parameter is adjusted to single visual angle video file and points out user.In view of compatibility, browser is providing optional video
During parameter, the video parameter that itself can be supported can be only provided a user.
After destination multimedia file is determined, browser can load destination multimedia file progress using player
Play.Player can be some plug-in unit in browser.For example, in playing panoramic video file, loading can be passed through
Krpano.js playing panoramic videos, krpano is a kind of JavaScript class libraries of playing panoramic video, and krpano.js can be with
Regard a kind of panoramic video player as.
Step 33, the currently playing moment for the destination multimedia file played in browser is obtained.
Here, can be by the panorama in the browser when the destination multimedia file is panoramic video file
Whether video player, the broadcasting moment for monitoring the destination multimedia file changes, and when changing, obtains institute
The currently playing moment of destination multimedia file is stated, and passes to the browser.A kind of specific implementation is:
(1) scene transitions event is pre-configured with, the change to monitor the video playback moment, for example, in advance in aphorama
In extensible markup language (XML) file of frequency, the behavior action labels for being onviewchanged event bindings krpano.
Here, onviewchanged is a kind of events event tags in krpano, to represent in scene transitions (during as played
Carve change or visual angle change etc.) when perform corresponding action labels.
(2) then, by karpano js () method call browser HTML in action labels
JavaScript function, and utilize krpano get (plugin [video] .time)) method, the currently playing moment is obtained, and
Above-mentioned JavaScript function is transmitted to as parameter.
So, in panoramic video playing process, when changing at the broadcasting moment, corresponding behavior action will be triggered
Label, so that above-mentioned JavaScript function is called, and then according to krpano get (plugin [video] .time)) method,
Obtain the currently playing moment entrained in parameter current.
When the destination multimedia file is single visual angle video file, it can be played by browser monitoring audio/video
Time update event, obtains the currently playing moment of destination multimedia file.
For example, it is possible to use the time in JavaScript monitor video playing process updates (timeupdate) event,
The currentTime of current video value is obtained by the timeupdate events, so as to obtain single visual angle video file
The currently playing moment.Here, timeupdate events are the one kind configured in browser at audio/video (audio/video)
The event that triggers when changing of play position.
Step 34, from the corresponding subtitle file of the destination multimedia file, extract what is matched with the currently playing moment
Caption text data.
Here, a variety of multimedia source files of the present embodiment can share same subtitle file, i.e., multiple video source files
Corresponding to same subtitle file, the maintenance workload of subtitle file can be so reduced.Specifically, a variety of multimedia source documents
The subtitle file address of part configuration can be with identical, and browser is when extracting caption text data, from the subtitle file being pre-configured with
At address, the file for including caption data is obtained.After subtitle file is got, in step 34, according to it is currently playing when
Between, the caption text data matched with current play time is extracted from the caption data of subtitle file, can specifically be passed through
JavaScript carries out the Dynamic Matching processing of caption text data.
Step 35, by the caption text data, Overlapping display is in the broadcast window of the destination multimedia file.
Here, caption text data is superimposed upon on broadcast window in step 35 and shown.Caption text data
Stacked system, can be realized by the label in browser, and the default conditions of the label are hidden state, are being needed to the mark
During label filling caption text data, or when having filled caption text data, the label is adjusted to dispaly state, so that aobvious
Show caption text data.
By above step, the embodiment of the present invention realizes a variety of multimedia source files and shares same subtitle file, and root
The video parameter that the video parameter and/or browser selected according to user is supported, loads the destination multimedia text of different video parameter
Part, by monitoring the currently playing moment during multimedia, matches corresponding caption text data and is shown.
Fig. 4 A~Fig. 4 B give the player method playing panoramic video using multimedia file described in the embodiment of the present invention
An example, relative to Fig. 4 A visual angle, Fig. 4 B visual angle is turned right in the horizontal direction, it can be seen that Fig. 4 A
In captions 401 and Fig. 4 B in captions 402 be shown in the latter half in image, not with the change at video visual angle
Change and change.
Fig. 5 gives plays single visual angle video file using the player method of multimedia file described in the embodiment of the present invention
An example, the single visual angle video file and Fig. 4 A~Fig. 4 B same subtitle file of panoramic video file sharing, in Fig. 5
Content and the content of the captions 402 in Fig. 4 B of captions 403 be corresponding caption text data of same broadcasting moment, both
Content is identical.
It is aobvious by the way that caption text data is superimposed that the embodiment of the present invention is can be seen that from embodiment of the present invention above example
Show in broadcast window so that Subtitle Demonstration can not be influenceed by panoramic video visual angle effect, improve user experience.
Also, captions are mutually independent with video image in the embodiment of the present invention, are easy to the maintenance of subtitle file, in addition, the embodiment of the present invention
In multiple multimedia files share same captions, facilitate the making and issue of multimedia file, further reduction captions safeguard
Workload.
Fig. 6 is refer to, the embodiment of the present invention additionally provides the playing device of multimedia file, and the sorter can be set
In individual terminal devices (such as smart mobile phone, PC, PAD), as shown in fig. 6, the device includes:
Time acquisition unit 41, the currently playing moment for the destination multimedia file played for obtaining in browser;
Caption recognition unit 42, for from the corresponding subtitle file of the destination multimedia file, extracting with currently broadcasting
Put the caption text data matched constantly;
Subtitle Demonstration unit 43, for by the caption text data, being filled in the word being pre-configured with the browser
In curtain label, wherein, the captions label is located at the precalculated position in the broadcast window.
By the way that with upper module, captions and video content are separated by the embodiment of the present invention, realize captions and multimedia video
The Overlapping display of frequency content so that Subtitle Demonstration can not be influenceed by panoramic video visual angle effect, improved user and used body
Test.Further, since captions are mutually independent with video image, the follow-up maintenance of subtitle file is facilitated.
As shown in fig. 7, in certain embodiments, the playing device of the multimedia file of the embodiment of the present invention also includes:
Request reception unit 45, for receiving the playing request for a multimedia file, the multimedia file includes
The multimedia source files of a variety of different video parameters;
Media play unit 46, the video parameter that video parameter and/or browser for being selected according to user are supported, really
Set the goal video parameter;And, the corresponding multimedia source files of the target video parameter are selected, destination multimedia file is used as
And play.
By above pattern, embodiment of the present invention described device is realized according to browser and/or user's selection, is realized not
With the playback process of the multimedia file of video parameter.
In order to reduce the multimedia sources of a variety of different video parameters in the maintenance workload of subtitle file, the embodiment of the present invention
File can share same subtitle file.
In the embodiment of the present invention, the multimedia source files of a variety of different video parameters can include panoramic video file
With single visual angle video file, as shown in figure 8, the time acquisition unit 41 includes:
First processing units 411, for when the destination multimedia file is panoramic video file, being browsed by described
Whether the panoramic video player in device, the broadcasting moment for monitoring the destination multimedia file changes, and is changing
During change, the currently playing moment of the destination multimedia file is obtained, and passes to the browser;
Second processing unit 412, for when the destination multimedia file is single visual angle video file, by browsing
Device monitoring audio/video reproduction time update event, obtains the currently playing moment of destination multimedia file.
As shown in figure 9, in certain embodiments, the Subtitle Demonstration unit 43 includes:
Fills unit 431, for by the caption text data, being filled in the captions mark being pre-configured with the browser
In label, wherein, the captions label is located at the precalculated position in the broadcast window.
In some embodiments of the invention, the captions label is defaulted as hidden state, now as shown in Figure 10, the word
Curtain display unit 43 also includes:
State adjustment unit 432, for the caption text data to be filled in into the captions mark in the fills unit
Before or after label, the captions label is adjusted to dispaly state from the hidden state of acquiescence, the broadcasting window is shown in
Precalculated position in mouthful.
The broadcasting dress of the multimedia file described in the embodiment of the present invention is can be seen that from embodiment of the present invention above example
Put, by by caption text data Overlapping display in broadcast window so that Subtitle Demonstration can not by panoramic video visual angle turn
The influence changed, improves user experience.Also, captions are mutually independent with video image in the embodiment of the present invention, are easy to captions
The maintenance of file, in addition, multiple multimedia files share same captions in the embodiment of the present invention, facilitates the system of multimedia file
Make and issue, can also further reduce the workload of captions maintenance.
The embodiment of the present invention additionally provides a kind of browser, and the browser includes many matchmakers in any of the above one embodiment
The playing device of body file.
Figure 11 is refer to, Figure 11 is the structure chart of a kind of electronic equipment provided in an embodiment of the present invention, as shown in figure 11, should
Electronic equipment includes:At least one processor 1101, memory 1102, at least one network interface 1104 and user interface
1103.Each component in electronic equipment is coupled by bus system 1105.It is understood that bus system 1105 is used in fact
Connection communication between these existing components.Bus system 1105 is also total including power bus, control in addition to including data/address bus
Line and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system 1105 in fig. 11.
Wherein, user interface 1103 can include display, keyboard or pointing device (for example, mouse, trace ball
(track ball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 1102 in the embodiment of the present invention can be volatile memory or non-volatile memories
Device, or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage
(Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only
Read memory (Erasable P ROM, EPROM), Electrically Erasable Read Only Memory (Electrically EP ROM,
) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used
Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static random-access
Memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access
Memory (Synchronous D RAM, SDRAM), double data speed synchronous dynamic RAM (Double
Data Rate SD RAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SD RAM,
ESDRAM), synchronized links dynamic random access memory (Synch link D RAM, SLDRAM) and direct rambus are random
Access memory (Direct Rambus RAM, DRRAM).The memory 1102 of system and method described herein is intended to include
But it is not limited to the memory of these and any other suitable type.
In some embodiments, memory 1102 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 11021 and application program 11022.
Wherein, operating system 11021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for
Realize various basic businesses and handle hardware based task.Application program 11022, includes various application programs, such as matchmaker
Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented
The program of example method may be embodied in application program 11022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 1102, specifically, can be application
The program stored in program 11022 or instruction, processor 1101 are used for:The destination multimedia file played in acquisition browser
The currently playing moment;From the corresponding subtitle file of the destination multimedia file, the word matched with the currently playing moment is extracted
Curtain text data;By the caption text data, Overlapping display is in the broadcast window of the destination multimedia file.
Optionally, the multimedia source files of a variety of different video parameters share same subtitle file;It is described it is a variety of not
Multimedia source files with video parameter include panoramic video file and single visual angle video file.
Processor 1101 is additionally operable to:The playing request for a multimedia file is received, the multimedia file includes many
Plant the multimedia source files of different video parameter;The video parameter that the video parameter and/or browser selected according to user is supported,
Determine target video parameter;And, the corresponding multimedia source files of the target video parameter are selected, destination multimedia text is used as
Part is simultaneously played.
Optionally, processor 1101 is additionally operable to when the destination multimedia file is panoramic video file, by described
Whether the panoramic video player in browser, the broadcasting moment for monitoring the destination multimedia file changes, and in hair
During raw change, the currently playing moment of the destination multimedia file is obtained, and passes to the browser;It is many in the target
When media file is single visual angle video file, by browser monitoring audio/video reproduction time update event, target is obtained many
The currently playing moment of media file.
Optionally, processor 1101 is additionally operable to, by the caption text data, be filled in the browser and be pre-configured with
Captions label in, wherein, the captions label be located at the broadcast window in precalculated position.
Optionally, the captions label is defaulted as hidden state, and processor 1101 is additionally operable to by the captioned test number
According to being filled in before or after the captions label, the captions label is adjusted to from the hidden state of acquiescence to show shape
State, is shown in the precalculated position in the broadcast window.
In the embodiment of the present invention, the embodiment of the present invention is by the way that caption text data Overlapping display in broadcast window, is made
Obtaining Subtitle Demonstration can not be influenceed by panoramic video visual angle effect, improve user experience.Also, the embodiment of the present invention
Middle captions are mutually independent with video image, are easy to the maintenance of subtitle file, in addition, multiple multimedia files are total in the embodiment of the present invention
Same captions are used, the making and issue of multimedia file is facilitated, the workload of captions maintenance can also be further reduced.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, the meter
Calculation machine program is realized when being executed by processor in the player method of the multimedia file in any one above-mentioned embodiment of the method
Step.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces
Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize embodiment of the present invention scheme according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are make it that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (12)
1. a kind of player method of multimedia file, it is characterised in that including:
Obtain the currently playing moment for the destination multimedia file played in browser;
From the corresponding subtitle file of the destination multimedia file, the captioned test number matched with the currently playing moment is extracted
According to;
The caption text data is filled in the captions label being pre-configured with the browser, wherein, the captions mark
Label are located at the precalculated position in the broadcast window.
2. player method according to claim 1, it is characterised in that the captions label is defaulted as hidden state, described
By the caption text data, step of the Overlapping display in the broadcast window of the destination multimedia file also includes:
Before or after the caption text data is filled in into the captions label, by the captions label from acquiescence
Hidden state is adjusted to dispaly state, is shown in the precalculated position in the broadcast window.
3. player method according to claim 1, it is characterised in that many matchmakers of target played in the acquisition browser
Before the step of currently playing moment of body file, also include:
The playing request for a multimedia file is received, the multimedia file includes the multimedia of a variety of different video parameters
Source file;
The video parameter that the video parameter and/or browser selected according to user is supported, determines target video parameter;And, choosing
The corresponding multimedia source files of the target video parameter are selected, as destination multimedia file and are played.
4. player method according to claim 3, it is characterised in that the multimedia source document of a variety of different video parameters
Part corresponds to same subtitle file.
5. the player method according to any one of Claims 1-4, it is characterised in that played in the acquisition browser
The step of currently playing moment of destination multimedia file, including:
If the destination multimedia file is panoramic video file, pass through the panoramic video player in the browser, prison
Whether the broadcasting moment for surveying the destination multimedia file changes, and when changing, obtains the destination multimedia
The currently playing moment of file, and pass to the browser;
If the destination multimedia file is single visual angle video file, updated by browser monitoring audio/video reproduction time
Event, obtains the currently playing moment of destination multimedia file.
6. a kind of playing device of multimedia file, it is characterised in that including:
Time acquisition unit, the currently playing moment for the destination multimedia file played for obtaining in browser;
Caption recognition unit, for from the corresponding subtitle file of the destination multimedia file, extracting and the currently playing moment
The caption text data of matching;
Subtitle Demonstration unit, for by the caption text data, being filled in the captions label being pre-configured with the browser
In, wherein, the captions label is located at the precalculated position in the broadcast window.
7. playing device according to claim 6, it is characterised in that the captions label is defaulted as hidden state, described
Subtitle Demonstration unit also includes:
State adjustment unit, for before the caption text data to be filled in the fills unit captions label or
After person, the captions label is adjusted to dispaly state from the hidden state of acquiescence, is shown in pre- in the broadcast window
Positioning is put.
8. playing device according to claim 6, it is characterised in that also include:
Request reception unit, for receive for a multimedia file playing request, the multimedia file include it is a variety of not
With the multimedia source files of video parameter;
Media play unit, the video parameter that video parameter and/or browser for being selected according to user are supported, determines target
Video parameter;And, the corresponding multimedia source files of the target video parameter are selected, as destination multimedia file and are broadcast
Put.
9. playing device according to claim 8, it is characterised in that the multimedia source document of a variety of different video parameters
Part corresponds to same subtitle file.
10. the playing device according to any one of claim 6 to 9, it is characterised in that the time acquisition unit includes:
First processing units, for when the destination multimedia file is panoramic video file, by the browser
Whether panoramic video player, the broadcasting moment for monitoring the destination multimedia file changes, and when changing, obtains
The currently playing moment of the destination multimedia file is taken, and passes to the browser;
Second processing unit, for when the destination multimedia file is single visual angle video file, being monitored by browser
The update event of audio and video playing time, obtains the currently playing moment of destination multimedia file.
11. a kind of electronic equipment, including:
One or more processors;
Memory;And
One or more programs, wherein, one or more of programs are stored in the memory, and be configured to by
One or more of computing devices, it is characterised in that any one of claim 1 to 5 is realized when described program is performed
Step in the player method of described multimedia file.
12. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program
The step in the player method of the multimedia file any one of claim 1 to 5 is realized when being executed by processor.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710250002.XA CN106954095A (en) | 2017-04-17 | 2017-04-17 | The player method and device of a kind of multimedia file |
PCT/CN2018/082422 WO2018192388A1 (en) | 2017-04-17 | 2018-04-10 | Multimedia file playing method and apparatus, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710250002.XA CN106954095A (en) | 2017-04-17 | 2017-04-17 | The player method and device of a kind of multimedia file |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106954095A true CN106954095A (en) | 2017-07-14 |
Family
ID=59476144
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710250002.XA Pending CN106954095A (en) | 2017-04-17 | 2017-04-17 | The player method and device of a kind of multimedia file |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106954095A (en) |
WO (1) | WO2018192388A1 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107241653A (en) * | 2017-08-03 | 2017-10-10 | 湖南全晰科技有限公司 | A kind of Visual Dynamic in panoramic video adds the technical method of focus |
CN107506407A (en) * | 2017-08-07 | 2017-12-22 | 深圳市大迈科技有限公司 | A kind of document classification, the method and device called |
WO2018192388A1 (en) * | 2017-04-17 | 2018-10-25 | 腾讯科技(深圳)有限公司 | Multimedia file playing method and apparatus, and storage medium |
CN108965370A (en) * | 2017-12-05 | 2018-12-07 | 北京视联动力国际信息技术有限公司 | Intercut method, view networked server and the system of text message |
CN110929056A (en) * | 2018-09-19 | 2020-03-27 | 宏碁股份有限公司 | Multimedia file generating method, multimedia file playing method, multimedia file generating device and multimedia file playing device |
CN111193952A (en) * | 2018-11-15 | 2020-05-22 | 西安诺瓦星云科技股份有限公司 | Media playing method, device, terminal and system and storage medium |
CN111836112A (en) * | 2020-06-28 | 2020-10-27 | 腾讯科技(深圳)有限公司 | Multimedia file output method, device, medium and electronic equipment |
CN112019772A (en) * | 2020-09-07 | 2020-12-01 | 中图云创智能科技(北京)有限公司 | Method for correcting subtitle barrel-shaped deformation in panoramic video |
CN113127785A (en) * | 2021-05-18 | 2021-07-16 | 深圳Tcl新技术有限公司 | Subtitle processing method, subtitle processing device, computer equipment and storage medium |
CN113518248A (en) * | 2020-04-09 | 2021-10-19 | 西安诺瓦星云科技股份有限公司 | Program publishing method, device and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140111688A1 (en) * | 2011-06-22 | 2014-04-24 | Denis Sergeyevich Suvorov | Method and apparatus for processing and displaying multiple captions superimposed on video images |
CN105141979A (en) * | 2015-08-21 | 2015-12-09 | 努比亚技术有限公司 | Video subtitle matching device, system and method |
CN105704582A (en) * | 2015-05-11 | 2016-06-22 | 深圳Tcl数字技术有限公司 | Browser-based subtitle displaying method and device |
CN105898517A (en) * | 2015-12-15 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Caption display control method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105120370A (en) * | 2010-12-03 | 2015-12-02 | Lg电子株式会社 | Receiving device and method for receiving multiview three-dimensional broadcast signal |
CN102752664B (en) * | 2012-06-29 | 2015-05-20 | 北京奇虎科技有限公司 | Display method and device for text subtitle information in webpage |
CN105100869B (en) * | 2015-07-13 | 2018-09-04 | 腾讯科技(深圳)有限公司 | Barrage display methods and device |
CN106954095A (en) * | 2017-04-17 | 2017-07-14 | 腾讯科技(深圳)有限公司 | The player method and device of a kind of multimedia file |
-
2017
- 2017-04-17 CN CN201710250002.XA patent/CN106954095A/en active Pending
-
2018
- 2018-04-10 WO PCT/CN2018/082422 patent/WO2018192388A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140111688A1 (en) * | 2011-06-22 | 2014-04-24 | Denis Sergeyevich Suvorov | Method and apparatus for processing and displaying multiple captions superimposed on video images |
CN105704582A (en) * | 2015-05-11 | 2016-06-22 | 深圳Tcl数字技术有限公司 | Browser-based subtitle displaying method and device |
CN105141979A (en) * | 2015-08-21 | 2015-12-09 | 努比亚技术有限公司 | Video subtitle matching device, system and method |
CN105898517A (en) * | 2015-12-15 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Caption display control method and device |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018192388A1 (en) * | 2017-04-17 | 2018-10-25 | 腾讯科技(深圳)有限公司 | Multimedia file playing method and apparatus, and storage medium |
CN107241653A (en) * | 2017-08-03 | 2017-10-10 | 湖南全晰科技有限公司 | A kind of Visual Dynamic in panoramic video adds the technical method of focus |
CN107506407A (en) * | 2017-08-07 | 2017-12-22 | 深圳市大迈科技有限公司 | A kind of document classification, the method and device called |
CN107506407B (en) * | 2017-08-07 | 2020-03-27 | 深圳市大迈科技有限公司 | File classification and calling method and device |
CN108965370A (en) * | 2017-12-05 | 2018-12-07 | 北京视联动力国际信息技术有限公司 | Intercut method, view networked server and the system of text message |
CN110929056B (en) * | 2018-09-19 | 2023-04-07 | 宏碁股份有限公司 | Multimedia file generating method, multimedia file playing method, multimedia file generating device and multimedia file playing device |
CN110929056A (en) * | 2018-09-19 | 2020-03-27 | 宏碁股份有限公司 | Multimedia file generating method, multimedia file playing method, multimedia file generating device and multimedia file playing device |
CN111193952A (en) * | 2018-11-15 | 2020-05-22 | 西安诺瓦星云科技股份有限公司 | Media playing method, device, terminal and system and storage medium |
CN113518248A (en) * | 2020-04-09 | 2021-10-19 | 西安诺瓦星云科技股份有限公司 | Program publishing method, device and system |
CN111836112B (en) * | 2020-06-28 | 2022-01-25 | 腾讯科技(深圳)有限公司 | Multimedia file output method, device, medium and electronic equipment |
CN111836112A (en) * | 2020-06-28 | 2020-10-27 | 腾讯科技(深圳)有限公司 | Multimedia file output method, device, medium and electronic equipment |
CN112019772A (en) * | 2020-09-07 | 2020-12-01 | 中图云创智能科技(北京)有限公司 | Method for correcting subtitle barrel-shaped deformation in panoramic video |
CN113127785A (en) * | 2021-05-18 | 2021-07-16 | 深圳Tcl新技术有限公司 | Subtitle processing method, subtitle processing device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2018192388A1 (en) | 2018-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106954095A (en) | The player method and device of a kind of multimedia file | |
US10735798B2 (en) | Video broadcast system and a method of disseminating video content | |
CN106462316A (en) | Systems and methods of displaying content | |
CN109643241B (en) | Display processing method, device, storage medium and electronic terminal | |
US20140321834A1 (en) | System and method for providing and interacting with coordinated presentations | |
EP2357573A1 (en) | Method and apparatus for showing web page-related resources | |
CN105701217A (en) | Information processing method and server | |
US10009658B2 (en) | Multiview TV template creation and display layout modification | |
US11683555B2 (en) | Multiview as an application for physical digital media | |
US10455270B2 (en) | Content surfing, preview and selection by sequentially connecting tiled content channels | |
US9894404B2 (en) | Multiview TV custom display creation by aggregation of provider content elements | |
CN105898370A (en) | Multi-camera video player, playing system and playing method | |
CN113596553A (en) | Video playing method and device, computer equipment and storage medium | |
CN103517104A (en) | Set top box and video captions composite method based on network broadcasting | |
CN107771315A (en) | The system and method for display and navigation content are mapped based on dynamic icon | |
US20170269795A1 (en) | Multiview display layout and current state memory | |
CN108616768B (en) | Synchronous playing method and device of multimedia resources, storage position and electronic device | |
CN103702167B (en) | Method and electronic equipment for displaying program preview | |
CN113497958B (en) | Display equipment and picture display method | |
US9560103B2 (en) | Custom video content | |
KR102214598B1 (en) | Contents playing apparatus, and control method thereof | |
US20170272829A1 (en) | Multiview tv environment that is curated by a broadcaster or service provider | |
KR20170061836A (en) | System for serving production user customized moving image on internet and method therof | |
CN113542823B (en) | Display equipment and application page display method | |
KR102142569B1 (en) | Media play device and method for capturing screen |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170714 |
|
RJ01 | Rejection of invention patent application after publication |