
Posts by nishant:
- New Uploads (0 New)
- Manage Media
- Manage Users
- Manage Video Ads
- Manage Site Ads
- Manage Categories
- Manage Email Text
- Manage Menus
- Manage News
- Bad Words Filter
- Site Settings
- Site Features
- max_execution_time: 30 (we recommend 1000)
- max_input_time: 30 (we recommend 1000)
- upload_max_filesize: 2M(we recommend 200M)
- post_max_size: 8M (we recommend 200M)
- register_argc_argv: 1 OK
- open_basedir: no value OK
- safe_mode: off OK
- upload_max_filesize: 2M(we recommend 200M)
- post_max_size: 8M (we recommend 200M)
- register_argc_argv: 1 OK
Vidiscript Settings Pages
September 12th, 2012It is fairly simple to manage and run a website with vidiscript.
Here are a few screenshots i’ve taken from the demo of video sharing script
There are 2 pages of settings .
Step 1: login as admin.
This is the account you created while installing vidiscript.After login find the admin menu on the right side of the page,you’ll probably will have to scroll down a little bit.
Admin Menu
The last 2 links “Site Settings” and “Site Features” are the ones which help you configure vidiscript.
Site Settings
Site Features
Well these setting are pretty much self explanatory.
Pls ask any questions in the comment section below so that the answers are useful for others as well.
Vidiscript on windows with WAMP
October 29th, 2011Ok here it goes,
This tutorial is being written as an intro for people would like to have their own personal youtube at home and would like to use vidiscript to achieve that.
These are the few basic steps that we will go through in this tutorial.
1) Download and Install a webserver and database (WAMP).
2) Install video conversion dependencies (ffmpeg).
3) Download and Install vidiscript(version)
4) Configure PHP parameters (php.ini)
Steps 3 and 4 are to be performed side by side.
STEP 1: Installing a webserver.
This is a fairly simple procedure , I’ve used WAMP2 . Download and install the software ,it’s simple matter of clicking next.
Note the default install does not have a password for mysql. While running the wamp server Vista will ask if you want to allow this program ,you’ll have to.
Once the program is installed ,run it by finding startWampserver from the start menu. When the icon near the clock usually the bottom right corner of the screen turns green we are good to go.
Click on the green W icon -> select phpmyadmin and create a blank database named “vidiscript”, you could call it mickey_mouse if you wanted to .
Step 2: Installing FFMPEG.
This dude has done a very good job of explaining and providing correct links from where to download and how to install FFMPEG , CREDIT goes to JAY. Just follow it blindly ,do not skip any steps .
At the end of this installation ,pls make a note of the location/path of where you’ve installed ffmpeg.exe we’ll need this later. In my case i’ve put ffmpeg.exe in c:\wamp\bin\ so the path to note is c:\wamp\bin\ffmpeg.exe\
Step 3: Register on vidiscript and download the latest version. Unzip the installation folder in c:\wamp\www\ .I’ve renamed the folder to vidiscript removing the version numbers. So the unzipped folder is now called vidiscript.
Point your browser to localhost/vidiscript/install
You will see a bunch of problems detected by vidiscript .
We jump to step 4
STEP 4 : Configuring php.ini
Click on the green wamp icon, mouse over to “php” click on php.ini in the submenu.
once the file is open we’ll use ctrl + f to find the right parameters and change their values.
These are the possible problem values
Try changing one setting first and then refresh the page in the web-browser that’s showing these errors.
;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; ; Maximum execution time of each script, in seconds ; http://php.net/max-execution-time ; Note: This directive is hardcoded to 0 for the CLI SAPI max_execution_time = 1000 ; Maximum amount of time each script may spend parsing request data. It's a good ; idea to limit this time on productions servers in order to eliminate unexpectedly ; long running scripts. ; Note: This directive is hardcoded to -1 for the CLI SAPI ; Default Value: -1 (Unlimited) ; Development Value: 60 (60 seconds) ; Production Value: 60 (60 seconds) ; http://php.net/max-input-time max_input_time = 1000 ; Maximum input variable nesting level ; http://php.net/max-input-nesting-level ;max_input_nesting_level = 64 ; Maximum amount of memory a script may consume (128MB) ; http://php.net/memory-limit memory_limit = 256M
This memory limit bit right above this line is not necessary but it’s good to have ,as it will provide more space for conversion of your file uploads.
similarly find the next bits
;;;;;;;;;;;;;;;; ; File Uploads ; ;;;;;;;;;;;;;;;;
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize upload_max_filesize = 512M
Similarly handle
similarly handle the post_max_size: 8M (we recommend 200M)
and any other.
so at the end of this exercise your page should look green except for ffmpeg
Encoders Installed:
- FFMPEG – FFMPEG is not installed at /usr/bin/ffmpeg – please set the path to FFMPEG in admin settings after you have installed VidiScript
However if you do see this screen do not continue, as installation will not work.
GOTO this section in php.ini
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Error handling and logging ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Scroll down and find this setting
display_errors = On
and change it to
display_errors = Off
That’s it , refresh the page and you’ll be able to continue.
Now back to step 3,
Database name is the name you created in step 1 should be called “vidiscript” may be you called it “mickey_mouse”.
Enter that name , Host name = localhost.
username= root and password =
password is blank don’t type anything there and click next.
Now on this page only one setting needs special attention
Site Folder (eg. if you have uploaded to ‘http://yoursite.com/myfolder’ enter ‘myfolder’ (not ‘myfolder/’) or leave blank if root folder)
If you are following this tutorial closely then your should have a directory
c:\wamp\www\vidiscript\ assuming you’ve install your wamp server in c:\wamp\
you need to type “vidiscript” this is quite important. so do this carefully.
Click next . and click on the link to get to your site.
Login with your admin credentials you created a minute ago. Hope you didnt forget the password .
On the right hand side strip Click on “Site Settings ” then click on “Encoding”
Remember the ffmpeg path we were talking about in step 2 , well paste that here.
In my case or if you are following the tutorial closely, it should be
c:\wamp\bin\ffmpeg.exe
That’s it. You are now ready to upload your videos and share it over the wifi network inside your house
Actually you could show it over the internet with little effort. Any way that’s all folks.
Pls comment or complain if the information is not enough or not well organized, suggestions and corrections are welcome.




Twitter
Facebook