The website I worked on is a casual game and video type website. Lately I have got a chance to revisit the back end media conversion engine we built half year ago. Instead of using ffmpeg, this time I used mplayer project to do the trick. I like mencode better. FFmpeg is good, does everything, except did not give me enough options, switches to adjust. I did not find a middle way to have the quality and the size of the flv meet our needs. In our environment, I have faac, faad2, lame installed. Faac and faad2 are a little trouble-some. I downloaded their release first, the source code just would not compile. So I tried their cvs version. It worked perfectly. I think I was too cautious. Here is the mencode command I used: #mencoder $1 -o $2 -ofps 15 -of lavf \ -oac mp3lame -lameopts abr:br=64 -srate 22050 -ovc lavc \ -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames \ -lavcopts vcodec=flv:keyint=25:vbitrate=300:mbd=2:mv0\ :trell:v4mv:cbp:la...
Comments