Jump to content

php+ffmpeg creating 0kb files...


nicholasstephan

Recommended Posts

Hey,

 

I'm using php to exec() an ffmpeg command. Something like:

 

/usr/local/bin/ffmpeg -i inTest.mov -f flv -b 900k -ab 64k -ac 1 -ar 44100 -r 25 -s qvga outTest.flv

 

I'm getting a return_var = 1 back from exec(), and the file is created, but it's registering as 0kb on disk and "not a movie file"...

 

What am I doing wrong?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/140550-phpffmpeg-creating-0kb-files/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.