<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
 <BR>
Hi,<BR>
 <BR>
I am a begineer in Python. Actually I am encoding video files with different bitrates using ffmpeg CLI. I wanted to ask you that how can I make loops so that I can vary the bitrates in the CLI of ffmpeg??<BR>
 <BR>
I want to bulid a loop for the command below where i just want to vary the -vb parameter i.e. 10M. <BR>
<FONT color=#00aa00 size=2><FONT color=#444444></FONT> <BR>
<EM>ffmpeg.exe -i sample.avi -y -f h264 -vb 10M -r 25 encoded_1000_0-05.h264</EM><BR>
 <BR>
<FONT color=#000000>I have tried to make simple loops but it doest work:(</FONT><BR>
<FONT color=#000000></FONT> <BR>
<FONT color=#000000>Can anyone here help me out?</FONT><BR>
<FONT color=#000000></FONT> <BR>
<FONT color=#000000>Regards,</FONT><BR>
<FONT color=#000000>Gillani</FONT><BR>
 <BR>
<FONT color=#000000></FONT></FONT> <BR><br /><hr />Share your memories online with anyone you want <a href='http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1' target='_new'>anyone you want.</a></body>
</html>