CN105142020A - Method and system for converting video in unsupported format in mobile terminal - Google Patents

Method and system for converting video in unsupported format in mobile terminal Download PDF

Info

Publication number
CN105142020A
CN105142020A CN 201510487707 CN201510487707A CN105142020A CN 105142020 A CN105142020 A CN 105142020A CN 201510487707 CN201510487707 CN 201510487707 CN 201510487707 A CN201510487707 A CN 201510487707A CN 105142020 A CN105142020 A CN 105142020A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
video
format
terminal
mobile
information
Prior art date
Application number
CN 201510487707
Other languages
Chinese (zh)
Inventor
娄帅
吴建平
顾思斌
潘柏宇
王冀
Original Assignee
合一网络技术(北京)有限公司
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

Links

Abstract

This application discloses a method for converting a video in unsupported format in a mobile terminal. The method comprises the following steps: the mobile terminal receives returned corresponding description file information of the requested video after request information of the video in unsupported format is sent to a network server, so as to generate local video information with an mp4 file header to save; the mobile terminal receives the request video which is returned after the request information of the video in unsupported format is sent to the network server, to generate a corresponding video object in mp4 format; the mobile terminal establishes a corresponding relationship between the generated video object in mp4 format and the local video information with the mp4 file header to form and save mp4 data; when the video is played by a player of the mobile terminal, the mp4 data, which is generated after the format is converted, is called from local according to the local video information with the mp4 file header. Through adopting the method and system provided by the invention, the video file in unsupported format can be converted in the mobile terminal; and thus, the pressure of the network server is reduced.

Description

对移动终端中非支持格式的视频进行转换的方法及系统 The method of video formats supported Africa mobile terminal and system for converting

技术领域 FIELD

[0001] 本申请涉及视频播放领域,具体地说,是涉及一种对移动终端中非支持格式的视频进行转换的方法及系统。 [0001] The present application relates to the field of video playback, particularly, relates to a method and system for converting mobile terminal to support video formats Africa.

背景技术 Background technique

[0002]目前,移动终端从互联网多媒体中点播视频越来越广泛,而常用的视频又具有各种不同的格式。 [0002] Currently, the mobile terminal from the Internet multimedia video on demand more and more widely, and common video formats and have various. 视频格式就是指将视频中的视频数据、音频数据和相关信息数据组织起来的方式。 Video format refers to the way the video data, audio data, video data and related information in the organized. 视频数据在存储和传输过程中都是按照某种特定的格式来实现的,不同的视频格式实现方式也不相同的。 And the video data stored in the transmission process according to a specific format is achieved, implementation of different video formats are not the same. 现阶段常用的视频格式主要有FLV、mp4等。 At this stage are mainly popular video formats FLV, mp4 and so on.

[0003] mp4,全称MPEG-4Part 14,是一种使用MPEG-4的多媒体电脑档案格式,副档名为mp4,以储存数码音讯及数码视讯为主。 [0003] mp4, full name of MPEG-4Part 14, a multimedia computer file format, the sub MPEG-4 file called mp4, to store digital audio and digital video-based. mp4是一套用于音频、视频信息的压缩编码标准,由国际标准化组织(ISO)和国际电工委员会(IEC)下属的“动态图像专家组”(MovingPicture Experts Group,即MPEG)制定。 mp4 is set for audio, video compression encoding standard by the International Organization for Standardization (ISO) and International Electrotechnical Commission (IEC) under the "Moving Picture Experts Group" (MovingPicture Experts Group, namely MPEG) to develop.

[0004] mp4文件格式是一个开放性的视频格式,几乎可以用来描述所有的媒体结构,mp4文件中的媒体描述与媒体数据是分开的,并且媒体数据的组织也很自由,不需要按照时间顺序排列,甚至媒体数据可以直接引用其他文件。 [0004] mp4 file format is an open video format, can be used to describe almost all media structure, the media data media description mp4 file is separate, and organize media data is also very free, do not require the time order, even the media data may reference other files directly. 同时,mp4也支持流媒体,mp4目前被广泛用于封装h.264视频和AAC音频,是高清视频的代表。 At the same time, mp4 also supports streaming media, mp4 are now widely used to encapsulate the h.264 video and AAC audio, on behalf of high-definition video.

[0005] —般的mp4文件最重要的是两部分,一个为带有mp4文件头的视频信息部分,这里边保存的是视频关键信息,包括视频文件中音视频的编码格式、视频的分辨率、音频/视频的采样率、采样精度、声道数、每个音频/视频包的大小信息以及每个音频/视频包所对应的时间戳等信息,另一部分是实际的mp4格式视频数据。 [0005] - like mp4 file most important thing is in two parts, one for the video portion with a mp4 file header, here is the video side save key information, including the video and audio encoding format video files, the video resolution the sampling rate of the audio / video, sampling accuracy, the number of channels, each of the audio / video packet and size information of each of the audio / video packet corresponding to the time stamp and other information, the other part is the actual mp4 format video data. 移动终端的播放器在播放mp4格式视频时,会先请求带有mp4文件头的视频信息部分。 Player of the mobile terminal when playing video mp4 format, the video information portion will first request with the mp4 file header.

[0006] 采用mp4格式的视频处理具有如下的好处: [0006] The video processing mp4 format has the following advantages:

[0007] (I)对于不同的音频/视频对象可采用不同的编码算法,从而提高音频/视频的压缩效率; [0007] (I) for different audio / video objects may employ different coding algorithm, thereby improving the compression efficiency of audio / video;

[0008] (2)音频/视频对象之间各自相对独立,提高了多媒体数据的可重用性; [0008] relatively independent (2) audio / video object, to improve the reusability of the multimedia data;

[0009] (3)允许用户对单个音频/视频对象进行操作,方便了用户的交互体验; [0009] (3) allows the user to a single audio / video objects operation, facilitate the user interaction experience;

[0010] (4)允许在不同的音频/视频对象之间灵活分配码率,可以实现根据重要程度分配字节多少:对重要的对象可分配较多的字节,对次要的对象可分配较少的字节,从而能在低码率下获得较好的效果。 [0010] (4) allowing flexible allocation rate among different audio / video object, the assigned byte number can be realized according to the degree of importance: important objects can be assigned more bytes may be allocated to the secondary objects fewer bytes, so that better results can be obtained at low bit rates.

[0011 ] (5)可以方便地集成自然音/视频对象和合成音视频对象。 [0011] (5) can be easily integrated natural audio / video objects and video objects synthesized speech.

[0012] 为了播放某个视频,终端上的视频播放器首选需要识别出该视频的格式,并按照相关协议对视频进行正确的分析。 [0012] In order to play a video, a video player on the terminal needs to identify the preferred format of the video, and the video analysis according to the relevant protocol correctly. 在实际应用中,出于成本等因素的考虑,一种播放器往往仅支持一种或某几种特定的视频播放格式,而对于其它不支持的格式是不能进行播放的。 In practical applications, due to considerations of cost a player often support only one or a few specific video formats, and for the other formats do not support that can not be played.

[0013] 然而,在某些情况下,用户还希望终端播放器能够播放其它不支持的视频格式。 [0013] However, in some cases, the user terminal is also desirable player, to play other video formats are not supported. 随着移动终端的普及,这种需求也越来越普遍。 With the popularity of mobile terminals, this demand is also becoming more common.

[0014] 就以现在的1S系统播放器为例,正如本领域公知的,1S系统的系统播放器是不支持FLV格式的视频播放的,但是1S系统支持mp4格式的视频播放。 [0014] In the present 1S system to the player, for example, as is known in the art, the system players 1S system does not support FLV format video playback, the video playback system supports but 1S mp4 format. 并且1S系统版本也没有开放硬件解码接口,只有系统播放器具有硬件解码的能力。 And the system version is not open 1S decoding hardware interfaces, the system only has the ability player hardware decoding. 如此,在1S系统的视频播放器播放FLV等非系统播放器支持格式的视频播放时,因无法使用硬件解码功能,会导致系统帧率低、发热多以及耗电量高等问题。 As such, when playing FLV player and other non-system video player supported formats in video player 1S system, due to inability to use the hardware decoding capabilities, will cause the system frame rate, power consumption and heat generation and more advanced problem.

