Jump to content

ffmpeg problem for wmv


kishanforum

Recommended Posts

when iam executing this command through exec its not working where as its working through command line

and this is the problem only for wmv files suggest what can be the problem.

 

                                    $file_ext= strtolower($file_ext_Arr[count($file_ext_Arr)-1]);  

  $fileid = md5(uniqid(time(), 1));                                                

                                            $src = "system/cache/videos/". $fileid.".".$file_ext;

  $dest="system/cache/videos/".$fileid;

 

  // echo "ffmpeg -i $src -ar 22050 -ab 32 -f flv  -acodec mp3 -s 320x240  $dest.flv";

Link to comment
https://forums.phpfreaks.com/topic/90144-ffmpeg-problem-for-wmv/
Share on other sites

simply say

my source file is 11.wmv and destination is dest.flv

 

when i say

exec(echo "ffmpeg -i 11.wmv  -ar 22050 -ab 32 -f flv  -s 320x240  dest.flv";) through php it is creating  afile od 0 size

 

where as when i type the same through command it is creating coorectly what can be the  problem

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.