CN104333801B - A kind of MP4 media file transmission methods, playback method, apparatus and system - Google Patents

A kind of MP4 media file transmission methods, playback method, apparatus and system Download PDF

Info

Publication number
CN104333801B
CN104333801B CN201410710246.8A CN201410710246A CN104333801B CN 104333801 B CN104333801 B CN 104333801B CN 201410710246 A CN201410710246 A CN 201410710246A CN 104333801 B CN104333801 B CN 104333801B
Authority
CN
China
Prior art keywords
file information
media file
load request
media
target
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
Application number
CN201410710246.8A
Other languages
Chinese (zh)
Other versions
CN104333801A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201410710246.8A priority Critical patent/CN104333801B/en
Publication of CN104333801A publication Critical patent/CN104333801A/en
Application granted granted Critical
Publication of CN104333801B publication Critical patent/CN104333801B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • H04N21/2353Processing of additional data, e.g. scrambling of additional data or processing content descriptors specifically adapted to content descriptors, e.g. coding, compressing or processing of metadata
    • 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

Abstract

The embodiment of the invention discloses a kind of MP4 media file transmission methods, playback method, apparatus and system, the transmission method includes:Receive the load request for target MP4 media files that video playing terminal is sent;According to the load request, corresponding with load request the first media file information and the second media file information are determined;First media file information, is by being obtained to the target MP4 media files header file Information Compression, the second media file information is the audio, video data information of target MP4 media files;First media file information and second media file information are sent to video playing terminal.Embodiment provided by the invention is since correct fileinfo is compressed in transmission media file information corresponding with load request, substantially reduce the volume of header file information, the time of header file information loading can be reduced when transmission, and then the stand-by period that user watches media file is reduced, improve user experience.

Description