[0015]目前的解决方式是通过服务器完成FLV格式的转换,再传输给本地播放器播放。 [0015] The current solution is to complete the conversion FLV format through the server, and then transmitted to the local player. 这种方式的服务器包括:流化模块、格式转换模块和存储模块。 In this manner the server comprising: a flow module, the format converting module and a storage module. 客户端通过网络向服务器请求视频数据,如果请求的视频为播放器支持的格式,流化模块直接从存储模块读取数据并发送至播放器播放;如果播放器请求的数据不是其支持的格式,则流化模块将请求发送给格式转换模块,格式转换模块从存储模块读取原始的视频数据,并将其转换成播放器支持的视频格式(通常是mp4格式),并将转换后的视频数据返回给流化模块,再通过流化模块将转换后的视频数据发送给播放器。 Client request to the server via the network video data, if the request is a video format supported by the player, the fluidized module reads data directly from the storage module and transmitted to the player to play; if the player requested data which is not supported formats, the flow module sends a request to a format conversion module, the format converting module reads the original video data from the storage module, and converts it into a video format supported by the player (typically mp4 format), and the converted video data stream is returned to the module, and then sent to the player via the video data stream converting module. 按照此种方案,格式的转换过程全部是在后台服务器完成的,播放器收到的永远是其支持的视频格式。 According to this scheme, the format conversion process are all done in the back-end server, the player is always received its supported video formats.

[0016] 以下结合图1和2说明现有技术中移动终端播放非支持格式视频的方法: [0016] and the method described below in connection with non-supporting mobile terminal displays the video format of the prior art Figures 1 and 2:

[0017] 其中,图1为现有技术中移动终端播放非支持格式视频的系统结构示意图,具体内容为: [0017] wherein 1 is a schematic system configuration of an unsupported format video player prior art mobile terminal, the specific content:

[0018] 互联网分别连接移动终端和服务器,通过互联网实现移动终端和服务器的数据信息传输。 [0018] Internet server and a mobile terminal are connected, for data transmission to the mobile information terminal and a server through the Internet. 并且,服务器还包括:存储模块、格式转换模块和流化模块,存储模块、格式转换模块和流化模块上述模块之间彼此两两相连接。 And, the server further comprising: between the memory module, the format converting module and a flow module, a storage module, the format converting module and a streaming module twenty-two above modules connected to each other.

[0019] 如图2所示,为现有技术中移动终端播放非支持格式视频的示意图,具体内容为: [0019] As shown in FIG. 2, a schematic diagram of an unsupported format video playback of the prior art mobile terminal, the specific content:

[0020] 步骤201,移动终端向网络服务器发送非支持格式视频播放请求; [0020] Step 201, the mobile terminal transmits an unsupported format video playback request to a network server;

[0021] 步骤202,网络服务器接收非支持格式视频播放请求后,将所请求的非支持格式视频进行格式转换处理,生成mp4格式视频数据; After [0021] Step 202, the network server receives an unsupported format video playback request, the requested unsupported format video format conversion, and generates mp4 format video data;

[0022] 步骤203,网络服务器将生成的mp4格式视频数据发送至移动终端; [0022] Step 203, the network server sends the generated mp4 format video data to the mobile terminal;

[0023] 步骤204,移动终端获取网络服务器发送的mp4格式视频数据进行播放。 [0023] Step 204, the mobile terminal acquires mp4 format video data transmitted from the network server for playback.

[0024] 具体地,移动终端通过互联网向服务器请求视频数据时,如果请求的视频为移动终端播放器支持的格式,流化模块直接从存储模块读取数据并发送至移动终端播放器;若移动终端请求的是非移动终端播放器支持的格式视频,则流化模块将请求信息发送至格式转换模块,格式转换模块收到请求信息之后从存储模块中读取原始的视频数据,并将原始的视频数据转换成终端播放器支持的视频格式(通常是mp4格式),再将转换后的视频数据返回给流化模块,通过流化模块将转换后的视频数据发送至移动终端。 When [0024] Specifically, the mobile terminal requests video data to the server via the Internet, if the requested video format supported by the mobile terminal player fluidized module reads the data directly from the storage module to the mobile terminal and the player; if the mobile requested by the terminal non-mobile video terminal video format supported by the player, the streaming module will request information to format conversion module, the format converting module after receiving the request information read from the original video data storage module, and the original terminal data into video format supported by the player (typically mp4 format), video data is then converted back to the fluidized module, the converted video data to the mobile terminal through the flow module.

[0025] 但是按照上述的现有方法,终端播放器就无法播放本地的非支持格式视频,只能播放在服务器转换好的终端播放器支持的视频格式。 [0025] According to the above conventional method, however, the player terminal can not support non-native format play video can be played only in the terminal server the converted video format supported by the player. 而且,当移动终端较多时,服务器就需要同时进行大量的格式转换工作,这对服务器本身性能要求较高,大大增加了服务器成本。 Also, when there are many mobile terminal, the server need to be a lot of format conversion work, this high performance requirements for the server itself, greatly increasing server costs. 在实际部署中,为了增加网络效率,往往将服务器的流化模块部署在边缘节点,而将格式转换模块部署在中心节点,如此,流化模块和格式转换模块之间的网络传输又会成为性能瓶颈。 In an actual deployment, in order to increase network efficiency, often streaming server modules deployed in the edge node, and the format conversion module deployed in the central node, so the network transmission between the modules and the stream format converting module will be a performance bottleneck.

[0026] 从上述内容可以看出,现有在1S支持的设备上,解决移动终端播放本地不支持格式视频,尤其是FLV格式视频会出现以下问题: [0026] As can be seen from the foregoing, in the conventional supporting device 1S, solving the mobile terminal displays the video format not natively supported, in particular video format FLV occur the following problems:

[0027] 1、现有技术中在1S支持的移动终端上移动终端不能播放本地的不支持格式视频如FLV格式视频,要想播放不支持格式视频只能通过从服务器下载。 [0027] 1, in the prior art mobile terminal 1S mobile terminal can not support the playing local video format does not support video formats such as FLV, in order to playback video format is not supported only by downloading it from the server.

[0028] 2、在服务器上转换视频格式然后下载的不足之处还在于,当移动终端较多时,月艮务器就需要同时进行大量的格式转换工作,加大了服务器本身性能要求,大大增加了服务器成本。 [0028] 2, convert video format on the server and then downloaded deficiencies in that, when there are many mobile terminals month that works to filter on the need for format conversion at the same time a lot of work, increased the performance requirements of the server itself, greatly increased the server costs.

[0029] 3、现有技术中,服务器的流化模块和格式转换模块之间的网络传输性能效率低,从而导致移动终端视频播放不流畅的问题。 [0029] 3, the prior art, the network transmission between the fluidized module and the format conversion modules server performance efficiency low, causing the mobile terminal is not smooth video playback problems.

发明内容 SUMMARY

[0030] 为了解决在上述现有技术中出现的问题,本发明的目的是提供一种对移动终端中非支持格式的视频进行转换的方法及系统,以解决现有技术中在1S支持的移动终端上不能播放本地的不支持格式视频,如FLV格式视频的问题。 [0030] In order to solve the above problems occurring in the prior art, an object of the present invention is to provide a method and system for a mobile terminal for video format conversion Africa support to solve the prior art in the mobile support 1S can not be played on the local terminal does not support video formats, such as the problem of FLV format videos.

[0031] 本发明提供了一种对移动终端中非支持格式的视频进行转换的方法包括: [0031] The present invention provides a method of a mobile terminal video format conversion Africa support comprises:

