Created
April 22, 2018 04:26
-
-
Save trickart/41749ae52d5c3c91a01d738a902e73b0 to your computer and use it in GitHub Desktop.
MPEG2 ADをvaapiでデコードするとバグるのでソフトウェアデコードするようにするやつ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/api/script-channel-watch.vm.js b/api/script-channel-watch.vm.js | |
index d1db39f..e04492c 100644 | |
--- a/api/script-channel-watch.vm.js | |
+++ b/api/script-channel-watch.vm.js | |
@@ -69,8 +69,8 @@ Usushio では使わない | |
if (config.vaapiEnabled === true) { | |
args.push("-vaapi_device", config.vaapiDevice || '/dev/dri/renderD128'); | |
- args.push("-hwaccel", "vaapi"); | |
- args.push("-hwaccel_output_format", "yuv420p"); | |
+ //args.push("-hwaccel", "vaapi"); | |
+ //args.push("-hwaccel_output_format", "yuv420p"); | |
} | |
args.push('-re'); | |
diff --git a/api/script-recorded-program-watch.vm.js b/api/script-recorded-program-watch.vm.js | |
index 123259c..43f07d1 100644 | |
--- a/api/script-recorded-program-watch.vm.js | |
+++ b/api/script-recorded-program-watch.vm.js | |
@@ -186,8 +186,8 @@ function main(avinfo) { | |
if (config.vaapiEnabled === true) { | |
args.push("-vaapi_device", config.vaapiDevice || '/dev/dri/renderD128'); | |
- args.push("-hwaccel", "vaapi"); | |
- args.push("-hwaccel_output_format", "yuv420p"); | |
+ //args.push("-hwaccel", "vaapi"); | |
+ //args.push("-hwaccel_output_format", "yuv420p"); | |
} | |
args.push('-i', 'pipe:0'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment