Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "readOnlyOnce": false,
- "serverPort": 8888,
- "mirakurunPath": "http+unix://%2Fvar%2Frun%2Fmirakurun.sock/",
- "dbType": "sqlite3",
- "ffmpeg": "/usr/bin/ffmpeg",
- "ffprobe": "/usr/bin/ffprobe",
- "recorded": "/mnt/usb1",
- "storageLimitAction": "remove",
- "storageLimitThreshold": 10000,
- "storageLimitCheckIntervalTime": 120,
- "excludeSid": [35841, 32192, 35849, 32193, 35850, 32193, 102, 4],
- "maxEncode": 4,
- "encode": [
- {
- "name": "H264",
- "cmd": "%NODE% %ROOT%/config/enc.js",
- "suffix": ".mp4",
- "default": true
- }
- ],
- "sqlite3": {
- "extensions": [
- "/home/pi/EPGStation/data/regexp.so"
- ],
- "regexp": true
- },
- "recordedViewer": {
- "win" : "cvlc://http://ADDRESS",
- "mac" : "cvlc://http://ADDRESS",
- "ios": "vlc-x-callback://x-callback-url/stream?url=http://ADDRESS",
- "android": "intent://ADDRESS#Intent;package=com.mxtech.videoplayer.ad;type=video;scheme=http;end"
- },
- "recordedDownloader": {
- "win" : "cvlc://http://ADDRESS",
- "mac" : "cvlc://http://ADDRESS",
- "ios": "vlc-x-callback://x-callback-url/download?url=http://ADDRESS&filename=FILENAME",
- "android": "intent://ADDRESS#Intent;package=com.dv.adm;type=video;scheme=http;end"
- },
- "maxStreaming": 4,
- "mpegTsStreaming": [
- {
- "name": "1280x720",
- "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"
- },
- {
- "name": "720x480",
- "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"
- },
- {
- "name": "無変換"
- }
- ],
- "mpegTsViewer": {
- "win" : "cvlc://http://ADDRESS",
- "mac" : "cvlc://http://ADDRESS",
- "ios": "vlc-x-callback://x-callback-url/stream?url=http://ADDRESS",
- "android": "intent://ADDRESS#Intent;package=com.mxtech.videoplayer.ad;type=video;scheme=http;end"
- },
- "recordedHLS": [
- {
- "name": "1280x720",
- "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%"
- },
- {
- "name": "720x480",
- "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%"
- },
- {
- "name": "720x480(h265)",
- "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%"
- }
- ],
- "liveHLS": [
- {
- "name": "1280x720",
- "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%"
- },
- {
- "name": "720x480",
- "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%"
- },
- {
- "name": "320x180",
- "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%"
- }
- ],
- "liveWebM": [
- {
- "name": "1280x720",
- "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"
- },
- {
- "name": "720x480",
- "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"
- }
- ],
- "liveMP4": [
- {
- "name": "1280x720",
- "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"
- },
- {
- "name": "720x480",
- "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"
- }
- ],
- "recordedStreaming": {
- "webm": [
- {
- "name": "1280x720",
- "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",
- "vb": "3000k",
- "ab": "192k"
- },
- {
- "name": "640x360",
- "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",
- "vb": "1500k",
- "ab": "128k"
- }
- ],
- "mp4": [
- {
- "name": "1280x720",
- "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",
- "vb": "3000k",
- "ab": "192k"
- },
- {
- "name": "640x360",
- "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",
- "vb": "1500k",
- "ab": "128k"
- }
- ],
- "mpegTs": [
- {
- "name": "1280x720 (H.264)",
- "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",
- "vb": "3000k",
- "ab": "192k"
- },
- {
- "name": "640x360 (H.264)",
- "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",
- "vb": "1500k",
- "ab": "128k"
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement