[eluser]mysoogal[/eluser]
[quote author="yousuf_007sys" date="1248941354"]I can convert my videos being uploaded to flv but it is not giving any sound, i mean the sound of the video is being lost somewhere after the file is converted please check my codes.
Code:
function convert_media($filename, $inputpath){
$src=$inputpath."".$filename;
$dest=$inputpath."".$filename.".flv";
$command = escapeshellcmd("ffmpeg -i $src $dest");
$output = shell_exec($command);
return $filename.".flv";
}
try with this, look like your missing few things :o !
Code:
$command = escapeshellcmd("ffmpeg -i $src -s qcif -vcodec h263 -acodec aac -ac 1 -ar 8000 -r 25 -ab 32 -y $dest");
I am using this helper method to convert, please give some suggestion
Thanks in advance
regards[/quote]
look at this
Code:
ffmpeg -i inputfile.avi -s qcif -vcodec h263 -acodec aac -ac 1 -ar 8000 -r 25 -ab 32 -y outputfile.3gp
see how the settings just think about it now :p