emsy Posted May 16, 2010 Report Share Posted May 16, 2010 Reāli nekad nebiju saskāries ar funkciju exec un tādām lietām, kas uz servera izpilda bināro failu darbības, tāpēc, man ir vajadzīga palīdzība: http://paste.php.lv/74bba88bd24d9d1d39bfccaae7bde697?lang=php Pēc idejas visam būtu jāstrādā, bet pie pirmā exec, kkas noiet greizi... Quote Link to comment Share on other sites More sharing options...
Pentiums Posted May 16, 2010 Report Share Posted May 16, 2010 kamdēļ tā? print "<br />"; print $convert = $ffmpegPath..... vaitad nevajag šādi būt? print "<br />"; $convert = $ffmpegPath..... Quote Link to comment Share on other sites More sharing options...
emsy Posted May 16, 2010 Author Report Share Posted May 16, 2010 (edited) Tas ir pilnībā vienalga!! Man vajag kko ar tiem exec izdarīt :s Man vnk vajadzēja zināt, kādā paskatā tas tekstiņš nāk laukā... Edited May 16, 2010 by emsy Quote Link to comment Share on other sites More sharing options...
bubu Posted May 16, 2010 Report Share Posted May 16, 2010 Kam nāk laukā? ffmpeg komandai? Tad raksti: $x = shell_exec("ffmpeg ..."); echo $x; // vai nu ko citu tev tur vajag Tass viss ir manuālī uzrakstīts: http://php.net/shell_exec Quote Link to comment Share on other sites More sharing options...
emsy Posted May 16, 2010 Author Report Share Posted May 16, 2010 Es to par pathu nesapratu..., kā līdz tam "ffmpeg" tikt, un vajag likt pathu uz mapi vai uz kādu no tiem failiem, kas man ir mapē?? Quote Link to comment Share on other sites More sharing options...
emsy Posted May 19, 2010 Author Report Share Posted May 19, 2010 Progress, izveidojas flv fails, tikai 0b liels Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.