Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.