CN103024528A - Mobile terminal and method for transmitting streaming media data on mobile terminal - Google Patents

Mobile terminal and method for transmitting streaming media data on mobile terminal Download PDF

Info

Publication number
CN103024528A
CN103024528A CN2013100057486A CN201310005748A CN103024528A CN 103024528 A CN103024528 A CN 103024528A CN 2013100057486 A CN2013100057486 A CN 2013100057486A CN 201310005748 A CN201310005748 A CN 201310005748A CN 103024528 A CN103024528 A CN 103024528A
Authority
CN
China
Prior art keywords
streaming media
file
script
media section
index
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
CN2013100057486A
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.)
HANGZHOU PUHE COMMUNICATION TECHNOLOGY Co Ltd
Original Assignee
HANGZHOU PUHE COMMUNICATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HANGZHOU PUHE COMMUNICATION TECHNOLOGY Co Ltd filed Critical HANGZHOU PUHE COMMUNICATION TECHNOLOGY Co Ltd
Priority to CN2013100057486A priority Critical patent/CN103024528A/en
Publication of CN103024528A publication Critical patent/CN103024528A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for transmitting streaming media data on a mobile terminal. The method includes: acquiring multimedia data; encoding the multimedia data; packaging the encoded multimedia data into streaming media slice files; indexing the streaming media slice files to generate an index file; generating a streaming media-on-demand page according to the index file and the streaming media slice files; adding the index file, the streaming media files and the streaming media-on-demand page to pre-started APACHE HTTP service. The streaming media slice files are transmitted to other target mobile terminals in real time according to the sequence of the index and according to the requests from the other target mobile terminals. The invention further discloses a mobile terminal. The method allows the mobile terminal to serve as a server in streaming media transmission to transmit the streaming media to other target mobile terminals.

Description

Realize method and the portable terminal that stream medium data sends at portable terminal
Technical field
The present invention relates to communication technical field, particularly a kind of method and portable terminal of realizing the stream medium data transmission at portable terminal.
Background technology
The transmission form of the mode that Streaming Media refers to flow multimedia file such as transmission of audio, video in network.The streaming media mode is that the multimedia files such as Audio and Video are divided into one by one compressed package through special compress mode,, in real time transmission continuous to subscriber computer by server.In the system that adopts the streaming media mode, the user needn't wait until all complete rear central contents of just seeing of download of whole file, but only need to can utilize corresponding DST PLAYER that the files in stream media such as video or audio frequency are play at subscriber computer through the startup time-delay in several seconds or tens seconds, remaining part will be proceeded to download, until finish.
At present, except playing by computer, by being installed, DST PLAYER realized some multicast function to Streaming Media in some portable terminal, namely portable terminal can be used as the client in the streaming media, to streaming media server, realize the program request of files in stream media by network connection.
But portable terminal can only be as the client in the streaming media in the prior art, and the data flow that the receiving stream media server end sends does not still possess the ability that sends stream medium data as the server end in the streaming media to other destination mobile terminal.
Summary of the invention
The invention provides a kind of method and portable terminal of realizing the stream medium data transmission at portable terminal, the server end that portable terminal be can be used as in the streaming media sends stream medium data to other destination mobile terminal.
For reaching above-mentioned purpose, technical scheme of the present invention specifically is achieved in that
A kind of method that realizes the stream medium data transmission at portable terminal, the method comprises:
Gather multi-medium data;
Described multi-medium data is encoded;
Multi-medium data behind the described coding is encapsulated as Streaming Media section file;
Described Streaming Media section file is carried out index, the generating indexes file;
According to described index file and the Streaming Media section file generated streaming media on demand page;
With described index file, described files in stream media, and the described streaming media on demand page adds in Apache (APACHE) web service that starts in advance;
According to the request of other destination mobile terminal, described Streaming Media section file is sent to described other destination mobile terminal in real time according to the order of described index;
Wherein, the described APACHE web service that starts in advance comprises:
Revise the read only attribute of the sub-script of mobile terminal operating system start script; The newly-increased statement of opening described APACHE in described sub-script; In the configuration file of described APACHE, add the support statement to described index file form and described Streaming Media section file format.
Preferably, described collection multi-medium data comprises:
By the camera Real-time Collection video data of portable terminal, by the microphone Real-time Collection voice data of portable terminal;
Described multi-medium data is encoded, comprising:
Described video data encoding is form H.264, and audio data coding is the AAC form;
Multi-medium data after described will the coding is encapsulated as Streaming Media section file, comprising:
The video data of described H.264 form and the voice data of described AAC form are encapsulated as the MPEG-2TS format stream, and became Streaming Media section file by 5 seconds for unit.
Preferably, described multi-medium data is encoded comprises: be the multiple different size of different resolution, different colours figure place with the video data encoding of described Real-time Collection;
Multi-medium data after described will the coding is encapsulated as Streaming Media section file, comprising:
The video data of the video format of described different size is encapsulated as the Streaming Media section file of different size;
Described Streaming Media section file is carried out index, and the generating indexes file comprises: the Streaming Media section file to described different size carries out respectively index;
Described according to index file and the Streaming Media section documenting streaming media on demand page, comprising: on the described streaming media on demand page, the link of the Streaming Media section file of corresponding different size is set.
Preferably, described multi-medium data is encoded comprises:
According to screen resolution and the color figure place of described other destination mobile terminal, determine resolution and the color figure place of described coding.
Preferably, the read only attribute of the sub-script of described modification mobile terminal operating system start script comprises:
Use attribute is revised the read only attribute that the sub-script of start script init.rc is revised in order;
The described statement of opening described APACHE that increases newly in described sub-script comprises:
In the sub-script of described start script init.rc, add the statement of opening the httpd service;
In the configuration file of described APACHE, add the support statement to described index file type and described Streaming Media section file format, comprising:
In the configuration file of described APACHE, add the support statement to the index file of m3u8 form, add the support statement to the Streaming Media section file of TS form.
Preferably, the described streaming media on demand page uses HTML5 to make, and identifies described index file and described files in stream media by video tab.
A kind of portable terminal comprises:
Data acquisition unit is used for gathering multi-medium data;
Encoder is used for described multi-medium data is encoded;
Wrapper is used for the multi-medium data behind the described coding is encapsulated as Streaming Media section file;
Indexing unit is used for described Streaming Media section file is carried out index, the generating indexes file;
Webpage generating device is used for according to described index file and the Streaming Media section file generated streaming media on demand page;
The streaming media service device is used for described index file, described files in stream media, and the described streaming media on demand page adds in the APACHE web service that starts in advance; According to the request of other destination mobile terminal, described Streaming Media section file is sent to described other destination mobile terminal in real time according to the order of described index;
The streaming media service device also be used for to be revised the read only attribute of sub-script of the start script of mobile terminal operating system; The newly-increased statement of opening described APACHE in described sub-script; In the configuration file of described APACHE, add the support statement to described index file form and described Streaming Media section file format.
Preferably, described data acquisition unit comprises:
Camera is used for the Real-time Collection video data;
Microphone is used for the Real-time Collection voice data;
Described encoder comprises:
Video encoding unit is used for described video data encoding is form H.264;
Audio coding unit, being used for described audio data coding is the AAC form;
Described wrapper comprises:
Encapsulation unit is used for the video data of described H.264 form and the voice data of described AAC form are encapsulated as the MPEG-2TS format stream;
The section unit is used for for unit described MPEG-2TS format stream being divided into Streaming Media section file by 5 seconds.
Preferably, described encoder is further used for,
The video data of the video format of described different size is encapsulated as the Streaming Media section file of different size;
Described indexing unit is further used for, and the Streaming Media of described different size section file is carried out respectively index;
Webpage generating device is further used for, and on the described streaming media on demand page, the link of the Streaming Media section file of corresponding different size is set.
Preferably, described streaming media service device comprises:
Web service provides module, is used for providing the APACHE web service;
Configuration module is used for use attribute and revises the read only attribute that the sub-script of start script init.rc is revised in order; In the sub-script of described start script init.rc, add the statement of opening the httpd service; In the configuration file of described APACHE, add the support statement to the index file of m3u8 form, add the support statement to the Streaming Media section file of TS form.
As seen from the above technical solution, this method that realizes streaming media server at portable terminal of the present invention gathers first multi-medium data, and just described multi-medium data is encoded again, and the multi-medium data behind the described coding is encapsulated as Streaming Media section file; Afterwards, described Streaming Media section file is carried out index, the generating indexes file; Again according to described index file and the corresponding streaming media on demand page of Streaming Media section file generated; At last with described index file, described files in stream media, and the described streaming media on demand page adds in the web service that starts in advance; Afterwards, according to the request of other destination mobile terminal, described Streaming Media section file is sent to described other destination mobile terminal in real time according to the order of described index.Like this, other destination mobile terminal needs only and the portable terminal of startup web service is set up network connection, just can obtain corresponding Streaming Media section file by the access stream media-on-demand page, thereby make portable terminal can be used as server end in the streaming media to other destination mobile terminal transport stream media data.
In addition, make the streaming media on demand page by using HTML(Hypertext Markup Language) 5, and described with described index file and described files in stream media by the sign of the video tab among the HTML5, the destination mobile terminal that obtains Streaming Media section file does not need to install specific Streaming Media client software, only need to use and support the web browser of HTML5 to get final product, removed the trouble of mounting software from.
Have again, the color figure place that can show by screen resolution and screen according to different destination mobile terminals, produce the Streaming Media section file of different size, then destination mobile terminal can be selected the Streaming Media section file of the specification that adapts with its screen, thereby the Streaming Media section file that reducing only provides a kind of specification causes, the specification of Streaming Media section file exceeds the display effect upper limit of the screen of destination mobile terminal, the problem of waste transmission bandwidth.
Description of drawings
Fig. 1 is that the embodiment of the invention realizes the method flow diagram that stream medium data sends at portable terminal.
Fig. 2 is the mobile terminal structure schematic diagram of the embodiment of the invention.
Fig. 3 is data acquisition unit, encoder, the wrapper structural representation of the embodiment of the invention.
Fig. 4 is the streaming media service apparatus structure schematic diagram of the embodiment of the invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, referring to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
The method that realizes the stream medium data transmission at portable terminal provided by the invention as shown in Figure 1, comprises the steps:
Step 101, collection multi-medium data;
Wherein, the multi-medium data that gathers can comprise voice data, video data, text data, image data etc., wherein video data can pass through the camera Real-time Collection of portable terminal, and voice data can be by the microphone Real-time Collection of portable terminal.Certainly, voice data, video data, text data, image data etc. also can be from the storage devices of portable terminal this locality, as obtaining in the built-in internal memory of portable terminal or the storage card.
Step 102, described multi-medium data is encoded;
Coding can adopt existing any coded format, for example described video data encoding can be form H.264, and audio data coding is the AAC form.
Step 103, the multi-medium data behind the described coding is encapsulated as Streaming Media section file;
Multi-medium data behind the coding can further be encapsulated as Streaming Media section file, for example the video data of described H.264 form and the voice data of described AAC form is encapsulated as the MPEG-2TS format stream, and becomes Streaming Media section file by 5 seconds for unit.Unit and the stream format specifically cut apart are any, can decide according to concrete needs.
Step 104, described Streaming Media section file is carried out index, the generating indexes file;
Be divided into after the Streaming Media section file, also need to carry out index, the form of concrete index file is any, for example the m3u8 form.In addition, index file can dynamically update in the live process, and is smooth continuously to guarantee audio frequency and video.
Step 105, according to described index file and the Streaming Media section file generated streaming media on demand page;
Make the same prior art of mode of the streaming media on demand page, repeat no more here, in addition, the preferred HTML 5(HTML5 that adopts among the present invention) make, and by video tab<video identify described index file and described files in stream media.Adopt HTML5 to make the streaming media on demand page, destination mobile terminal need not to install Streaming Media client soft software, only needs to support that the web browser of HTML5 gets final product.
Step 106, with described index file, described files in stream media, and the described streaming media on demand page adds in the APACHE web service that starts in advance;
Wherein, described web service can be IIS of the APACHE of Apache, NGINX or Microsoft etc.; The preferred APACHE that uses among the present invention, APACHE is a kind of webpage of increasing income (Web) server software, it can be used as web services, operate on nearly all widely used PC system platform, such as windows, linux etc., versatility is widely used well, but APACHE does not also have the precedent of use on mobile-terminal platform at present, Android (android) system for example, the present invention is transplanted to APACHE in the system of portable terminal.But, for easy to use, need to allow APACHE start voluntarily with the startup of portable terminal, and support streaming media service, so also need to be handled as follows:
APACHE is configured, comprises: the newly-increased statement of opening described APACHE service in mobile terminal system start script;
In the configuration file of described APACHE service, add the support statement to described index file type and described Streaming Media section file format.
Particularly, for the portable terminal that uses Android (Android) operating system, the apache that increases income under the transplanting Linux will solve the allocation problem of apache under android under Android, make its start just can automatically open on the backstage operation.
Solution can be (because init.rc generally is stored among the read-only file district ramdisk of portable terminal at Android start script init.rc so, can't revise, so during practical operation, the present invention is chosen in the sub-script that init.rc comprises, such as/etc/init.qcom.sh, these scripts are positioned at/the etc/ catalogue, can be by the attribute modification order, for example read only attribute is revised in the remount order, reach the purpose that it can be modified) in, (httpd is the main program of Apache in newly-increased unlatching httpd service, be designed to the background process of an independent operating, it can be set up one and process the subprocess of request or the pond of thread) statement.
If add statement in * .rc, concrete statement is as follows:
service?httpd/system/bin/httpd–f/data/local/apache/conf/httpd.conf
user?system
oneshot
If add statement in * .sh, concrete statement is as follows:
httpd/system/bin/httpd–f/data/local/apache/conf/httpd.conf
For the configuration file httpd.conf of apache, except general configuration, for solving apache for the support of Streaming Media section file and index file among the present invention, key also need to add following statement in configuration file:
AddType application/x-mpegURL.m3u8 (adding the index file support to the m3u8 form)
AddType video/MP2T.ts (adding the Streaming Media section file support to the ts form).
Step 107, according to the request of other destination mobile terminal, described Streaming Media section file is sent to described other destination mobile terminal in real time according to the order of described index.
Pass through above-mentioned steps, portable terminal has had as the ability that sends stream medium data in the streaming media as server end to other destination mobile terminal, can be used as a streaming media server, provide the Streaming Media section multimedia data stream that file forms to other destination mobile terminal.At this moment, as long as portable terminal starts the WIFI hotspot service, set up wireless connections by described WIFI hotspot service and other destination mobile terminal; According to the access of described destination mobile terminal to the described streaming media playing page, just can send described Streaming Media section file to described destination mobile terminal by described wireless connections.The form of Media Stream can adopt the HTTP Live Streaming of apple (APPLE) company, and this form is supported that by HTML5 preferably versatility is arranged.
Said method can allow portable terminal become a streaming media server, the multi-medium data of portable terminal from camera and microphone Real-time Collection transmitted to other destination mobile terminal with the Streaming Media form, the realization of this function, make the user can use at any time mobile phone to the live video that photographed of other good friend, at any time live accident, report to the police or share what is seen and heard with the good friend, gather around and have broad application prospects.
In addition, in order to adapt to different screen resolutions, the portable terminal of different screen color figure place, make different portable terminals can both obtain the Streaming Media section file of appropriate size, reduce the transmission bandwidth waste, for example the screen resolution of destination mobile terminal only has 640x480, can only show 256 looks, yet the specification of the Streaming Media that portable terminal provides section file is 800x480 resolution, 16 looks, the display capabilities upper limit that has exceeded the destination mobile terminal screen, so much remaining data will be wasted, and transmit the waste that these redundant datas will cause transmission bandwidth.
In the cataloged procedure of step 102, can be the multiple different size of different resolution, different colours figure place with the video data encoding of Real-time Collection so;
In the encapsulation process of step 103, the video data of the video format of different size is encapsulated as the Streaming Media section file of different size;
In the Index process of step 104, will carry out respectively index to the Streaming Media section file of different size;
Generate in the process of the program request page in step 105 at last, on the described streaming media on demand page, the link of the Streaming Media section file of corresponding different size is set.
So during the destination mobile terminal access stream media-on-demand page, the Streaming Media section file that just can select to be fit to the specification of own onscreen display capability carries out program request, thereby reduces the waste of transmission bandwidth.
For example place the link of different size Streaming Media section file with the html grammer at the program request page, according to being labeled as from small to large " smoothness ", " SD ", " high definition " printed words, the user can click the specification that corresponding chain fetches streaming media switch section file according to own actual displayed ability.
In addition, the second solution is, the screen resolution of Real-time Obtaining destination mobile terminal and color figure place information, screen resolution and color figure place according to destination mobile terminal, come resolution and the color figure place of coding in the determining step 102, realization also can reduce the waste of transmission bandwidth to the self adaptation of the onscreen display capability of destination mobile terminal.
Particularly, can use at the program request page screen resolution and the color figure place information of JavaScript Code obtaining destination mobile terminal, the Streaming Media section file that needs what specification is judged in combination.
For example: if screen resolution is 800X480, then encoder can select close 720x480 size to make Streaming Media section file.
In addition, when the played in full screen demand is arranged, also may need to solve the problem of video played in full screen.
The played in full screen standard of HTML5 standard definition is element.requestFullscreen () and document.exitFullscreen ();
Yet the specific implementation of each browser and incomplete compatible HTML5 standard, such as Safari and Chrome browser, the method for use is: element.webkitRequestFullScreen () and document.webkitCancelFullScreen ();
Firefox then uses: element.mozRequestFullScreen () and document.mozCancelFullScreen ();
For the various main flow browsers of compatibility, can use the JavaScript code at the program request page:
Browser type=<script〉document.write (navigator.appName)</script 〉
Browser version=<script〉document.write (navigator.appVersion)</script 〉
Control system=<script〉document.write (navigator.platform)</script 〉
AppCodeName=<script>document.write(navigator.appCodeName)</script>
According to these four information, combination judges that destination mobile terminal should take the full frame interface of what type.
For not supporting that full frame, full frame effect is bad, the browser of unknown title, as supporting by force played in full screen, then can take third-party played in full screen plug-in unit.
In addition, corresponding said method, the present invention also provides a kind of portable terminal, as shown in Figure 2, comprising:
Data acquisition unit 201 is used for gathering multi-medium data;
Encoder 202 is used for described multi-medium data is encoded;
Wrapper 203 is used for the multi-medium data behind the described coding is encapsulated as Streaming Media section file;
Indexing unit 204 is used for described Streaming Media section file is carried out index, the generating indexes file;
Webpage generating device 205 is used for according to described index file and the Streaming Media section file generated streaming media on demand page;
Streaming media service device 206 is used for described index file, described files in stream media, and the described streaming media on demand page adds in the APACHE web service that starts in advance; According to the request of other destination mobile terminal, described Streaming Media section file is sent to described other destination mobile terminal in real time according to the order of described index;
Streaming media service device 206 also be used for to be revised the read only attribute of sub-script of the start script of Android Android system; The newly-increased statement of opening described APACHE in described sub-script; In the configuration file of described APACHE, add the support statement to described index file form and described Streaming Media section file format.
According to the request of other destination mobile terminal, described Streaming Media section file is sent to described other destination mobile terminal in real time according to the order of described index.
Preferably, described data acquisition unit 201 comprises as shown in Figure 3:
Camera 301 is used for the Real-time Collection video data;
Microphone 302 is used for the Real-time Collection voice data;
Described encoder 202 comprises:
Video encoding unit 303 is used for described video data encoding is form H.264;
Audio coding unit 304, being used for described audio data coding is the AAC form.
Described wrapper 203 comprises:
Encapsulation unit 305 is used for the video data of described H.264 form and the voice data of described AAC form are encapsulated as the MPEG-2TS format stream;
Section unit 306 is used for for unit described MPEG-2TS format stream being divided into Streaming Media section file by 5 seconds.
Preferably, described encoder 202 can also be further used for,
The video data of the video format of described different size is encapsulated as the Streaming Media section file of different size;
Described indexing unit 204 can be further used for, and the Streaming Media of described different size section file is carried out respectively index;
Webpage generating device 205 can be further used for, and on the described streaming media on demand page, the link of the Streaming Media section file of corresponding different size is set.
Perhaps, described encoder 202 is further used for, and the screen resolution of Real-time Obtaining destination mobile terminal and color figure place information according to screen resolution and the color figure place of destination mobile terminal, are determined resolution and the color figure place of coding.
In addition, preferably, described streaming media service device 206 as shown in Figure 4, comprising: web service provides module 401, is used for providing the APACHE web service;
Configuration module 402 is used for use attribute and revises the read only attribute that the sub-script of start script init.rc is revised in order; In the sub-script of described start script init.rc, add the statement of opening the httpd service; In the configuration file of described APACHE, add the support statement to the index file of m3u8 form, add the support statement to the Streaming Media section file of TS form.
In addition, above-mentioned each module is specifically carried out function and can also with reference to corresponding embodiment of the method, be repeated no more here.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (10)

1. a method that realizes the stream medium data transmission at portable terminal is characterized in that, the method comprises:
Gather multi-medium data;
Described multi-medium data is encoded;
Multi-medium data behind the described coding is encapsulated as Streaming Media section file;
Described Streaming Media section file is carried out index, the generating indexes file;
According to described index file and the Streaming Media section file generated streaming media on demand page;
With described index file, described files in stream media, and the described streaming media on demand page adds in the APACHE of the Apache web service that starts in advance;
According to the request of other destination mobile terminal, described Streaming Media section file is sent to described other destination mobile terminal in real time according to the order of described index;
Wherein, the described APACHE web service that starts in advance comprises:
Revise the read only attribute of the sub-script of mobile terminal operating system start script; The newly-increased statement of opening described APACHE in described sub-script; In the configuration file of described APACHE, add the support statement to described index file form and described Streaming Media section file format.
2. the method for claim 1 is characterized in that, described collection multi-medium data comprises:
By the camera Real-time Collection video data of portable terminal, by the microphone Real-time Collection voice data of portable terminal;
Described multi-medium data is encoded, comprising:
Described video data encoding is form H.264, and audio data coding is the AAC form;
Multi-medium data after described will the coding is encapsulated as Streaming Media section file, comprising:
The video data of described H.264 form and the voice data of described AAC form are encapsulated as the MPEG-2TS format stream, and became Streaming Media section file by 5 seconds for unit.
3. method as claimed in claim 2 is characterized in that, described multi-medium data is encoded comprises: be the multiple different size of different resolution, different colours figure place with the video data encoding of described Real-time Collection;
Multi-medium data after described will the coding is encapsulated as Streaming Media section file, comprising:
The video data of the video format of described different size is encapsulated as the Streaming Media section file of different size;
Described Streaming Media section file is carried out index, and the generating indexes file comprises: the Streaming Media section file to described different size carries out respectively index;
Described according to index file and the Streaming Media section documenting streaming media on demand page, comprising: on the described streaming media on demand page, the link of the Streaming Media section file of corresponding different size is set.
4. method as claimed in claim 2 is characterized in that, described multi-medium data is encoded comprises:
According to screen resolution and the color figure place of described other destination mobile terminal, determine resolution and the color figure place of described coding.
5. the method for claim 1 is characterized in that, the read only attribute of the sub-script of described modification mobile terminal operating system start script comprises:
Use attribute is revised the read only attribute that the sub-script of start script init.rc is revised in order;
The described statement of opening described APACHE that increases newly in described sub-script comprises:
In the sub-script of described start script init.rc, add the statement of opening the httpd service;
In the configuration file of described APACHE, add the support statement to described index file type and described Streaming Media section file format, comprising:
In the configuration file of described APACHE, add the support statement to the index file of m3u8 form, add the support statement to the Streaming Media section file of TS form.
6. the method for claim 1 is characterized in that, the described streaming media on demand page uses HTML HTML5 to make, and identifies described index file and described files in stream media by video tab.
7. a portable terminal is characterized in that, comprising:
Data acquisition unit is used for gathering multi-medium data;
Encoder is used for described multi-medium data is encoded;
Wrapper is used for the multi-medium data behind the described coding is encapsulated as Streaming Media section file;
Indexing unit is used for described Streaming Media section file is carried out index, the generating indexes file;
Webpage generating device is used for according to described index file and the Streaming Media section file generated streaming media on demand page;
The streaming media service device is used for described index file, described files in stream media, and the described streaming media on demand page adds in the APACHE web service that starts in advance; According to the request of other destination mobile terminal, described Streaming Media section file is sent to described other destination mobile terminal in real time according to the order of described index;
The streaming media service device also be used for to be revised the read only attribute of sub-script of the start script of mobile terminal operating system; The newly-increased statement of opening described APACHE in described sub-script; In the configuration file of described APACHE, add the support statement to described index file form and described Streaming Media section file format.
8. portable terminal as claimed in claim 7 is characterized in that, described data acquisition unit comprises:
Camera is used for the Real-time Collection video data;
Microphone is used for the Real-time Collection voice data;
Described encoder comprises:
Video encoding unit is used for described video data encoding is form H.264;
Audio coding unit, being used for described audio data coding is the AAC form;
Described wrapper comprises:
Encapsulation unit is used for the video data of described H.264 form and the voice data of described AAC form are encapsulated as the MPEG-2TS format stream;
The section unit is used for for unit described MPEG-2TS format stream being divided into Streaming Media section file by 5 seconds.
9. portable terminal as claimed in claim 7 is characterized in that, described encoder is further used for,
The video data of the video format of described different size is encapsulated as the Streaming Media section file of different size;
Described indexing unit is further used for, and the Streaming Media of described different size section file is carried out respectively index;
Webpage generating device is further used for, and on the described streaming media on demand page, the link of the Streaming Media section file of corresponding different size is set.
10. portable terminal as claimed in claim 7 is characterized in that, described streaming media service device comprises:
Web service provides module, is used for providing the APACHE web service;
Configuration module is used for use attribute and revises the read only attribute that the sub-script of start script init.rc is revised in order; In the sub-script of described start script init.rc, add the statement of opening the httpd service; In the configuration file of described APACHE, add the support statement to the index file of m3u8 form, add the support statement to the Streaming Media section file of TS form.
CN2013100057486A 2013-01-07 2013-01-07 Mobile terminal and method for transmitting streaming media data on mobile terminal Pending CN103024528A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100057486A CN103024528A (en) 2013-01-07 2013-01-07 Mobile terminal and method for transmitting streaming media data on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100057486A CN103024528A (en) 2013-01-07 2013-01-07 Mobile terminal and method for transmitting streaming media data on mobile terminal

Publications (1)

Publication Number Publication Date
CN103024528A true CN103024528A (en) 2013-04-03

Family

ID=47972580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100057486A Pending CN103024528A (en) 2013-01-07 2013-01-07 Mobile terminal and method for transmitting streaming media data on mobile terminal

Country Status (1)

Country Link
CN (1) CN103024528A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327417A (en) * 2013-07-11 2013-09-25 亿览在线网络技术(北京)有限公司 Method and device for directly broadcasting real-time long-distance audio and video frequency
CN103501392A (en) * 2013-10-16 2014-01-08 江西省文明手机台传播有限责任公司 Method for performing real-time audio and video shooting and live broadcast by using mobile phone
CN103716662A (en) * 2013-12-05 2014-04-09 乐视网信息技术(北京)股份有限公司 Mixed transmission method and server
CN103905922A (en) * 2014-03-18 2014-07-02 深圳市云宙多媒体技术有限公司 Streaming media protocol encapsulation method and device based on http protocol
CN104079951A (en) * 2013-03-26 2014-10-01 联想(北京)有限公司 Method of processing multimedia file and electronic equipment
WO2014201883A1 (en) * 2013-06-20 2014-12-24 Tencent Technology (Shenzhen) Company Limited Method and device for playing streaming media, and non-transitory storage medium
CN104683884A (en) * 2015-02-09 2015-06-03 网宿科技股份有限公司 Live method and system for stream medium
CN104768075A (en) * 2015-04-16 2015-07-08 福建升腾资讯有限公司 External subtitle redirection method and system based on DirectShow
CN106028078A (en) * 2016-08-18 2016-10-12 深圳看到科技有限公司 Personalized content creating method, personalized content creating device, personalized content play method and personalized content play device
CN106060674A (en) * 2016-06-27 2016-10-26 武汉斗鱼网络科技有限公司 System and method for achieving intelligent video live broadcast on front end
CN106131180A (en) * 2016-07-08 2016-11-16 深圳市沃特沃德股份有限公司 The processing method of the many concurrent requests of intelligent terminal, Apparatus and system
CN107451301A (en) * 2017-09-12 2017-12-08 彩讯科技股份有限公司 Processing method, device, equipment and the storage medium of bill mail are delivered in real time
CN108055574A (en) * 2017-11-29 2018-05-18 上海网达软件股份有限公司 Media file transcoding generates the method and system of multitone rail multi-subtitle on-demand content
CN111510744A (en) * 2020-07-01 2020-08-07 北京美摄网络科技有限公司 Method and device for processing video and audio, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951412A (en) * 2010-10-15 2011-01-19 上海交通大学 Multi-sub-stream media transmission system based on HTTP protocol and transmission method thereof
CN102447893A (en) * 2010-09-30 2012-05-09 北京沃安科技有限公司 Method and system for real-time acquisition and release of videos of mobile phone
CN102611690A (en) * 2011-12-22 2012-07-25 南京邮电大学 Container format conversion method on basis of hypertext transfer protocol (HTTP) streaming
CN102710966A (en) * 2012-06-13 2012-10-03 百视通网络电视技术发展有限责任公司 Video live broadcast method and system based on HTTP (Hyper Text Transport Protocol)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447893A (en) * 2010-09-30 2012-05-09 北京沃安科技有限公司 Method and system for real-time acquisition and release of videos of mobile phone
CN101951412A (en) * 2010-10-15 2011-01-19 上海交通大学 Multi-sub-stream media transmission system based on HTTP protocol and transmission method thereof
CN102611690A (en) * 2011-12-22 2012-07-25 南京邮电大学 Container format conversion method on basis of hypertext transfer protocol (HTTP) streaming
CN102710966A (en) * 2012-06-13 2012-10-03 百视通网络电视技术发展有限责任公司 Video live broadcast method and system based on HTTP (Hyper Text Transport Protocol)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079951A (en) * 2013-03-26 2014-10-01 联想(北京)有限公司 Method of processing multimedia file and electronic equipment
CN104079951B (en) * 2013-03-26 2017-11-03 联想(北京)有限公司 Multimedia file processing method and electronic equipment
WO2014201883A1 (en) * 2013-06-20 2014-12-24 Tencent Technology (Shenzhen) Company Limited Method and device for playing streaming media, and non-transitory storage medium
CN104243430A (en) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 Streaming media playing method and device
US9882951B2 (en) * 2013-06-20 2018-01-30 Tencent Technology (Shenzhen) Company Limited Method and device for playing streaming media, and non-transitory storage medium
US20150229688A1 (en) * 2013-06-20 2015-08-13 Tencent Technology (Shenzhen) Company Limited Method and device for playing streaming media, and non-transitory storage medium
CN103327417A (en) * 2013-07-11 2013-09-25 亿览在线网络技术(北京)有限公司 Method and device for directly broadcasting real-time long-distance audio and video frequency
CN103501392A (en) * 2013-10-16 2014-01-08 江西省文明手机台传播有限责任公司 Method for performing real-time audio and video shooting and live broadcast by using mobile phone
CN103716662A (en) * 2013-12-05 2014-04-09 乐视网信息技术(北京)股份有限公司 Mixed transmission method and server
CN103905922B (en) * 2014-03-18 2017-08-25 深圳市云宙多媒体技术有限公司 A kind of stream media protocol method for packing and device based on http agreements
CN103905922A (en) * 2014-03-18 2014-07-02 深圳市云宙多媒体技术有限公司 Streaming media protocol encapsulation method and device based on http protocol
CN104683884A (en) * 2015-02-09 2015-06-03 网宿科技股份有限公司 Live method and system for stream medium
CN104768075A (en) * 2015-04-16 2015-07-08 福建升腾资讯有限公司 External subtitle redirection method and system based on DirectShow
CN104768075B (en) * 2015-04-16 2018-03-23 福建升腾资讯有限公司 Plug-in captions reorientation method and system based on DirectShow
CN106060674A (en) * 2016-06-27 2016-10-26 武汉斗鱼网络科技有限公司 System and method for achieving intelligent video live broadcast on front end
CN106131180A (en) * 2016-07-08 2016-11-16 深圳市沃特沃德股份有限公司 The processing method of the many concurrent requests of intelligent terminal, Apparatus and system
CN106028078A (en) * 2016-08-18 2016-10-12 深圳看到科技有限公司 Personalized content creating method, personalized content creating device, personalized content play method and personalized content play device
CN107451301A (en) * 2017-09-12 2017-12-08 彩讯科技股份有限公司 Processing method, device, equipment and the storage medium of bill mail are delivered in real time
CN108055574A (en) * 2017-11-29 2018-05-18 上海网达软件股份有限公司 Media file transcoding generates the method and system of multitone rail multi-subtitle on-demand content
CN111510744A (en) * 2020-07-01 2020-08-07 北京美摄网络科技有限公司 Method and device for processing video and audio, electronic equipment and storage medium
CN111510744B (en) * 2020-07-01 2020-10-16 北京美摄网络科技有限公司 Method and device for processing video and audio, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103024528A (en) Mobile terminal and method for transmitting streaming media data on mobile terminal
US9344517B2 (en) Downloading and adaptive streaming of multimedia content to a device with cache assist
CN105681827B (en) Poster generation method, system and the relevant apparatus of direct broadcast band
CN103166681A (en) Information transmission method and system in short-distance scene
CN103533460A (en) Method, device, terminal and system for sharing television service
KR101718532B1 (en) Method and device for providing complementary information
US10009643B2 (en) Apparatus and method for processing media content
CN101795392A (en) Application data-downloading method, digital television receiving terminal and system
CN103116645A (en) Method and device for browsing webpage with mobile device
CN102916994A (en) Page viewing method, server and terminal
CN103945284B (en) Information processing method and information processing unit
CN105577645A (en) Agent-based HLS client-end device and realization method thereof
CN103795711A (en) Automated test method and system based on mobile phone client sides
CN113727184B (en) Video playing method, device, system, storage medium and electronic equipment
CN112243158B (en) Media file processing method and device, computer readable medium and electronic equipment
CN112995698A (en) Video playing method, client, service platform and intelligent conference system
US9641908B2 (en) Method and system for transferring real-time audio/video stream
CN112449250B (en) Method, device, equipment and medium for downloading video resources
CN107276990B (en) Streaming media live broadcasting method and device
CN108810575B (en) Method and device for sending target video
CN102421005A (en) Embedded type based code stream analysis system
KR101621530B1 (en) Method and System for Providing Flash Contents via Mobile Network and Method and Apparatus for Converting Flash Contents
CN102123320A (en) Information sending and receiving method and system based on bidirectional digital television network
KR20200050774A (en) HTML5-based web-responsive content interactive social learning system
CN101800884A (en) Information issuing method, television terminal and information issuing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20160803

C20 Patent right or utility model deemed to be abandoned or is abandoned