yeah something like this works fine running the the terminal:
import os os.system('ffmpeg -i /Users/megrimm/Desktop/youtube2pd/footage/MuU00Q3RhDg.flv -an -pix_fmt yuv420p -vcodec mjpeg -s 640x480 -sameq -f mov -y /Users/megrimm/Desktop/youtube2pd/footage/test.mov')
os.system('ffmpeg -i /Users/megrimm/Desktop/youtube2pd/footage/MuU00Q3RhDg.flv /Users/megrimm/Desktop/youtube2pd/footage/temp.wav') os.system('sox /Users/megrimm/Desktop/youtube2pd/footage/temp.wav -r 44100 /Users/megrimm/Desktop/youtube2pd/footage/test.wav') os.system('normalize-audio /Users/megrimm/Desktop/youtube2pd/footage/test.wav')
so I am assuming its a path problem with your script? since it downloads and cleans. although why would it be able to clean the downloaded file from '+savepath+'/footage/' but not able to find to transcode?
m
On Thu, Aug 12, 2010 at 1:00 AM, patrick puredata@11h11.com wrote:
hi mark,
you can try with a simple python script something like:
import os os.system('ffmpeg -i /Users/bla/video.flv -vcodec mjpeg /Users/bla/video.avi')
if it's working, then maybe it's a problem with the savepath. also starting pd in a terminal might give you more info.
pat