[FFmpeg-user] Problem with converting 3gp to flv

hno2005 hno2005 at gmail.com
Mon Sep 19 10:59:33 CEST 2011

Ffmpeg convert the file and make flv file but with 0 filezie .
I execute the command by shell_exec but It still return nothing.
If I convert any file except 3gp it's work fine, What can be the problem?

Thanks a lot

-----Original Message-----
From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org]
On Behalf Of Bryce Utting
Sent: Monday, September 19, 2011 3:42 AM
To: ffmpeg-user at ffmpeg.org
Subject: Re: [FFmpeg-user] Problem with converting 3gp to flv

hno2005 wrote:
> HI,
> I have wrote a code which convert video files to flv but the problem is
> that it converts almost all of the files type to flv but it can’t convert
> 3gp to flv.
> This is the command that I use:
> exec( "$ffmpegpath -i uploads/$video_name -ar 22050 -ab 32 -f flv -s
> uploads/a.flv", $ret );

What errors does ffmpeg report when you run that command from a shell 
with the appropriate $video_name value?

Does $video_name have any characters in which might break from not being 
quoted?  (spaces, quote marks, etc)

ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

More information about the ffmpeg-user mailing list