[0032] 所述移动终端接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频对应的描述文件信息,并根据该描述文件信息生成具有mp4文件头的本地视频信息保存; [0032] The mobile terminal receives the transmission of non-supported video format to the video network server profile information corresponding to the request to return the requested information, and stores the profile information in accordance with local video mp4 file generating header information;

[0033] 所述移动终端接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频,并启动对该视频的格式转换处理,生成相应的mp4格式的视频对象,并将生成的mp4格式的视频对象与所述具有mp4文件头的本地视频信息建立对应关系,组成mp4数据并保存; [0033] The mobile terminal receives the transmission of non-supported video format requested by the request message returned video, and starts the video format conversion processing to generate a video object corresponding to the network server mp4 format, and the resulting mp4 format video object having the local video mp4 file header information to establish a correspondence relationship, and the composition mp4 data stored;

[0034] 所述移动终端的播放器对该视频进行播放时,根据该视频的所述具有mp4文件头的本地视频信息,从本地调取格式转换后生成的所述mp4数据进行播放。 [0034] When the mobile terminal to play the video player, the video based on the video information having a local header mp4 file, mp4 play the locally generated data after retrieval from the format conversion.

[0035] 其中,进一步地,所述移动终端接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频对应的描述文件信息,并根据该描述文件信息生成对应该视频的具有mp4文件头的本地视频信息保存,进一步为: [0035] wherein, further, the mobile terminal receives the transmission of non-video formats supported the request corresponding to the video information returned the requested profile information to the network server, the mp4 file and generates a video to be based on the profile information head of the local video information is stored, and further:

[0036] 所述移动终端判断到非支持格式的视频请求信息后,转发给网络服务器;及 [0036] After the mobile terminal determines the non-supported video format request information forwarded to the network server; and

[0037] 所述移动终端接收所述网络服务器接收到所述非支持格式的视频请求信息后返回的描述文件信息,并根据该描述文件信息生成对应该视频的具有mp4文件头的本地视频信息保存。 [0037] The mobile terminal receiving the network server receives the profile information of the non-supported video format returned after the request information, and generates information to be stored on the local video mp4 file having header information based on the description of the video file .

[0038] 其中,进一步地,所述移动终端接收所述网络服务器接收到所述非支持格式的视频请求信息后返回的描述文件信息,进一步为: [0038] wherein, further, the mobile terminal receiving the network server receives the profile information of the non-supported video format returns the request information, and further:

[0039] 所述移动终端接收所请求非支持格式的视频相对应的描述文件信息,该描述文件信息由所述网络服务器接收到所述非支持格式的视频请求信息前预先生成。 [0039] The mobile terminal receives the non-supported video format corresponding to the profile information request, the profile information received by the network server to the non-supported video format information before the request is generated in advance.

[0040] 其中,进一步地,所述移动终端启动对该视频的格式转换处理,生成相应的mp4格式的视频对象,并将生成的mp4格式的视频对象与所述具有mp4文件头的本地视频信息建立对应关系,组成mp4数据并保存,进一步为: [0040] wherein, further, the mobile terminal starts the video format conversion process generates a corresponding video object mp4 format, and supplies the generated video object mp4 format mp4 file having the header information of the local video establishing correspondence between the composition of mp4 data and save, and further:

[0041] 所述移动终端接收服务器发送的非支持格式的视频数据后,按照mp4格式协议,将该非支持格式的视频数据封装成mp4格式的视频对象,并将生成的mp4格式的视频对象与所述具有mp4文件头的本地视频信息建立对应关系,组成mp4数据并保存。 Video object [0041] After the video data format of the non-supporting mobile terminal sent by a server, according to the protocol mp4 format, the video data unsupported format packaged as mp4 format video objects, and the resulting mp4 format and local video information having the mp4 file header correspondence relation, the composition mp4 data and save.

[0042] 其中,进一步地,所述描述文件信息包括:音视频的编码格式、视频的分辨率、音频的采样率、采样精度、声道数、每个音视频包的大小以及每个音视频包所对应的时间戳信息。 [0042] wherein, further, said profile information comprising: encoding the audio and video format, video resolution, audio sample rate, sample accuracy, the number of channels, each audio and video packet size for each audio and video corresponding packet timestamp information.

[0043] 其中,进一步地,该系统设置在所述移动终端中,该系统包括:接收模块、处理模块和播放模块;其中, [0043] wherein, further, the system is provided in the mobile terminal, the system comprising: a receiving module, a processing module and a playback module; wherein,

[0044] 所述接收模块,用于接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频对应的描述文件信息,并根据该描述文件信息生成对应该视频的具有mp4文件头的本地视频信息保存; [0044] The receiving module for receiving the transmitted video formats supported non-video information corresponding to the request to return the requested profile information to a network server, and generate a mp4 file header information to be in the description of the video file local video information is stored;

[0045] 所述处理模块,用于接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频,并启动对该视频的格式转换处理,生成相应的mp4格式的视频对象,并将生成的mp4格式的视频对象与所述具有mp4文件头的本地视频信息建立对应关系,组成mp4数据并保存; [0045] The processing module, for receiving the transmitted video unsupported format requested after the requested video information returned, and starts the video format conversion processing to generate a video object corresponding to the network server mp4 format, and mp4 format generated by the video object and the local video mp4 file having header information establishing correspondence between the data and save mp4 composition;

[0046] 所述播放模块,用于根据该视频的所述具有mp4文件头的本地视频信息,从本地调取格式转换后生成的所述mp4数据进行播放。 [0046] The playback module is configured to have a local video information according to the mp4 file header of the video retrieval mp4 data generated after the format conversion from a local play.

[0047] 其中,进一步地,所述处理模块,进一步用于: [0047] wherein, further, the processing module is further configured to:

[0048] 判断到非支持格式的视频请求信息后,转发给网络服务器;及 [0048] Analyzing the non-supported video format the request message forwarded to the network server; and

[0049] 接收所述网络服务器接收到所述非支持格式的视频请求信息后返回的描述文件信息,并根据该描述文件信息生成对应该视频的具有mp4文件头的本地视频信息保存。 [0049] The network server receives the profile information received by the video format supported non return the request information, and generates the information based on the profile information should be locally stored video with video mp4 file header.

[0050] 其中,进一步地,所述处理模块,进一步还用于: [0050] wherein, further, the processing module is further further configured to:

[0051] 接收所请求非支持格式的视频相对应的描述文件信息,该描述文件信息由所述网络服务器接收到所述非支持格式的视频请求信息前预先生成。 [0051] receives the requested non-supported video format corresponding to the profile information, the profile information received by the network server to the non-supported video format information before the request is generated in advance.

[0052] 其中,进一步地,所述处理模块,进一步还用于: [0052] wherein, further, the processing module is further further configured to:

[0053] 接收服务器发送的非支持格式的视频数据,按照mp4格式协议,将该非支持格式的视频数据封装成mp4封装对象,并将生成的mp4封装对象与所述具有mp4文件头的本地视频信息建立对应关系,组成mp4数据并保存。 Local Video [0053] unsupported format video data sent by a server, according to the protocol mp4 format, the unsupported format video data is encapsulated into a package mp4 objects, and the resulting package mp4 mp4 file object and the head having correlating information to form mp4 data and save.

[0054] 其中,进一步地,所述描述文件信息包括:音视频的编码格式、视频的分辨率、音频的采样率、采样精度、声道数、每个音视频包的大小以及每个音视频包所对应的时间戳信息。 [0054] wherein, further, said profile information comprising: encoding the audio and video format, video resolution, audio sample rate, sample accuracy, the number of channels, each audio and video packet size for each audio and video corresponding packet timestamp information.

[0055]与现有技术相比,本申请所述的一种对移动终端中非支持格式的视频进行转换的方法,具有以下优点: [0055] Compared with the prior art, the present method of application of the mobile terminal on the video format conversion support Africa, and has the following advantages:

