Teknik Komputer Jaringan 3

SMK Taruna Bhakti | Depok

Teknik Komputer Jaringan 3

SMK Taruna Bhakti | Depok

Teknik Komputer Jaringan 3

SMK Taruna Bhakti | Depok

Teknik Komputer Jaringan 3

SMK Taruna Bhakti | Depok

Teknik Komputer Jaringan 3

SMK Taruna Bhakti | Depok

Teknik Komputer Jaringan 3

SMK Taruna Bhakti | Depok

Jumat, 05 Desember 2014

How To Configure Nginx On Linux

How To Configure nginx on linux


1. - Masuk sebagai “root”

2. - ketikkan perintah berikut:
example: /usr/local/nginx/sbin/nginx

3. - setelah itu..install paket berikut:
example: ffmpeg, lame, libvpx, mstorsjo, nginx, opus, x264-snapshot.

4. - jika sudah, ketikkan perintah berikut:
example: netstat –ntlp
- kemudian cari port: 1935

- Jika tidak ada... untuk menambahkan nya ketikkan perintah berikut:
example: netstat -ntlp | grep 1935

5. - Jika sudah,, untuk menjalankan video
: untuk memutar video kita
ffplay /home/user/video.mp4 //

: untuk mengirimkan video ke server
ffmpeg -framerate 25 -video_size 800x600 -f x11grab -i :0.0 -vcodec libx264 -s 320x240 -b:v 400k -acodec libfdk_aac -ac 1 -ar 32000 -b:a 16k -f flv rtmp://192.168.1.1/hls/test

: untuk stream dari hp ke komputer
ffplay rtmp://192.168.43.55/hls/tes

: untuk stream radio
ffmpeg -i rtsp://fkfkfkf.tv/broadcast/ukmtv -vn -acodec libfdk_aac -b:a 32k -f flv rtmp://192.168.1.1/hls/tes

Download file here