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

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -