CN102111614A - Video and audio format conversion method - Google Patents

Video and audio format conversion method Download PDF

Info

Publication number
CN102111614A
CN102111614A CN 200910247258 CN200910247258A CN102111614A CN 102111614 A CN102111614 A CN 102111614A CN 200910247258 CN200910247258 CN 200910247258 CN 200910247258 A CN200910247258 A CN 200910247258A CN 102111614 A CN102111614 A CN 102111614A
Authority
CN
China
Prior art keywords
audio
data
video
conversion method
format conversion
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
CN 200910247258
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.)
Inventec Appliances Nanjing Corp
Original Assignee
Inventec Appliances Nanjing Corp
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 Inventec Appliances Nanjing Corp filed Critical Inventec Appliances Nanjing Corp
Priority to CN 200910247258 priority Critical patent/CN102111614A/en
Publication of CN102111614A publication Critical patent/CN102111614A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides an video and audio format conversion method, which comprises the following steps of: receiving first video and audio data, establishing a second video and audio file in a second video and audio format, acquiring first audio data and first video data from the first video and audio data, converting the first audio data and the first video data into the second video and audio format, and storing the first audio data and the first video data into the second video and audio file. In the video and audio format conversion method provided by the invention, after the first video and audio data is resolved to obtain the first video data and the first audio data, the first audio data is converted and stored as second audio data, the first video data is converted and stored as second video data, and the second audio data and the second video data are written into a media data box (mdat) in a 3GP video and audio format, so that various China mobile multimedia broadcasting (CMMB) programs can be appreciated by an electronic mobile device not supporting CMMB.

Description

A kind of audio-visual format conversion method
Technical field
The present invention relates to a kind of conversion method, relate in particular to a kind of audio-visual format conversion method.
Background technology
At present, further perfect along with China Mobile multimedia broadcasting (CMMB) network, mobile TV also becomes a kind of entertainment way in people's daily life.When enjoying highlight, just wish and to preserve, and by modes such as multi-media SMSs, the very first time is shared with relatives and friends.Yet, not that each mobile phone is all supported this audio-visual form of CMMB, so a kind of conversion method of audio-visual form is provided,, be converted to the form that general mobile phone is all supported with the audiovisual materials of CMMB, what just show is quite important.
Summary of the invention
Therefore purpose of the present invention just provides a kind of audio-visual format conversion method, to solve the problem that can't correctly show the multimedia video-audio data of China Mobile multimedia broadcasting (CMMB) form on mobile phone.
According to one embodiment of the invention, a kind of audio-visual format conversion method is proposed, be applicable to an electronic mobile apparatus, this electronic mobile apparatus receives one first audiovisual materials, first audiovisual materials are one first audio-visual forms and meet China Mobile multimedia broadcasting (China Mobile MultimediaBroadcasting, CMMB) communications protocol, this audio-visual format conversion method comprises the following step: receive first audiovisual materials; Set up one second video/audio archive, it is one second audio-visual form; Resolve first audiovisual materials, and first audiovisual materials are decomposed into one first audio data and one first video data; First audio data and first video data are converted to the second audio-visual form and deposit second video/audio archive in.
Wherein the first audio-visual form is a compound news frame (Mixed Frame), and compound news frame comprises a compound news frame head, a padding data section and is raised and carried section (payload), raises a year Duan Ze and comprises at least one compound son news frame (Mixed Sub-frame).
Wherein compound son news frame comprises a son news frame head, a video data section, an audio data section and a data segment.
Wherein resolve after first audiovisual materials resolve son news frame head exactly, obtain a sum of video data section and audio data section, and capture first video data and first audio data from video data section and audio data according to sum.
Wherein first audio data is the ACC coding.
Wherein first video data is H.264 to encode.
Wherein the second audio-visual form is the 3GP form, the 3GP form comprise a film package (Movie Box, moov) and a media data package (Media Data Box, mdat).
Wherein film package (moov) is in order to access content form and access method, and media data package (mdat) then is in order to access one second audio data and one second video data.
Wherein second audio data is AAC or AMR coding, and first audio data is after being second audio data with the AAC code conversion, to write the media data package.
Wherein second video data is MPEG4, H.263 or H.264 encodes, and first video data is with after H.264 code conversion is second video data, writes the media data package.
Adopt audio-visual format conversion method of the present invention, behind first audio data of first video data of H.264 being encoded and AAC coding resolving first audiovisual materials, second audio data is changed and saved as to first audio data, and with after the conversion of first video data and saving as second video data, write the media data package (mdat) in the audio-visual form of 3GP, promptly store the multimedia video-audio data of CMMB, reach the purpose that makes the electronic mobile apparatus of not supporting China Mobile multimedia broadcasting (CMMB) also can appreciate the program of various CMMB with the 3GP form.
Description of drawings
For above and other objects of the present invention, feature, advantage and embodiment can be become apparent, being described in detail as follows of appended accompanying drawing:
Fig. 1 is the flow chart that illustrates audio-visual format conversion method of the present invention; And
Fig. 2 is the first audio-visual form schematic diagram that illustrates audio-visual format conversion method of the present invention.
[main element symbol description]
1: compound news frame 20: compound son news frame head
10: compound news frame head 21: video data section
11: padding data section 22: the audio data section
12: raise and carry section 23: data segment
2: compound son news frame S1~S4: step
Embodiment
Below will and describe clear explaination spirit of the present invention in detail with accompanying drawing, any those of ordinary skill in the art is after understanding preferred embodiment of the present invention, when can be by the disclosed technology of the present invention, change and modification, and do not break away from spirit of the present invention and scope.
See also Fig. 1, it is the flow chart of audio-visual format conversion method of the present invention.Among the figure, audio-visual format conversion method comprises step (S1): receive one first audiovisual materials, first audiovisual materials have the first audio-visual form; Step (S2): set up one second video/audio archive, it is one second audio-visual form; Step (S3): resolve first audiovisual materials, and first audiovisual materials are decomposed into one first audio data and one first video data; And step (S4): first audio data and first video data are converted to the second audio-visual form and deposit second video/audio archive in.
See also Fig. 2, it is the first audio-visual form schematic diagram of audio-visual format conversion method of the present invention.Wherein, the first audio-visual form is a compound news frame (Mixed Frame) 1, and this compound news frame 1 comprises more that a compound news frame head 10, a padding data section 11 and are raised and carries section (payload) 12, raises to carry 12 of sections and comprise at least one compound son news frame (Mixed Sub-frame) 2.And compound 2 of frames of son news have comprised a son news frame head 20, a video data section 21, an audio data section 22 and a data segment 23.And all kinds of television video programs that China Mobile multimedia broadcasting (CMMB) is broadcast, be after combination each video data section 21, audio data section 22 and each data segment 23 become a compound son news frame 2, assemble again a plurality of compound son news frames raise for 2 one-tenths carry sections 12 after, broadcast in the mode of a compound news frame 1.
Wherein, parsing first audiovisual materials of the present invention, be after resolving son news frame head 20, obtain a sum of video data section 21 and audio data section 22, and capture one first video data and one first audio data from video data section 21 and audio data section 22 according to this sum.First audio data is the ACC coding, and first video data is H.264 to encode.
The second audio-visual form is the 3GP form, its be comprise a film package (Movie Box, moov) and a media data package (Media Data Box, mdat).Film package (moov) is in order to access content form and access method, and media data package (mdat) then is in order to access one second audio data and one second video data.In the audio-visual form of 3GP, its audio data can be AAC or AMR coding, and its video data then can be MPEG4, H.263 or H.264 encodes.
Hence one can see that, so just, with the means of identical encoding and decoding, behind first audio data of first video data of H.264 being encoded and AAC coding resolving first audiovisual materials, second audio data is changed and saved as to first audio data, and with after the conversion of first video data and saving as second video data, write the media data package (mdat) in the audio-visual form of 3GP, promptly store the multimedia video-audio data of CMMB, reach the purpose that makes the electronic mobile apparatus of not supporting China Mobile multimedia broadcasting (CMMB) also can appreciate the program of various CMMB with the 3GP form.
Though the present invention discloses as above with by way of example; right its is not in order to limit the present invention; any those of ordinary skill in the art; without departing from the spirit and scope of the present invention; when can being used for a variety of modifications and variations, so protection scope of the present invention is as the criterion when looking the scope that claims define.

Claims (10)

1. audio-visual format conversion method, be applicable to an electronic mobile apparatus, described electronic mobile apparatus receives one first audiovisual materials, described first audiovisual materials are one first audio-visual forms and meet China Mobile multimedia broadcasting (China Mobile Multimedia Broadcasting, CMMB) communications protocol, it is characterized in that described audio-visual format conversion method comprises the following step:
Receive described first audiovisual materials;
Set up one second video/audio archive, it is one second audio-visual form;
Resolve described first audiovisual materials, and described first audiovisual materials are decomposed into one first audio data and one first video data; And
Described first audio data and described first video data are converted to the described second audio-visual form and deposit described second video/audio archive in.
2. audio-visual format conversion method according to claim 1, it is characterized in that, the described first audio-visual form is a compound news frame (Mixed Frame), described compound news frame comprises a compound news frame head, a padding data section and is raised and carried section (payload), and the described year Duan Ze that raises comprises at least one compound son news frame (Mixed Sub-frame).
3. audio-visual format conversion method according to claim 2 is characterized in that, described compound son news frame comprises a son news frame head, a video data section, an audio data section and a data segment.
4. audio-visual format conversion method according to claim 3, it is characterized in that, resolve after described first audiovisual materials resolve described son news frame head exactly, obtain a sum of described video data section and described audio data section, and capture described first video data and described first audio data from described video data section and described audio data according to described sum.
5. audio-visual format conversion method according to claim 4 is characterized in that, described first audio data is the ACC coding.
6. audio-visual format conversion method according to claim 4 is characterized in that, described first video data is H.264 to encode, and the described second audio-visual form is the 3GP form.
7. audio-visual format conversion method according to claim 6 is characterized in that, described 3GP form comprise a film package (Movie Box, moov) and a media data package (Media DataBox, mdat).
8. audio-visual format conversion method according to claim 7 is characterized in that, described film package (moov) is in order to access content form and access method.
9. audio-visual format conversion method according to claim 7, it is characterized in that, described media data package (mdat) then is in order to access one second audio data and one second video data, and described second audio data is AAC or AMR coding, described first audio data is after being described second audio data with the AAC code conversion, to write described media data package.
10. audio-visual format conversion method according to claim 7, it is characterized in that, described media data package (mdat) then is in order to access one second audio data and one second video data, and described second video data is MPEG4, H.263 or H.264 encodes, described first video data is with after H.264 code conversion is described second video data, writes described media data package.
CN 200910247258 2009-12-28 2009-12-28 Video and audio format conversion method Pending CN102111614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910247258 CN102111614A (en) 2009-12-28 2009-12-28 Video and audio format conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910247258 CN102111614A (en) 2009-12-28 2009-12-28 Video and audio format conversion method

Publications (1)

Publication Number Publication Date
CN102111614A true CN102111614A (en) 2011-06-29

Family

ID=44175620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910247258 Pending CN102111614A (en) 2009-12-28 2009-12-28 Video and audio format conversion method

Country Status (1)

Country Link
CN (1) CN102111614A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291580A (en) * 2011-07-28 2011-12-21 南京联慧通信技术有限公司 Video transmission method based on Android system
CN104780391A (en) * 2015-04-07 2015-07-15 无锡天脉聚源传媒科技有限公司 Video file format converting method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291580A (en) * 2011-07-28 2011-12-21 南京联慧通信技术有限公司 Video transmission method based on Android system
CN102291580B (en) * 2011-07-28 2013-03-20 南京联慧通信技术有限公司 Video transmission method based on Android system
CN104780391A (en) * 2015-04-07 2015-07-15 无锡天脉聚源传媒科技有限公司 Video file format converting method and device

Similar Documents

Publication Publication Date Title
CN103036888B (en) Adaptive flow media playing method and adaptive identifying unit thereof
EP2417772B1 (en) Media container file management
US8788933B2 (en) Time-shifted presentation of media streams
US9357274B2 (en) System and method for storing multi-source multimedia presentations
CN102291580B (en) Video transmission method based on Android system
KR20170109036A (en) Multimedia file live broadcasting method, system and server
CN103069828A (en) Providing sequence data sets for streaming video data
CN102263959A (en) Direct broadcast transfer method and system
CN111602406B (en) Method, device and computer readable storage medium for processing media data
CN101848367B (en) File-based video live webcasting method
CN1716236A (en) Method and apparatus to edit a media file
CN104575547A (en) Multi-media file making method, as well as multi-media file playing method and system
CN101888540B (en) Method and device for bearing transport streams TS in streaming media files
CN102254560B (en) Audio processing method in mobile digital television recording
US7711718B2 (en) System and method for using multiple meta boxes in the ISO base media file format
CN111147896A (en) Subtitle data processing method, device and equipment and computer storage medium
WO2011003231A1 (en) Transmission method, receiving method and device for scalable video coding files
CN101802803B (en) Method and apparatus for generating and reproducing media object-based metadata
CN103841451A (en) Multimedia playing method, device and terminal
CN103269450A (en) Multimedia system for Android smart television set
CN102111614A (en) Video and audio format conversion method
CN102263941A (en) Transcoding method and device for video file
US20170055006A1 (en) Receiver, transmitter, data communication method, and data processing method
CN102723104A (en) Multimedia recorded broadcast system based on moving picture experts group 4 (MP4) file packaging format
CN104185033A (en) Method, device and system for processing multiple images of television

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110629