[0056] (I)本发明将移动终端非支持格式的视频文件到mp4格式的视频文件的转换从网络服务器换到移动终端进行操作。 [0056] (I) of the present invention, the mobile terminal converts unsupported format video files to mp4 format video file from the network server to change the mobile terminal operates. 由于非支持格式视频文件到mp4格式的视频文件的转换操作被分布到每个移动终端的本地进行,减小了网络服务器的压力。 Because unsupported format video file to a local video file conversion operation mp4 format is distributed to each of the mobile terminal, it reduces the pressure of the network server.

[0057] (2)本发明在播放非支持格式的本地视频时,预先在移动终端将非支持格式的视频转换为支持的视频格式形式,实现了移动终端本地非支持格式视频的播放。 [0057] (2) according to the present invention, when playing the non-local video formats supported, the mobile terminal previously unsupported video format conversion into a video format supported form, the mobile terminal displays the achieved local, non-supported video format.

[0058] (3)本发明中服务器直接将非支持格式的视频文件传输给移动终端的形式,避免了由网络端缓存格式转换与流化之间传输数据所引起的网络问题,使得移动终端更流畅地播放视频。 [0058] (3) In the present invention, the server directly to the non-supported video format file transfer to the form of a mobile terminal, to avoid the problems caused by the network transport format conversion between the network cache data flow caused by the mobile terminal more play video smoothly.

[0059] (4)本发明在移动终端本地转换视频格式,避免了由移动终端系统转换视频格式增加移动终端CPU工作强度带来的发热问题,同时还节省了移动终端的系统资源。 [0059] (4) In the present invention, a mobile terminal home video format conversion, to avoid heat problems increase system resources the mobile terminal CPU work intensity caused by a mobile terminal video format conversion system, while saving the mobile terminal.

[0060] (5)本发明通过将非支持格式的视频在移动终端本地转换为1S系统支持的mp4格式视频,视频对象之间各自相对独立,提高了多媒体数据的可重用性,还允许用户对单个视频进行操作,方便了用户的交互体验。 [0060] (5) The present invention is supported by a non-video format conversion of the local mobile terminal 1S mp4 video format supported by the system, between the relatively independent video objects, improved multimedia data reusability, but also allow the user to a single video operation, facilitate the user's interactive experience.

[0061] 当然,实施本申请的任一产品必不一定需要同时达到以上所述的所有技术效果。 [0061] Of course, any embodiment of the present application do not necessarily need a product must achieve all of the above technical effect.

附图说明 BRIEF DESCRIPTION

[0062] 此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。 [0062] The drawings described herein are provided for further understanding of the present disclosure, constitute part of this application, exemplary embodiments of the present disclosure used to explain the embodiment of the present application, without unduly limiting the present disclosure. 在附图中: In the drawings:

[0063]图1是现有技术的基于服务器转换的视频播放系统结构示意图; [0063] FIG. 1 is a schematic system configuration of a video playback server based on conversion of the prior art;

[0064] 图2是现有技术中基于服务器转换的视频播放示意图; [0064] FIG. 2 is a prior art diagram illustrating a video playback server-based conversion;

[0065]图3是本发明实施例1所述的对移动终端中非支持格式的视频进行转换的方法流程不意图; [0065] FIG. 3 is a process flow of the mobile terminal converts the format of video support Africa in Example 1 of the embodiment of the present invention is not intended;

[0066]图4是本发明实施例2所述的对移动终端中非支持格式的视频进行转换的方法流程不意图; [0066] FIG. 4 is a process flow of the mobile terminal converts the format of video support Africa in Example 2 of the present invention is not intended;

[0067]图5是本发明应用实施例所述的对移动终端中非支持格式的视频进行转换的方法流程示意图; [0067] FIG. 5 is a process flow of the mobile terminal Africa supported video format conversion of the application of the present invention a schematic view of the embodiment;

[0068]图6是本发明实施例4所述的对移动终端中非支持格式的视频进行转换的系统结构框图。 [0068] FIG. 6 is a video format supported Africa mobile terminal described in Example 4 of the present invention is a block diagram of the system conversion.

具体实施方式 detailed description

[0069] 如在说明书及权利要求当中使用了某些词汇来指称特定组件。 [0069] Certain terms as used in the specification and claims to refer to particular components. 本领域技术人员应可理解,硬件制造商可能会用不同名词来称呼同一个组件。 Those skilled in the art will appreciate, manufacturers may use different terms to refer to a component. 本说明书及权利要求并不以名称的差异来作为区分组件的方式,而是以组件在功能上的差异来作为区分的准则。 The present specification and claims is not to differ in name as a way to distinguish between the components, but rather the difference in function to the components as a criterion to distinguish. 如在通篇说明书及权利要求当中所提及的“包含”为一开放式用语,故应解释成“包含但不限定于”。 As mentioned throughout the specification and claims, "comprising" is an open-ended fashion, and thus should be interpreted to mean "including, but not limited to." “大致”是指在可接收的误差范围内,本领域技术人员能够在一定误差范围内解决所述技术问题,基本达到所述技术效果。 "Substantially" means within an error range is acceptable, those skilled in the art to solve the technical problem within a certain error range, to achieve the basic technical effect. 此外,“耦接”一词在此包含任何直接及间接的电性耦接手段。 In addition, the "couple" is intended to mean any direct and indirect electrical coupling means. 因此,若文中描述一第一装置耦接于一第二装置,则代表所述第一装置可直接电性耦接于所述第二装置,或通过其他装置或耦接手段间接地电性耦接至所述第二装置。 Accordingly, described herein if a device is coupled to a second device, said first means represents may be directly electrically coupled to the second means, or by other means or indirectly electrically coupling means coupled connected to the second device. 说明书后续描述为实施本申请的较佳实施方式,然所述描述乃以说明本申请的一般原则为目的,并非用以限定本申请的范围。 Follow the instructions described embodiment is a preferred embodiment of the present disclosure, then the disclosure of the present description are based on the general principles described for the purpose, not for limiting the scope of the application. 本申请的保护范围当视所附权利要求所界定者为准。 When the scope of the present application the following claims and their equivalents.

[0070] 以下结合附图对本申请作进一步详细说明,但不作为对本申请的限定。 [0070] conjunction with the drawings of the present application will be further described in detail, but do not limit the present disclosure.

[0071] 实施例1: [0071] Example 1:

[0072] 如图3所示,为本发明实施例1所述的一种对移动终端中非支持格式的视频进行转换的方法,包括: [0072] FIG. 3, the present method of Example 1 of the mobile terminal of the video format conversion support Africa embodiment the invention, comprising:

[0073] 步骤301,移动终端接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频对应的描述文件信息,并根据该描述文件信息生成具有mp4文件头的本地视频信息保存。 [0073] Step 301, the mobile terminal receives the transmission of non-supported video format to the video network server profile information corresponding to the request to return the requested information, and the local video mp4 file having header information is stored according to the generated profile information.

[0074] 在该步骤中,移动终端的系统播放器,优选地,该系统播放器为1S系统播放器,收到播放非支持格式视频指令后,向本地服务器发送http请求,移动终端的本地服务器收到http请求转发至网络服务器,网络服务器收到http请求后向所述移动终端返回所请求视频对应的描述文件信息。 After [0074] In this step, the system plays the mobile terminal, preferably, the system is 1S player system player, a player receives an unsupported format video instruction, sending an http request to the local server, the local server of the mobile terminal received http request is forwarded to the web server, the web server receives the return video corresponding to the requested profile information to the mobile terminal after the http request.

[0075] 该步骤实际上是移动终端与网络服务器对非支持格式视频请求的交互过程,移动终端根据网络服务器返回的描述文件信息在本地生成具有mp4文件头的本地视频信息,以方便移动终端播放器后续播放该视频。 [0075] This step is actually a mobile terminal and a network server interaction unsupported format video request, the mobile terminal having a local video mp4 file header information returned by the network server profile information generated in accordance with local, the mobile terminal displays to facilitate subsequent to play the video.

[0076] 步骤302,所述移动终端接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频,并启动对该视频的格式转换处理,生成相应的mp4格式的视频对象,并将生成的mp4格式的视频对象与所述具有mp4文件头的本地视频信息建立对应关系,组成mp4数据并保存。 [0076] Step 302, the mobile terminal receives a request to transmit the video format supported by the non-return video after the request information to the network server, and starts the video format conversion processing to generate a corresponding video object mp4 format, and local video information generated by video object mp4 format mp4 file having the header correspondence relation, the composition mp4 data and save.

[0077] 进一步地,移动终端将格式转换处理后生成的mp4数据保存在移动终端的内存缓存中。 [0077] Further, the mobile terminal will be generated after the format conversion process mp4 data stored in the memory cache of the mobile terminal.

[0078] mp4格式的视频文件分为两部分,一部分为带有mp4文件头的视频信息部分,另一部分是实际的mp4格式的视频对象。 [0078] mp4 format video files into two parts, with the part of the video information portion mp4 file header, and the other part is the actual mp4 format video object. 上述步骤是接收网络服务器发送的非支持格式的视频文件,并转换为实际的mp4格式的视频对象,再与之前生成的具有mp4文件头的本地视频信息一起构成mp4数据的过程。 The above steps are unsupported format of the network server receiving the transmitted video file into video objects and actual mp4 format, then the previously generated video information having a local header mp4 file mp4 data together constitute the process.

[0079] 步骤303,移动终端的播放器对该视频进行播放时,根据该视频的所述具有mp4文件头的本地视频信息,从本地调取格式转换后生成的所述mp4数据进行播放。 [0079] Step 303, the mobile terminal is to play the video player, the video based on the video information having a local header mp4 file, mp4 play the locally generated data after retrieval from the format conversion.

[0080] 所述移动终端在播放mp4格式视频时,先请求具有mp4文件头的本地视频信息,所述移动终端读取该具有mp4文件头的本地视频信息后,从本地内存缓存中调取mp4视频文件进行播放。 After [0080] the mobile terminal mp4 format while playing a video, the video information having a first local request mp4 file header, the local mobile terminal to read the video information having the mp4 file header, from the local cache memory retrieval mp4 video file to play. 优选地,所述移动终端从内存缓存中读取mp4数据,通过http消息发送给1S系统播放器进行播放。 Preferably, the mobile terminal reads data from mp4 memory cache, transmitted to the system 1S player for playback via http message.

[0081] 实施例2: [0081] Example 2:

[0082] 如图4所示,在实施例1的基础上,该发明所述的一种对移动终端中非支持格式的视频进行转换的方法,包括: [0082] As shown in FIG. 4, in the embodiment 1 on the basis of a video according to the invention, the mobile terminal supports Africa format conversion method, comprising:

[0083] 步骤401,移动终端接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频对应的描述文件信息,并根据该描述文件信息生成具有mp4文件头的本地视频信息保存。 [0083] Step 401, the mobile terminal receives the transmission of non-supported video format to the video network server profile information corresponding to the request to return the requested information, and the local video mp4 file having header information is stored according to the generated profile information.

[0084] 具体地,进一步为: [0084] In particular, further to:

[0085] 所述移动终端判断到非支持格式的视频请求信息后,转发给网络服务器;及 [0085] After the mobile terminal determines the non-supported video format request information forwarded to the network server; and

[0086] 所述移动终端接收所述网络服务器接收到所述非支持格式的视频请求信息后返回的描述文件信息,并根据该描述文件信息生成对应该视频的具有mp4文件头的本地视频信息保存。 [0086] The mobile terminal receiving the network server receives the profile information of the non-supported video format returned after the request information, and generates information to be stored on the local video mp4 file having header information based on the description of the video file .

[0087] 其中,移动终端接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频对应的描述文件信息,进一步为: [0087] wherein, the mobile terminal receives the transmission of non-supported video format to the video network server profile information corresponding to the request to return the requested information, and further to:

[0088] 所述移动终端接收所请求非支持格式的视频相对应的描述文件信息,该描述文件信息由所述网络服务器接收到所述非支持格式的视频请求信息前预先生成。 [0088] The mobile terminal receives the non-supported video format corresponding to the profile information request, the profile information received by the network server to the non-supported video format information before the request is generated in advance.

[0089] 步骤402,所述移动终端接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频,并启动对该视频的格式转换处理,生成相应的mp4格式的视频对象,并将生成的mp4格式的视频对象与所述具有mp4文件头的本地视频信息建立对应关系,组成mp4数据并保存。 [0089] Step 402, the mobile terminal receives a request to transmit the video format supported by the non-return video after the request information to the network server, and starts the video format conversion processing to generate a corresponding video object mp4 format, and local video information generated by video object mp4 format mp4 file having the header correspondence relation, the composition mp4 data and save.

[0090] 步骤403,移动终端的播放器对该视频进行播放时,根据该视频的所述具有mp4文件头的本地视频信息,从本地调取格式转换后生成的所述mp4数据进行播放。 [0090] Step 403, the mobile terminal is to play the video player, the video based on the video information having a local header mp4 file, mp4 play the locally generated data after retrieval from the format conversion.

[0091] 上述实施例中提到的所述描述文件信息包括:音视频的编码格式、视频的分辨率、音频的采样率、采样精度、声道数;音视频文件的大小以及时间戳信息。 [0091] The profile information mentioned in the above embodiment comprising: encoding the audio and video format, video resolution, audio sample rate, sample accuracy, the number of channels; audio and video files and the size of the timestamp information.

[0092] 实施例3: [0092] Example 3:

[0093] 如图5所示,为本发明实施例所述的一种对移动终端中非支持格式的视频进行转换的方法的一个应用实施例,包括: [0093] As shown in FIG 5, an embodiment of a method according to the application of a mobile terminal for converting the format of video support Africa embodiment of the present invention, comprising:

[0094] 步骤501,移动终端接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频对应的描述文件信息,并根据该描述文件信息生成具有mp4文件头的本地视频信息保存,其中, [0094] Step 501, the mobile terminal receives the transmitted video unsupported formats the request information returned video corresponding profile information requested to the network server, and having the local video information stored mp4 file header of the profile information generated, wherein ,

[0095] 该步骤中的描述文件信息由所述网络服务器接收到所述非支持格式的视频请求信息后预先生成,该描述文件信息还可以通过定义私有协议来实现。 [0095] The profile information received by this step the network server to the non-supported video format information previously generated the request, the profile information may also be achieved by defining a private protocol.

[0096] 进一步地,移动终端判断到非支持格式的视频请求信息后,转发给网络服务器;所述移动终端接收所述网络服务器接收到所述非支持格式的视频请求信息后返回的描述文件信息,并根据该描述文件信息生成对应该视频的具有mp4文件头的本地视频信息保存。 [0096] Further, the mobile terminal determines to a non-supported video format the request message forwarded to the network server; the mobile terminal receiving the network server receives the profile of the non-supported video format information request message returns after and saving information corresponding to the local video mp4 file having a header of the video generated according to the profile information.

[0097] 步骤502,所述移动终端接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频,并启动对该视频的格式转换处理,生成相应的mp4格式的视频对象,并将生成的mp4格式的视频对象与所述具有mp4文件头的本地视频信息建立对应关系,组成mp4数据并保存,其中, [0097] Step 502, the mobile terminal receives a request to transmit the video format supported by the non-return video after the request information to the network server, and starts the video format conversion processing to generate a corresponding video object mp4 format, and mp4 format generated by the video object and establishing the local video mp4 file having the header information of corresponding relationship, and the composition mp4 data storage, wherein

