How to split and convert videos using PHP & FFMPEG -
i want users only upload video, write code splits video user-defined segments, convert segments .flv
, .mp4
videos.
there way can that?
i don't think there way directly within php. if there was, wouldn't sensible thing do.
your best bet hook web application command line program, such ffmpeg, , call system commands php script.
i'd approach building job queue web application adding jobs queue , dedicated worker processes pulling queue, performing task , recording completion of task somewhere else.
this means users won't have wait video re-encoded in real time.
Comments
Post a Comment