A kind of MP4 media file transmission methods, playback method, apparatus and system
Technical field
The present invention relates to technical field of network multimedia, more particularly to a kind of MP4 media file transmission methods, broadcasting side Method, apparatus and system.
Background technology
Media file format can include:AVI (Audio Video Interleaved, Audio Video Interleaved), rmvb (a kind of Streaming Media media file format of RealNetworks companies exploitation) etc..It is more and more extensive with the application of network, more Some media files are watched online by network come more users, and the media file of AVI format or rmvb forms is because body Product is too big, the overlong time for causing media file to load, and user waits the overlong time that media file is opened, thus needs to make The media file format of media file volume smaller.(Moving Pictures Experts Group, dynamic image are special by MPEG Family's group) it is a kind of coding standard, dynamic image can be compressed so that the volume smaller of dynamic image.MPEG-4 is (referred to as Mp4) it is a kind of sound media file storage format, the media file volume smaller of mp4 forms, is adapted to netcast and mobile media Device plays.
Header file information is used for defining data and the broadcasting in the media file of mp4 forms in the media file of mp4 forms Information, as the duration of the media file of mp4 forms is elongated, header file information can become very big, and user passes through netcast During the media file of mp4 forms, it may appear that the problem of load time is elongated, and video opening speed is slack-off, have impact on the body of user Test.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of MP4 media file transmission methods, playback method, device and is System, can improve video opening speed when user plays video, reduce the stand-by period that user watches media file, improve and use Experience at family.
To reach one of above-mentioned purpose, the embodiment of the invention discloses a kind of MP4 media file transmission methods, applied to net Network side apparatus.Technical solution is as follows:
Receive the load request for target MP4 media files that video playing terminal is sent;
According to the load request, the first media file information and the second media text corresponding with the load request is determined Part information;First media file information, is the institute by being obtained to the target MP4 media files header file Information Compression State the audio, video data information that the second media file information is the target MP4 media files;
First media file information and second media file information are sent to the video playing terminal, with The video playing terminal is set to unzip it first media file information, and according to second media file information The target MP4 media files are played with the first media file information of the decompression.
Further, it is described according to the load request, determine the first media file letter corresponding with the load request Breath and the second media file information, including:
According to the load request, the target MP4 media files are split as header file information and audio, video data is believed Breath;
The header file information is compressed, generates the header file information of compression;
The header file information of the compression is determined as the first media file information, the audio, video data information is determined For the second media file information.
Further, the load request includes the first load request and the second load request, described according to the loading Request, determines corresponding with the load request the first media file information and the second media file information, including:
According to first load request, the first media file information corresponding with first load request is determined;
According to second load request, the second media file information corresponding with second load request is determined.
Further, it is described that first media file information and second media file information are sent to described regard Frequency playback terminal, including:
First media file information corresponding with first load request is sent to the video playing terminal;
Second media file information corresponding with second load request is sent to the video terminal.
In order to achieve the above object two, an embodiment of the present invention provides a kind of MP4 media file playing methods, it is applied to Video playing terminal side apparatus, technical solution are as follows:
The load request for target MP4 media files is sent to network side equipment;
Receive the first media file information and the second media text that network side equipment is fed back, corresponding with the load request Part information;First media file information, is the institute by being obtained to the target MP4 media files header file Information Compression The second media file information is stated as the audio, video data information in the target media file;
First media file information is unziped it, generates header file information;
The target MP4 media files are played according to second media file information and the header file information.
Further, the load request includes:
For asking the first load request of the first media file information, and
For asking the second load request of the first media file information.
In order to achieve the above object three, an embodiment of the present invention provides a kind of MP4 media files transmitting device, it is applied to Network side equipment, technical solution are as follows:
Receiving module, for receiving the load request for target MP4 media files of video playing terminal transmission;
Determining module, for the load request received according to the receiving module, determines corresponding with the load request First media file information and the second media file information;First media file information, is by the target MP4 matchmaker Body file header fileinfo compresses to obtain, and second media file information is the audio and video number of the target MP4 media files It is believed that breath;
Sending module, believes for the first media file information for determining the determining module and second media file Breath is sent to the video playing terminal, so that the video playing terminal decompresses first media file information Contracting, and the target MP4 matchmaker is played according to second media file information and the first media file information of the decompression Body file.
Further, the determining module, including:
Split cells, for according to the load request, by the target MP4 media files be split as header file information and Audio, video data information;
Compression unit, for being compressed to the header file information, generates the header file information of compression;
Determination unit, for the header file information of the compression to be determined as the first media file information, the sound is regarded Frequency data message is determined as the second media file information.
Further, the load request includes the first load request and the second load request, the determining module, bag Include:
First determination unit, for according to first load request, determining corresponding with first load request the One media file information;
Second determination unit, for according to second load request, determining corresponding with second load request the Two media file informations.
Further, the sending module, including:
First transmitting element, for first media file information corresponding with first load request to be sent to The video playing terminal;
Second transmitting element, for second media file information corresponding with second load request to be sent to The video terminal.
In order to achieve the above object four, the embodiment of the present invention provides a kind of MP4 playback of media files device, applied to regarding Frequency playback terminal side apparatus, technical solution are as follows:
Load request sending module, target MP4 media file load requests are directed to for being sent to network side equipment;
Video information receiving module, sends for receiving network side equipment the is fed back and load request sending module Corresponding first media file information of load request and the second media file information;First media file information, is logical Cross and the target MP4 media files header file Information Compression is obtained, second media file information is the target medium Audio, video data information in file;
Decompression module, for being unziped it to first media file information, generates header file information;
Media player module, for the second media file information for being received according to the reception video information module and described The header file information of decompression module decompression generation plays the target MP4 media files.
Further, the load request sending module is specifically used for:
The first load request of the first media file information of request is sent,
With
Send the second load request of the first media file information of request.
In order to achieve the above object five, the embodiment of the present invention provides a kind of MP4 media file-playing systems, technical solution It is as follows:
Including the MP4 media files transmitting device and the MP4 playback of media files devices.
Technical solution provided in an embodiment of the present invention, is receiving the target MP4 media files of video playing terminal transmission After load request, according to load request, the header file information and audio, video data information of definite compression corresponding with load request, And it is sent to video playing terminal.Due to correct fileinfo in transmission media file information corresponding with load request Compressed, substantially reduce the volume of header file information, transmission when can reduce header file information loading when Between, and then the stand-by period that user watches media file is reduced, improve user experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of MP4 media file transmission methods flow chart provided in an embodiment of the present invention;
Fig. 2 is another kind MP4 media file transmission method flow charts provided in an embodiment of the present invention;
Fig. 3 is the side that media file information is determined in a kind of MP4 media file transmission methods provided in an embodiment of the present invention Method flow chart;
Fig. 4 is the side that media file information is sent in a kind of MP4 media file transmission methods provided in an embodiment of the present invention Method flow chart;
Fig. 5 is a kind of MP4 media file playing methods flow chart provided in an embodiment of the present invention;
Fig. 6 is a kind of MP4 media files transmitting device structure diagram provided in an embodiment of the present invention;
Fig. 7 is a kind of MP4 playback of media files apparatus structure schematic diagram provided in an embodiment of the present invention;
Fig. 8 be in MP4 media file-playing systems provided in an embodiment of the present invention terminal side equipment and network side equipment it Between data interaction schematic diagram.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment, belongs to the scope of protection of the invention.
As shown in Figure 1, the embodiment of the present invention provides a kind of media file transmission method, this method is set applied to network side It is standby, comprise the following steps:
S100:Receive the load request for target MP4 media files that video playing terminal is sent;
The executive agent of the method for the present invention can be to provide the server of MP4 format media files, and server passes through network Connected with video playing terminal, receive the load request for target media file that video playing terminal is sent.
S200:According to load request, corresponding with load request the first media file information and the second media file are determined Information;Wherein the first media file information, is the second media by being obtained to target MP4 media file header file Information Compressions Fileinfo is the audio, video data information of target MP4 media files;
The load request that server is sent according to video playing terminal, will target MP4 media text corresponding with load request Part gives video playing client by network transmission.In embodiments of the present invention, server by network transmission to video playing The target MP4 media files of terminal include the first media file information and second media file information two parts, the first media text Part information is the header file information compressed in MP4 media files, and the second media file information regards for the sound of target MP4 media files Frequency data message.
In an embodiment of the embodiment of the present invention, the first media file information and the second media file information In advance media file can be split to obtain, wherein, to splitting obtained header file information after overcompression is handled, Generate the first media file information;The second media file information can be directly generated by splitting obtained audio, video data information.
Specifically, all data in MP4 media files are all stored in some data capsules (box), MP4 media files Coded format all box are defined.The head storage of MP4 media files is that the MP4 media files are carried out The media description data of explanation, the information of agreement and coded format in header file information used in supporting paper use ftypbox Field defines, and the arrangement and the information of corresponding time for describing video frame are defined using moovbox fields;Remainder is deposited What is put is the audio, video data in media file, be may be embodied in one or more box structures.MP4 media files are carried out Splitting only needs to extract the box where header file information, and MP4 media files are split as header file information and audio, video data is believed Cease two parts.
It should be noted that according to the coded format of MP4 media files, audio, video data message part is MP4 media text All audio/video frames in part, the audio/video frames in MP4 media files need not be arranged by reproduction time order hereof, because This, just needs to describe the arrangement of audio/video frames and the information of corresponding time, these information is all placed in MP4 media files In the header file information on MP4 media files head.As the duration of MP4 media files becomes more and more longer, header file information It can become increasing.In embodiments of the present invention, correct fileinfo is compressed, and can reduce the big of header file information It is small, and then the time of transmission head fileinfo can be reduced.
S300:First media file information and the second media file information are transferred to video playing terminal, so that video Playback terminal unzips it the first media file information, and according to the second media file information and the first media of decompression Fileinfo plays target MP4 media files.
Technical solution provided in an embodiment of the present invention, is receiving the target MP4 media files of video playing terminal transmission After load request, according to load request, the header file information and audio, video data information of definite compression corresponding with load request, And it is sent to video playing terminal.Due to correct fileinfo in transmission media file information corresponding with load request Compressed, substantially reduce the volume of header file information, send when can reduce header file information loading when Between, and then the stand-by period that user watches media file is reduced, improve user experience.
Referring to Fig. 2, in the another embodiment of the embodiment of the present invention, step S200 can also be:
S201:According to load request, it is header file information and audio, video data information to split target MP4 media files;
Specifically, in embodiments of the present invention, after the load request of video playing terminal is received, extract target MP4 The ftypbox fields and moovbox fields of media file, header file information and audio and video are split as by target MP4 media files Data message.
S202:Correct fileinfo is compressed, and generates the header file information of compression;
Existing compress mode can be used, such as zip, rar are compressed ftypbox fields and moovbox fields, Ftypbox fields and moovbox fields can also be compressed using other compress modes well known to those skilled in the art. The embodiment of the present invention is not defined the mode of compression.
Header file information through overcompression can reduce volume more than 30% than uncompressed header file information, therefore, The time of transmission can be greatly reduced in transmitting procedure, for video playing terminal, loading medium text can be greatly reduced The time of part.
S203:The header file information of compression is determined into the first media file information, audio, video data information is determined second Media file information.
The load request sent according to video playing terminal, determines that the target MP4 media files of required loading are corresponding The header file information of compression and other audio, video data information in addition to header file information.
In embodiments of the present invention, server end can be after load request be received, the target that is directed to load request MP4 media files split and the process of header file Information Compression, and return to video playing terminal according to load request The header file information of compression and other audio, video data information in addition to header file information.
Referring to Fig. 3, in an embodiment of the embodiment of the present invention, load request include the first load request and Second load request, step S200 are specially:
S301:According to the first load request, the first media file information corresponding with the first load request is determined;
Video playing terminal send first the first load request be used for ask be directed to target MP4 media files the first media Fileinfo, server-side determine the first media file information corresponding with the first load request according to the first load request, due to First media file information be by being obtained to target MP4 media file header file Information Compressions, can be significantly in transmitting procedure Reduce the time of transmission.
S303:According to the second load request, the second media file information corresponding with the second load request is determined.
Video playing terminal can be transmitted the second load request, also may be used after the first media file information is received To send the second load request immediately after the first load request has been sent.
In embodiments of the present invention, video playing terminal sends load request, server end root to server end at twice Media file information corresponding with load request is determined according to the load request received.
Referring to Fig. 4, in an embodiment of the embodiment of the present invention, load request includes the first load request and the Two load requests, step S300 are specially:
S302:The first media file information corresponding with the first load request is sent to video playing terminal;
S304:The second media file information corresponding with the second load request is sent to video playing terminal.
In embodiments of the present invention, video playing terminal sends load request, server end root to server end at twice Media file information corresponding with load request is sent according to the load request received.
It should be noted that step S200 and step S300 specifically can be according to the order of S301, S302, S303, S304 Perform.
Referring to Fig. 5, the embodiment of the present invention provides a kind of MP4 media file playing methods, applied to video playing terminal side Equipment, this method may comprise steps of:
S501:Sent to network side equipment and be directed to target MP4 media file load requests;
In embodiments of the present invention, the executive agent of method is video playing terminal, according to the target MP4 matchmaker of user's program request Body file, is sent to the server for providing MP4 media files by network and is directed to target MP4 media file load requests.
In an embodiment of the embodiment of the present invention, load request includes being used to ask the first media file letter First load request of breath, and for asking the second load request of the first media file information.
S502:Receive the first media file information and the second media that network side equipment is fed back, corresponding with load request Fileinfo;Wherein the first media file information, is by being obtained to target MP4 media file header file Information Compressions second Media file information is the audio, video data information in target media file;
S503:First media file information is unziped it, generates header file information;
Specifically, mode is decompressed to receiving using corresponding with compressing header file information in step S200 in this step To the first media file information unzip it, obtain the header file information in target MP4 media files.
S504:Target MP4 media files are played according to the second media file information and header file information.
Technical solution provided in an embodiment of the present invention, loads to what network side equipment was sent for target MP4 media files After request, the header file information and audio, video data information of compression corresponding with load request are received, the header file of compression is believed After breath unzips it, target MP4 media files are played according to header file information and audio, video data information.Due to reception with Video heads fileinfo is compressed in the corresponding media file information of load request, substantially reduces header file letter The volume of breath, can reduce the time of header file information loading in loading procedure, and then reduces user and watch media file Stand-by period, improves user experience.
Referring to Fig. 6, the embodiment of the present invention provides a kind of MP4 media files transmitting device, applied to network side equipment, the dress Put including:
Receiving module 601, for receiving the load request for target MP4 media files of video playing terminal transmission;
Determining module 602, for the load request received according to receiving module, determines the first matchmaker corresponding with load request Body fileinfo and the second media file information;First media file information, is by believing target MP4 media files header file Breath compression obtains, and the second media file information is the audio, video data information of target MP4 media files;
Sending module 603, sends out for the first media file information for determining determining module and the second media file information Video playing terminal is given, so that video playing terminal unzips it the first media file information, and according to the second media Fileinfo and the first media file information of decompression play target MP4 media files.
Further, above-mentioned determining module, including:
Split cells, for according to load request, target MP4 media files to be split as header file information and audio and video number It is believed that breath;
Compression unit, is compressed for correct fileinfo, generates the header file information of compression;
Determination unit, for the header file information of compression to be determined as the first media file information, audio, video data is believed Breath is determined as the second media file information.
Further, load request includes the first load request and the second load request, above-mentioned determining module, including:
First determination unit, for according to the first load request, determining the first media text corresponding with the first load request Part information;
Second determination unit, for according to the second load request, determining the second media text corresponding with the second load request Part information.
Further, above-mentioned sending module, including:
First transmitting element, for the first media file information corresponding with the first load request to be sent to video playing Terminal;
Second transmitting element, for the second media file information corresponding with the second load request to be sent to video end End.
Technical solution provided in an embodiment of the present invention, receiving module are receiving the target MP4 of video playing terminal transmission After media file load request, determining module is according to load request, the header file information of definite compression corresponding with load request With audio, video data information, and video playing terminal is sent to.The media corresponding with load request sent due to sending module Video heads fileinfo is compressed in fileinfo, the volume of header file information is substantially reduced, in transmission When can reduce header file information loading time, and then reduce user watch media file stand-by period, improve use Experience at family.
Referring to Fig. 7, an embodiment of the present invention provides a kind of MP4 playback of media files device, applied to video playing terminal Side apparatus, the device include:
Load request sending module 701, target MP4 media file load requests are directed to for being sent to network side equipment;
Video information receiving module 702, it is network side equipment feedback and that load request sending module is sent for receiving Corresponding first media file information of load request and the second media file information;The first media file information is stated, is by right Target MP4 media file header file Information Compressions obtain, and the second media file information is the audio and video number in target media file It is believed that breath;
Decompression module 703, for being unziped it to the first media file information, generates header file information;
Playing module 704, for the second media file information and decompression mould received according to video information module is received The header file information of block decompression generation plays the target MP4 media files.
Further, above-mentioned load request sending module adds specifically for sending the first of the first media file information of request Request is carried, and for sending the second load request of the first media file information of request.
Technical solution provided in an embodiment of the present invention, load request sending module are directed to target to what network side equipment was sent After MP4 media file load requests, receive video information module receive compression corresponding with load request header file information and Audio, video data information, after decompression module unzips it the header file information of compression, playing module is believed according to header file Breath and audio, video data information play target MP4 media files.Due to reception video information module reception and load request pair Video heads fileinfo is compressed in the media file information answered, substantially reduces the volume of header file information, The time of header file information loading can be reduced in loading procedure, and then reduces the stand-by period that user watches media file, Improve user experience.
The embodiment of the present invention additionally provides a kind of MP4 media file-playing systems, including:MP4 media file transmitting devices With MP4 playback of media files devices.
Specifically, MP4 media files transmitting device is applied on the server of network side equipment, MP4 playback of media files Device is applied on the terminal device of video playing terminal side apparatus.
It is that terminal side equipment and network side are set in MP4 media file-playing systems provided in an embodiment of the present invention referring to Fig. 8 Data interaction schematic diagram between standby.
As shown in figure 8, the embodiment of the present invention comprises the following steps:
S801:Terminal side equipment sends the load request for target MP4 media files to network side equipment;
S802:Network side equipment determines the first media file information and the second media file letter corresponding with load request Breath;
In this step, the first media file information is the header file information of compression, and the second media information is target MP4 matchmaker Audio, video data information in body file.Specific processing method refers to embodiment of the method part.
S803:Network side equipment returns to the first media file information corresponding with load request and second to terminal side equipment Media file information;
S804:After terminal side equipment receives the first media file information, the first media file information is unziped it;
S805:Terminal side equipment plays target MP4 media files according to the second media file information and header file information.
Technical solution provided in an embodiment of the present invention, due in the first media file information for being transmitted in system Correct fileinfo is compressed, and substantially reduces the volume of header file information, and header file can be reduced when transmission The time of information loading, and then the stand-by period that user watches media file is reduced, improve user experience.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed, or further include as this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Also there are other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for device For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
Can one of ordinary skill in the art will appreciate that realizing that all or part of step in above method embodiment is To instruct relevant hardware to complete by program, the program can be stored in computer read/write memory medium, The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (7)

  1. A kind of 1. MP4 media file transmission methods, applied to network side equipment, it is characterised in that including:
    The load request for target MP4 media files that video playing terminal is sent is received, the load request includes first Load request and the second load request;
    According to first load request, the first media file information corresponding with first load request is determined;According to institute The second load request is stated, determines the second media file information corresponding with second load request, first media file Information, is as being compressed in advance to the header file information obtained by splitting the target MP4 media files described the Two media file informations are the audio, video data information split in advance obtained by the target MP4 media files;
    First media file information and second media file information are sent to the video playing terminal, so that institute Video playing terminal is stated to unzip it first media file information, and according to second media file information and institute The first media file information for stating decompression plays the target MP4 media files;
    Wherein, it is described that first media file information and second media file information are sent to the video playing end End, including:
    First media file information corresponding with first load request is sent to the video playing terminal;
    Second media file information corresponding with second load request is sent to the video playing terminal.
  2. 2. according to the method described in claim 1, it is characterized in that, described according to first load request, determine with it is described Corresponding first media file information of first load request;According to second load request, determining please with the described second loading Corresponding second media file information is sought, including:
    According to first load request and the second load request, the target MP4 media files are split as header file information With audio, video data information;
    The header file information is compressed, generates the header file information of compression;
    The header file information of the compression is determined as the first media file information, the audio, video data information is determined as Two media file informations.
  3. A kind of 3. MP4 media file playing methods, applied to video playing terminal side apparatus, it is characterised in that including:
    The load request for target MP4 media files is sent to network side equipment, the load request includes:For asking the First load request of one media file information, and for asking the second load request of the second media file information;
    Receive network side equipment feedback, corresponding with first load request the first media file information and with described second Corresponding second media file information of load request, first media file information, is by advance to splitting the target What the header file information obtained by MP4 media files was compressed, second media file information is described in fractionation in advance Audio, video data information obtained by target media file;
    First media file information is unziped it, generates header file information;
    The target MP4 media files are played according to second media file information and the header file information.
  4. A kind of 4. MP4 media files transmitting device, applied to network side equipment, it is characterised in that including:
    Receiving module, for receiving the load request for target MP4 media files of video playing terminal transmission, the loading Request includes the first load request and the second load request;
    Determining module, for the first load request received according to the receiving module, determines corresponding with the load request First media file information and the second load request received according to the receiving module, determine and second load request Corresponding second media file information, first media file information, is by advance to splitting the target MP4 media text What the header file information obtained by part was compressed, second media file information is to split the target MP4 matchmaker in advance Audio, video data information obtained by body file;
    Sending module, sends out for the first media file information for determining the determining module and second media file information The video playing terminal is given, so that the video playing terminal unzips it first media file information, and The target MP4 media text is played according to second media file information and the first media file information of the decompression Part;
    Wherein, the sending module, including:
    First transmitting element, for will first media file information corresponding with first load request be sent to it is described Video playing terminal;
    Second transmitting element, for will second media file information corresponding with second load request be sent to it is described Video playing terminal.
  5. 5. device according to claim 4, it is characterised in that the determining module, including:
    Split cells, for according to first load request and the second load request, the target MP4 media files to be split For header file information and audio, video data information;
    Compression unit, for being compressed to the header file information, generates the header file information of compression;
    Determination unit, for the header file information of the compression to be determined as the first media file information, by the audio and video number It is believed that breath is determined as the second media file information.
  6. A kind of 6. MP4 playback of media files device, applied to video playing terminal side apparatus, it is characterised in that including:
    Load request sending module, target MP4 media file load requests, the loading are directed to for being sent to network side equipment Request sending module is specifically used for:The first load request of the first media file information of request is sent, and sends the second matchmaker of request Second load request of body fileinfo;
    Video information receiving module, for receive network side equipment feedback, sent with the load request sending module the Corresponding first media file information of one load request and the second load request pair sent with the load request sending module The second media file information answered, first media file information, is by advance to splitting the target MP4 media files What the header file information of gained was compressed, second media file information is to split the target media file in advance The audio, video data information of gained;
    Decompression module, for being unziped it to first media file information, generates header file information;
    Media player module, for the second media file information received according to the video information receiving module and the decompression The header file information of contracting module decompression generation plays the target MP4 media files.
  7. A kind of 7. MP4 media file-playing systems, it is characterised in that including:MP4 media files pass as described in claim 4 or 5 Defeated device and MP4 playback of media files device as claimed in claim 6.
CN201410710246.8A 2014-11-28 2014-11-28 A kind of MP4 media file transmission methods, playback method, apparatus and system Active CN104333801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410710246.8A CN104333801B (en) 2014-11-28 2014-11-28 A kind of MP4 media file transmission methods, playback method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410710246.8A CN104333801B (en) 2014-11-28 2014-11-28 A kind of MP4 media file transmission methods, playback method, apparatus and system

Publications (2)

Publication Number Publication Date
CN104333801A CN104333801A (en) 2015-02-04
CN104333801B true CN104333801B (en) 2018-04-13

Family

ID=52408437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410710246.8A Active CN104333801B (en) 2014-11-28 2014-11-28 A kind of MP4 media file transmission methods, playback method, apparatus and system

Country Status (1)

Country Link
CN (1) CN104333801B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635782A (en) * 2015-12-28 2016-06-01 魅族科技(中国)有限公司 Subtitle output method and device
CN109714628B (en) * 2018-12-29 2021-08-03 广州方硅信息技术有限公司 Method, device, equipment, storage medium and system for playing audio and video
CN114422831B (en) * 2022-01-20 2024-03-19 北京奇艺世纪科技有限公司 Media playing method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516184A (en) * 2003-01-10 2004-07-28 华为技术有限公司 Processing method of multi-media data
CN101150760A (en) * 2007-10-19 2008-03-26 吕利勇 System, method and mobile terminal for automatic media content download
CN102611915A (en) * 2012-03-15 2012-07-25 华为技术有限公司 Video startup method, device and system
CN102883188A (en) * 2012-10-16 2013-01-16 北京千橡网景科技发展有限公司 Method and system of downloading and playing MP4 files in real time
CN103763637A (en) * 2014-01-21 2014-04-30 北京云视睿博传媒科技有限公司 Stream media broadcasting method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547852A (en) * 2002-05-28 2004-11-17 松下电器产业株式会社 Moving picture data reproducing device
US7890986B2 (en) * 2007-06-19 2011-02-15 Broadcom Corporation System and method for reducing channel change time
CN102256162B (en) * 2011-07-22 2013-11-06 网宿科技股份有限公司 Method and system for optimizing media-on-demand based on real-time file format conversion
CN103763577B (en) * 2013-12-31 2017-06-27 华为技术有限公司 The player method of media file, apparatus and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516184A (en) * 2003-01-10 2004-07-28 华为技术有限公司 Processing method of multi-media data
CN101150760A (en) * 2007-10-19 2008-03-26 吕利勇 System, method and mobile terminal for automatic media content download
CN102611915A (en) * 2012-03-15 2012-07-25 华为技术有限公司 Video startup method, device and system
CN102883188A (en) * 2012-10-16 2013-01-16 北京千橡网景科技发展有限公司 Method and system of downloading and playing MP4 files in real time
CN103763637A (en) * 2014-01-21 2014-04-30 北京云视睿博传媒科技有限公司 Stream media broadcasting method and system

Also Published As

Publication number Publication date
CN104333801A (en) 2015-02-04

Similar Documents

Publication Publication Date Title
US9478256B1 (en) Video editing processor for video cloud server
CN107846633B (en) Live broadcast method and system
CN106664458B (en) Method for transmitting video data, source device and storage medium
CN101316358B (en) Transmitting digital media streams to devices
JP5728736B2 (en) Audio splitting at codec applicable frame size
US20020154691A1 (en) System and process for compression, multiplexing, and real-time low-latency playback of networked audio/video bit streams
WO2016150317A1 (en) Method, apparatus and system for synthesizing live video
US6349286B2 (en) System and method for automatic synchronization for multimedia presentations
EP3748972B1 (en) Video recording method and system
US20020150123A1 (en) System and method for network delivery of low bit rate multimedia content
EP2151970A1 (en) Processing and supplying video data
CN104333801B (en) A kind of MP4 media file transmission methods, playback method, apparatus and system
JP2008500752A (en) Adaptive decoding of video data
CN103197836A (en) Interactive method, device and system of multimedia information
CN110139128B (en) Information processing method, interceptor, electronic equipment and storage medium
CN106331763A (en) Method of playing slicing media files seamlessly and device of realizing the method
CN104883625A (en) Information display method, terminal device, server, and system
CN109218849B (en) Live data processing method, device, equipment and storage medium
CN104219537B (en) The method, apparatus and system of video data processing
CN112073727B (en) Transcoding method and device, electronic equipment and storage medium
CN114257771A (en) Video playback method and device for multi-channel audio and video, storage medium and electronic equipment
CN111416994B (en) Method and device for synchronously presenting video stream and tracking information and electronic equipment
US9538215B2 (en) Maintaining continuity in media streaming
KR101603976B1 (en) Method and apparatus for concatenating video files
CN104915350A (en) Method and device for obtaining multimedia files based on P2P mode

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