Jump to content

problem with converting 3gp using ffmpeg


hno

Recommended Posts

HI,

I'm using ffmpeg for converting videos in my website but it has problems with converting 3gp videos because after converting to FLV it has 0 size.

I'm using this code for converting videos to FLV:

exec( "ffmpeg.exe -i uploads/$video_name1 -ar 22050 -ab 32 -f flv -s 320×240 uploads/$video_name.flv", $ret );

 

By the way , there is no problem with variables .

 

Thanks

Have you tried echoing out all the variables and attempting to run that command in a command line environment, to make sure that it is not producing any errors? If not do that, but this is really not a PHP issue, unless the paths are messed up. You will probably do better to take it to the ffmpeg people.

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.