# mencoder high quality

#$enc_opts = "-mc 0 -af resample=44100::2 -vf scale,expand=:::::203/118,scale=406:236 -oac mp3lame -lameopts preset=128 -ovc lavc -lavcopts vcodec=flv:vbitrate=672:mbd=2 -of lavf -lavfopts format=flv:i_certify_that_my_video_stream_does_not_use_b_frames";
#$duration = int (2.7 * 60); 	# length of video segments in seconds.

# mencoder medium quality

#$enc_opts = "-mc 0 -af resample=44100::2 -vf scale,expand=:::::203/118,scale=406:236 -oac mp3lame -lameopts preset=96 -ovc lavc -lavcopts vcodec=flv:vbitrate=400:mbd=2 -of lavf -lavfopts format=flv:i_certify_that_my_video_stream_does_not_use_b_frames";
#$duration = int (4.3 * 60); 	# length of video segments in seconds.

# ffmpeg - testing 

#$enc_opts = "-y -acodec mp3 -s 400x250 -b 300k -ab 32 -ar 22050 -r 24 -f flv";
#$duration = int (10 * 60); 	# length of video segments in seconds.