Tuesday, 1 September 2009

video conversion codes - through FFMPEG

// system("/usr/bin/ffmpeg -i 1214564751.wmv -r 25 -acodec mp3 -ar 22050 -s 320x240 video.flv");

//system("ffmpeg -i 1214564751.wmv -ar 22050 1111.flv");

//system("/usr/bin/ffmpeg -i videos/12170871531204448905_64.wmv -r 25 -acodec mp3 -ar 22050 -s 320x240 -y videos/testflv.flv");

/* image converter

system("/usr/local/bin/ffmpeg -i lmtttt.flv -vcodec png -vframes 1 -an -f rawvideo -s 320×240 lmmmm.jpg");

*/

// system("/usr/local/bin/ffmpeg -i mobile.avi -r 25 -acodec mp3 -ar 22050 -s 320x240 avijo.flv");

system("/usr/local/bin/ffmpeg -i mobile.avi -ar 22050 avijo1111.flv");

system("/usr/local/bin/ffmpeg -i Penquen.mpg -ar 22050 mpgjo.flv");

system("/usr/local/bin/ffmpeg -i baby_dance.wmv -ar 22050 wmvjo.flv");

//system("/usr/bin/ffmpeg -i clock.avi -r 25 -acodec mp3 -ar 22050 -s 320x240 jo1.flv");

//exec("/usr/bin/ffmpeg -i clock.avi -r 25 -acodec mp3 -ar 22050 -s 320x240 jo2.flv");

//exec("/usr/bin/ffmpeg -i clock.avi -r 25 -acodec mp3 -ar 22050 -s 320x240 jo3.flv");

No comments:

Post a comment