Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.75 KB | None | 0 0
  1. {
  2. "readOnlyOnce": false,
  3. "serverPort": 8888,
  4. "mirakurunPath": "http+unix://%2Fvar%2Frun%2Fmirakurun.sock/",
  5. "dbType": "sqlite3",
  6. "ffmpeg": "/usr/bin/ffmpeg",
  7. "ffprobe": "/usr/bin/ffprobe",
  8. "recorded": "/mnt/usb1",
  9. "storageLimitAction": "remove",
  10. "storageLimitThreshold": 10000,
  11. "storageLimitCheckIntervalTime": 120,
  12. "excludeSid": [35841, 32192, 35849, 32193, 35850, 32193, 102, 4],
  13. "maxEncode": 4,
  14. "encode": [
  15. {
  16. "name": "H264",
  17. "cmd": "%NODE% %ROOT%/config/enc.js",
  18. "suffix": ".mp4",
  19. "default": true
  20. }
  21. ],
  22. "sqlite3": {
  23. "extensions": [
  24. "/home/pi/EPGStation/data/regexp.so"
  25. ],
  26. "regexp": true
  27. },
  28.  
  29. "recordedViewer": {
  30. "win" : "cvlc://http://ADDRESS",
  31. "mac" : "cvlc://http://ADDRESS",
  32. "ios": "vlc-x-callback://x-callback-url/stream?url=http://ADDRESS",
  33. "android": "intent://ADDRESS#Intent;package=com.mxtech.videoplayer.ad;type=video;scheme=http;end"
  34. },
  35. "recordedDownloader": {
  36. "win" : "cvlc://http://ADDRESS",
  37. "mac" : "cvlc://http://ADDRESS",
  38. "ios": "vlc-x-callback://x-callback-url/download?url=http://ADDRESS&filename=FILENAME",
  39. "android": "intent://ADDRESS#Intent;package=com.dv.adm;type=video;scheme=http;end"
  40. },
  41.  
  42. "maxStreaming": 4,
  43. "mpegTsStreaming": [
  44. {
  45. "name": "1280x720",
  46. "cmd": "%FFMPEG% -re -dual_mono_mode main -i pipe:0 -sn -c:a aac -ar 48000 -ab 192k -ac 2 -c:v libx264 -s 1280x720 -vf yadif -preset veryfast -aspect 16:9 -vb 3000k -f mpegts pipe:1"
  47. },
  48. {
  49. "name": "720x480",
  50. "cmd": "%FFMPEG% -re -dual_mono_mode main -i pipe:0 -sn -c:a aac -ar 48000 -ab 128k -ac 2 -c:v libx264 -s 720x480 -vf yadif -preset veryfast -aspect 16:9 -vb 1500k -f mpegts pipe:1"
  51. },
  52. {
  53. "name": "無変換"
  54. }
  55. ],
  56. "mpegTsViewer": {
  57. "win" : "cvlc://http://ADDRESS",
  58. "mac" : "cvlc://http://ADDRESS",
  59. "ios": "vlc-x-callback://x-callback-url/stream?url=http://ADDRESS",
  60. "android": "intent://ADDRESS#Intent;package=com.mxtech.videoplayer.ad;type=video;scheme=http;end"
  61. },
  62. "recordedHLS": [
  63. {
  64. "name": "1280x720",
  65. "cmd": "%FFMPEG% -dual_mono_mode main -i %INPUT% -map 0 -ignore_unknown -max_muxing_queue_size 1024 -sn -f hls -hls_time 3 -hls_list_size 0 -hls_allow_cache 1 -hls_segment_filename %streamFileDir%/stream%streamNum%-%09d.ts -threads auto -c:a aac -ar 48000 -ab 192k -ac 2 -c:v libx264 -s 1280x720 -preset veryfast -aspect 16:9 -vb 3000k -flags +loop-global_header %OUTPUT%"
  66. },
  67. {
  68. "name": "720x480",
  69. "cmd": "%FFMPEG% -dual_mono_mode main -i %INPUT% -map 0 -ignore_unknown -max_muxing_queue_size 1024 -sn -f hls -hls_time 3 -hls_list_size 0 -hls_allow_cache 1 -hls_segment_filename %streamFileDir%/stream%streamNum%-%09d.ts -threads auto -c:a aac -ar 48000 -ab 128k -ac 2 -c:v libx264 -s 720x480 -preset veryfast -aspect 16:9 -vb 1500k -flags +loop-global_header %OUTPUT%"
  70. },
  71. {
  72. "name": "720x480(h265)",
  73. "cmd": "%FFMPEG% -dual_mono_mode main -i %INPUT% -map 0 -ignore_unknown -max_muxing_queue_size 1024 -sn -f hls -hls_time 3 -hls_list_size 0 -hls_allow_cache 1 -hls_segment_type fmp4 -hls_fmp4_init_filename stream%streamNum%-init.mp4 -hls_segment_filename stream%streamNum%-%09d.m4s -c:a aac -ar 48000 -ab 128k -ac 2 -c:v libx265 -s 720x480 -preset veryfast -aspect 16:9 -vb 350k -tag:v hvc1 %OUTPUT%"
  74. }
  75. ],
  76. "liveHLS": [
  77. {
  78. "name": "1280x720",
  79. "cmd": "%FFMPEG% -re -dual_mono_mode main -i pipe:0 -map 0 -ignore_unknown -max_muxing_queue_size 1024 -sn -f hls -hls_time 3 -hls_list_size 17 -hls_allow_cache 1 -hls_segment_filename %streamFileDir%/stream%streamNum%-%09d.ts -threads auto -c:a aac -ar 48000 -ab 192k -ac 2 -c:v libx264 -s 1280x720 -preset veryfast -aspect 16:9 -vb 3000k -flags +loop-global_header %OUTPUT%"
  80. },
  81. {
  82. "name": "720x480",
  83. "cmd": "%FFMPEG% -re -dual_mono_mode main -i pipe:0 -map 0 -ignore_unknown -max_muxing_queue_size 1024 -sn -f hls -hls_time 3 -hls_list_size 17 -hls_allow_cache 1 -hls_segment_filename %streamFileDir%/stream%streamNum%-%09d.ts -threads auto -c:a aac -ar 48000 -ab 128k -ac 2 -c:v libx264 -s 720x480 -preset veryfast -aspect 16:9 -vb 1500k -flags +loop-global_header %OUTPUT%"
  84. },
  85. {
  86. "name": "320x180",
  87. "cmd": "%FFMPEG% -re -dual_mono_mode main -i pipe:0 -map 0 -ignore_unknown -max_muxing_queue_size 1024 -sn -f hls -hls_time 3 -hls_list_size 17 -hls_allow_cache 1 -hls_segment_filename %streamFileDir%/stream%streamNum%-%09d.ts -threads auto -c:a aac -ar 48000 -ab 48k -ac 2 -c:v libx264 -s 320x180 -preset veryfast -aspect 16:9 -vb 100k -maxrate 110k -bufsize 1000k -flags +loop-global_header %OUTPUT%"
  88. }
  89. ],
  90. "liveWebM": [
  91. {
  92. "name": "1280x720",
  93. "cmd": "%FFMPEG% -re -dual_mono_mode main -i pipe:0 -sn -c:a libvorbis -b:a 192k -c:v vp8 -s 1280x720 -b:v 3000k -deadline realtime -speed 4 -cpu-used -8 -filter:v yadif -f webm pipe:1"
  94. },
  95. {
  96. "name": "720x480",
  97. "cmd": "%FFMPEG% -re -dual_mono_mode main -i pipe:0 -sn -c:a libvorbis -b:a 128k -c:v vp8 -s 720x480 -b:v 1500k -deadline realtime -speed 4 -cpu-used -8 -filter:v yadif -f webm pipe:1"
  98. }
  99. ],
  100. "liveMP4": [
  101. {
  102. "name": "1280x720",
  103. "cmd": "%FFMPEG% -dual_mono_mode main -re -i pipe:0 -sn -threads 0 -c:a aac -ar 48000 -ac 2 -ab 192k -c:v h264 -s 1280x720 -vb 3000k -filter:v yadif -profile:v baseline -preset veryfast -tune fastdecode,zerolatency -movflags frag_keyframe+empty_moov+faststart+default_base_moof -y -f mp4 pipe:1"
  104. },
  105. {
  106. "name": "720x480",
  107. "cmd": "%FFMPEG% -dual_mono_mode main -re -i pipe:0 -sn -threads 0 -c:a aac -ar 48000 -ac 2 -ab 128k -c:v h264 -s 720x480 -vb 1500k -filter:v yadif -profile:v baseline -preset veryfast -tune fastdecode,zerolatency -movflags frag_keyframe+empty_moov+faststart+default_base_moof -y -f mp4 pipe:1"
  108. }
  109. ],
  110.  
  111. "recordedStreaming": {
  112. "webm": [
  113. {
  114. "name": "1280x720",
  115. "cmd": "%FFMPEG% -dual_mono_mode main %RE% -i pipe:0 -sn -threads 0 -c:a libvorbis -ar 48000 -ac 2 -c:v vp8 -s 1280x720 %VB% %VBUFFER% %AB% %ABUFFER% -deadline realtime -speed 4 -cpu-used -8 -filter:v yadif -y -f webm pipe:1",
  116. "vb": "3000k",
  117. "ab": "192k"
  118. },
  119. {
  120. "name": "640x360",
  121. "cmd": "%FFMPEG% -dual_mono_mode main %RE% -i pipe:0 -sn -threads 0 -c:a libvorbis -ar 48000 -ac 2 -c:v vp8 -s 640x360 %VB% %VBUFFER% %AB% %ABUFFER% -deadline realtime -speed 4 -cpu-used -8 -filter:v yadif -y -f webm pipe:1",
  122. "vb": "1500k",
  123. "ab": "128k"
  124. }
  125. ],
  126. "mp4": [
  127. {
  128. "name": "1280x720",
  129. "cmd": "%FFMPEG% -dual_mono_mode main %RE% -i pipe:0 -sn -threads 0 -c:v h264 -c:a aac -ar 48000 -ac 2 -s 1280x720 %VB% %VBUFFER% %AB% %ABUFFER% -filter:v yadif -profile:v baseline -preset veryfast -tune fastdecode,zerolatency -movflags frag_keyframe+empty_moov+faststart+default_base_moof -y -f mp4 pipe:1",
  130. "vb": "3000k",
  131. "ab": "192k"
  132. },
  133. {
  134. "name": "640x360",
  135. "cmd": "%FFMPEG% -dual_mono_mode main %RE% -i pipe:0 -sn -threads 0 -c:v h264 -c:a aac -ar 48000 -ac 2 -s 640x360 %VB% %VBUFFER% %AB% %ABUFFER% -filter:v yadif -profile:v baseline -preset veryfast -tune fastdecode,zerolatency -movflags frag_keyframe+empty_moov+faststart+default_base_moof -y -f mp4 pipe:1",
  136. "vb": "1500k",
  137. "ab": "128k"
  138. }
  139. ],
  140. "mpegTs": [
  141. {
  142. "name": "1280x720 (H.264)",
  143. "cmd": "%FFMPEG% -dual_mono_mode main %RE% -i pipe:0 -sn -threads 0 -filter:v yadif -c:v h264 -c:a aac -ar 48000 -ac 2 -s 1280x720 %VB% %VBUFFER% %AB% %ABUFFER% -profile:v baseline -preset veryfast -tune fastdecode,zerolatency -y -f mpegts pipe:1",
  144. "vb": "3000k",
  145. "ab": "192k"
  146. },
  147. {
  148. "name": "640x360 (H.264)",
  149. "cmd": "%FFMPEG% -dual_mono_mode main %RE% -i pipe:0 -sn -threads 0 -filter:v yadif -c:v h264 -c:a aac -ar 48000 -ac 2 -s 640x360 %VB% %VBUFFER% %AB% %ABUFFER% -profile:v baseline -preset veryfast -tune fastdecode,zerolatency -y -f mpegts pipe:1",
  150. "vb": "1500k",
  151. "ab": "128k"
  152. }
  153. ]
  154. }
  155. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement