I need a script which index all media files (video, image) in my server and put the information in mysql db.
Video format in the server : mpeg1 and wmv
Image format in the server : jpg
I need the following informaton for the media (I know some information is not possible to get). Here are just examples.
video:
url="[login to view URL]"
fileSize="12216320"
bitrate="128"
framerate="25"
samplingrate="44.1"
channels="2"
duration="185"
height="200"
width="300"
Image:
url="[login to view URL]"
fileSize="12216320"
height="200"
width="300"
Please let me define the paths (I will have more than 1 path) for your script to index and your script should index all files under that folder and its subfolders.
Let to to define for some file under certain fileszie, it won't index.
I have some more fields to add for each indexed file (e.g. channels="2", lang="en"). These are default vale(same for all media files). So please let me to define these values in the script, so your script will add these info to the db as well.