Knowledgebase
Need help with H264 mod for nginx
Posted by jdinh0608, 09-03-2012, 04:16 AM | I recently installed nginx v1.0.0 on one of my ubuntu server to host some videos. Pseudo-streaming is great so naturally I would want that. I read somewhere that I would have to compile it DURING installing nginx to install the mod. Another person told me that the recent nginx already comes with mp4 mod installed and I just need to activate it in the conf file.
Having no idea how to check if v1.0.0 have it built in, I wanna make sure and install it anyway. So is there a way to install h264 mod for pseudo-streaming even though nginx is already installed ? If so, how ?
Much appreciation,
jtd
|
Posted by barbus, 09-03-2012, 03:48 PM | ngx_http_mp4_module had been added at v.1.1.3 (now 1.3.5) and after release received several important fixes, so you should update your nginx to the last stable version.
Then you will have a necessary module and you can use this manual for its setup.
|
Posted by jdinh0608, 09-03-2012, 04:37 PM | Very informative!! Thank you.
|
Posted by jdinh0608, 09-08-2012, 05:51 PM | I'm still having some trouble with this. I updated nginx to the latest stable version, nginx-1.2.3. (So now I am assuming that mp4 mod has already installed along side with this version) While adding the following to nginx.conf
I get the error during restarting nginx
Any insights would be much appreciated !
|
Posted by dclardy, 09-08-2012, 08:12 PM | That needs to go inside of the server block for the domain that you are configuring.
|
Posted by jdinh0608, 09-08-2012, 09:02 PM | Thanks for replying, I followed your advice and added the code inside the server block into /nginx/site-available/mysite
After restarting nginx, there was no error.
Though however, after creating a symlink of /nginx/site-available/mysite to /nginx/site-enable/mysite and restarting nginx. I was hit with the following error
|
|
Add to Favourites
Print this Article |
Also Read
hostit365.com (Views: 537)
contact form (Views: 508)