mirror of
https://github.com/linuxserver/docker-ffmpeg.git
synced 2026-02-20 04:56:23 +08:00
11 lines
339 B
JavaScript
11 lines
339 B
JavaScript
|
|
|
|
// Ace editor
|
|
var editor = ace.edit("editor");
|
|
editor.setTheme("ace/theme/chrome");
|
|
editor.session.setMode("ace/mode/sh");
|
|
editor.$blockScrolling = Infinity;
|
|
editor.setOptions({
|
|
readOnly: false,
|
|
});
|
|
editor.setValue('ffmpeg -y \\\n -vaapi_device /dev/dri/renderD129 \\\n -i ${INFILE} \\\n -b:v 4000k \\\n -c:v h264 \\\n ${OUTFILE}',-1); |