Log in

View Full Version : Run Avisynth & FFMPEG on a webserver... possible?


NathanG
12th June 2011, 00:44
Hey everyone,

Got a project where I need to do some minor video editing and encoding, server side. Would it be possible to run Avisynth & FFMPEG on my webserver, and control it via PHP?

If so, could anyone point me to any helpful links or resources on the subject? I'm new to Avisynth & FFMPEG, but am pretty decent w/ php.

Thanks!

Blue_MiSfit
12th June 2011, 22:28
If you can use PHP to echo out shell scripts and execute them, you're probably good to go :)

If you're on Linux, you'll need WINE to make AviSynth work, and then avs2yuv to pipe into ffmpeg. It's all perfectly doable though.

NathanG
13th June 2011, 20:16
If you can use PHP to echo out shell scripts and execute them, you're probably good to go :)

If you're on Linux, you'll need WINE to make AviSynth work, and then avs2yuv to pipe into ffmpeg. It's all perfectly doable though.

Thanks for the suggestions Blue_MiSfit. :) I'll look into all that!

smok3
13th June 2011, 20:23
planning to do a serverside previews on avisynth filtered video before encoding stage (some sort of ajax vodoo?) (i'd certainly grab that code)