Saturday 18 February 2017

Transcoding streams with FFmpeg

RTSP/RTP camera
ffmpeg -i "rtsp://[camera-ip-address]/[camera-URI-syntax]" -vcodec libx264 -vb 150000 -g 60 -vprofile baseline -level 2.1 -acodec aac -ab 64000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -strict experimental -f mpegts udp://127.0.0.1:10000?pkt_size=1316
MPEG-TS stream

Monday 6 February 2017

PONTV

75 Tahun Stephen Hawking, Pelajaran Hidup dari Fisikawan Kelas Dunia

- Tepat 75 tahun lalu, pasangan suami istri Frank dan Isobel Hawking memiliki putera pertama. Lahir 8 Januari 1942, tepat 300 tahun setelah kematian Galileo, putera bernama Stephen Hawking tersebut kelak menjadi fisikawan paling berpengaruh di abad 20.

Awstas Setup for VPS Centos 6.x

The procedures for setup Awstats on a virtual host running Apache on a Centos 6.x server can be explained as follows;
The first thing to do, off course, is installing the Awstats RPM. Login as root and do the installation of Awstats using the command: yum install awstats
Next, it is needed to append Awstats directives into the httpd.conf file of the server that running virtual hosting.
The httpd.conf can be accessed for editing using the command: nano /etc/httpd/conf/httpd.conf
Add the following sections inside the corresponding <VirtualHost *:80> section of the httpd.conf