hustler Posted October 2, 2006 Report Share Posted October 2, 2006 Ir kadas iespejas uploadet un parkodet uz servera .avi. .mpg utt. failus uz .FLV lidzigi kaa draugiem el ve , neizmantojot ffmpeg? Kads vispar ir ko megjinajis pa sho lietu? Link to comment Share on other sites More sharing options...
Delfins Posted October 2, 2006 Report Share Posted October 2, 2006 Var, ja uzrakstīsi pluginu PHP, kas izmantos ffmpeg libu (lai pašam nav algoritms jāparraksta) Link to comment Share on other sites More sharing options...
hustler Posted October 2, 2006 Author Report Share Posted October 2, 2006 Kaa tas FFMPEG iisti darbojas? Iekopeju uz servera failu a.mpg un skriptu: <? $encode_cmd = "ffmpeg -i '../video/a.mpg' -f '../video/a.flv'"; echo exec("$encode_cmd"); ?> Palaizhot nekas nenotika.... ;/ Kas nepareizi? Link to comment Share on other sites More sharing options...
Delfins Posted October 2, 2006 Report Share Posted October 2, 2006 Nu no PHP puses nekas arī nenotiks... 1.) pārliecinies vai ffmpeg tiek atrasts ar PHP.. ierakstīts iekš $PATH 2.) vai PHP ir tiesības rakstīt iekš tās direktorijuas, kur tu noliki failu. Link to comment Share on other sites More sharing options...
Kristabs Posted October 2, 2006 Report Share Posted October 2, 2006 Un vai vispaar ir uzinstaleets ffmpeg + veel visus enkoderus pasham jaainstalee pa vienam klaat... Link to comment Share on other sites More sharing options...
Recommended Posts