ClipBucket video conversion settings let you control the way you want to process your videos.
Following modules are you used for a video conversion
You must set there paths properly so ClipBucket can send commands to these modules and process videos..
Following video conversion settings can be changed .
- Max Video Height
- Max Video Width
- Resize Type
- Video Codec
- Audio Codec
- Video Rate & Bitrate
- Audio Rate & Bitrate
first of all, i wanted to tell you how ffmpeg performs a conversion command, on very start ffmpeg commands look like this
ffmpeg -i video.flv
basically it sets Video height that is going to be converted, if you want to resize your video to specific height, you can set its height in pixels
Like height, you can also set Video width so all converted videos can be resized accordinly, please read resize type for further details
when you set video heigh and width, ffmpeg command looks like this
ffmpeg -i video.flv -s widthxheight
NOTE : Additional flags will be added such as -aspect, -padcolor becuase when ffmpeg resize the video, ClipBucket tries to tell ffmpeg to keep converted video within Standard Dimentsion
resize type tells ClipBucket what kin of resize you want , please click here for details
Now lets talk about reall options
FFMPEG using different codecs to convert different types of videos, such as, if you need to convert your videos to AVI (xvid) , codec you will use is libxvid. Similarly, we can use codecs for FLV, why i am sayin codecs is because, we can convert FLV with different codecs with different qualities and for different features. ClipBucket can convert videos to FLV using following codecs
there are many others but no need to discuss about them , FLV codec simply converts video to FLV format that is playable in any web FLV Player or desktop, but what libx264 can do is , it can produce HQ flv videos with lowest possible size using high compression technique that requires highly CPU usage and also ffmpeg complied(installed) with libx264 codec. You can check your ffmpeg codecs by clicking on “Server Modules Check” under “Tool Box” menu, weather your ffmpeg has this codec installed or not. If you are planning for big video sharing website with HTTP STREAMING, i recommend you to got with libx264 otherwise flv is best for you.
One more important part of FLV video conversion is FLVTool2 ( FLV META DETA INJECTOR) , please read more about ClipBucket Conversion Architect Here
ffmpeg command will look like this
ffmpeg -i video.flv -s widthxheight -vcodec libx264
For Audio, we use audio codecs to perform conversion and get best audio, for this purpose , we can use following codecs
if you dont know what audio codec to use, you can either set it as BLANK or ‘Mp3’ , to me , it doest matter as if you want to know about core functionalities, this is not a right place to do :p, however i can tell what libmp3lame and libfaac do. As their names tell, libmp3lame encode video in Mp3 audio, yea the best you can get, but for videos, there is one more codec/format and that is libfaac, what it does is , it gives audio output in AAC format that is highlt compressed with best quality, you can expect it from here that IPod also uses the same format..
My recommendations, if you are using FLV as video codec, go with libmp3lame, if using libx264 , then libfaac is the best option you can get.. but make sure your ffmpeg is compiled with libfaac. otherwise it will not process your video
video rate tells ffmpeg how many frame rate it should use to convert a videos, video FILE SIZE and video rate are directly proportional, hope you understand what i meant 😉 , i recommend from 23 ~ 30
Video bitrate tells the quality of Video, the higher the quality the higher the size and high compression will be required, so it is also directly proportional to video size, most high qualit videos such as AVI 512 K , ( 512000) , i suggest you to set it like 256 K or 512 K (256000 or 512000)
ffmpeg -i video.flv -s widthxheight -vcodec libx264 -acodec libfaac -r 30 -b 512000
well, audio rate (sampling rate)
Commonly used sample rates are 22.05K, 32K, 44.1K & 48K , go with that best suites you, i recommend, 32 k (32000), and regarding audio bitrate, the more the best quality you get, most HQ audios are 128 K, some are 256k but i recommend you to go with 128K
ffmpeg -i video.flv -s widthxheight -vcodec libx264 -acodec libfaac -r 30 -b 512000 -ab 128000 -ar 32000
Now final output can be this
ffmpeg -i video.flv -s widthxheight -vcodec libx264 -acodec libfaac -r 30 -b 512000 -ab 128000 -ar 32000 -f flv output.flv