资 源 简 介
Introduction
This piece of code try to wrap any command line program to execute it from a html browser.
Details
Dependencies:
- LibMicroHttpd
HOW WORKS ?
Imagine that you want cutting a film with ffmpeg in small pieces, the common way would be to open terminal and write :
ffmpeg -y -i |DIR|FILE\_IN.avi -ss 00:05:00 -t 60 -threads 2 -s 320x240 -r 29.97 -threads 1 -pix\_fmt yuv420p -g 300 -qmin 3 -b 512k -async 50 -acodec libmp3lame -ar 44100 -ac 2 -ab 128k |DIR|FILE\_CUT.avi
But if we use htmlMask, we just need to create two files: one to config and another one to map the parameters.
CONFIG FILE: