CN107995519B - Method, device and storage medium for playing multimedia file - Google Patents
Method, device and storage medium for playing multimedia file Download PDFInfo
- Publication number
- CN107995519B CN107995519B CN201711240128.5A CN201711240128A CN107995519B CN 107995519 B CN107995519 B CN 107995519B CN 201711240128 A CN201711240128 A CN 201711240128A CN 107995519 B CN107995519 B CN 107995519B
- Authority
- CN
- China
- Prior art keywords
- media stream
- transcoding
- file
- playing
- multimedia
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 101
- 230000001960 triggered effect Effects 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 11
- 238000013519 translation Methods 0.000 claims description 11
- 238000012546 transfer Methods 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 12
- 230000008569 process Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
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/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/439—Processing of audio elementary streams
- H04N21/4398—Processing of audio elementary streams involving reformatting operations of audio signals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
-
- 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
-
- 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440236—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by media transcoding, e.g. video is transformed into a slideshow of still pictures, audio is converted into text
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8166—Monomedia components thereof involving executable data, e.g. software
- H04N21/8193—Monomedia components thereof involving executable data, e.g. software dedicated tools, e.g. video decoder software or IPMP tool
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method, a device and a storage medium for playing a multimedia file, and belongs to the technical field of the Internet. The method comprises the following steps: receiving a first media stream in a Web interface of a webpage, wherein the coding format of the first media stream is a first coding format; loading a first transcoding file from a designated storage space, wherein the first transcoding file is a transcoding file written by a Web language which can be identified by the Web interface; calling a transcoding method in the first transcoding file; converting the first media stream into a second media stream in a second coding format by the transcoding method; and playing the second media stream. And further, the effect that the multimedia file can be played without the multimedia playing plug-in is realized.
Description
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method, an apparatus, and a storage medium for playing a multimedia file.
Background
Distributors of film and television works generally upload prepared multimedia files such as audio and video files to a server so as to facilitate users to watch the multimedia files through terminals. The terminal can play the multimedia file through the audio or video application, and if the audio or video application is not installed in the terminal, the terminal can also play the multimedia file through the browser. Specifically, when the audio or video application is not installed in the terminal, the terminal receives a media stream of the multimedia file transmitted by the server through the browser, and plays the media stream for the user in a Web interface of the browser.
In the related art, since the terminal may not support the encoding format of the media stream of the server, a multimedia playing plug-in for transcoding, for example, a flash plug-in, needs to be installed in the terminal; and the terminal plays by means of the multimedia playing plug-in. The process of playing the media stream by the terminal is as follows: the terminal acquires a media stream of a multimedia file to be played from the server, transcodes the media stream through the multimedia playing plug-in, and plays the transcoded media stream in the Web interface.
In the process of implementing the invention, the inventor finds that the related art has at least the following problems:
the method actually realizes the playing of the multimedia file through the multimedia playing plug-in. However, the multimedia playing plug-in generally occupies a large storage space and may not be compatible with some terminals. Many terminals will not have the multimedia playing plug-in installed, and when the terminal does not have the multimedia playing plug-in installed, the terminal will not be able to play the media stream, resulting in poor practicability of the above method for playing multimedia files.
Disclosure of Invention
The invention provides a method, a device and a storage medium for playing a multimedia file, which can solve the problem of poor practicability in the prior art. The technical scheme is as follows:
in a first aspect, a method for playing a multimedia file is provided, the method comprising:
receiving a first media stream in a Web interface of a webpage, wherein the coding format of the first media stream is a first coding format;
loading a first transcoding file from a designated storage space, wherein the first transcoding file is a transcoding file written by a Web language which can be identified by the Web interface;
calling a transcoding method in the first transcoding file;
converting the first media stream into a second media stream in a second coding format by the transcoding method;
and playing the second media stream.
Optionally, before the loading the first transcoding file from the designated storage space, the method further includes:
compiling the transcoding method through the Web language to obtain the first transcoding file;
and storing the first code transfer file in the designated storage space.
Optionally, the compiling the transcoding method through the Web language to obtain the first transcoding file includes:
compiling a transcoding method through a programming language to obtain a second transcoding file, wherein the second transcoding file is used for transcoding the media stream in the first coding format into the media stream in the second coding format;
and translating the second transcoding file into the first transcoding file of the Web language by a specified translation tool.
Optionally, the converting, by the transcoding method, the first media stream into a second media stream in a second encoding format includes:
decoding the first media stream into a binary third media stream by the transcoding method;
encoding the third media stream into a second media stream of the second encoding format.
Optionally, the method further includes:
acquiring bullet screen data of the first media stream;
converting the bullet screen data into bullet screen data streams in the second coding format through the transcoding method;
and inserting the bullet screen data stream into the second media stream.
Optionally, the receiving the first media stream in the Web interface of the Web page includes:
when a play button is detected to be triggered, acquiring a file identifier of a multimedia file to be played, which is displayed in the Web interface of the webpage;
sending a playing instruction to a server, wherein the playing instruction is used for indicating the server to return a first media stream of the multimedia file;
receiving the first media stream of the server.
Optionally, before the loading the first transcoding file from the designated storage space, the method further includes:
detecting whether a multimedia playing plug-in is installed locally;
and when the multimedia playing plug-in is not installed locally, executing the step of loading the first transcoding file from the specified storage space.
In a second aspect, an apparatus for playing a multimedia file is provided, the apparatus comprising:
the receiving module is used for receiving a first media stream in a webpage Web interface, wherein the coding format of the first media stream is a first coding format;
the loading module is used for loading a first transcoding file from a specified storage space, wherein the first transcoding file is a transcoding file which can be written by the Web language identified by the Web interface;
the calling module is used for calling the transcoding device in the first transcoding file;
a conversion module, configured to convert, by the transcoding device, the first media stream into a second media stream in a second encoding format;
and the playing module is used for playing the second media stream.
Optionally, the apparatus further comprises:
the compiling module is used for compiling the transcoding device through the Web language to obtain the first transcoding file;
and the storage module is used for storing the first transcoding file in the specified storage space.
Optionally, the compiling module is further configured to compile a transcoding device through a programming language to obtain a second transcoding file, where the second transcoding file is used to transcode a media stream in a first encoding format into a media stream in a second encoding format; and translating the second transcoding file into the first transcoding file of the Web language by a specified translation tool.
Optionally, the conversion module is further configured to decode, by the transcoding device, the first media stream into a binary third media stream; encoding the third media stream into a second media stream of the second encoding format.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring barrage data of the first media stream;
the conversion module is further configured to convert the barrage data into a barrage data stream in the second encoding format through the transcoding device;
and the inserting module is used for inserting the bullet screen data stream into the second media stream.
Optionally, the receiving module is further configured to, when it is detected that the play button is triggered, obtain a file identifier of the multimedia file to be played, which is displayed in the Web interface of the Web page; sending a playing instruction to a server, wherein the playing instruction is used for indicating the server to return a first media stream of the multimedia file; receiving the first media stream of the server.
Optionally, the apparatus further comprises:
the detection module is used for detecting whether a multimedia playing plug-in is installed locally; and when the multimedia playing plug-in is not installed locally, loading the first transcoding file from the specified storage space.
In a third aspect, there is provided a multimedia file playing apparatus, including a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the method for playing a multimedia file according to any one of the first aspect.
In a fourth aspect, a storage medium is provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the method for playing a multimedia file according to any one of the first aspect.
In the embodiment of the invention, the terminal receives the first media stream in the first coding format in the Web interface of the webpage, loads the first transcoding file written by the Web language from the specified storage space, and calls the transcoding method in the first transcoding file, so that the first media stream is converted into the second media stream in the second coding format by the transcoding method, and the second media stream is played, thereby realizing the effect of playing the multimedia file without a multimedia playing plug-in, and improving the practicability of playing the multimedia file.
Drawings
FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the invention
FIG. 2 is a flowchart of a method for playing a multimedia file according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for playing a multimedia file according to an embodiment of the present invention;
fig. 4 is a block diagram of an apparatus for playing a multimedia file according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present invention, and referring to fig. 1, the implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 are connected via a network. The terminal 101 runs an application program associated with the server 102, and can log in the server 102 based on the application program, so as to interact data with the server 102 to use the service provided by the server. The application is any application that can play multimedia files based on a Web (Web page) interface, such as a browser, a social application nested in a Web interface, and the like.
The terminal 101 can obtain a media stream in a multimedia file to be viewed from the server through the application program, then the terminal 101 loads the transcoding file, transcodes the media stream by calling a transcoding method in the transcoding file to obtain the media stream which can be identified by the terminal 101, and the terminal 101 plays the media stream in a Web interface of the application program, so that the requirement of a user for viewing the multimedia file is met.
The terminal 101 may be any terminal in which the application is installed. For example, the terminal 101 may be any Device that installs the application, such as a mobile phone terminal, a PAD (Portable Android Device) terminal, or a computer terminal. Server 102 is the backend server for the application. The server 102 may be a server, a server cluster composed of several servers, or a cloud computing server center.
Fig. 2 is a flowchart of a method for playing a multimedia file according to an embodiment of the present invention, where the method may be applied to a terminal, and as shown in fig. 2, the method includes:
step 201: receiving a first media stream in a Web interface of a webpage, wherein the coding format of the first media stream is a first coding format;
step 202: loading a first transcoding file from a designated storage space, wherein the first transcoding file is a transcoding file written by a Web language which can be identified by the Web interface;
step 203: calling a transcoding method in the first transcoding file;
step 204: converting the first media stream into a second media stream in a second coding format by the transcoding method;
step 205: and playing the second media stream.
Optionally, before the loading the first transcoding file from the specified storage space, the method further includes:
compiling the transcoding method through the Web language to obtain the first transcoding file;
and storing the first code conversion file in the designated storage space.
Optionally, the compiling the transcoding method through the Web language to obtain the first transcoding file includes:
compiling a transcoding method through a programming language to obtain a second transcoding file, wherein the second transcoding file is used for transcoding the media stream in the first coding format into the media stream in the second coding format;
and translating the second transcoding file into the first transcoding file of the Web language by specifying a translation tool.
Optionally, the converting, by the transcoding method, the first media stream into a second media stream in a second encoding format includes:
decoding the first media stream into a binary third media stream by the transcoding method;
and encoding the third media stream into a second media stream of the second encoding format.
Optionally, the method further includes:
acquiring bullet screen data of the first media stream;
converting the bullet screen data into bullet screen data flow in the second coding format through the transcoding method;
and inserting the bullet screen data stream into the second media stream.
Optionally, the receiving the first media stream in the Web interface of the Web page includes:
when the play button is detected to be triggered, acquiring a file identifier of a multimedia file to be played, which is displayed in a Web interface of the webpage;
sending a playing instruction to the server, wherein the playing instruction is used for indicating the server to return a first media stream of the multimedia file;
the first media stream of the server is received.
Optionally, before the loading the first transcoding file from the specified storage space, the method further includes:
detecting whether a multimedia playing plug-in is installed locally;
and when the multimedia playing plug-in is not installed locally, the step of loading the first transcoding file from the specified storage space is executed.
In the embodiment of the invention, the terminal receives the first media stream in the first coding format in the Web interface of the webpage, loads the first transcoding file written by the Web language from the specified storage space, and calls the transcoding method in the first transcoding file, so that the first media stream is converted into the second media stream in the second coding format by the transcoding method, and the second media stream is played, thereby realizing the effect of playing the multimedia file without a multimedia playing plug-in, and improving the practicability of playing the multimedia file.
Fig. 3 is a flowchart of a method for playing a multimedia file according to an embodiment of the present invention, where the method may be applied to a terminal, and as shown in fig. 3, the method includes:
step 301: and the terminal compiles the transcoding method through the Web language to obtain the first transcoding file, and stores the first transcoding file in the specified storage space.
In the embodiment of the invention, the terminal receives the media stream transmitted by the server through the application program, and the media stream can be played in the Web interface only by converting the coding format of the media stream through the transcoding file. The transcoding method is used for converting a first media stream transmitted by a server into a second media stream in a second coding format, and the second coding format is a coding format which can be identified by an application program of a terminal.
In this step, the Web language is a language that can be recognized by the Web interface, and the first transcoding file compiled by the Web language can also be recognized by the Web interface. The terminal can be directly written through the Web language, or can be firstly written through the programming language and then translated into the Web language through the translation tool, so that the first transcoding file is obtained.
(I): when the terminal is directly written through the Web language, the terminal compiles the transcoding method through the Web language to obtain the first transcoding file, which may include: the terminal writes a coding method for transcoding the media stream in the first coding format into the media stream in the second coding format through the Web language and a compiler corresponding to the Web language, and packages the written coding method into a first transcoding file.
In the embodiment of the present invention, the Web language may be any language that can be recognized by the application program of the Web interface. For example, the Web language may be WebAssembly language, and the first transcoding file is a file in the wasm format.
(II): when the terminal is written by the programming language, the terminal compiles the transcoding method by the Web language to obtain the first transcoding file may include: the terminal writes a transcoding method through a programming language to obtain a second transcoding file, wherein the second transcoding file is used for transcoding the media stream in the first coding format into the media stream in the second coding format; and the terminal translates the second transcoding file into the first transcoding file of the Web language by specifying a translation tool.
The programming language may be a C language, a C + + language, a Java language, or the like, and the terminal may install a compiler and a translation tool corresponding to the programming language in advance. The terminal can compile a coding method through a compiler corresponding to the programming language, and package the compiled coding method into a second transcoding file. And the terminal acquires a translation tool installed in advance, translates the second transcoding file into the Web language from the programming language through the translation tool, and encapsulates the coding method of the Web language into the first transcoding file.
Furthermore, the terminal stores the first transcoding file in a designated storage space, so that the first transcoding file can be directly acquired as required without writing, the time for acquiring the first transcoding file is saved, the transcoding efficiency is improved, and the efficiency for playing the multimedia file is improved.
It should be noted that step 301 may be executed only once, and when the terminal needs to play the multimedia file, the terminal receives the first media stream of the multimedia file through the following step 302, and finally transcodes and plays the first media stream by calling the first transcoding file stored in this step. Or, the terminal may not execute step 301, and when the terminal needs to play the multimedia file, the terminal receives the first media stream of the multimedia file through the following step 302, and then compiles the transcoding method through the Web language by the terminal in step 301 to obtain the first transcoding file, transcodes the first media stream according to the first transcoding file, and finally realize the playing of the multimedia file.
Step 302: when a multimedia file to be played is played, the terminal receives a first media stream in a Web interface of a webpage, wherein the coding format of the first media stream is a first coding format.
In this embodiment of the present invention, the first media stream may be an audio media stream or a video media stream. The terminal can display the Web interface through an application program and display a play button or file identification labels of a plurality of multimedia files in the Web interface. When a user watches a multimedia file in a Web interface through a terminal, the user can trigger a play button or a file identification label of the interested multimedia file, and when the terminal detects that the play button or any file identification label in the Web interface is triggered, the terminal acquires a file identification of the multimedia file to be played and displayed in the Web interface and generates a play instruction; and the terminal receives the first media stream in the Web interface of the webpage according to the playing instruction.
When the first media stream is a media stream which is played by the terminal in history, the terminal can locally cache the first media stream so as to directly obtain the first media stream from local when playing again, so that the first media stream does not need to be transmitted by the server in real time, and data interaction with the server is omitted. Therefore, the step of receiving, by the terminal, the first media stream in the web interface according to the play instruction may be: the terminal detects whether the first media stream exists in the local cache space according to the playing instruction, and when the first media stream exists in the local cache space, the terminal acquires the first media stream in the local storage space; and when the first media stream does not exist in the local cache space, the terminal sends the playing instruction to the server, the playing instruction is used for indicating the server to return the first media stream of the multimedia file to be played, and the terminal receives the first media stream of the server in the Web interface of the webpage according to the playing instruction.
The terminal can obtain the playing instruction based on the file identification tags of the multimedia files to be played, that is, the terminal can display the file identifications of the multiple multimedia files in the Web interface, and when a user triggers a certain file identification tag, the terminal directly starts to play the multimedia files in the playing interface. Or, the terminal may further obtain a play instruction based on a play button, that is, a play button may be set in the play interface, and when the user triggers the play button, the terminal starts playing again.
(I): when the terminal obtains the play instruction based on the play button, the step of obtaining the play instruction by the terminal may be: when the playing button is detected to be triggered, the terminal acquires a file identifier of a multimedia file to be played, which is displayed in the Web interface, and generates a playing instruction according to the file identifier.
In this step, the play button is located in the play interface, and the play interface may be a currently displayed play interface that has not started to be played, that is, the user has not started to watch the multimedia file to be played. Or, the playing interface may also be a currently displayed playing interface that has been played for a certain period of time, that is, after the user pauses to watch, the user continues to watch the multimedia file that has been paused to play.
When the playing interface is a playing interface that has not started playing, the step of the terminal acquiring the playing instruction may be: when a terminal detects that a file identification label of a multimedia file to be played in a Web interface is triggered, acquiring a file identification of the multimedia file to be played, and starting a playing interface of the multimedia file to be played, wherein a playing button is arranged in the playing interface; and when the terminal detects that a play button in the play interface is triggered, generating a play instruction according to the file identifier of the multimedia file to be played.
When the playing interface is a playing interface that has been played for a period of time, the step of the terminal acquiring the playing instruction may be: in a playing interface for pausing playing of the multimedia file, when a terminal detects that a playing button in the playing interface is triggered, a file identifier of a file to be played in the playing interface is acquired, and a playing instruction is generated according to the file identifier.
The file identifier may be set and changed according to a user requirement, which is not specifically limited in the embodiment of the present invention. For example, the file identifier may be a name, a hash value, or the like of the multimedia file to be played.
(II): when the terminal obtains the playing instruction based on the file identification tag corresponding to the multimedia file to be played, the step of obtaining the playing instruction by the terminal may be: when the terminal detects that a file identification label corresponding to a certain multimedia file in the Web interface is triggered, the multimedia file is determined as a multimedia file to be played, a playing instruction is generated according to the file identification corresponding to the multimedia file to be played, and a playing interface of the multimedia file to be played is displayed.
In the embodiment of the present invention, the server may store each multimedia file in the Web interface and the file identifier of the multimedia file in association in advance. When the server receives a playing instruction of the terminal, the server acquires a file identifier of a multimedia file to be played, determines the multimedia file corresponding to the file identifier of the multimedia file to be played from the corresponding relation between the multimedia file and the file identifier according to the file identifier of the multimedia file to be played, acquires a first media stream in the multimedia file, and sends the first media stream to the terminal.
It should be noted that the first media stream is a media stream obtained by a distributor user of a movie and television work acquiring multimedia data in advance through a recording device and encoding the multimedia data according to a first encoding format. The first coding format may not be recognized by the terminal, and when the terminal can recognize the first coding format, the terminal directly plays the first media stream of the first coding format in a Web interface of the application program; when the terminal does not identify the first coding format, the terminal transcodes the first media stream in the first coding format by a transcoding method in a first transcoding file to obtain a second media stream in a second coding format, wherein the first transcoding file is a transcoding file which can be written by a Web language identified by the Web interface, and the second coding format is a coding format which can be identified by the terminal.
In a possible design, the terminal may also transcode the first media stream through the multimedia playing plug-in, that is, the terminal may have the multimedia playing plug-in installed in advance, and when the terminal receives the first media stream, before the terminal performs step 303, the terminal detects whether the multimedia playing plug-in is installed locally; when the multimedia playing plug-in is not installed locally, the terminal executes step 303; when the multimedia playing plug-in is installed locally, the terminal acquires the multimedia playing plug-in, calls a transcoding method in the multimedia playing plug-in, and directly executes step 304. The multimedia plugin can be a flash plugin.
Step 303: and the terminal loads the first transcoding file from the designated storage space and calls the transcoding method in the first transcoding file.
In the embodiment of the invention, when the terminal installs the application program of the Web interface, the application program carries the analysis engine for identifying the Web language, and the terminal can analyze the file of the Web language through the analysis engine. And the terminal directly loads the first transcoding file from the designated storage space, and analyzes the first transcoding file through the analysis engine to obtain the transcoding method in the first transcoding file.
Step 304: and the terminal converts the first media stream into a second media stream in a second coding format by the transcoding method.
In fact, this step is a process of transcoding media streams of different encoding formats. The terminal may implement the transcoding process through the steps of decoding first and then encoding, and this step may be: the terminal decodes the first media stream into a binary third media stream through the transcoding method, and encodes the third media stream into a second media stream in the second encoding format.
The first media stream is in a first encoding format, the second media stream is in a second encoding format, and accordingly, the first encoding format may be any encoding format that can be recognized by the server, and the second encoding format may be any encoding format that can be recognized by an application program where the middle Web interface of the terminal is located. Generally, the media stream sent by the server is in flv format, and the media stream that the terminal can play in the Web interface of the application program is in mp4 format. That is, the first encoding format may be flv format, and the second encoding format may be mp4 format.
In the embodiment of the invention, when the terminal plays the media stream in the Web interface, the bullet screen data of the multimedia file to be played can be displayed, and the bullet screen data can be advertisement information or comment information of the user on the currently played media stream and the like. The server may transmit the multimedia data stream of the multimedia file to be viewed and the barrage data together as a first media stream to the terminal, or the server may transmit the multimedia data stream and the barrage data separately. That is, the first media stream is a multimedia data stream, or the first media stream may also be a multimedia data stream and barrage data.
In a possible design, when the terminal displays the barrage data of the multimedia file to be played, the terminal may transcode the barrage data, and the process of transcoding the barrage data by the terminal may be: the terminal acquires the barrage data of the first media stream; the terminal converts the bullet screen data into bullet screen data flow in the second coding format through the transcoding method; and the terminal inserts the bullet screen data stream into the second media stream.
When the first media stream is a multimedia data stream and a bullet screen data, the step of acquiring the bullet screen data by the terminal may be: the terminal identifies the multimedia data stream in the first media stream, determines the data stream except the multimedia data stream in the first media stream as bullet screen data, and acquires the bullet screen data; or the terminal identifies the bullet screen data in the first media stream according to the data identifier of the bullet screen data and acquires the bullet screen data.
When the first media stream is a multimedia data stream, the step of acquiring the barrage data by the terminal may be: the terminal sends an acquisition instruction to the server, the acquisition instruction is used for indicating the server to return the bullet screen data of the file to be played, the server sends the bullet screen data to the terminal, and the terminal receives the bullet screen data. The obtaining instruction can carry a file identifier of the multimedia file to be played, so that the server can search the bullet screen data corresponding to the multimedia file to be played based on the file identifier.
Further, the bullet screen data is actually a data set of multiple pieces of bullet screen data, for example, the bullet screen data is an information set including multiple pieces of user comment information, when the server sends the bullet screen data to the terminal, the server also sends the display time of the bullet screen data, where the display time is the display time corresponding to each piece of bullet screen data in the process of playing the media stream, and the step of the terminal inserting the bullet screen data stream into the second media stream may be: and the terminal acquires the display time of each piece of bullet screen data in the bullet screen data and inserts a plurality of pieces of bullet screen data into the second media stream according to the display time of each piece of bullet screen data.
Step 305: and the terminal plays the second media stream.
In the embodiment of the present invention, the terminal may play the second media stream in a manner of playing while buffering, or in a manner of playing after buffering.
And when the terminal plays and caches, the terminal plays the currently obtained second media stream in the playing area according to the playing area in the Web interface.
When the terminal caches the second media stream first and then plays the second media stream, that is, the terminal caches the second media stream in the cache space first and stores the file identifier of the multimedia file corresponding to the second media stream and the space identifier of the storage space in an associated manner. The step of playing the second media stream by the terminal may be: the terminal obtains a space identifier corresponding to the file identifier from the corresponding relationship between the file identifier and the space identifier according to the file identifier of the multimedia file corresponding to the second media stream, obtains the multimedia file corresponding to the second media stream from the storage space corresponding to the space identifier, and plays the second media stream in the multimedia file in the playing area according to the playing area in the Web interface. Wherein the space identifier may be a storage path of the storage space.
In fact, the terminal may define the display position of the second media stream in the playing area in advance, and the step of playing the second media stream in the playing area by the terminal according to the playing area in the Web interface may be: and the terminal draws the multimedia data at the corresponding display position in the playing area according to the display position of the multimedia data in the second media stream in the playing area, thereby realizing the playing of the second media stream in the playing area.
Further, the second media stream may further include bullet screen data, when the terminal plays the multimedia data in the second media stream, the terminal may also play the bullet screen data in the second media stream, and the step of playing the bullet screen data in the second media stream by the terminal may be: and the terminal acquires the bullet screen data from the second media stream, acquires a preset bullet screen area corresponding to the bullet screen data, and displays the bullet screen data in the preset bullet screen area.
The preset bullet screen area can be set and changed according to the needs of the user, and the embodiment of the invention is not particularly limited to this. For example, the preset bullet screen area may be an upper half area, a middle area, and the like of the playing area.
In the embodiment of the invention, the terminal receives the first media stream in the first coding format in the Web interface of the webpage, loads the first transcoding file written by the Web language from the specified storage space, and calls the transcoding method in the first transcoding file, so that the first media stream is converted into the second media stream in the second coding format by the transcoding method, and the second media stream is played, thereby realizing the effect of playing the multimedia file without a multimedia playing plug-in, and improving the practicability of playing the multimedia file.
Fig. 4 is a block diagram of an apparatus for playing a multimedia file according to an embodiment of the present invention, where the apparatus may be applied in a terminal, and as shown in fig. 4, the apparatus includes:
a receiving module 401, configured to receive a first media stream in a Web interface of a Web page, where a coding format of the first media stream is a first coding format;
a loading module 402, configured to load a first transcoding file from a specified storage space, where the first transcoding file is a transcoding file written in a Web language that can be identified by the Web interface;
a calling module 403, configured to call a transcoding device in the first transcoding file;
a conversion module 404, configured to convert, by the transcoding device, the first media stream into a second media stream in a second encoding format;
a playing module 405, configured to play the second media stream.
Optionally, the apparatus further comprises:
the compiling module is used for compiling the transcoding device through the Web language to obtain the first transcoding file;
and the storage module is used for storing the first code conversion file in the specified storage space.
Optionally, the compiling module is further configured to compile a transcoding device through a programming language to obtain a second transcoding file, where the second transcoding file is used to transcode a media stream in a first encoding format into a media stream in a second encoding format; and translating the second transcoding file into the first transcoding file of the Web language by specifying a translation tool.
Optionally, the converting module 404 is further configured to decode, by the transcoding device, the first media stream into a binary third media stream; and encoding the third media stream into a second media stream of the second encoding format.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring the barrage data of the first media stream;
the conversion module 404 is further configured to convert the bullet screen data into a bullet screen data stream in the second encoding format through the transcoding device;
and the inserting module is used for inserting the bullet screen data stream into the second media stream.
Optionally, the receiving module 401 is further configured to, when it is detected that the play button is triggered, obtain a file identifier of the multimedia file to be played, which is displayed in the Web interface of the Web page; sending a playing instruction to the server, wherein the playing instruction is used for indicating the server to return a first media stream of the multimedia file; the first media stream of the server is received.
Optionally, the apparatus further comprises:
the detection module is used for detecting whether a multimedia playing plug-in is installed locally; and when the multimedia playing plug-in is not installed locally, loading the first transcoding file from the specified storage space.
In the embodiment of the invention, the terminal receives the first media stream in the first coding format in the Web interface of the webpage, loads the first transcoding file written by the Web language from the specified storage space, and calls the transcoding method in the first transcoding file, so that the first media stream is converted into the second media stream in the second coding format by the transcoding method, and the second media stream is played, thereby realizing the effect of playing the multimedia file without a multimedia playing plug-in, and improving the practicability of playing the multimedia file.
It should be noted that: in the multimedia file playing apparatus provided in the foregoing embodiment, only the division of the functional modules is illustrated when the multimedia file is played, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus for playing a multimedia file and the method for playing a multimedia file provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments and are not described herein again.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal can be used to implement the functions executed by the terminal in the method for playing multimedia files shown in the above embodiments. Specifically, the method comprises the following steps:
the terminal 500 may include RF (Radio Frequency) circuitry 510, memory 520 including one or more computer-readable storage media, an input unit 530, a display unit 540, a sensor 550, audio circuitry 560, a transmission module 570, a processor 550 including one or more processing cores, and a power supply 590. Those skilled in the art will appreciate that the terminal structure shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
The memory 520 may be used to store software programs and modules, such as the software programs and modules corresponding to the terminal shown in the above exemplary embodiments, and the processor 580 may execute various functional applications and data processing, such as implementing video-based interaction, by running the software programs and modules stored in the memory 520. The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 500, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 520 may also include a memory controller to provide the processor 580 and the input unit 530 access to the memory 520.
The input unit 530 may be used to receive input numeric or character information and generate a keyboard, mouse, joystick, optical or trackball signal input related to user setting and function control. In particular, the input unit 530 may include a touch-sensitive surface 531 and other input terminals 532. The touch sensitive surface 531, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch sensitive surface 531 (e.g. operations by a user on or near the touch sensitive surface 531 using a finger, a stylus, or any suitable object or attachment), and drive the corresponding link means according to a predetermined program. Alternatively, the touch sensitive surface 531 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 580, and can receive and execute commands sent by the processor 580. In addition, the touch sensitive surface 531 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 530 may include other input terminals 532 in addition to the touch-sensitive surface 531. In particular, other input terminals 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 540 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal 500, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 540 may include a Display panel 541, and optionally, the Display panel 541 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 531 can overlie the display panel 541 such that, when a touch event is detected at or near the touch-sensitive surface 531, it is passed to the processor 580 for determining the type of touch event, whereupon the processor 580 provides a corresponding visual output on the display panel 541 in dependence upon the type of touch event. Although in FIG. 5 the touch sensitive surface 531 and the display panel 541 are shown as two separate components to implement input and output functions, in some embodiments the touch sensitive surface 531 and the display panel 541 may be integrated to implement input and output functions.
The terminal 500 can also include at least one sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 541 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 541 and/or a backlight when the terminal 500 moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal 500, detailed descriptions thereof are omitted.
The terminal 500, through the transmission module 570, can assist the user in sending and receiving e-mails, browsing web pages, accessing streaming media, etc., which provides the user with wireless or wired broadband internet access. Although fig. 5 shows the transmission module 570, it is understood that it does not belong to the essential constitution of the terminal 500 and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 580 is a control center of the terminal 500, links various parts of the entire handset using various interfaces and lines, performs various functions of the terminal 500 and processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory 520, thereby performing overall monitoring of the handset. Optionally, processor 580 may include one or more processing cores; preferably, the processor 580 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 580.
The terminal 500 further includes a power supply 590 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 580 via a power management system that may enable managing charging, discharging, and power consumption via the power management system. The power supply 590 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and any other components.
Although not shown, the terminal 500 may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in the present embodiment, the display unit of the terminal 500 is a touch screen display, and the terminal 500 further includes a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs executed by the one or more processors include instructions for implementing the operations performed by the terminal in the above embodiments.
In an exemplary embodiment, a computer-readable storage medium, such as a memory, storing a computer program is also provided, which when executed by a processor implements the method of multimedia file playing in the above embodiments. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (12)
1. A method for playing a multimedia file, the method comprising:
receiving a first media stream in a Web interface of a webpage, wherein the coding format of the first media stream is a first coding format;
detecting whether a multimedia playing plug-in is installed locally;
when the multimedia playing plug-in is not installed locally, loading a first transcoding file from a specified storage space, wherein the first transcoding file is a transcoding file written by a Web language which can be identified by the Web interface;
calling a transcoding method in the first transcoding file;
converting the first media stream into a second media stream in a second coding format by the transcoding method, wherein the second coding format is a coding format which can be identified by a terminal;
playing the second media stream;
before the first code conversion file is loaded from the designated storage space for the first time, the method further comprises the following steps:
compiling the transcoding method through the Web language to obtain the first transcoding file;
and storing the first code transfer file in the designated storage space.
2. The method of claim 1, wherein compiling the transcoding method through the Web language to obtain the first transcoding file comprises:
compiling a transcoding method through a programming language to obtain a second transcoding file, wherein the second transcoding file is used for transcoding the media stream in the first coding format into the media stream in the second coding format;
and translating the second transcoding file into the first transcoding file of the Web language by a specified translation tool.
3. The method of claim 1, wherein said converting the first media stream into a second media stream in a second encoding format by the transcoding method comprises:
decoding the first media stream into a binary third media stream by the transcoding method;
encoding the third media stream into a second media stream of the second encoding format.
4. The method of claim 1, further comprising:
acquiring bullet screen data of the first media stream;
converting the bullet screen data into bullet screen data streams in the second coding format through the transcoding method;
and inserting the bullet screen data stream into the second media stream.
5. The method of claim 1, wherein receiving the first media stream in a Web interface of a Web page comprises:
when a play button is detected to be triggered, acquiring a file identifier of a multimedia file to be played, which is displayed in the Web interface of the webpage;
sending a playing instruction to a server, wherein the playing instruction is used for indicating the server to return a first media stream of the multimedia file;
receiving the first media stream of the server.
6. An apparatus for playing a multimedia file, the apparatus comprising:
the receiving module is used for receiving a first media stream in a webpage Web interface, wherein the coding format of the first media stream is a first coding format;
the loading module is used for detecting whether a multimedia playing plug-in is installed locally; when the multimedia playing plug-in is not installed locally, loading a first transcoding file from a specified storage space, wherein the first transcoding file is a transcoding file written by a Web language which can be identified by the Web interface;
the calling module is used for calling the transcoding device in the first transcoding file;
the conversion module is used for converting the first media stream into a second media stream in a second coding format through the transcoding device, wherein the second coding format is a coding format which can be identified by a terminal;
the playing module is used for playing the second media stream;
the compiling module is used for compiling the transcoding device through the Web language to obtain a first transcoding file before the loading module loads the first transcoding file from the specified storage space for the first time;
and the storage module is used for storing the first transcoding file in the specified storage space.
7. The apparatus of claim 6,
the compiling module is further used for compiling the transcoding device through a programming language to obtain a second transcoding file, and the second transcoding file is used for transcoding the media stream in the first coding format into the media stream in the second coding format; and translating the second transcoding file into the first transcoding file of the Web language by a specified translation tool.
8. The apparatus of claim 6,
the conversion module is further configured to decode, by the transcoding device, the first media stream into a binary third media stream; encoding the third media stream into a second media stream of the second encoding format.
9. The apparatus of claim 6, further comprising:
the acquisition module is used for acquiring barrage data of the first media stream;
the conversion module is further configured to convert the barrage data into a barrage data stream in the second encoding format through the transcoding device;
and the inserting module is used for inserting the bullet screen data stream into the second media stream.
10. The apparatus of claim 6,
the receiving module is further configured to acquire a file identifier of a multimedia file to be played, which is displayed in the Web interface of the Web page, when it is detected that the play button is triggered; sending a playing instruction to a server, wherein the playing instruction is used for indicating the server to return a first media stream of the multimedia file; receiving the first media stream of the server.
11. A multimedia file playback apparatus comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the method of playing back a multimedia file as claimed in any one of claims 1 to 5.
12. A storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the method of playing a multimedia file according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711240128.5A CN107995519B (en) | 2017-11-30 | 2017-11-30 | Method, device and storage medium for playing multimedia file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711240128.5A CN107995519B (en) | 2017-11-30 | 2017-11-30 | Method, device and storage medium for playing multimedia file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107995519A CN107995519A (en) | 2018-05-04 |
CN107995519B true CN107995519B (en) | 2020-11-03 |
Family
ID=62034679
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711240128.5A Active CN107995519B (en) | 2017-11-30 | 2017-11-30 | Method, device and storage medium for playing multimedia file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107995519B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110858829B (en) * | 2018-08-22 | 2023-02-07 | 杭州海康威视数字技术股份有限公司 | Video processing method, device and system, analysis server and transcoding server |
CN109408668A (en) * | 2018-09-26 | 2019-03-01 | 传线网络科技(上海)有限公司 | The correlating method and device of multimedia content |
CN109359262B (en) * | 2018-10-11 | 2020-09-04 | 广州酷狗计算机科技有限公司 | Animation playing method, device, terminal and storage medium |
CN109670128B (en) * | 2018-11-06 | 2021-06-04 | 躺平设计家(北京)科技有限公司 | WebAssembly-based webpage application implementation method and device |
CN110198479B (en) * | 2019-05-24 | 2021-10-22 | 浪潮软件股份有限公司 | Webassembly-based browser audio and video decoding playing method |
CN111372128A (en) * | 2020-03-11 | 2020-07-03 | 北京旷视科技有限公司 | Video playing method and device, computer equipment and readable storage medium |
CN111327951A (en) * | 2020-03-24 | 2020-06-23 | 苏州科达科技股份有限公司 | Multimedia data playing method, device, system and storage medium |
CN111355976B (en) * | 2020-03-31 | 2022-10-11 | 北京东方国信科技股份有限公司 | Video live broadcast method and system based on HEVC standard |
CN111629214A (en) * | 2020-06-05 | 2020-09-04 | 北京百度网讯科技有限公司 | Transcoding method, device, equipment and medium of video file |
CN111510744B (en) * | 2020-07-01 | 2020-10-16 | 北京美摄网络科技有限公司 | Method and device for processing video and audio, electronic equipment and storage medium |
CN114598920B (en) * | 2022-03-04 | 2023-05-23 | 北京百度网讯科技有限公司 | Video playing control method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103294683A (en) * | 2012-02-24 | 2013-09-11 | 腾讯科技(深圳)有限公司 | Automatic subtitle matching system and method for video file |
CN103338384A (en) * | 2013-05-31 | 2013-10-02 | 优视科技有限公司 | Video play method and video play device |
CN104602119A (en) * | 2014-05-26 | 2015-05-06 | 腾讯科技(北京)有限公司 | Video transcoding and decoding method and device and related information release control method and system |
CN105100824A (en) * | 2015-09-10 | 2015-11-25 | 东方网力科技股份有限公司 | Video processing equipment, system and method |
CN105611379A (en) * | 2016-03-31 | 2016-05-25 | 北京金山安全软件有限公司 | Method and device for playing video by using web browser and electronic equipment |
CN107038232A (en) * | 2017-04-13 | 2017-08-11 | 福建中金在线信息科技有限公司 | The format conversion method and device of a kind of multimedia file |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9565430B1 (en) * | 2011-12-15 | 2017-02-07 | KingdomSite Ministries | Apparatus and method for video encoding and transcoding system |
GB2549943A (en) * | 2016-05-02 | 2017-11-08 | Dingmedia Ltd | Data delivery system and method |
-
2017
- 2017-11-30 CN CN201711240128.5A patent/CN107995519B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103294683A (en) * | 2012-02-24 | 2013-09-11 | 腾讯科技(深圳)有限公司 | Automatic subtitle matching system and method for video file |
CN103338384A (en) * | 2013-05-31 | 2013-10-02 | 优视科技有限公司 | Video play method and video play device |
CN104602119A (en) * | 2014-05-26 | 2015-05-06 | 腾讯科技(北京)有限公司 | Video transcoding and decoding method and device and related information release control method and system |
CN105100824A (en) * | 2015-09-10 | 2015-11-25 | 东方网力科技股份有限公司 | Video processing equipment, system and method |
CN105611379A (en) * | 2016-03-31 | 2016-05-25 | 北京金山安全软件有限公司 | Method and device for playing video by using web browser and electronic equipment |
CN107038232A (en) * | 2017-04-13 | 2017-08-11 | 福建中金在线信息科技有限公司 | The format conversion method and device of a kind of multimedia file |
Non-Patent Citations (1)
Title |
---|
费立国 等.一种实现编程语言相互转换的方法.《科技创新导报》.2014,(第30期),第44-45页. * |
Also Published As
Publication number | Publication date |
---|---|
CN107995519A (en) | 2018-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107995519B (en) | Method, device and storage medium for playing multimedia file | |
CN111178012B (en) | Form rendering method, device, equipment and storage medium | |
CN108549519B (en) | Split screen processing method and device, storage medium and electronic equipment | |
CN109857403B (en) | Page updating method and device, page processing method and device | |
CN104618794B (en) | The method and apparatus for playing video | |
CN111142930B (en) | Installation package file packaging method and device, terminal device and storage medium | |
CN110058850B (en) | Application development method and device and storage medium | |
CN107329985B (en) | Page collection method and device and mobile terminal | |
WO2018196588A1 (en) | Information sharing method, apparatus and system | |
CN108287918B (en) | Music playing method and device based on application page, storage medium and electronic equipment | |
CN105740263B (en) | Page display method and device | |
CN108572908B (en) | Information feedback method and device | |
CN106095456A (en) | User is guided to download the method for application program, device and mobile terminal | |
CN112148579B (en) | User interface testing method and device | |
CN105095161B (en) | Method and device for displaying rich text information | |
CN106210919A (en) | A kind of main broadcaster of broadcasting sings the methods, devices and systems of video | |
EP2869604A1 (en) | Method, apparatus and device for processing a mobile terminal resource | |
CN110489679B (en) | Browser kernel processing method and device and storage medium | |
CN110300047B (en) | Animation playing method and device and storage medium | |
CN113313804A (en) | Image rendering method and device, electronic equipment and storage medium | |
CN108182090B (en) | Flash plug-in loading method and device based on blink kernel | |
CN106330875B (en) | Message display method and device | |
CN106230919B (en) | File uploading method and device | |
CN104615622A (en) | Document opening method and device and mobile terminal | |
CN108920086B (en) | Split screen quitting method and device, storage medium and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |