Jump to content
php.lv forumi

četri nelieli jaut.


eregi

Recommended Posts

  • Replies 40
  • Created
  • Last Reply

Top Posters In This Topic

mm, itkā viss šķiet ir pareizi nokompīlēts, pašos php skriptos manuprāt ir vaina, jo padomā, ja es padodu caur to $_FILES['ufile']['tmp_name'] aka - /tmp/phpTcPuQw, bet pats skripts domā, ka tas fails jau kkur ir uz hdd.

Link to comment
Share on other sites

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in c:\appserv\www\youtube\upload.php on line 82

 

 

Fatal error: Cannot instantiate non-existent class: ffmpeg_movie in c:\appserv\www\****\upload.php on line 81

 

Nevaru saprast kas par fainu

http://paste.php.lv/6511

Link to comment
Share on other sites

mm, jā tomēr kkas tam ffmpeg nepatīk, jo pat palaižot skriptu, kur norādīts ceļš uz movie failu met erroru..

 

-

CLASS FFMPEG ERROR: Execute error. Output for file "/var/www/localhost/htdocs/w00t/includes/Movie.wmv" was not found. Please check server write permissions and/or available codecs compiled with FFmpeg.

 

 

Paulinjsh varbūt Tev ir kādas idejas?

 

 

 

hhmmm, jocīgi, tikko pamanīju, kad laižu to skriptu tad man iekš putty parādās -

~ # sh: /usr/local/bin/ffmpeg: No such file or directory
sh: /usr/bin/flvtool2: No such file or directory

 

tātad izskatās, ka vajadzēs pārkonvertēt

 

mmm, jā skatos skriptā bij janorāda to binu atrašanās, atradu, kur atrodās flvtool2, bet nevaru atrast, ffmpeg.

Edited by eregi
Link to comment
Share on other sites

labi, ir, savedu kārtībā, lai ffmpeg stradā tādā gadījumā, ja es tam norādu faila atrašanās viet, piem /var/www/localhost/htdocs/Movie.wmv tad visa konvertēšana notiek, bet ja es padodu $_FILES['ufile']['tmp_name'] tad turpina mest ārā CLASS FFMPEG ERROR: Execute error. Output for file "/tmp/phpOvp9kv" was not found. Please check server write permissions and/or available codecs compiled with FFmpeg.

Link to comment
Share on other sites

Tur jau tā problēma manuprāt. :) andrisp teica, lai padodu ar to $_FILES['ufile']['tmp_name'], bet tur jau nekāda faila kopēšana nenotiek, es tam skriptam, kas konvertē ar to ffmpeg padodu to $_FILES['ufile']['tmp_name'] nevis jau noseivotu movie failu, bet izskatās, ka šis grib kaut ko taustāmu :)

Link to comment
Share on other sites


×
×
  • Create New...