loops for ffmpeg CLI in python

fakhar Gillani fzgillani at live.com
Wed Aug 12 05:29:58 EDT 2009


 

Hi,

 

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??

 

I want to bulid a loop for the command below where i just want to vary the -vb parameter i.e. 10M. 

 

ffmpeg.exe -i sample.avi -y -f h264 -vb 10M -r 25 encoded_1000_0-05.h264

 

I have tried to make simple loops but it doest work:(

 

Can anyone here help me out?

 

Regards,

Gillani

 

 

_________________________________________________________________
Share your memories online with anyone you want.
http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090812/54ed9940/attachment.html>


More information about the Python-list mailing list