CN105049904A - Play method and play device of multi-media files - Google Patents

Play method and play device of multi-media files Download PDF

Info

Publication number
CN105049904A
CN105049904A CN201510449528.1A CN201510449528A CN105049904A CN 105049904 A CN105049904 A CN 105049904A CN 201510449528 A CN201510449528 A CN 201510449528A CN 105049904 A CN105049904 A CN 105049904A
Authority
CN
China
Prior art keywords
file
information
multimedia file
player
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.)
Granted
Application number
CN201510449528.1A
Other languages
Chinese (zh)
Other versions
CN105049904B (en
Inventor
孙磊
王宏斌
刘相双
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201510449528.1A priority Critical patent/CN105049904B/en
Publication of CN105049904A publication Critical patent/CN105049904A/en
Application granted granted Critical
Publication of CN105049904B publication Critical patent/CN105049904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4408Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream encryption, e.g. re-encrypting a decrypted video stream for redistribution in a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4621Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen

Abstract

The embodiment of the invention provides a play method and a play device of multi-media files. The play method comprises the following steps: searching a configuration file generated in advance aiming at a plurality of multi-media files in a transport stream (TS) format; reading file total information and file sub-information of each multi-media file from the configuration file; and calling a player to play the multi-media files in the TS format according to the file total information and the file sub-information of each multi-media file. According to the embodiment of the invention, the de-encapsulation efficiency while playing is greatly increased; and the blocking and pausing phenomena in the playing process are avoided.

Description

A kind of playing method and device of multimedia file
Technical field
The present invention relates to multimedia technical field, particularly relate to a kind of player method of multimedia file and a kind of playing device of multimedia file.
Background technology
Along with the fast development of mobile communication technology, mobile communication terminal is also more and more higher in the utilization rate of each side such as work, study, daily interchange of people, can say, mobile communication terminal is that people live an indispensable part.
Video recording is a common function of mobile communication terminal, recording due to program (as literature and art joint performance) waits the process of video recording very long, and the form of memories (SD card) most is at present FAT32, the restriction of Single document maximum storage is 4G, therefore, usually need to be divided into multiple multimedia file to record.
Due to the restriction of system, when multimedia file switches, generally need the operation stopping recording instrument, then restart recording instrument, carry out the recording of new multimedia file.
Current mobile communication terminal, the multimedia file of a lot of recording is all MPEG-4 form, all data in the file of MPEG-4 form are all contained in box, that is the file of MPEG-4 form is made up of several box, each box has type and length, box can be interpreted as a data object block.
Media information and the data of the file of MPEG-4 form are separately deposited, namely all positions of each frame data must be parsed before wanting to obtain data, what this frame information deposited by the file of MPEG-4 form is be placed in this box of stbl, and real data are placed in this box of mdat.
At the end of document recording, need to produce a header information at the file of MPEG-4 form, used in order to player plays file.
Visible, the file structure of MPEG-4 form is complicated, and make the multimedia file of MPEG-4 form when the decapsulation of playing, need to spend long time, time delay is very large, easily causes the phenomenon that card pauses when Continuous Play.
Summary of the invention
In view of the above problems, the embodiment of the present invention is proposed to provide a kind of the overcoming player method of a kind of multimedia file of the problems referred to above and the playing device of corresponding a kind of multimedia file.
In order to solve the problem, the embodiment of the invention discloses a kind of player method of multimedia file, comprising:
Search formerly for the configuration file that the multimedia file of multiple transport stream TS form generates;
The sub-information of the file of file reading total information and each multimedia file from described configuration file;
The multimedia file of transport stream TS form described in player plays is called according to the sub-information of file of file total information and each multimedia file.
Preferably, the title of described multimedia file is configured with temporal information;
The sub-information of described file sorts according to temporal information, comprises the duration information, at least one in routing information that calculate based on described temporal information;
At least one in total duration information that the duration information that described file total information comprises cumulative each multimedia file obtains, video name, video pictures size.
Preferably, the step that the described sub-information of file according to file total information and each multimedia file calls the multimedia file of transport stream TS form described in player plays comprises:
At least part of file total information is sent to player and carries out initialization operation;
When initialization has operated, the routing information of first multimedia file is sent to player, plays from described routing information reading multimedia file to call player.
Preferably, at least part of file total information is sent to the step that player carries out initialization operation and comprises by described playing controller:
Total duration information is sent to player, to generate playing progress bar;
And/or,
Video name is sent to player show;
And/or,
By in video pictures size to player, to adjust the size of player.
Preferably, the step that the described sub-information of file according to file total information and each multimedia file calls the multimedia file of transport stream TS form described in player plays comprises:
When the message that the multimedia file receiving player transmission finishes, the routing information of next multimedia file is sent to player, plays from described routing information reading multimedia file to call player.
Preferably, the step that the described sub-information of file according to file total information and each multimedia file calls the multimedia file of transport stream TS form described in player plays comprises:
Receive the positioning action message that player sends; Described positioning action message comprises some positioning time being arranged in total duration information;
Search the multimedia file belonging to point described positioning time;
Calculate the time offset of the duration information of point described positioning time in affiliated multimedia file;
The routing information of described multimedia file and time offset are sent to player, read multimedia file to call player from described routing information, play from described time offset.
Preferably, the step that the described sub-information of file according to file total information and each multimedia file calls the multimedia file of transport stream TS form described in player plays comprises:
Multimedia file is read by routing information;
By transmission flow demultiplexing device MPEG2TSExtractor, multimedia file is separated, obtains video data stream and audio data stream;
From described video data stream, video data frame is extracted by track of video mVideoTrack;
From described audio data stream, audio data frame is extracted by audio track mAudioTrack;
By Video Decoder mVideoSource, described video data frame is decoded;
By audio decoder mAudioSource, described audio data frame is decoded;
Exported decoded video data frame by video renderer mVideoRenderer;
The audio data frame after mAudioPlayer broadcast decoder is play by audio frequency.
The embodiment of the invention also discloses a kind of playing device of multimedia file, described device comprises playing controller, configuration file resolver and player:
Wherein, described playing controller comprises:
Configuration file searches module, for searching formerly for the configuration file that the multimedia file of multiple transport stream TS form generates;
Transmit control module, for calling the multimedia file of transport stream TS form described in player plays according to the sub-information of file of file total information and each multimedia file;
Described configuration file resolver comprises:
Information reading submodule, for the sub-information of file of file reading total information and each multimedia file from described configuration file.
Preferably, the title of described multimedia file is configured with temporal information;
The sub-information of described file sorts according to temporal information, comprises the duration information, at least one in routing information that calculate based on described temporal information;
At least one in total duration information that the duration information that described file total information comprises cumulative each multimedia file obtains, video name, video pictures size.
Preferably, described transmit control module comprises:
Initialization submodule, carries out initialization operation at least part of file total information is sent to player;
First broadcast source arranges submodule, for when initialization operation completes, the routing information of first multimedia file is sent to player, plays from described routing information reading multimedia file to call player.
Preferably, described initialization submodule comprises:
Progress bar generation unit, for total duration information is sent to player, to generate playing progress bar;
And/or,
Video name display unit, shows for video name is sent to player;
And/or,
Player adjustment unit, for by video pictures size to player, to adjust the size of player 630.
Preferably, described transmit control module comprises:
Second broadcast source arranges submodule, for receive player send multimedia file finish message time, the routing information of next multimedia file is sent to player, plays from described routing information reading multimedia file to call player.
Preferably, described transmit control module comprises:
Positioning action message sink submodule, for receiving the positioning action message play and send; Described positioning action message comprises some positioning time being arranged in total duration information;
File ownership searches submodule, for searching the multimedia file belonging to point described positioning time;
Time offset calculating sub module, for calculating the time offset of the duration information of point described positioning time in affiliated multimedia file;
3rd broadcast source arranges submodule, for the routing information of described multimedia file and time offset are sent to player, read multimedia file, plays from described time offset to call player from described routing information.
Preferably, described player comprises:
Multimedia file reading submodule, for reading multimedia file by routing information;
File separation module, for being separated multimedia file by transmission flow demultiplexing device MPEG2TSExtractor, obtains video data stream and audio data stream;
Video data frame extraction module, for extracting video data frame by track of video mVideoTrack from described video data stream;
Audio data frame read module, for extracting audio data frame by audio track mAudioTrack from described audio data stream;
Video decoding module, for decoding to described video data frame by Video Decoder mVideoSource;
Audio decoder module, for decoding to described audio data frame by audio decoder mAudioSource;
Video Output Modules, for exporting decoded video data frame by video renderer mVideoRenderer;
Audio playing module, for playing the audio data frame after mAudioPlayer broadcast decoder by audio frequency.
The embodiment of the present invention comprises following advantage:
The embodiment of the present invention is by reading the sub-information of file of file total information in configuration file and each multimedia file, call the multimedia file of the multiple transport stream TS form of player plays, because transport stream TS form is simple, decapsulation without the need to complexity operates, substantially increasing the deblocking efficiency when playing, avoiding the Caton phenomenon in playing process.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of the method for recording embodiment 1 of a kind of multimedia file of the present invention;
Fig. 2 is the flow chart of steps of the method for recording embodiment 2 of a kind of multimedia file of the present invention;
Fig. 3 is the flow chart of steps of the player method embodiment 1 of a kind of multimedia file of the present invention;
Fig. 4 is the flow chart of steps of the player method embodiment 2 of a kind of multimedia file of the present invention;
Fig. 5 is the structured flowchart of the record device embodiment of a kind of multimedia file of the present invention
Fig. 6 is the structured flowchart of the playing device embodiment of a kind of multimedia file of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
With reference to Fig. 1, show the flow chart of steps of the method for recording embodiment 1 of a kind of multimedia file of the present invention, specifically can comprise the steps:
Step 101, when receiving the recording request of multimedia file, arranges recording parameter;
It should be noted that, the embodiment of the present invention can be applied to the mobile communication equipment with camera, such as, and mobile phone, panel computer, intelligent wearable device (as intelligent watch) etc.
Certainly, the embodiment of the present invention can also be applied to other-end equipment, and as intelligent television, intelligent camera etc., the embodiment of the present invention is not limited this.
These mobile communication equipments can support the operating system such as WindowsPhone, Android (Android), IOS, Windows mostly, usually can run the application of recorded video, as camera application, realize recording function.
In specific implementation, the recording request of multimedia file can refer to the instruction that the carrying out that the modes such as the control (as video recording control) that user is specified by camera application click send is recorded a video.
Make when receiving recording request, then recording parameter can be set.Wherein, record parameter and can comprise data source (DataSource), coded format, file output form;
Furthermore, file output formatting is transport stream TS form.
Below several concepts that transport stream TS form relates to are introduced:
ES (ElementaryStream): substantially flow, the continuous bit stream of the audio frequency of not segmentation, video or other information.
PES (PacketElementalStream): the basic stream ES section of being divided into, and add the elementary stream that the packing of corresponding header file is formed.
TS (TransportStream): transport stream, will have the single data flow of one or more PES combination (compound) of common time base or independent time reference.
Certainly, above-mentioned recording parameter just exemplarily, when implementing the embodiment of the present invention, can arrange other according to actual conditions and record parameter, such as, record by resolution, video frame rate, file output, etc., the embodiment of the present invention is not limited this.In addition, except above-mentioned recording parameter, those skilled in the art can also adopt other to record parameter according to actual needs, and the embodiment of the present invention is not also limited this.
Step 102, gathers multi-medium data by described data source;
When starting recorded video, original multi-medium data can be gathered by data source, such as, video data, voice data.
Step 103, encodes to described multi-medium data according to described coded format;
Multi-medium data is encoded, refers to by specific compress technique, as H.261, H.263 etc., the file transform of certain video format is become the mode of another kind of video format file.
Step 104, is packaged into the first multimedia file by the multi-medium data after coding according to described transport stream TS form.
One of feature of transport stream TS form requires all can independently decode from arbitrary fragment of video flowing.
Structurally, can comprise the transport stream packets (referred to as TS bag) that a series of regular length is 188Bytes in each transfer stream file, the TS bag expanded can also comprise timestamp.
The load that each TS wraps packet header of being grown by 4Bytes and 184Bytes thereafter forms, and the load of 184Bytes is useful information space, for transmitting encoded video/audio data flow.
In one preferred embodiment of the invention, step 104 can comprise following sub-step:
Sub-step S11, in the filename of described multimedia file setup time information.
The multimedia file of transport stream TS form is stream data, does not have special file header, otherwise the requirement can decoded can not meeting from whenever.
But this also brings another one problem, be exactly the bad calculating of video length that the multimedia file of each segmentation keeps.
Therefore, in embodiments of the present invention, in filename setup time information, calculate to facilitate the video length of the multimedia file of segmentation.
Specifically, namely temporal information is comprised in the formation of the filename of multimedia file.
In actual applications, temporal information can comprise encapsulation initial time (namely starting to encapsulate the time of multimedia file), encapsulation deadline (namely completing the time of encapsulation multimedia file);
When starting to encapsulate multimedia file, in the filename of multimedia file, current time is configured to encapsulate initial time;
When completing encapsulation multimedia file, in the filename of multimedia file, current time is configured to encapsulate the deadline.
Such as, certain multimedia file on January 1st, 2015 01:00 start encapsulation, then now can to this multimedia file configuration file " videoclip1_201501010100.ts " by name, if this multimedia file on January 1st, 2015 01:10 start encapsulation, then can be revised as " videoclip1_201501010100_201501010110.ts " the filename of multimedia file.
Step 105, when described first multimedia file exceedes default file size threshold value, is packaged into the second multimedia file by the multi-medium data after coding according to described transport stream TS form.
In embodiments of the present invention, multimedia file can be divided according to file size threshold value, prescribe a time limit when document size reaches the upper of file size threshold value, the application of real-time informing recorded video, carry out the encapsulation of next multimedia file, until recorded.
Namely a complete video, can record into multiple multimedia file.
The multi-medium data that data source gathers by the embodiment of the present invention after coding, be packaged into the multimedia file of multiple transport stream TS form, because transport stream TS form is simple, without the need to the encapsulation operation of complexity, greatly reduce time delay, substantially increasing the packaging efficiency when recording, avoiding the Caton phenomenon in recording process, effectively alleviating the frame losing problem when switching.In one preferred embodiment of the invention, the method can also comprise the steps:
Step 106, when all multimedia files have encapsulated, generating configuration file;
In embodiments of the present invention, a complete video can record into multiple multimedia file, this complete video can be defined by the operation of user, as, receive recording request in the application of recorded video and terminate the multimedia file that encapsulates between the request of recording and be considered as a complete video.
When all multimedia files (comprising the first multimedia file, the second multimedia file) of a complete video complete encapsulation, generate corresponding configuration file, can be XML (ExtensibleMarkupLanguage, extend markup language) etc. form, for controlling the broadcasting of multiple multimedia file.
Wherein, described configuration file comprises the sub-information of file of file total information and each multimedia file;
The sub-information of described file sorts according to temporal information, comprises the duration information, at least one in routing information that calculate based on described temporal information;
At least one in total duration information that the duration information that described file total information comprises cumulative each multimedia file obtains, video name, video pictures size.
The example of configuration file can be as follows:
Wherein, BaseInfos is file total information, i.e. the video information of whole video.
Name in BaseInfos is video name, i.e. the title of whole video, can be named when recording at operation interface by user;
Duration in BaseInfos is total duration information;
SegmentCount in BaseInfos is the quantity of multimedia file;
Width in BaseInfos is the width of video pictures, High is the height of video pictures, jointly for characterizing video pictures size.
Segment is the sub-information of file, the i.e. video information of multimedia file.
Name in Segment is the filename of multimedia file;
Duration in Segment is the duration information of multimedia file;
FilePath in Segment is the routing information of multimedia file.
With reference to Fig. 2, show the flow chart of steps of the method for recording embodiment 2 of a kind of multimedia file of the present invention, the method embodiment can be applied in android system, android system is a kind of based on the freedom of Linux and the operating system of open source code, roughly can be divided into four layers, be application layer (Applications), application framework layer (ApplicationFramework), system cloud gray model storehouse layer (Libraries) and Linux kernel central layer (LinuxKernel) respectively from high level to low layer.
The method embodiment specifically can comprise the steps:
Step 201, creates multi-media recording object MediaRecorder;
Android system be linux system on add Java Virtual Machine Dalvik, and on Dalvik virtual machine, built the ApplicationFramework of a JAVA, application program runs on the ApplicationFramework based on JAVA, therefore, roughly ApplicationFramework can be divided into Java layer and Native layer.
In embodiments of the present invention, the application of recorded video at the MediaRecorder object of an establishment Java layer, can realize recording and video recording.
Step 202, by described multi-media recording object MediaRecorder Object Creation multi-media recording Service Instance StageFrightRecorder;
MediaRecorder creates recording Service Instance---StageFrightRecorder to liking by the recording service module MPS of application framework layer, controls the recording of multimedia file.
Wherein, StagefrightRecorder is the entity object for recording operation that MPS creates.
By the interprocess communication of AIDL Interface realization between the application of recorded video and MPS, in order to camera application and development is convenient, android system provides packaged help class.
Application as recorded video realizes exchanging with MPS with MediaRecorderClient by MediaRecorder object.
MediaRecorder to as if operate in recorded video the process space of application inside, represent MPS, MediaRecorderClient operates in the application representing recorded video inside the multimedia server process space.
Step 203, arranges recording parameter by described multi-media recording object MediaRecorder;
Record parameter and can comprise data source, coded format, file output form, this file output format is set to transport stream TS form;
In the embodiment of the present invention, in order to realize the recording of the multimedia file of transport stream TS form, expand at the Java layer of operating system.
Specifically, in the Java layer of operating system, what multi-media recording object MediaRecorder had a transport stream TS form arranges interface, and multi-media recording object MediaRecorder can to arrange interface by transport stream TS formatting be output format by this.
Step 204, by preset camera source class CameraSource from camera collection video data;
In embodiments of the present invention, data source comprises camera, and multi-medium data comprises video data, then can by CameraSource from camera collection video data, as yuv data.
Step 205, gathers voice data by preset audio-source class AudioSource from microphone.
In embodiments of the present invention, data source comprises microphone, and multi-medium data comprises voice data, then can gather voice data by AudioSource from microphone, as PCM data.
Step 206, creates encoder OMXCodec by described multi-media recording Service Instance StageFrightRecorder;
Step 207, is encoded to described multi-medium data according to described coded format by described encoder OMXCodec;
The Multimedia Data Transmission process recorded is message-driven, and the message of data source generation multi-medium data is injected into the message queue of OMXCodec.
OMXCodec detects that this message can call the read function of MediaSource to obtain video data, voice data, and encode according to the coded format of setting, compressed video data, voice data are the data of various coded format.
Step 208, arranges synthesizer MediaWriter by described multi-media recording Service Instance StageFrightRecorder by the preset transport stream object MPEG2TSWriter that writes;
Step 209, is encapsulated as the multimedia file of described transport stream TS form by described multi-medium data by described synthesizer MediaWriter.
In the embodiment of the present invention, in order to realize the recording of the multimedia file of transport stream TS form, expand at the Native layer of operating system.
StagefringRecorder can judge the file output form arranged, if transport stream TS form, then create MPEG2TSWriter object as MediaWriter, the video data compressed, voice data are written in multimedia file according to transport stream TS form.
In addition, in order to meet the storage of the multimedia file of transport stream TS form, the function of the embodiment of the present invention to MPEG2TSWriter is expanded, achieve document size measuring ability, thus can notify that key-course does file handover operation when writing data and reaching the file size threshold value of setting.
In Android original design, the object output of transport stream TS is Network Interface Unit, and the embodiment of the present invention increases MPEG2TSWriter object in StageFrightRecorder framework, provide the write support of the transport stream TS of local file system, achieve the generation of the multimedia file of transport stream TS form.
With reference to Fig. 3, show the flow chart of steps of the player method embodiment 1 of a kind of multimedia file of the present invention, specifically can comprise the steps:
Step 301, searches formerly for the configuration file that the multimedia file of multiple transport stream TS form generates;
In embodiments of the present invention, the same complete video of the plurality of multimedia file ownership, formerly for the plurality of multimedia file generating configuration file.
In specific implementation, multiple multimedia file is a complete video in interface display, when user waits operation to trigger the broadcasting of the plurality of multimedia file by clicking, can be searched formerly for the configuration file that the multimedia file of multiple transport stream TS form generates according to the information (as title) of this complete video by playing controller VideoController.
Be generally the forms such as XML due to configuration file, therefore, playing controller VideoController can give configuration file resolver VideoListParser and resolve after reading configuration file.
Step 302, the sub-information of the file of file reading total information and each multimedia file from described configuration file;
Document parser VideoListParser can resolve class (belonging to JavaAPI interface) by the XML inheriting Java and the resolution logic realizing oneself completes.
After document parser VideoListParser receives configuration file, can resolve configuration file, the file total information in acquisition configuration file and the sub-information of file of each multimedia file.
Furthermore, document parser VideoListParser first can resolve root node, obtains the file total information of this complete video, and then each byte point of one parsing, obtain the sub-information of file, and the sub-information of file after resolving is put into preservation in a set.
In specific implementation, the title of multimedia file can be configured with temporal information;
The sub-information of file sorts according to temporal information, comprises the duration information, at least one in routing information that calculate based on temporal information;
At least one in total duration information that the duration information that file total information comprises cumulative each multimedia file obtains, video name, video pictures size.
After resolving, the data structure of the sub-information of file of file total information and each multimedia file is with configuration file similar, returns playing controller VideoController by document parser VideoListParser.
Step 303, calls the multimedia file of transport stream TS form described in player plays according to the sub-information of file of file total information and each multimedia file.
In specific implementation, playing controller VideoController calls player MyVideoView, and corresponding file total information and the sub-information of file are sent to player MyVideoView, controls player MyVideoView and plays corresponding multimedia file.
Wherein, player MyVideoView can realize with reference to android system play control VideoView, furthermore, is that multimedia player MediaPlayer and surface window SurfaceView realize.
In one preferred embodiment of the invention, step 303 can comprise following sub-step:
Sub-step S21, is sent to player by least part of file total information and carries out initialization operation;
In embodiments of the present invention, at least part of file total information can be delivered to player MyVideoView by playing controller VideoController, and player MyVideoView can carry out initialization operation according to this file total information.
As, total duration information is sent to player MyVideoView by playing controller VideoController, generate corresponding playing progress bar with player MyVideoView at its UI (UserInterface, user interface), point out the playing progress rate of whole video file;
And/or,
And for example, video name is sent to player MyVideoView by playing controller VideoController, and player MyVideoView can show at its UI;
And/or,
Playing controller VideoController by video pictures size to player MyVideoView, to adjust the size of player, i.e. the length of initialization initialization surface window SurfaceView and width.
Sub-step S22, when initialization has operated, is sent to player by the routing information of first multimedia file, plays from described routing information reading multimedia file to call player.
After operation to be initiated completes, it is first multimedia file that playing controller VideoController can arrange broadcast source.
Specifically, the routing information of first multimedia file is sent to player MyVideoView by the setDatasource method that playing controller VideoController can call MediaPlayer.
To the Surface passing to MediaPlayer binding after video decode, i.e. initialized SurfaceView (Surface is corresponding one piece of screen buffer, each window corresponding Surface, a SurfaceView are drawn on Surface), play and start.
In another preferred embodiment of the invention, step 303 can comprise following sub-step:
Sub-step S31, when receive multimedia file that player sends finish event time, the routing information of next multimedia file is sent to player, reads multimedia file from described routing information play to call player.
If current multimedia file finishes, then player MyVideoView can send and finish event oncomplete notice playing controller VideoController, playing controller VideoController is according to sequence, the next multimedia file of current multimedia file will be positioned at, broadcast source is set, carries out played in order.
In another preferred embodiment of the invention, step 303 can comprise following sub-step:
Sub-step S41, receives the positioning action message that player sends; Described positioning action message comprises some positioning time being arranged in total duration information;
Sub-step S42, searches the multimedia file belonging to point described positioning time;
Sub-step S43, calculates the time offset of the duration information of point described positioning time in affiliated multimedia file;
Sub-step S44, is sent to player by the routing information of described multimedia file and time offset, reads multimedia file, plays from described time offset to call player from described routing information.
In embodiments of the present invention, broadcast point by dragging the playing progress bar in the UI of player MyVideoView, can drag to and putting delta by user positioning time, and triggered location seek operates.
Player MyVideoView, when location seek operation being detected, sends message informing playing controller VideoController.
The positioning time that playing controller VideoController operates according to location seek puts delta and each total duration information, namely confirm that putting delta positioning time is the time period belonging to which multimedia file, responds corresponding position by this multimedia file.
Such as, when recording, recorded three multimedia files, the duration information of the first two multimedia file is 10 minutes, and the duration information of the 3rd multimedia file is 5 minutes, and namely total duration information is 25 minutes.
If it is the 21st minute that user locates some positioning time that seek operates, within the 21st minute, belonging to the 3rd multimedia file, is the 1st minute in the time offset of the 3rd multimedia file.
The embodiment of the present invention is by reading the sub-information of file of file total information in configuration file and each multimedia file, call the multimedia file of the multiple transport stream TS form of player plays, because transport stream TS form is simple, decapsulation without the need to complexity operates, substantially increasing the deblocking efficiency when playing, avoiding the Caton phenomenon in playing process.
With reference to Fig. 4, show the flow chart of steps of the player method embodiment 2 of a kind of multimedia file of the present invention, specifically can comprise the steps:
Step 401, reads multimedia file by routing information;
If being provided with certain multimedia file by setDataSource method is broadcast source DataSource, then can the queue of opening timing device, and send (post) AsyncPrepare event, multimedia file itself can be read according to the routing information of this multimedia file.
Step 402, is separated multimedia file by transmission flow demultiplexing device MPEG2TSExtractor, obtains video data stream and audio data stream;
Create demodulation multiplexer MediaExtractor according to DataSource, carry out A/V (Audio/Video, video data stream/audio data stream) and be separated.
Furthermore, sp<MediaExtractor>extractor=M ediaExtractor::Create (dataSource) can be passed through; Realize the establishment of MediaExtractor.
MediaExtractor::Create (dataSource) can create different digital independent objects according to different data contents.
In embodiments of the present invention, in order to carry out A/V separation to the multimedia file of transport stream TS form, can create transmission flow demultiplexing device MPEG2TSExtractor is MediaExtractor.
Step 403, extracts video data frame by track of video mVideoTrack from described video data stream;
Step 404, extracts audio data frame by audio track mAudioTrack from described audio data stream;
When AsyncPrepare event is triggered, finishSetDataSource_l can be called and create VideoTrack and AudioTrack.
FinishSetDataSource_l judges medium type, such as http, rtsp by URI prefix, or local file etc.URI can pass through
MVideoTrack and mAudioTrack represents a track of video and audio track respectively, for extracting frame of video and audio frame.
MVideoTrack and mAudioTrack, when onPrepareAsyncEvent event is triggered, is separated by MediaExtractor.
Step 405, is decoded to described video data frame by Video Decoder mVideoSource;
Step 406, is decoded to described audio data frame by audio decoder mAudioSource;
Step 407, is exported decoded video data frame by video renderer mVideoRenderer;
Step 408, plays the audio data frame after mAudioPlayer broadcast decoder by audio frequency.
MVideoTrack and mAudioTrack can generate these two audio/video decoders of mVideoSource and mAudioSource by calling initVideoDecoder () and initAudioDecoder ().
MVideoSource can think the encapsulation of a Video Decoder, and play up for mVideoRenderer for generation of video image, the data source of mVideoSource is then provided by mVideoTrack.
MVideoSource carries out format conversion to the video of having decoded, and the form that Android uses is RGB565, and issues display module and carry out Image Rendering.
Read the data of a frame frame by the read method of mVideoSource after mVideoSource decoding, be put in mVideoBuffer, render (mVideoBuffer) method finally by mVideoRenderer is sent to display module video data and shows.
MAudioSource also can think the encapsulation of an audio decoder, and play for mAudioPlayer for generation of video image, the data source of mAudioPlayer is provided by mAudioTrack.
It should be noted that, for embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
With reference to Fig. 5, show the structured flowchart of the record device embodiment of a kind of multimedia file of the present invention, specifically can comprise as lower module:
Record parameter setting module 501, during for receiving the recording request of multimedia file, arrange recording parameter, wherein, described recording parameter comprises data source, coded format, file output form, and described file output formatting is transport stream TS form;
Multi-medium data acquisition module 502, for gathering multi-medium data by described data source;
Multi-medium data coding module 503, for encoding to described multi-medium data according to described coded format;
First multi-medium data package module 504, for being packaged into the first multimedia file by the multi-medium data after coding according to described transport stream TS form;
Second multi-medium data package module 505, for when judging that described first multimedia file exceedes default file size threshold value, is packaged into the second multimedia file by the multi-medium data after coding according to described transport stream TS form.
In one preferred embodiment of the invention, described multi-medium data package module 504 can comprise following submodule:
Temporal information configuration submodule, in the filename of described multimedia file setup time information.
In a kind of preferred exemplary of the embodiment of the present invention, described temporal information can comprise encapsulation initial time, encapsulation deadline;
Described temporal information configuration submodule can comprise as lower unit:
Encapsulation initial time dispensing unit, for when starting to encapsulate multimedia file, in the filename of described multimedia file, is configured to current time encapsulate initial time;
Encapsulation deadline dispensing unit, for when completing encapsulation multimedia file, in the filename of described multimedia file, is configured to current time encapsulate the deadline.
In one preferred embodiment of the invention, this device can also comprise as lower module:
Configuration file generation module, for when all multimedia files have encapsulated, generating configuration file;
Wherein, described configuration file comprises the sub-information of file of file total information and each multimedia file;
The sub-information of described file sorts according to temporal information, comprises the duration information, at least one in routing information that calculate based on described temporal information;
At least one in total duration information that the duration information that described file total information comprises cumulative each multimedia file obtains, video name, video pictures size.
In one preferred embodiment of the invention, this device can also comprise as lower module:
Record Object Creation module, for creating multi-media recording object MediaRecorder;
Record Service Instance creation module, for by described multi-media recording object MediaRecorder Object Creation multi-media recording Service Instance StageFrightRecorder.
In one preferred embodiment of the invention, described recording parameter setting module 501 can comprise following submodule:
Object arranges submodule, for arranging recording parameter by described multi-media recording object MediaRecorder;
Wherein, in the Java layer of operating system, what described multi-media recording object MediaRecorder had a transport stream TS form arranges interface.
In one preferred embodiment of the invention, described data source can comprise camera and/or microphone, and described multi-medium data can comprise video data and/or voice data;
Described multi-medium data acquisition module 502 can comprise following submodule:
Video data acquiring submodule, for by preset camera source class CameraSource from camera collection video data;
And/or,
Audio data collecting submodule, for gathering voice data by preset audio-source class AudioSource from microphone.
In one preferred embodiment of the invention, described multi-medium data coding module 503 can comprise following submodule:
Encoder creates submodule, for creating encoder OMXCodec by described multi-media recording Service Instance StageFrightRecorder;
Encoder encodes submodule, for being encoded to described multi-medium data according to described coded format by described encoder OMXCodec.
In one preferred embodiment of the invention, described multi-medium data package module 504 can comprise following submodule:
Synthesizer arranges submodule, for the preset transport stream object MPEG2TSWriter that writes being arranged synthesizer MediaWriter by described multi-media recording Service Instance StageFrightRecorder;
Synthesizer encapsulation submodule, for being encapsulated as the first multimedia file of described transport stream TS form by described multi-medium data by described synthesizer MediaWriter.
With reference to Fig. 6, show the structured flowchart of the playing device embodiment of a kind of multimedia file of the present invention, this device can comprise playing controller 610, configuration file resolver 620 and player 630;
Wherein, described playing controller 610 can comprise as lower module:
Configuration file searches module 611, for searching formerly for the configuration file that the multimedia file of multiple transport stream TS form generates;
Transmit control module 612, broadcasts for calling player according to the sub-information of file of file total information and each multimedia file the multimedia file that 630 put described transport stream TS form;
Described configuration file resolver 620 can comprise as lower module:
Information reading submodule 621, for the sub-information of file of file reading total information and each multimedia file from described configuration file.
In specific implementation, the title of described multimedia file is configured with temporal information;
The sub-information of described file sorts according to temporal information, comprises the duration information, at least one in routing information that calculate based on described temporal information;
At least one in total duration information that the duration information that described file total information comprises cumulative each multimedia file obtains, video name, video pictures size.
In one preferred embodiment of the invention, described transmit control module 612 can comprise following submodule:
Initialization submodule, carries out initialization operation at least part of file total information is sent to player 630;
First broadcast source arranges submodule, for when initialization operation completes, the routing information of first multimedia file is sent to player 630, plays from described routing information reading multimedia file to call player 630.
In a kind of example of the embodiment of the present invention, described initialization submodule can comprise as lower unit:
Progress bar generation unit, for total duration information is sent to player 630, to generate playing progress bar;
And/or,
Video name display unit, shows for video name being sent to player 630;
And/or,
Player adjustment unit, for by video pictures size to player 630, to adjust the size of player 630.
In another preferred embodiment of the invention, described transmit control module 612 can comprise following submodule:
Second broadcast source arranges submodule, for receive player 630 send multimedia file finish message time, the routing information of next multimedia file is sent to player 630, plays from described routing information reading multimedia file to call player 630.
In another preferred embodiment of the invention, described transmit control module 612 can comprise following submodule:
Positioning action message sink submodule, for receiving the positioning action message that player 630 sends; Described positioning action message comprises some positioning time being arranged in total duration information;
File ownership searches submodule, for searching the multimedia file belonging to point described positioning time;
Time offset calculating sub module, for calculating the time offset of the duration information of point described positioning time in affiliated multimedia file;
3rd broadcast source arranges submodule, for the routing information of described multimedia file and time offset are sent to player 630, read multimedia file, plays from described time offset to call player 630 from described routing information.
In one preferred embodiment of the invention, described player 630 can comprise as lower module:
Multimedia file reading submodule, for reading multimedia file by routing information;
File separation module, for being separated multimedia file by transmission flow demultiplexing device MPEG2TSExtractor, obtains video data stream and audio data stream;
Video data frame extraction module, for extracting video data frame by track of video mVideoTrack from described video data stream;
Audio data frame read module, for extracting audio data frame by audio track mAudioTrack from described audio data stream;
Video decoding module, for decoding to described video data frame by Video Decoder mVideoSource;
Audio decoder module, for decoding to described audio data frame by audio decoder mAudioSource;
Video Output Modules, for exporting decoded video data frame by video renderer mVideoRenderer;
Audio playing module, for playing the audio data frame after mAudioPlayer broadcast decoder by audio frequency.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Those skilled in the art should understand, the embodiment of the embodiment of the present invention can be provided as method, device or computer program.Therefore, the embodiment of the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the embodiment of the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The embodiment of the present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, terminal equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminal equipment to produce a machine, making the instruction performed by the processor of computer or other programmable data processing terminal equipment produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing terminal equipment, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminal equipment, make to perform sequence of operations step to produce computer implemented process on computer or other programmable terminal equipment, thus the instruction performed on computer or other programmable terminal equipment is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although described the preferred embodiment of the embodiment of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of embodiment of the present invention scope.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or terminal equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or terminal equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the terminal equipment comprising described key element and also there is other identical element.
Above to the player method of a kind of multimedia file provided by the present invention and a kind of playing device of multimedia file, be described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a player method for multimedia file, is characterized in that, comprising:
Search formerly for the configuration file that the multimedia file of multiple transport stream TS form generates;
The sub-information of the file of file reading total information and each multimedia file from described configuration file;
The multimedia file of transport stream TS form described in player plays is called according to the sub-information of file of file total information and each multimedia file.
2. method according to claim 1, is characterized in that,
The title of described multimedia file is configured with temporal information;
The sub-information of described file sorts according to temporal information, comprises the duration information, at least one in routing information that calculate based on described temporal information;
At least one in total duration information that the duration information that described file total information comprises cumulative each multimedia file obtains, video name, video pictures size.
3. method according to claim 1 and 2, is characterized in that, the step that the described sub-information of file according to file total information and each multimedia file calls the multimedia file of transport stream TS form described in player plays comprises:
At least part of file total information is sent to player and carries out initialization operation;
When initialization has operated, the routing information of first multimedia file is sent to player, plays from described routing information reading multimedia file to call player.
4. method according to claim 3, is characterized in that, at least part of file total information is sent to the step that player carries out initialization operation and comprises by described playing controller:
Total duration information is sent to player, to generate playing progress bar;
And/or,
Video name is sent to player show;
And/or,
By in video pictures size to player, to adjust the size of player.
5. method according to claim 2, is characterized in that, the step that the described sub-information of file according to file total information and each multimedia file calls the multimedia file of transport stream TS form described in player plays comprises:
When the message that the multimedia file receiving player transmission finishes, the routing information of next multimedia file is sent to player, plays from described routing information reading multimedia file to call player.
6. method according to claim 2, is characterized in that, the step that the described sub-information of file according to file total information and each multimedia file calls the multimedia file of transport stream TS form described in player plays comprises:
Receive the positioning action message that player sends; Described positioning action message comprises some positioning time being arranged in total duration information;
Search the multimedia file belonging to point described positioning time;
Calculate the time offset of the duration information of point described positioning time in affiliated multimedia file;
The routing information of described multimedia file and time offset are sent to player, read multimedia file to call player from described routing information, play from described time offset.
7. the method according to claim 1 or 2 or 4 or 5 or 6, is characterized in that, the step that the described sub-information of file according to file total information and each multimedia file calls the multimedia file of transport stream TS form described in player plays comprises:
Multimedia file is read by routing information;
By transmission flow demultiplexing device MPEG2TSExtractor, multimedia file is separated, obtains video data stream and audio data stream;
From described video data stream, video data frame is extracted by track of video mVideoTrack;
From described audio data stream, audio data frame is extracted by audio track mAudioTrack;
By Video Decoder mVideoSource, described video data frame is decoded;
By audio decoder mAudioSource, described audio data frame is decoded;
Exported decoded video data frame by video renderer mVideoRenderer;
The audio data frame after mAudioPlayer broadcast decoder is play by audio frequency.
8. a playing device for multimedia file, is characterized in that, described device comprises playing controller, configuration file resolver and player:
Wherein, described playing controller comprises:
Configuration file searches module, for searching formerly for the configuration file that the multimedia file of multiple transport stream TS form generates;
Transmit control module, for calling the multimedia file of transport stream TS form described in player plays according to the sub-information of file of file total information and each multimedia file;
Described configuration file resolver comprises:
Information reading submodule, for the sub-information of file of file reading total information and each multimedia file from described configuration file.
9. device according to claim 8, is characterized in that,
The title of described multimedia file is configured with temporal information;
The sub-information of described file sorts according to temporal information, comprises the duration information, at least one in routing information that calculate based on described temporal information;
At least one in total duration information that the duration information that described file total information comprises cumulative each multimedia file obtains, video name, video pictures size.
10. device according to claim 8, is characterized in that, described transmit control module comprises:
Initialization submodule, carries out initialization operation at least part of file total information is sent to player;
First broadcast source arranges submodule, for when initialization operation completes, the routing information of first multimedia file is sent to player, plays from described routing information reading multimedia file to call player.
CN201510449528.1A 2015-07-27 2015-07-27 A kind of playing method and device of multimedia file Active CN105049904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510449528.1A CN105049904B (en) 2015-07-27 2015-07-27 A kind of playing method and device of multimedia file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510449528.1A CN105049904B (en) 2015-07-27 2015-07-27 A kind of playing method and device of multimedia file

Publications (2)

Publication Number Publication Date
CN105049904A true CN105049904A (en) 2015-11-11
CN105049904B CN105049904B (en) 2019-05-31

Family

ID=54456029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510449528.1A Active CN105049904B (en) 2015-07-27 2015-07-27 A kind of playing method and device of multimedia file

Country Status (1)

Country Link
CN (1) CN105049904B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108429931A (en) * 2017-02-14 2018-08-21 优酷网络技术(北京)有限公司 A kind of method for broadcasting multimedia file and device
CN109587517A (en) * 2018-12-07 2019-04-05 咪咕视讯科技有限公司 A kind of playback method and device, server and storage medium of multimedia file
CN110798731A (en) * 2019-11-15 2020-02-14 北京字节跳动网络技术有限公司 Video data processing method and device, electronic equipment and computer readable medium
CN112383723A (en) * 2020-11-12 2021-02-19 云南腾云信息产业有限公司 Video switching method and device and computer equipment
WO2022142156A1 (en) * 2020-12-30 2022-07-07 稿定(厦门)科技有限公司 Video file stream extraction method and apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7116894B1 (en) * 2002-05-24 2006-10-03 Digeo, Inc. System and method for digital multimedia stream conversion
CN101202900A (en) * 2007-03-12 2008-06-18 深圳市同洲电子股份有限公司 Method for switching living broadcast and playback of digital television and video server
US20080250101A1 (en) * 2007-04-05 2008-10-09 Matsushita Electric Industrial Co., Ltd. Multimedia data transmitting apparatus and multimedia data receiving apparatus
CN101951387A (en) * 2010-09-30 2011-01-19 海信集团有限公司 Method and device for transmitting stream media
CN102413358A (en) * 2011-08-12 2012-04-11 青岛海信传媒网络技术有限公司 Storage and playing method, device and system of streaming media file
CN104410930A (en) * 2014-11-07 2015-03-11 青岛海信宽带多媒体技术有限公司 A method and device for controlling playing speed of transport stream TS media file
CN104702978A (en) * 2015-03-18 2015-06-10 青岛海信宽带多媒体技术有限公司 Video data locating method and network playing equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7116894B1 (en) * 2002-05-24 2006-10-03 Digeo, Inc. System and method for digital multimedia stream conversion
CN101202900A (en) * 2007-03-12 2008-06-18 深圳市同洲电子股份有限公司 Method for switching living broadcast and playback of digital television and video server
US20080250101A1 (en) * 2007-04-05 2008-10-09 Matsushita Electric Industrial Co., Ltd. Multimedia data transmitting apparatus and multimedia data receiving apparatus
CN101951387A (en) * 2010-09-30 2011-01-19 海信集团有限公司 Method and device for transmitting stream media
CN102413358A (en) * 2011-08-12 2012-04-11 青岛海信传媒网络技术有限公司 Storage and playing method, device and system of streaming media file
CN104410930A (en) * 2014-11-07 2015-03-11 青岛海信宽带多媒体技术有限公司 A method and device for controlling playing speed of transport stream TS media file
CN104702978A (en) * 2015-03-18 2015-06-10 青岛海信宽带多媒体技术有限公司 Video data locating method and network playing equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
温伟: "Android多媒体框架下Stagefright的功能扩展", 《太赫兹科学与电子信息学报》 *
高鹏: "MPEG-2传输流解复用器的设计与实现", 《计算机工程与应用》 *
鲁业频: "《数字电视原理与应用》", 28 February 2013 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108429931A (en) * 2017-02-14 2018-08-21 优酷网络技术(北京)有限公司 A kind of method for broadcasting multimedia file and device
CN109587517A (en) * 2018-12-07 2019-04-05 咪咕视讯科技有限公司 A kind of playback method and device, server and storage medium of multimedia file
CN110798731A (en) * 2019-11-15 2020-02-14 北京字节跳动网络技术有限公司 Video data processing method and device, electronic equipment and computer readable medium
CN112383723A (en) * 2020-11-12 2021-02-19 云南腾云信息产业有限公司 Video switching method and device and computer equipment
WO2022142156A1 (en) * 2020-12-30 2022-07-07 稿定(厦门)科技有限公司 Video file stream extraction method and apparatus

Also Published As

Publication number Publication date
CN105049904B (en) 2019-05-31

Similar Documents

Publication Publication Date Title
CN105049920A (en) Method and device for recording multimedia files
RU2689140C1 (en) Method, device and computer program for encapsulating segmented synchronized multimedia data
TWI679885B (en) Method and apparatus for generating media data
JP6643430B2 (en) Playback apparatus, playback method, and program
TWI692974B (en) Storage of virtual reality video in media files
CN105049904A (en) Play method and play device of multi-media files
CN103069799B (en) Signaling is used for the data of multiplex video component
TW201838419A (en) Signalling of video content including sub-picture bitstreams for video coding
CN105744382B (en) Method and apparatus for emitting encoded video data
CN105744295B (en) The sequence data collection for being used for crossfire transmitting video data is provided
TWI489843B (en) Arranging sub-track fragments for streaming video data
CN102986218B (en) Video for stream video data switches
TWI699115B (en) Improved restricted scheme design for video
TWI659319B (en) Method and device for sample grouping signaling in file formats
KR20200051718A (en) Method, device, and computer program for generating timed media data
US20200388304A1 (en) Synchronously playing method and device of media file, and storage medium
CN110545491B (en) Network playing method, device and storage medium of media file
US8688737B2 (en) Method and apparatus for generating and reproducing media object-based metadata
WO2020093931A1 (en) Subtitle data processing method, apparatus and device, and computer storage medium
CN102723104A (en) Multimedia recorded broadcast system based on moving picture experts group 4 (MP4) file packaging format
CN110999309A (en) Generation device, reproduction device, generation method, reproduction method, control program, and recording medium
TW201909647A (en) Enhanced area orientation encapsulation and visual independent high-efficiency video writing media data file
TW202234896A (en) Method and apparatus for generating media data
TW201841512A (en) Signaling important video information in network video streaming using mime type parameters

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant