are also modified.
6. Connect the phone with the data cable, turn on the USB mode, install the ADB tool
sudo apt-get install android-tools-adb
7, go to the SDK directory, my is/home/wangrui/java/sdk/platform-tools
Execute command:
ADB shellWill go into the phone and execute the command:
CD SDcardGo to the SD card and locate the Arm-nginx directory
8. The complete command is:
Perform
./nginxPrompt error:
Nginx: [alert] could not open error log file:open () "/home/wangrui/arm-nginx/logs/error.
456 c003f614 4002be64 S nginxnobody 2745 2743 1528 664 C00d8ad4 4002b7a4 S nginxroot 2748 2708 956 332 00000000 40095448 R PSDescription Nginx runs successfully.Open Browser input on the Development Boardhttp://localhost/The reality of the following pageNginx runs successfully.Using commandsKillall NginxKill the Nginx process.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ isolated ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~In summary, the command to run Nginx on the SDcard or tfcard of the Develop
The simplest example of Flash-based streaming media: webpage players (HTTP, RTMP, HLS), rtmphlsThis article continues with the previous article, recording some Flash-based streaming media processing examples. This article records some Web players based on Flash technology. Compared with other Web players, Flash-based Web players have the biggest advantage of "plu
specification are established in the first two steps: NetConnection and NetStream. NetConnection represents the basic connection between server applications and clients. NetStream represents the channel for sending multimedia data. Only one NetConnection can be established between the server and the client, but many netstreams can be created based on the connection. Shows the structure of these two structu
This article continues the previous article, documenting some examples of flash-based streaming media processing. This article records some of the web player based on flash technology. The biggest advantage of Flash-based web player compared to other Web players is "plug-in Installation", which can greatly improve the quality of user experience. Earlier online video (especially live streaming) used ActiveX
player Ver2 (with SDL2.0)Brief introductionThe use of ActionScript to process rtmp is very simple compared to using a/C + + processing rtmp. Rtmp's method of establishing a connection is already encapsulated, just call the ready-made interface function. But the disadvantage of using ActionScript to handle rtmp is also obvious-there are few places for yourself to
http://neue.v2ex.com/t/316766Although the browser with JS decoding ' play ' video scheme has a few ... Why not one more ...Basic principle:
The server uses websockify to relay an rtmp Stream.
The browser uses NODE-RTMPAPI to parse the RTMP protocol to complete the handshake and Communication.
Extract the H264 video stream
Send to Broadway decode
) {mediaPlayer.setPlaybackSpeed(1.0f);}});}}
Although the above code is clear, it is important to note that you should modify the path of the rtmp stream you are playing. On Android, it is sometimes possible to play rtmp streams with a header path. Fortunately, the Vitamio rtmp player also supports this approach. Therefore, all types of
Recent visits to foreign sites found that the translation is not accurate please understand.1. Send files to live as LiveFfmpeg-re-i localfile.mp4-c copy-f flv rtmp://server/live/streamname2. Save the live media to a local fileFfmpeg-i rtmp://server/live/streamname-c Copy dump.flv3, one of the live stream, video instea
the. asf file name that you want to convert to a stream.If you have live content to be published via broadcast unicast, the URL consists of a server name and a publishing point alias. For example: Mms://windows_media_server/liveevents. Here Windows_media_server is the Windows Media server name, and Liveevents is the release nameHLSHTTP Live Streaming (HLS) is Ap
content to be published via broadcast unicast, the URL consists of a server name and a publishing point alias. For example: Mms://windows_media_server/liveevents. Here Windows_media_server is the Windows Media server name, and Liveevents is the release nameHLSHTTP Live Streaming (HLS) is Apple Inc. (Apple Inc) The implementation of the HTTP-based
URL consists of a server name and a publishing point alias. For example: Mms://windows_media_server/liveevents. Here Windows_media_server is the Windows Media server name, and Liveevents is the release nameHLSHTTP Live Streaming (HLS) is Apple Inc. (Apple Inc) The implementation of the HTTP-based streaming media trans
have this directory, so it is necessary to build a catalog HL s for a drift file, and to change the permissions to read and Write permissions To modify the server module in http:The main change is the port number, changed to 81, and then the root directory according to the actual situation change!Server {Listen81; server_name localhost; #CharSet Koi8-r; #Access_log Logs/host.ac
: This article mainly introduces how to use nginx to build flv and mp4 streaming media servers based on rtmp or http. if you are interested in PHP tutorials, refer to it. Http://itindex.net/detail/48702-nginx-rtmp-http
I. streaming media playback mode1. HTTP
In this way, you need to download the FLV video file and pl
equal number of CPUs.Work_connections: maximum number of concurrent connections of a single backend worker process
Http server configuration
Sendndfile: Specifies whether nginx calls the sendfile function (zero copy mode) to output files. for common applications, this function must be set to on. if this function is used for downloading application disk I/O heavy load applications, it can be set to off to balance the disk and network I/O proc
to the console. Copy the information and save it as a. SDP text file suffix. It can also be used to receive the RTP stream. After "> test. SDP" is added, you can directly Save the SDP information as text.
2.2. Play the RTP that carries the H.264 bare stream.
[Plain]View plaincopy
Ffplay test. SDP
3. rtmp3.1. send the H.264 bare stream to the rtmp server (flashmedia s
. SDP" is added, you can directly Save the SDP information as text.
2.2. Play the RTP that carries the H.264 bare stream.
ffplay test.sdp
3. rtmp3.1. send the H.264 bare stream to the rtmp server (flashmedia server, red5, etc)
Run the command to send the "Chunwan. h264" of the H.264 bare stream to the rtmp URL where t
successful there is a log to create the stream and publish the stream, as follows:2015/01/09 17:13:12 [INFO] 6587#0: *8 client Connected ' 10.22.22.245 '2015/01/09 17:13:12 [INFO] 6587#0: *8 createstream, client:10.22.22.245, server:0.0.0.0:19362015/01/09 17:13:12 [INFO] 6587#0: *8 publish:name= ' snh48_live_640_360 ' args= ' type=live silent=0, client:10.22.22.245 , server:0.0.0.0:1936there is no log of
RTMP is a TCP protocol that Flash player receives video from a video server. Adobe has released most of the RTMP protocol, although some details have not been disclosed, but for our own development of a rtmp server is enough, even if not open, many open-source projects have
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.