wmv problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kishanprasad
Forum Newbie
Posts: 16
Joined: Mon Feb 25, 2008 5:20 pm

wmv problem

Post by kishanprasad »

hi every 1
in my app iam changing any uploaded file into wmv using the ffmpeg
iam having a problem with wmv files
this is my code

exec("ffmpeg -i temp.wmv -ar 22050 -ab 32 -f flv -s 320x240 -y temp.flv");

through this code the application code is converting successfully all the other files except wmv

for wmv iam getting a output file of 0 size where as when iam executing the command through command prompt its giving correctly ,i mean its giving as o/p of some size what can be the problem is it in my app-code or in the config settings of ffmpeg

Thanku
Prasad
Post Reply