cwbas.blogg.se

Instalar ffmpeg ubuntu 12.04
Instalar ffmpeg ubuntu 12.04









instalar ffmpeg ubuntu 12.04

To add more qualities, copy and paste the exec ffmpeg line and change the settings. These changes will only be applied to the lower quality stream. sudo nano /usr/local/nginx/conf/nfĮxec ffmpeg -i rtmp://localhost/live/$name -threads 1 -c:v libx264 -profile:v baseline -b:v 350K -s 640x360 -f flv -c:a aac -ac 1 -strict -2 -b:a 56k rtmp://localhost/live360p/$name Īfter you've added the above, you can customize settings such a video bitrate, audio bitrate and resolution. To install it run sudo apt-get install software-properties-common. The apt-add-repository command may not be installed in some cases. Sudo add-apt-repository ppa:kirillshkrogalev/ffmpeg-next sudo apt-get install software-properties-common sudo service nginx startĪdd the FFmpeg PPA. Start and stop Nginx to generate configuration files. Nginx-RTMP is included./configure -with-http_ssl_module -add-module=./nginx-rtmp-module-masterĬompile and install Nginx with Nginx-RTMP. cd nginx-1.7.5Īdd modules that Nginx will be compiled with. sudo apt-get install unzipĮxtract the Nginx and Nginx-RTMP source. mkdir ~/workingĭownload the Nginx and Nginx-RTMP source.

instalar ffmpeg ubuntu 12.04

Make a working directory and switch to it. sudo apt-get install build-essential libpcre3 libpcre3-dev libssl-dev Install the tools required to compile Nginx and Nginx-RTMP from source. Lets get started! Installing Nginx and Nginx-RTMP Vultr’s global network also ensures that you can deliver high quality live content with minimal delay. Vultr is great for these applications as they provide fast and dedicated CPU performance. When RTMP is paired with FFmpeg, streams can be converted into various qualities. So far I've recorded 242,256 events and the 500 GIG disk is 80% full with three months of motion detection! Not bad for software that is not fully compatible.RTMP is great for serving live content.

instalar ffmpeg ubuntu 12.04

The not-for-profit I help with could not afford a camera system such as the one we set up with ZM! 15 cameras, by-the-way, with a mix of analog, IP and h.264 running on a second hand Dell Optiplex 780. I for one am very grateful for all the work folks have done on ZM. The setup procedure in the "easy" series does not make ZM compatible with Ubuntu but makes Ubuntu and Apache compatible with ZM. Not sure if there is a way to export a real video file but in most wotk I've done with police they are very happy to have a sequence of files. Not sure if this works but I was able to export an event that contained an HTML file that played the jpg images in a loop. Update: You can try to add /usr/bin/avconv in the area above. Since this setup saves the video stream as JPEG files I consider the system to be working! Others may disagree. I just successfully exported images from a Ubuntu 14.04 server running ZM 1.26.5!ĭid not have the FFMPEG checked in Options:Images:OPT_FFMPEG











Instalar ffmpeg ubuntu 12.04