I run a video sharing website that currently uses .flv as video format. Videos get uploaded and converted directly to flash. If an uploaded video is HD (currently the script only considers mp4 with [url removed, login to view] as HD, nothing else), the script will make a .flv copy and keep the HD file.
The script I am using is rather old and an update is due out this year. I want to go mobile with the website and have to get rid of using flv files. I cannot wait so long so I want to modify the script so that:
- videos uploaded get converted to mp4 ([url removed, login to view]) directly
- it keeps a distinction between HD and SD videos
- the website's Player (Flowplayer) will use mp4 as default playback file
- Flowplayer will fallback to .flv if mp4 is not existant
- Flowplayer will recognize HD or SD format
This will probably involve some changes to the database as it only has fields for the original file, HD file (if HD exists for a particular video), filename (.flv or .jpg)
We may need an additional column for the mp4 file.
I have a custom flowplayer integration that will allow mp4 playback (once the script is modified). I use FMS streaming.
The goal is to change the script so that instead of converting videos to .flv it should convert all newly uploaded files to mp4. If you are proficient enough, I would additionally want a script that will convert the existing library to mp4 as well. It will be a lenghty process but I have a test installation of the script in use where you can safely experiment.
If you have more questions, please feel free to ask!