$DBTYPE = 'mysql'; $DBHOST = 'localhost'; $DBUSER = 'nuevolab_nuevo'; $DBPASSWORD = 'partyzant'; $DBNAME = 'nuevolab_nuevo'; ?>
mencoder/mplayer not required any more! Our conversion class does not use mencoder or mplayer in any place. Also other functions using mplayer were replaced by ffmpeg commands. So in result there is no even need to install mplayer and mencoder on server. Or no need to worry if mplayer or mencoder doesn't work properly.
faster conversion We have measured and compared h264/mp4 video conversion speed. For some type of videos ffmpeg can be even 30-50% faster than same conversion using mencoder! If you need it faster or slower you can simply choose ffmpeg encoding speed presets. Using ffmpeg conversion you don't need separate commands to extract WAV sound, convert it to MP4, mux video and sound.
video rotation control Newer ffmpeg version has option to rotate video automatically!
When you upload video recorded in portrait mode from tablet or mobile device, it's usually rotated 90 degrees left or right. Our script takes care about such videos and rotates video into right direction. It also cares about right aspect ratio once video rotated, what is still a problem when uploading video from mobile.
video watermarking Our ffmpeg conversion class enables video watermarking from both: PNG image and/or text.
Watermarking is included into same conversion process, so it does not affect conversion speed.
We prepared some advanced admin modification which allows to:
- switch watermarking on/off
- position watermark in one of 4 video corners
- allows to change font for text based watermark
- allows to change color and transparency for text based watermark
- allows to add shadow (any color) for text based watermark - allows to watermark video from PNG image - allows to watermark only SD video or both SD and HD