[0098] 在该步骤中,移动终端接收服务器发送的非支持格式的视频数据,优选地,该非支持格式的视频数据为FLV格式的视频数据,按照mp4格式协议,将该非支持格式的视频数据封装成mp4格式的视频对象。 [0098] In this step, the video data format supported by the non-mobile terminal sent by a server, preferably, the non-video data format supported FLV format video data, in accordance with the protocol mp4 format, the video format is unsupported Object data is encapsulated into a video mp4 format.

[0099] 该步骤中将非支持格式的视频数据直接发送至移动终端,既减少了在服务器上进行视频格式转换对服务器造成的压力,又避免了因服务器转换模块之间的数据传输引起的网络问题。 [0099] The step in the unsupported format, video data is sent directly to the mobile terminal, reducing the pressure on the server in the video format conversion server caused due to avoiding the transfer of data between the network server due to conversion module problem.

[0100] 本发明的非支持格式的视频是在移动终端本地转换为mp4格式的视频文件,避免了因为网络原因造成的播放不流畅的问题,也使得移动终端在支持网络非支持格式的视频播放之外,还能支持本地的非支持格式的视频播放。 [0100] Other supported formats of the present invention, the video is converted at the mobile terminal a local video file mp4 format, avoiding not play smoothly issue because the network causes, but also so that the mobile terminal support network non-support for video playback format outside, also supports video playback of local non-supported formats.

[0101] 步骤503,移动终端的播放器对该视频进行播放时,根据该视频的所述具有mp4文件头的本地视频信息,从本地调取格式转换后生成的所述mp4数据进行播放。 [0101] Step 503, the mobile terminal is to play the video player, the video based on the video information having a local header mp4 file, mp4 play the locally generated data after retrieval from the format conversion.

[0102] 在该实施例中,步骤501中网络服务器生成的描述文件信息比较小,由此在生成及转发描述文件信息的过程都比较快,不会耗费太长时间,也不会影响到视频的播放。 [0102] In this embodiment, the network server in step 501 the generated profile information is relatively small, whereby the process of generating and forwarding the profile information faster than not take too long, it will not affect the video playback.

[0103] 上述实施例所述的本发明的方法可以应用于手机、电脑、平板电脑等视频播放终端。 [0103] The method of the present invention, the above-described embodiments may be applied to mobile phones, computers, tablet PCs and other video playing terminal.

[0104] 实施例4: [0104] Example 4:

[0105] 如图6所示,为本发明所述一种对移动终端中非支持格式的视频进行转换的系统,其特征在于,该系统设置在所述移动终端中,该系统包括:接收模块601、处理模块602和播放模块603 ;其中, [0105] shown in Figure 6, oriented on the one mobile terminal to support video conversion system Africa formats invention, wherein the system is provided in the mobile terminal, the system comprising: a receiving module 601, the processing module 602 and the playing module 603; wherein,

[0106] 所述接收模块601,与所述处理模块602相耦接,用于接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频对应的描述文件信息,并根据该描述文件信息生成对应该视频的具有mp4文件头的本地视频信息保存; [0106] The receiving module 601, and the processing module 602 is coupled, for receiving the transmitted video format to a non-supported video network server profile information corresponding to the request returned by the requested information, and the description file creating and storing information for local video should have a mp4 video file header information;

[0107] 所述处理模块602,分别与所述接收模块601和播放模块603相耦接,用于启动对该视频的请求格式转换处理,生成相应的mp4格式的视频对象,并将生成的mp4格式的视频对象与所述具有mp4文件头的本地视频信息建立对应关系,组成mp4数据并保存。 [0107] The processing module 602, respectively, and the playback module 601 and receiving module 603 is coupled to, a request for starting processing of the video format conversion, and generate a corresponding video object mp4 format, and the resulting mp4 local video format video object having the mp4 file header correspondence relation, the composition mp4 data and save.

[0108] 优选地,上述系统还包括:内存缓存604,所述内存缓存604与所述处理模块602相耦接。 [0108] Preferably, the system further comprising: a cache memory 604, the cache memory 604 and the processing module 602 is coupled. 所述移动终端将格式转换后生成的mp4文件与所述具有mp4文件头的本地视频信息建立对应关系并保存在该移动终端的内存缓存604中。 The correspondence relationship between the mobile terminal after the formation of the mp4 file format conversion with local video mp4 file having header information and stored in the cache memory 604 of the mobile terminal.

[0109] 所述播放模块603,与所述处理模块602相耦接,用于根据该视频的所述具有mp4文件头的本地视频信息,从本地调取格式转换后生成的所述mp4数据进行播放。 [0109] The playback module 603, coupled with the processing module 602 having a local video information according to the mp4 file header of the video, generates local retrieved from the mp4 format conversion data play.

[0110] 其中,所述处理模块602,进一步用于: [0110] wherein the processing module 602 is further configured to:

[0111] 判断到非支持格式的视频请求信息后,转发给网络服务器;及 [0111] Analyzing the non-supported video format the request message forwarded to the network server; and

[0112] 接收所述网络服务器接收到所述非支持格式的视频请求信息后返回的描述文件信息,并根据该描述文件信息生成对应该视频的具有mp4文件头的本地视频信息保存。 [0112] receiving the network server receives the profile information of the non-supported video format returns the request information, and generates the information based on the profile information should be locally stored video with video mp4 file header.

[0113] 进一步还用于: [0113] Further further configured to:

[0114] 接收所请求非支持格式的视频相对应的描述文件信息,该描述文件信息由所述网络服务器接收到所述非支持格式的视频请求信息前预先生成。 [0114] receives the requested non-supported video format corresponding to the profile information, the profile information received by the network server to the non-supported video format information before the request is generated in advance.

[0115] 进一步还用于: [0115] Further further configured to:

[0116] 接收服务器发送的非支持格式的视频数据,按照mp4格式协议,将该非支持格式的视频数据封装成mp4封装文件,并将生成的mp4封装文件与所述具有mp4文件头的本地视频信息建立对应关系,组成mp4数据并保存。 [0116] unsupported format video data sent by a server, according to the protocol mp4 format, the format of video data to support the non-packaged into mp4 file package, and the resulting package mp4 file having the header local video mp4 correlating information to form mp4 data and save.

[0117] 实施例中所述描述文件信息包括:音视频的编码格式、视频的分辨率、音频的采样率、采样精度、声道数、每个音视频包的大小以及每个音视频包所对应的时间戳信息。 [0117] Example embodiments of the profile information comprises: encoding the audio and video format, video resolution, audio sample rate, sample accuracy, the number of channels, each audio and video packet size for each audio and video packet corresponding to the time stamp information.

[0118]与现有技术相比,本申请所述的一种对移动终端中非支持格式的视频进行转换的方法及系统,具有以下优点: [0118] Compared with the prior art An application of the present mobile terminal Africa video format supported by the system and method of conversion, has the following advantages:

[0119] (I)本发明将移动终端非支持格式的视频文件到mp4格式的视频文件的转换从网络服务器换到移动终端进行操作。 [0119] (I) of the present invention, the mobile terminal converts unsupported format video files to mp4 format video file from the network server to change the mobile terminal operates. 由于非支持格式视频文件到mp4格式的视频文件的转换操作被分布到每个移动终端的本地进行,减小了网络服务器的压力。 Because unsupported format video file to a local video file conversion operation mp4 format is distributed to each of the mobile terminal, it reduces the pressure of the network server.

[0120] (2)本发明在播放非支持格式的本地视频时,预先在移动终端将非支持格式的视频转换为支持的视频格式形式,实现了移动终端本地非支持格式视频的播放。 [0120] (2) according to the present invention, when playing the non-local video formats supported, the mobile terminal previously unsupported video format conversion into a video format supported form, the mobile terminal displays the achieved local, non-supported video format.

[0121] (3)本发明中服务器直接将非支持格式的视频文件传输给移动终端的形式,避免了由网络端缓存格式转换与流化之间传输数据所引起的网络问题,使得移动终端更流畅地播放视频。 [0121] (3) In the present invention, the server directly to the non-supported video format file transfer to the form of a mobile terminal, to avoid the problems caused by the network transport format conversion between the network cache data flow caused by the mobile terminal more play video smoothly.

[0122] (4)本发明在移动终端本地转换视频格式,避免了由移动终端系统转换视频格式增加移动终端CPU工作强度带来的发热问题,同时还节省了移动终端的系统资源。 [0122] (4) In the present invention, a mobile terminal home video format conversion, to avoid heat problems increase system resources the mobile terminal CPU work intensity caused by a mobile terminal video format conversion system, while saving the mobile terminal.

[0123] (5)本发明通过将非支持格式的视频在移动终端本地转换为1S系统支持的mp4格式视频,视频对象之间各自相对独立,提高了多媒体数据的可重用性,还允许用户对单个视频进行操作,方便了用户的交互体验。 [0123] (5) The present invention is supported by a non-video format conversion of the local mobile terminal 1S mp4 video format supported by the system, between the relatively independent video objects, improved multimedia data reusability, but also allow the user to a single video operation, facilitate the user's interactive experience.

[0124] 上述说明示出并描述了本申请的若干优选实施例,但如前所述,应当理解本申请并非局限于本文所披露的形式,不应看作是对其他实施例的排除,而可用于各种其他组合、修改和环境,并能够在本文所述申请构想范围内,通过上述教导或相关领域的技术或知识进行改动。 Some preferred [0124] The description illustrates and describes embodiments of the present application, as previously discussed, it should be understood that the present application is not limited to the form disclosed herein should not be considered as excluding other embodiments, the may be used in various other combinations, modifications, and environments and is capable of application within the range contemplated herein, alterations performed by the above teachings or skill or knowledge of the relevant art. 而本领域人员所进行的改动和变化不脱离本申请的精神和范围,则都应在本申请所附权利要求的保护范围内。 The modifications and variations carried out by the skilled person without departing from the spirit and scope of the disclosure shall fall within the scope of the appended claims of the present application.

Claims (10)

  1. 1.一种对移动终端中非支持格式的视频进行转换的方法,其特征在于,包括: 所述移动终端接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频对应的描述文件信息,并根据该描述文件信息生成具有mp4文件头的本地视频信息保存; 所述移动终端接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频,并启动对该视频的格式转换处理,生成相应的mp4格式的视频对象,并将生成的mp4格式的视频对象与所述具有mp4文件头的本地视频信息建立对应关系,组成mp4数据并保存; 所述移动终端的播放器对该视频进行播放时,根据该视频的所述具有mp4文件头的本地视频信息,从本地调取格式转换后生成的所述mp4数据进行播放。 1. A method of converting the mobile terminal to support video formats Africa, characterized by comprising: the mobile terminal transmitting and receiving non-video formats supported request to a web server returns the requested information corresponding to the video file described information, and the local video mp4 file having header information is stored according to the generated profile information; a mobile terminal receives the transmission of non-video formats supported request to a web server returns the requested information in the video, and the video format conversion of the starting processing to generate a corresponding video object mp4 format, and supplies the generated video object mp4 format establishing a corresponding relationship with the local video information having the mp4 file header, data and save mp4 composition; the player of the mobile terminal when the video playback, the video based on the video information having a local header mp4 file, the retrieved data is generated after mp4 format conversion from a local play.
  2. 2.根据权利要求1所述的对移动终端中非支持格式的视频进行转换的方法,其特征在于,所述移动终端接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频对应的描述文件信息,并根据该描述文件信息生成对应该视频的具有mp4文件头的本地视频信息保存,进一步为: 所述移动终端判断到非支持格式的视频请求信息后,转发给网络服务器;及所述移动终端接收所述网络服务器接收到所述非支持格式的视频请求信息后返回的描述文件信息,并根据该描述文件信息生成对应该视频的具有mp4文件头的本地视频信息保存。 2. The method for mobile terminal supporting the video format conversion Africa according to claim 1, wherein the mobile terminal receives the transmission of non-supported video format to a web server request information corresponding to the requested video returned the profile information, and generates profile information based on the stored pair should have a local video video mp4 file header information, further comprises: the mobile terminal determines to a non-supported video format the request message forwarded to the network server; and the mobile terminal receiving the network server receives the profile information of the non-supported video format returns the request information, and generates the local video should save mp4 file having header information based on the video profile information.
  3. 3.根据权利要求2所述的对移动终端中非支持格式的视频进行转换的方法,其特征在于,所述移动终端接收所述网络服务器接收到所述非支持格式的视频请求信息后返回的描述文件信息,进一步为: 所述移动终端接收所请求非支持格式的视频相对应的描述文件信息,该描述文件信息由所述网络服务器接收到所述非支持格式的视频请求信息前预先生成。 The method according to the video format supported Africa mobile terminal converts the claim 2, wherein the mobile terminal receives the web server receives the non-supported video format information to the request to return profile information, further comprises: the mobile terminal receiving the non-supported video format corresponding to the profile information request, the profile information received by the network server to the non-supported video format information before the request is generated in advance.
  4. 4.根据权利要求1所述的对移动终端中非支持格式的视频进行转换的方法,其特征在于,所述移动终端启动对该视频的格式转换处理,生成相应的mp4格式的视频对象,并将生成的mp4格式的视频对象与所述具有mp4文件头的本地视频信息建立对应关系,组成mp4数据并保存,进一步为: 所述移动终端接收服务器发送的非支持格式的视频数据后,按照mp4格式协议,将该非支持格式的视频数据封装成mp4格式的视频对象,并将生成的mp4格式的视频对象与所述具有mp4文件头的本地视频信息建立对应关系,组成mp4数据并保存。 The method of the mobile terminal to support video format conversion Africa according to claim 1, wherein, said mobile terminal starts the video format conversion process, and generate a corresponding video object mp4 format, and the generated video objects mp4 format established local video information having correspondence between the mp4 file header, data and save mp4 composition, further to: after the mobile terminal receives video data unsupported format sent by the server, according mp4 protocol format, the video data unsupported format packaged as mp4 format video objects, video object and establish a corresponding relationship mp4 format generated by the local video mp4 file having header information, and stores the data mp4 composition.
  5. 5.根据权利要求1所述的对移动终端中非支持格式的视频进行转换的方法,其特征在于,所述描述文件信息包括:音视频的编码格式、视频的分辨率、音频的采样率、采样精度、声道数、每个音视频包的大小以及每个音视频包所对应的时间戳信息。 The video format supported for the mobile terminal Africa the method of claim 1, conversion, wherein the profile information comprises: encoding the audio and video format, video resolution, audio sample rate, sampling precision timestamp information, the number of channels, each audio and video packet size for each audio and video packet corresponds.
  6. 6.一种对移动终端中非支持格式的视频进行转换的系统,其特征在于,该系统设置在所述移动终端中,该系统包括:接收模块、处理模块和播放模块;其中, 所述接收模块,用于接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频对应的描述文件信息,并根据该描述文件信息生成对应该视频的具有mp4文件头的本地视频信息保存; 所述处理模块,用于接收向网络服务器发送非支持格式的视频请求信息后返回的所请求视频,并启动对该视频的格式转换处理,生成相应的mp4格式的视频对象,并将生成的mp4格式的视频对象与所述具有mp4文件头的本地视频信息建立对应关系,组成mp4数据并保存; 所述播放模块,用于根据该视频的所述具有mp4文件头的本地视频信息,从本地调取格式转换后生成的所述mp4数据进行播放。 A system for converting the video format of the mobile terminal supports Africa, characterized in that the system is provided in the mobile terminal, the system comprising: a receiving module, a processing module and a playback module; wherein the receiving profile information corresponding to the video video module, for receiving the transmitted unsupported formats the request to the web server returns the requested information, and generates the local video should save mp4 file having header information based on the video profile information; the said processing module for receiving a request to transmit the video format supported by the non-return video after the request information to the network server, and starts the video format conversion processing to generate a corresponding video object mp4 format, and the resulting mp4 format video object correspondence relationship with the local video mp4 file having header information, and stores the data mp4 composition; the playback module is configured to have a local video information according to the mp4 file header of the video, retrieved from the local mp4 format converting data generated after the play.
  7. 7.根据权利要求6所述的对移动终端中非支持格式的视频进行转换的系统,其特征在于,所述处理模块,进一步用于: 判断到非支持格式的视频请求信息后,转发给网络服务器;及接收所述网络服务器接收到所述非支持格式的视频请求信息后返回的描述文件信息,并根据该描述文件信息生成对应该视频的具有mp4文件头的本地视频信息保存。 The video format supported Africa mobile terminal according to claim 6 of the conversion system, wherein the processing module is further for: determining a non-supported video format the request message forwarded to the network server; and receiving the network server receives the profile information of the non-supported video format returned after the request information, and generates information to be stored on the local video mp4 file having header information according to the description of the video file.
  8. 8.根据权利要求7所述的对移动终端中非支持格式的视频进行转换的系统,其特征在于,所述处理模块,进一步还用于: 接收所请求非支持格式的视频相对应的描述文件信息,该描述文件信息由所述网络服务器接收到所述非支持格式的视频请求信息前预先生成。 8. The system of the mobile terminal video format conversion Africa support according to claim 7, wherein the processing module is further further configured to: non-supported video format description file corresponding to the received request information, the profile information received by the network server to the non-supported video format information before the request is generated in advance.
  9. 9.根据权利要求6所述的对移动终端中非支持格式的视频进行转换的系统,其特征在于,所述处理模块,进一步还用于: 接收服务器发送的非支持格式的视频数据,按照mp4格式协议,将该非支持格式的视频数据封装成mp4封装对象,并将生成的mp4封装对象与所述具有mp4文件头的本地视频信息建立对应关系,组成mp4数据并保存。 9. The system of the mobile terminal of the video format conversion Africa support according to claim 6, wherein the processing module is further further configured to: non-supported video format data sent by a server, according mp4 protocol format, the unsupported format video data is encapsulated into a package mp4 objects, and establishing corresponding relationship between the generated mp4 package object and the local video mp4 file having header information, and stores the data mp4 composition.
  10. 10.根据权利要求6所述的对移动终端中非支持格式的视频进行转换的系统,其特征在于,所述描述文件信息包括:音视频的编码格式、视频的分辨率、音频的采样率、采样精度、声道数、每个音视频包的大小以及每个音视频包所对应的时间戳信息。 10. The system of video formats supported Africa converting the mobile terminal according to claim 6, wherein the profile information comprises: encoding the audio and video format, video resolution, audio sample rate, sampling precision timestamp information, the number of channels, each audio and video packet size for each audio and video packet corresponds.
CN 201510487707 2015-08-10 2015-08-10 Method and system for converting video in unsupported format in mobile terminal CN105142020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201510487707 CN105142020A (en) 2015-08-10 2015-08-10 Method and system for converting video in unsupported format in mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201510487707 CN105142020A (en) 2015-08-10 2015-08-10 Method and system for converting video in unsupported format in mobile terminal

Publications (1)

Publication Number Publication Date
CN105142020A true true CN105142020A (en) 2015-12-09

Family

ID=54727205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201510487707 CN105142020A (en) 2015-08-10 2015-08-10 Method and system for converting video in unsupported format in mobile terminal

Country Status (1)

Country Link
CN (1) CN105142020A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704581A (en) * 2016-01-25 2016-06-22 互联天下科技发展(深圳)有限公司 HTTP real-time video transmission method based on MP4 file format
WO2018027388A1 (en) * 2016-08-06 2018-02-15 柳柏宏 Fast video forwarding method for chat software at computer end, and forwarding system
WO2018027389A1 (en) * 2016-08-06 2018-02-15 柳柏宏 Method for displaying ownership information associated with video forwarding technology, and forwarding system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697612A (en) * 2009-09-18 2010-04-21 宇龙计算机通信科技(深圳)有限公司; Mobile terminal and file conversion method thereof
CN102045553A (en) * 2009-10-09 2011-05-04 腾讯科技(深圳)有限公司 Multimedia transcoding device and method and multimedia player
CN104243430A (en) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 Streaming media playing method and device
US20140380128A1 (en) * 2010-02-27 2014-12-25 Cleversafe, Inc. Data migration between a raid memory and a dispersed storage network memory
CN104349176A (en) * 2013-07-30 2015-02-11 中国电信股份有限公司 Self-adaptive stream media system, downloading method and stream media server, user terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697612A (en) * 2009-09-18 2010-04-21 宇龙计算机通信科技(深圳)有限公司; Mobile terminal and file conversion method thereof
CN102045553A (en) * 2009-10-09 2011-05-04 腾讯科技(深圳)有限公司 Multimedia transcoding device and method and multimedia player
US20140380128A1 (en) * 2010-02-27 2014-12-25 Cleversafe, Inc. Data migration between a raid memory and a dispersed storage network memory
CN104243430A (en) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 Streaming media playing method and device
CN104349176A (en) * 2013-07-30 2015-02-11 中国电信股份有限公司 Self-adaptive stream media system, downloading method and stream media server, user terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704581A (en) * 2016-01-25 2016-06-22 互联天下科技发展(深圳)有限公司 HTTP real-time video transmission method based on MP4 file format
WO2018027388A1 (en) * 2016-08-06 2018-02-15 柳柏宏 Fast video forwarding method for chat software at computer end, and forwarding system
WO2018027389A1 (en) * 2016-08-06 2018-02-15 柳柏宏 Method for displaying ownership information associated with video forwarding technology, and forwarding system

Similar Documents

Publication Publication Date Title
US20080310496A1 (en) Real-Time Key Frame Generation
US20110080940A1 (en) Low latency cacheable media streaming
US20120185530A1 (en) Method of streaming media to heterogeneous client devices
US20120278496A1 (en) Startup Bitrate In Adaptive Bitrate Streaming
US20140359680A1 (en) Network video streaming with trick play based on separate trick play files
US20120011267A1 (en) Live streaming media delivery for mobile audiences
US20070130498A1 (en) Time-shifted presentation of media streams
US20110276712A1 (en) Multi-out media distribution system and method
US20130060956A1 (en) Network streaming of coded video data
CN102118428A (en) Method and system for playing streaming media
CN101083756A (en) internet based TV stream data real time transmission and service apparatus and method
CN101321280A (en) Real-time video transcoding stream medium server
US20050105555A1 (en) Data processing method and apparatus, and data distribution method and information processing apparatus
CN102957672A (en) Method, client side and system for self-adaptive playing of FLV (flash video) media streams
JP2004140488A (en) Multimedia contents editing apparatus and multimedia contents reproducing apparatus
CN101505365A (en) Real-time video monitoring system implementing method based on network television set-top box
US20110219098A1 (en) Method and apparatus for generating and reproducing adaptive stream based on file format, and recording medium thereof
Lim et al. MMT: An emerging MPEG standard for multimedia delivery over the internet
US20140068690A1 (en) Broadcast content to http client conversion
CN101459693A (en) Stream media downloading method and system
CN102868908A (en) High-efficiency streaming media playing method and device
US20140359678A1 (en) Device video streaming with trick play based on separate trick play files
US20110299586A1 (en) Quality adjustment using a fragmented media stream
US20110302618A1 (en) Fragmented file structure for live media stream delivery
WO2009075766A2 (en) Dynamic bit rate scaling

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination