diff --git a/commands.yml b/commands.yml new file mode 100644 index 0000000..3c3255f --- /dev/null +++ b/commands.yml @@ -0,0 +1,18 @@ +--- + +- category: "H.264 Downsampling" + - name: "720p 4mpbs" + description: "This can be used as a catch all for most H.264 720p encodes, if you want a higher bitrate then modify the 4000k to your suit your needs" + command: | + ffmpeg -i "${INPUTFILE}" \ + -vf scale=-1:720 \ + -c:v h264 \ + -c:a copy \ + -b:v 4000k \ + "${OUTPUTFILE}" +- category: "H.265 Downsampling" +- category: "H.264 Downsampling Vaapi" +- category: "H.265 Downsampling Vaapi" +- category: "H.264 Downsampling Nvidia" +- category: "H.265 Downsampling Nvidia" +- category: "Audio Processing" diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..03aac09 --- /dev/null +++ b/config.yml @@ -0,0 +1,23 @@ +--- + +interval: 60 + +commands: + - name: "test1" + extension: ".mkv" + command: | + ffmpeg -i "${INPUTFILE}" \ + -vf scale=-1:720 \ + -c:v h264 \ + -c:a copy \ + -b:v 4000k \ + "${OUTPUTFILE}" + - name: "test2" + extension: ".mkv" + command: | + ffmpeg -i "${INPUTFILE}" \ + -vf scale=-1:720 \ + -c:v h264 \ + -c:a copy \ + -b:v 4000k \ + "${OUTPUTFILE}" \ No newline at end of file diff --git a/public/ffmpeg-web.js b/public/ffmpeg-web.js index 822f04f..a1a8916 100644 --- a/public/ffmpeg-web.js +++ b/public/ffmpeg-web.js @@ -9,24 +9,25 @@ $(document).ready(function(){rendermain()}) //// Main Page rendering //// function rendermain(){ + $('#pagecontent').empty(); $('#pagecontent').append('