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 CN201510487707.4A CN201510487707A CN105142020A CN 105142020 A CN105142020 A CN 105142020A CN 201510487707 A CN201510487707 A CN 201510487707A CN 105142020 A CN105142020 A CN 105142020A
Authority
CN
China
Prior art keywords
video
format
information
mobile terminal
supported
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510487707.4A
Other languages
Chinese (zh)
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.)
1Verge Internet Technology Beijing Co Ltd
Original Assignee
1Verge Internet Technology Beijing 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 1Verge Internet Technology Beijing Co Ltd filed Critical 1Verge Internet Technology Beijing Co Ltd
Priority to CN201510487707.4A priority Critical patent/CN105142020A/en
Publication of CN105142020A publication Critical patent/CN105142020A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

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

Method and system for converting video of non-supported format in mobile terminal
Technical Field
The present application relates to the field of video playing, and in particular, to a method and a system for converting a video in a non-supported format in a mobile terminal.
Background
Currently, a mobile terminal broadcasts videos from internet multimedia more and more widely, and the commonly used videos have various formats. Video format refers to the manner in which video data, audio data, and related information data in a video are organized. Video data is realized according to a certain specific format in the processes of storage and transmission, and the different video formats are realized in different modes. The video formats commonly used at present are mainly FLV, mp4, etc.
mp4, MPEG-4Part14, is a multimedia computer file format using MPEG-4, with the sub file name mp4, for storing digital audio and video. mp4 is a set of compression coding standards for audio and video information, and is established by the international organization for standardization (ISO) and the "moving picture experts group" (MPEG) under the International Electrotechnical Commission (IEC).
The mp4 file format is an open video format and can be used to describe almost all media structures, the media description in the mp4 file is separate from the media data, and the organization of the media data is free and does not need to be arranged in chronological order, even if the media data can directly refer to other files. Meanwhile, mp4 also supports streaming media, mp4 is now widely used to package h.264 video and AAC audio, which are representative of high definition video.
The most important two parts of a general mp4 file are a video information part with an mp4 file header, video key information including information such as audio and video coding format, video resolution, audio/video sampling rate, sampling precision, channel number, size information of each audio/video packet and a corresponding time stamp of each audio/video packet is stored at the edge, and actual mp4 format video data is stored at the other part. When playing mp4 format video, the player of the mobile terminal will first request the video information part with mp4 file header.
Video processing in mp4 format has the following benefits:
(1) different coding algorithms can be adopted for different audio/video objects, so that the compression efficiency of the audio/video is improved;
(2) the audio/video objects are relatively independent, so that the reusability of multimedia data is improved;
(3) the user is allowed to operate a single audio/video object, so that the interactive experience of the user is facilitated;
(4) allowing flexible allocation of code rates between different audio/video objects, it is possible to achieve how many bytes are allocated according to the degree of importance: more bytes can be allocated to important objects, and less bytes can be allocated to secondary objects, so that better effect can be obtained at low code rate.
(5) Natural audio/video objects and synthetic audio/video objects can be conveniently integrated.
In order to play a certain video, the video player on the terminal first needs to recognize the format of the video and perform correct analysis on the video according to the relevant protocol. In practical applications, due to cost and other factors, a player often supports only one or some specific video playing formats, but cannot play other unsupported formats.
However, in some cases, the user also desires that the terminal player be able to play other unsupported video formats. With the popularization of mobile terminals, such a demand is becoming more and more prevalent.
Taking the current IOS system player as an example, as is well known in the art, the system player of the IOS system does not support video playback in FLV format, but the IOS system supports video playback in mp4 format. And the IOS system version also has no open hardware decoding interface, and only the system player has the capability of hardware decoding. As described above, when a video player of an IOS system plays a video in a format not supported by a system player, such as FLV, the hardware decoding function cannot be used, which causes problems of low system frame rate, high heat generation, high power consumption, and the like.
The current solution is to convert the FLV format through the server and then transmit it to the local player for playing. The server in this way includes: the device comprises a streaming module, a format conversion module and a storage module. The client requests video data from the server through the network, and if the requested video is in a format supported by the player, the streaming module directly reads the data from the storage module and sends the data to the player for playing; if the data requested by the player is not in the format supported by the player, the streaming module sends the request to the format conversion module, the format conversion module reads the original video data from the storage module and converts the original video data into the video format (usually mp4 format) supported by the player, the converted video data is returned to the streaming module, and the converted video data is sent to the player through the streaming module. According to the scheme, the conversion process of the format is completely completed in the background server, and the player receives the video format which is supported by the player forever.
The following describes a method for playing a non-supported format video by a mobile terminal in the prior art with reference to fig. 1 and 2:
fig. 1 is a schematic structural diagram of a system for playing a non-supported format video by a mobile terminal in the prior art, and the specific contents are as follows:
the internet is respectively connected with the mobile terminal and the server, and data information transmission of the mobile terminal and the server is realized through the internet. And, the server further includes: the storage module, the format conversion module and the fluidization module are connected with each other in pairs.
As shown in fig. 2, a schematic diagram of playing a non-supported format video by a mobile terminal in the prior art is shown, and specific contents are as follows:
step 201, a mobile terminal sends a non-supported format video playing request to a network server;
step 202, after receiving a request for playing a video in a non-supported format, a network server performs format conversion processing on the requested video in the non-supported format to generate mp4 format video data;
step 203, the network server sends the generated mp4 format video data to the mobile terminal;
in step 204, the mobile terminal obtains the mp4 format video data sent by the network server for playing.
Specifically, when the mobile terminal requests video data from the server through the internet, if the requested video is in a format supported by the mobile terminal player, the streaming module directly reads the data from the storage module and sends the data to the mobile terminal player; if the mobile terminal requests the format video which is not supported by the mobile terminal player, the streaming module sends the request information to the format conversion module, the format conversion module reads the original video data from the storage module after receiving the request information, converts the original video data into the video format (usually mp4 format) supported by the terminal player, returns the converted video data to the streaming module, and sends the converted video data to the mobile terminal through the streaming module.
However, according to the above-mentioned conventional method, the terminal player cannot play the local non-supported format video, and only can play the video format supported by the terminal player converted by the server. Moreover, when there are many mobile terminals, the server needs to perform a large amount of format conversion work at the same time, which has a high requirement on the performance of the server itself, and greatly increases the cost of the server. In practical deployment, in order to increase network efficiency, a streaming module of a server is often deployed at an edge node, and a format conversion module is deployed at a central node, so that network transmission between the streaming module and the format conversion module becomes a performance bottleneck.
As can be seen from the above, in the existing devices supported by the IOS, the following problems occur when the mobile terminal plays the local video in the format that is not supported, especially the FLV format video:
1. in the prior art, a local video which does not support the format, such as an FLV (flash video) format video, cannot be played by a mobile terminal on an IOS (IOS) supported mobile terminal, and the video which does not support the format can be played only by downloading from a server.
2. The disadvantage of converting the video format on the server and then downloading the video format is that when the number of mobile terminals is large, the server needs to perform a large amount of format conversion work at the same time, which increases the performance requirement of the server and greatly increases the cost of the server.
3. In the prior art, the efficiency of network transmission performance between a streaming module and a format conversion module of a server is low, so that the problem of unsmooth video playing of a mobile terminal is caused.
Disclosure of Invention
In order to solve the problems in the prior art, an object of the present invention is to provide a method and a system for converting a non-format supported video in a mobile terminal, so as to solve the problem that a local non-format supported video, such as an FLV format video, cannot be played on an IOS supported mobile terminal in the prior art.
The invention provides a method for converting a video with a non-supported format in a mobile terminal, which comprises the following steps:
the mobile terminal receives the description file information corresponding to the requested video returned after sending the video request information in the non-supported format to the network server, and generates local video information with an mp4 file header according to the description file information for storage;
the mobile terminal receives a requested video returned after sending video request information of a non-supported format to the network server, starts format conversion processing of the video, generates a corresponding video object of an mp4 format, establishes a corresponding relation between the generated video object of the mp4 format and the local video information with an mp4 file header, and forms mp4 data and stores the data;
and when the player of the mobile terminal plays the video, playing the mp4 data generated after the format conversion is called from the local according to the local video information of the video with the mp4 file header.
Further, the mobile terminal receives description file information corresponding to the requested video returned after sending the video request information in the unsupported format to the network server, and generates local video information with an mp4 file header corresponding to the video according to the description file information for storage, and further:
after judging the video request information in the non-supported format, the mobile terminal forwards the video request information to a network server; and
and the mobile terminal receives the description file information returned by the network server after receiving the video request information in the non-supported format, and generates and stores local video information with an mp4 file header corresponding to the video according to the description file information.
Wherein, further, the mobile terminal receives the description file information returned by the network server after receiving the video request information in the unsupported format, and further:
the mobile terminal receives the description file information corresponding to the requested video with the non-supported format, and the description file information is generated in advance before the network server receives the video request information with the non-supported format.
Wherein, further, the mobile terminal starts format conversion processing of the video, generates a corresponding video object in mp4 format, establishes a corresponding relationship between the generated video object in mp4 format and the local video information with mp4 file header, forms mp4 data and stores the data, and further:
after the mobile terminal receives the video data in the non-supported format sent by the server, the video data in the non-supported format is packaged into a video object in an mp4 format according to an mp4 format protocol, and a corresponding relation is established between the generated video object in the mp4 format and the local video information with the mp4 file header, so that mp4 data is formed and stored.
Wherein, further, the description file information includes: the audio and video coding method comprises the steps of audio and video coding format, video resolution, audio sampling rate, sampling precision, channel number, size of each audio and video packet and timestamp information corresponding to each audio and video packet.
Wherein, further, the system is arranged in the mobile terminal, and the system comprises: the device comprises a receiving module, a processing module and a playing module; wherein,
the receiving module is used for receiving the description file information corresponding to the requested video returned after the video request information in the non-supported format is sent to the network server, and generating and storing the local video information which corresponds to the video and has an mp4 file header according to the description file information;
the processing module is used for receiving the requested video returned after the video request information of the non-supported format is sent to the network server, starting format conversion processing of the video, generating a corresponding video object in the mp4 format, establishing a corresponding relation between the generated video object in the mp4 format and the local video information with the mp4 file header, and forming mp4 data and storing the data;
the playing module is used for playing the mp4 data generated after the format conversion is called from the local according to the local video information of the video with the mp4 file header.
Wherein, further, the processing module is further configured to:
after judging the video request information of the non-supported format, forwarding the video request information to a network server; and
and receiving the description file information returned by the network server after receiving the video request information in the non-supported format, and generating and storing local video information which corresponds to the video and has an mp4 file header according to the description file information.
Wherein, further, the processing module is further configured to:
receiving description file information corresponding to the requested video in the non-supported format, wherein the description file information is generated in advance before the network server receives the video request information in the non-supported format.
Wherein, further, the processing module is further configured to:
and receiving video data in a non-supported format sent by a server, packaging the video data in the non-supported format into an mp4 packaged object according to an mp4 format protocol, establishing a corresponding relation between the generated mp4 packaged object and the local video information with an mp4 file header, forming mp4 data and storing the mp4 data.
Wherein, further, the description file information includes: the audio and video coding method comprises the steps of audio and video coding format, video resolution, audio sampling rate, sampling precision, channel number, size of each audio and video packet and timestamp information corresponding to each audio and video packet.
Compared with the prior art, the method for converting the video with the non-supported format in the mobile terminal has the following advantages:
(1) the invention changes the conversion of the video file in the format which is not supported by the mobile terminal into the video file in the mp4 format from the network server to the mobile terminal for operation. Since the conversion operation of the non-supported format video file into the mp4 format video file is distributed locally to each mobile terminal, the pressure of the network server is reduced.
(2) When playing the local video in the non-supported format, the invention converts the video in the non-supported format into the supported video format form in the mobile terminal in advance, thereby realizing the playing of the local video in the non-supported format of the mobile terminal.
(3) In the invention, the server directly transmits the video file with the non-supported format to the mobile terminal, thereby avoiding the network problem caused by data transmission between the network cache format conversion and the streaming, and leading the mobile terminal to more smoothly play the video.
(4) The invention converts the video format locally at the mobile terminal, avoids the heating problem caused by the working strength of the CPU of the mobile terminal increased by converting the video format by a mobile terminal system, and saves the system resource of the mobile terminal.
(5) According to the invention, the video in the non-supported format is locally converted into the video in the mp4 format supported by the IOS system at the mobile terminal, and the video objects are relatively independent, so that the reusability of multimedia data is improved, a user is allowed to operate a single video, and the interactive experience of the user is facilitated.
Of course, it is not necessary for any one product to achieve all of the above-described technical effects simultaneously.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic diagram of a video playing system based on server transformation in the prior art;
FIG. 2 is a schematic diagram of a video playing based on server transformation in the prior art;
fig. 3 is a flowchart illustrating a method for converting a non-format supported video in a mobile terminal according to embodiment 1 of the present invention;
fig. 4 is a flowchart illustrating a method for converting a non-supported format video in a mobile terminal according to embodiment 2 of the present invention;
fig. 5 is a flowchart illustrating a method for converting a non-supported format video in a mobile terminal according to an embodiment of the present invention;
fig. 6 is a block diagram of a system for converting a non-supported format video in a mobile terminal according to embodiment 4 of the present invention.
Detailed Description
As used in the specification and in the claims, certain terms are used to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This specification and claims do not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. "substantially" means within an acceptable error range, and a person skilled in the art can solve the technical problem within a certain error range to substantially achieve the technical effect. Furthermore, the term "coupled" is intended to encompass any direct or indirect electrical coupling. Thus, if a first device couples to a second device, that connection may be through a direct electrical coupling or through an indirect electrical coupling via other devices and couplings. The description which follows is a preferred embodiment of the present application, but is made for the purpose of illustrating the general principles of the application and not for the purpose of limiting the scope of the application. The protection scope of the present application shall be subject to the definitions of the appended claims.
The present application will be described in further detail below with reference to the accompanying drawings, but the present application is not limited thereto.
Example 1:
as shown in fig. 3, a method for converting a video in a non-supported format in a mobile terminal according to embodiment 1 of the present invention includes:
step 301, the mobile terminal receives the description file information corresponding to the requested video returned after sending the video request information in the unsupported format to the network server, and generates local video information with an mp4 file header according to the description file information for storage.
In this step, a system player of the mobile terminal, preferably, the system player is an IOS system player, and after receiving the instruction to play the non-supported format video, sends an http request to the local server, the local server of the mobile terminal receives the http request and forwards the http request to the network server, and the network server returns description file information corresponding to the requested video to the mobile terminal after receiving the http request.
The step is actually an interactive process of the mobile terminal and the network server for the video request with the unsupported format, and the mobile terminal locally generates local video information with an mp4 file header according to the description file information returned by the network server, so that the mobile terminal player can conveniently play the video subsequently.
And step 302, the mobile terminal receives the requested video returned after sending the video request information of the unsupported format to the network server, starts format conversion processing of the video, generates a corresponding video object in the mp4 format, establishes a corresponding relation between the generated video object in the mp4 format and the local video information with the mp4 file header, and forms mp4 data for storage.
Further, the mobile terminal stores the mp4 data generated after the format conversion processing in the memory cache of the mobile terminal.
The video file in mp4 format is divided into two parts, one part is the video information part with the mp4 header, and the other part is the actual video object in mp4 format. The above steps are processes of receiving a video file in a non-supported format sent by a network server, converting the video file into an actual video object in an mp4 format, and forming mp4 data together with previously generated local video information with an mp4 file header.
Step 303, when the player of the mobile terminal plays the video, playing the mp4 data generated after converting from the local calling format according to the local video information of the video with the mp4 file header.
When playing mp4 format video, the mobile terminal requests local video information with mp4 file header, and after reading the local video information with mp4 file header, the mobile terminal calls the mp4 video file from the local memory cache for playing. Preferably, the mobile terminal reads mp4 data from the memory cache, and sends the data to the IOS system player for playing through http message.
Example 2:
as shown in fig. 4, on the basis of embodiment 1, the method for converting a video in a non-supported format in a mobile terminal according to the present invention includes:
step 401, the mobile terminal receives the description file information corresponding to the requested video returned after sending the video request information in the unsupported format to the network server, and generates local video information with an mp4 file header according to the description file information for storage.
Specifically, the method further comprises the following steps:
after judging the video request information in the non-supported format, the mobile terminal forwards the video request information to a network server; and
and the mobile terminal receives the description file information returned by the network server after receiving the video request information in the non-supported format, and generates and stores local video information with an mp4 file header corresponding to the video according to the description file information.
The mobile terminal receives the description file information corresponding to the requested video, which is returned after the video request information in the non-supported format is sent to the network server, and the method further comprises the following steps:
the mobile terminal receives the description file information corresponding to the requested video with the non-supported format, and the description file information is generated in advance before the network server receives the video request information with the non-supported format.
Step 402, the mobile terminal receives the requested video returned after sending the video request information of the non-supported format to the network server, starts format conversion processing of the video, generates a corresponding video object in mp4 format, establishes a corresponding relation between the generated video object in mp4 format and the local video information with mp4 file header, and forms mp4 data for storage.
Step 403, when the player of the mobile terminal plays the video, playing the mp4 data generated after converting from the local calling format according to the local video information of the video with the mp4 file header.
The description file information mentioned in the above embodiments includes: the method comprises the following steps of (1) encoding format of audio and video, resolution of video, sampling rate of audio, sampling precision and channel number; the size of the audio-video file and the timestamp information.
Example 3:
as shown in fig. 5, an application embodiment of a method for converting a video in a non-supported format in a mobile terminal according to an embodiment of the present invention includes:
in step 501, the mobile terminal receives the description file information corresponding to the requested video returned after sending the video request information in the unsupported format to the network server, and generates local video information with mp4 file header according to the description file information for storage, wherein,
the description file information in this step is generated in advance by the network server after receiving the video request information in the non-supported format, and the description file information can also be realized by defining a private protocol.
Further, after judging the video request information in the unsupported format, the mobile terminal forwards the video request information to a network server; and the mobile terminal receives the description file information returned by the network server after receiving the video request information in the non-supported format, and generates and stores local video information with an mp4 file header corresponding to the video according to the description file information.
Step 502, the mobile terminal receives the requested video returned after sending the video request information of the non-supported format to the network server, and starts the format conversion processing of the video, generates a corresponding video object of mp4 format, and establishes a corresponding relationship between the generated video object of mp4 format and the local video information with mp4 file header, and forms mp4 data and stores the data, wherein,
in this step, the mobile terminal receives the video data in the non-supported format sent by the server, preferably, the video data in the non-supported format is the video data in the FLV format, and encapsulates the video data in the non-supported format into the video object in the mp4 format according to the mp4 format protocol.
In the step, the video data in the non-supported format is directly sent to the mobile terminal, so that the pressure of the video format conversion on the server to the server is reduced, and the network problem caused by data transmission between server conversion modules is avoided.
The video in the non-supported format is converted into the video file in the mp4 format locally at the mobile terminal, so that the problem of unsmooth playing caused by network reasons is solved, and the mobile terminal can support local video playing in the non-supported format in addition to network video playing.
Step 503, when the player of the mobile terminal plays the video, according to the local video information of the video with the mp4 file header, playing the mp4 data generated after converting from the local calling format.
In this embodiment, the profile information generated by the network server in step 501 is relatively small, so that the process of generating and forwarding the profile information is relatively fast, and does not take too long, and the playing of the video is not affected.
The method of the present invention described in the above embodiment can be applied to video playing terminals such as mobile phones, computers, tablet computers, and the like.
Example 4:
as shown in fig. 6, a system for converting a video in a non-supported format in a mobile terminal according to the present invention is disposed in the mobile terminal, and includes: a receiving module 601, a processing module 602 and a playing module 603; wherein,
the receiving module 601 is coupled to the processing module 602, and configured to receive description file information corresponding to a requested video, which is returned after sending video request information in a non-supported format to a web server, and generate local video information having an mp4 file header and corresponding to the video according to the description file information for storage;
the processing module 602 is coupled to the receiving module 601 and the playing module 603, respectively, and configured to start format conversion processing of the video request, generate a corresponding mp4 format video object, establish a corresponding relationship between the generated mp4 format video object and the local video information with the mp4 file header, form mp4 data, and store the data.
Preferably, the system further comprises: a memory cache 604, the memory cache 604 coupled to the processing module 602. The mobile terminal establishes a corresponding relationship between the mp4 file generated after format conversion and the local video information with the mp4 file header, and stores the relationship in the memory cache 604 of the mobile terminal.
The playing module 603 is coupled to the processing module 602, and configured to play the mp4 data generated after converting from the local calling format according to the local video information of the video with the mp4 file header.
Wherein the processing module 602 is further configured to:
after judging the video request information of the non-supported format, forwarding the video request information to a network server; and
and receiving the description file information returned by the network server after receiving the video request information in the non-supported format, and generating and storing local video information which corresponds to the video and has an mp4 file header according to the description file information.
Further for:
receiving description file information corresponding to the requested video in the non-supported format, wherein the description file information is generated in advance before the network server receives the video request information in the non-supported format.
Further for:
and receiving video data in a non-supported format sent by a server, packaging the video data in the non-supported format into an mp4 packaged file according to an mp4 format protocol, establishing a corresponding relation between the generated mp4 packaged file and the local video information with an mp4 file header, forming mp4 data and storing the mp4 data.
In an embodiment, the description file information includes: the audio and video coding method comprises the steps of audio and video coding format, video resolution, audio sampling rate, sampling precision, channel number, size of each audio and video packet and timestamp information corresponding to each audio and video packet.
Compared with the prior art, the method and the system for converting the video with the non-supported format in the mobile terminal have the following advantages:
(1) the invention changes the conversion of the video file in the format which is not supported by the mobile terminal into the video file in the mp4 format from the network server to the mobile terminal for operation. Since the conversion operation of the non-supported format video file into the mp4 format video file is distributed locally to each mobile terminal, the pressure of the network server is reduced.
(2) When playing the local video in the non-supported format, the invention converts the video in the non-supported format into the supported video format form in the mobile terminal in advance, thereby realizing the playing of the local video in the non-supported format of the mobile terminal.
(3) In the invention, the server directly transmits the video file with the non-supported format to the mobile terminal, thereby avoiding the network problem caused by data transmission between the network cache format conversion and the streaming, and leading the mobile terminal to more smoothly play the video.
(4) The invention converts the video format locally at the mobile terminal, avoids the heating problem caused by the working strength of the CPU of the mobile terminal increased by converting the video format by a mobile terminal system, and saves the system resource of the mobile terminal.
(5) According to the invention, the video in the non-supported format is locally converted into the video in the mp4 format supported by the IOS system at the mobile terminal, and the video objects are relatively independent, so that the reusability of multimedia data is improved, a user is allowed to operate a single video, and the interactive experience of the user is facilitated.
The foregoing description shows and describes several preferred embodiments of the present application, but as aforementioned, it is to be understood that the application is not limited to the forms disclosed herein, but is not to be construed as excluding other embodiments and is capable of use in various other combinations, modifications, and environments and is capable of changes within the scope of the application as described herein, commensurate with the above teachings, or the skill or knowledge of the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the application, which is to be protected by the claims appended hereto.

Claims (10)

1. A method for converting non-format supported video in a mobile terminal, comprising:
the mobile terminal receives the description file information corresponding to the requested video returned after sending the video request information in the non-supported format to the network server, and generates local video information with an mp4 file header according to the description file information for storage;
the mobile terminal receives a requested video returned after sending video request information of a non-supported format to the network server, starts format conversion processing of the video, generates a corresponding video object of an mp4 format, establishes a corresponding relation between the generated video object of the mp4 format and the local video information with an mp4 file header, and forms mp4 data and stores the data;
and when the player of the mobile terminal plays the video, playing the mp4 data generated after the format conversion is called from the local according to the local video information of the video with the mp4 file header.
2. The method according to claim 1, wherein the mobile terminal receives the description file information corresponding to the requested video returned after sending the video request information in the unsupported format to the network server, and generates and stores local video information with mp4 header corresponding to the video according to the description file information, further comprising:
after judging the video request information in the non-supported format, the mobile terminal forwards the video request information to a network server; and
and the mobile terminal receives the description file information returned by the network server after receiving the video request information in the non-supported format, and generates and stores local video information with an mp4 file header corresponding to the video according to the description file information.
3. The method according to claim 2, wherein the mobile terminal receives the description file information returned by the network server after receiving the video request information in the unsupported format, and further comprises:
the mobile terminal receives the description file information corresponding to the requested video with the non-supported format, and the description file information is generated in advance before the network server receives the video request information with the non-supported format.
4. The method according to claim 1, wherein the mobile terminal starts format conversion processing of the video, generates a corresponding mp4 format video object, and associates the generated mp4 format video object with the local video information having mp4 file header, and forms mp4 data for storage, and further comprises:
after the mobile terminal receives the video data in the non-supported format sent by the server, the video data in the non-supported format is packaged into a video object in an mp4 format according to an mp4 format protocol, and a corresponding relation is established between the generated video object in the mp4 format and the local video information with the mp4 file header, so that mp4 data is formed and stored.
5. The method of claim 1, wherein the description file information comprises: the audio and video coding method comprises the steps of audio and video coding format, video resolution, audio sampling rate, sampling precision, channel number, size of each audio and video packet and timestamp information corresponding to each audio and video packet.
6. A system for converting non-supported format video in a mobile terminal, the system being disposed in the mobile terminal, the system comprising: the device comprises a receiving module, a processing module and a playing module; wherein,
the receiving module is used for receiving the description file information corresponding to the requested video returned after the video request information in the non-supported format is sent to the network server, and generating and storing the local video information which corresponds to the video and has an mp4 file header according to the description file information;
the processing module is used for receiving the requested video returned after the video request information of the non-supported format is sent to the network server, starting format conversion processing of the video, generating a corresponding video object in the mp4 format, establishing a corresponding relation between the generated video object in the mp4 format and the local video information with the mp4 file header, and forming mp4 data and storing the data;
the playing module is used for playing the mp4 data generated after the format conversion is called from the local according to the local video information of the video with the mp4 file header.
7. The system for converting a non-supported format video in a mobile terminal as claimed in claim 6, wherein the processing module is further configured to:
after judging the video request information of the non-supported format, forwarding the video request information to a network server; and
and receiving the description file information returned by the network server after receiving the video request information in the non-supported format, and generating and storing local video information which corresponds to the video and has an mp4 file header according to the description file information.
8. The system for converting a non-supported format video in a mobile terminal as claimed in claim 7, wherein the processing module is further configured to:
receiving description file information corresponding to the requested video in the non-supported format, wherein the description file information is generated in advance before the network server receives the video request information in the non-supported format.
9. The system for converting a non-supported format video in a mobile terminal as claimed in claim 6, wherein the processing module is further configured to:
and receiving video data in a non-supported format sent by a server, packaging the video data in the non-supported format into an mp4 packaged object according to an mp4 format protocol, establishing a corresponding relation between the generated mp4 packaged object and the local video information with an mp4 file header, forming mp4 data and storing the mp4 data.
10. The system for converting non-format supported video in a mobile terminal as claimed in claim 6, wherein the description file information comprises: the audio and video coding method comprises the steps of audio and video coding format, video resolution, audio sampling rate, sampling precision, channel number, size of each audio and video packet and timestamp information corresponding to each audio and video packet.
CN201510487707.4A 2015-08-10 2015-08-10 Method and system for converting video in unsupported format in mobile terminal Pending CN105142020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510487707.4A 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
CN201510487707.4A 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 CN105142020A (en) 2015-12-09

Family

ID=54727205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510487707.4A Pending 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 (7)

* 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
CN107154931A (en) * 2017-03-31 2017-09-12 北京奇艺世纪科技有限公司 A kind of compatible method and device of client release
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
CN109995743A (en) * 2018-01-02 2019-07-09 腾讯科技(深圳)有限公司 A kind of processing method and terminal of multimedia file
CN110602061A (en) * 2019-08-23 2019-12-20 福建星网智慧科技股份有限公司 Method, system and equipment for expanding network protocol and format of android player
WO2021174718A1 (en) * 2020-03-05 2021-09-10 深圳中兴网信科技有限公司 Remote monitoring control system and terminal

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 (8)

* 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
CN107154931A (en) * 2017-03-31 2017-09-12 北京奇艺世纪科技有限公司 A kind of compatible method and device of client release
CN107154931B (en) * 2017-03-31 2020-02-18 北京奇艺世纪科技有限公司 Method and device for client version compatibility
CN109995743A (en) * 2018-01-02 2019-07-09 腾讯科技(深圳)有限公司 A kind of processing method and terminal of multimedia file
CN110602061A (en) * 2019-08-23 2019-12-20 福建星网智慧科技股份有限公司 Method, system and equipment for expanding network protocol and format of android player
WO2021174718A1 (en) * 2020-03-05 2021-09-10 深圳中兴网信科技有限公司 Remote monitoring control system and terminal

Similar Documents

Publication Publication Date Title
CN105142020A (en) Method and system for converting video in unsupported format in mobile terminal
US11196786B2 (en) Interface apparatus and method for transmitting and receiving media data
CN100544439C (en) A kind of method and system of supporting the media data of multiple coded format
CN103036888B (en) Adaptive flow media playing method and adaptive identifying unit thereof
RU2657175C2 (en) Method and apparatus for encapsulation of motion picture experts group media transport assets in international organisation for standardisation base media files
US20140139735A1 (en) Online Media Data Conversion Method, Online Video Playing Method and Corresponding Device
CN110740363A (en) Screen projection method and system and electronic equipment
CN104796796B (en) Improve the fault-tolerant method of the HLS streaming players of Android platform
CN105049931B (en) The method and system that the video of format non-supporting in mobile terminal is converted
US20140040496A1 (en) On-demand http stream generation
CN104115500A (en) Bi-directional tunneling via user input back channel for wireless displays
CN101222616B (en) Transmission processing method for MPEG conveying stream in video-on-demand service
CN105611395B (en) A kind of method and system that MP4 format video plays online
CN105208440B (en) A kind of method and system that MP4 format video plays online
US10085051B2 (en) Method and apparatus for converting MMTP stream to MPEG-2TS
US7555009B2 (en) Data processing method and apparatus, and data distribution method and information processing apparatus
CN103916678A (en) Multimedia data transcoding method, transcoding device and multimedia data play system
CN103561281A (en) Multimedia data sharing method and device
CN107276990B (en) Streaming media live broadcasting method and device
CN104935952A (en) Video transcoding method and system
EP4167572A1 (en) Video partitioning method, transfer method, server, adaptor and storage medium
KR101819193B1 (en) Streaming service method using real-time transformation file format
CN104780392A (en) Transcoding method and device for video files
WO2018054349A1 (en) Data sending and receiving methods, and apparatuses and systems thereof
CN104519025A (en) Method, system and mobile terminal equipment for playing remote media files

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100080 A 5 C, block A, China International Steel Plaza, 8 Haidian Avenue, Haidian District, Beijing.

Applicant after: Youku network technology (Beijing) Co., Ltd.

Address before: 100080 A 5 C, block A, China International Steel Plaza, 8 Haidian Avenue, Haidian District, Beijing.

Applicant before: 1Verge Inc.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20151209

RJ01 Rejection of invention patent application after publication