ãã¬ããã¥ã¼ããåºãã£ã¦ãããã·ã³ã Windows ã ã£ãã¨ããé½åä¸ã Spinel + RecTest ã使ã£ã¦ããã¾ã§ TS ã¹ããªã¼ã ã解æå¦çãã¦ããã®ã ããã©ããã¡ãã¡ GUI ãéãã£ãã Spinel ã¯ã½ã¼ã¹ã³ã¼ããå ¬éããã¦ããªãã®ã§ãããã³ã«ããã¯ãããã¨æã£ããåºæ¥ãªãã£ããã§å°ã£ã¦ãããã© Mirakurun + BonRecTest + Rivarun ã使ãããã«å¤æ´ãããã ãã¶è¯ãæãã«ãªã£ãã
Mirakurun èªä½ã®èª¬æ㯠kanreisa ããã®è¨äºãèªãã¨è¯ãã
Windows ã« Mirakurun ãå°å ¥ããã®ã¯ 2 ã¤ç®ã® yanoshi ããã®è¨äºãèªãã¨è¯ããã ãã©ããã㯠BonDriverProxy_Ex ã使ã£ã¦ TVTest ã«ç¹ãã ã Chianchu ãåããã¦ããã®ãå¥ã® Linux ãµã¼ãã ã£ããã§çµæ§è¤éã§ãã¾ãé²ç»æ©ä¸å¼ãä½ãã«ã¯è¯ããã©ããã£ã¨ããªããã£ãã« Mirakurun ã Windows ã«ããã¦ä½¿ãæ¹æ³ãæ¸ããã¨æãã¾ãã
BonRecTest ã®ãã«ã
Mirakurun ã¯ãã¥ã¼ããã©ã¤ãã«ã¢ã¯ã»ã¹ããæ段ãæã£ã¦ã¯ããªãã¦ã Linux ã 㨠recpt1 ã使ãã®ã ãã© Windows ã 㨠BonRecTest ã使ãã¾ãã
VisualStudio ãå¿ è¦ã§ãããç¾ä»£ã¯ Community Edition ãããã®ã§ç¡åã§å©ç¨ãããã¨ãåºæ¥ã¾ãã
Node.js ã®ã¤ã³ã¹ãã¼ã«
5.9.0 以ä¸ãå¿ è¦ãããã®ã§ Current ã¨ãå ¥ãã¦ããã¾ãããã
Mirakurun ã®ã¤ã³ã¹ãã¼ã«
管çè 権éã® PowerShell ãå¿ è¦ã§ãã
npm install winser -g npm install mirakurun -g --production
Windows ã«å ¥ãã Mirakurun 㯠Linux/Darwin çã¨éã CLI ãã Mirakurun ãæä½ãããã¨ã¯åºæ¥ã¾ããããµã¼ãã¹ã®æä½ã¯ Windows ãµã¼ãã¹ãã Mirakurun ãæ¢ã㦠start/stop/restart ãã¾ããããã¾ããã¥ã¼ãã®æä½ã¯ Rivarun çµç±ã§è¡ãªããã¨ãåºæ¥ã¾ãã
è¨å®ãã¡ã¤ã«ã¯ C:\Users\%username%\.Mirakurun
ã«ããã¾ããããã㯠yanoshi ããã® gist ãåèã«ããã¨è¯ãã§ãããã
注æãã¹ã㯠tuners.yml
ã§ãããèªåã®ç°å¢ã«ãã£ã Path ãããã¤ã¹åã«æ¸ãæããã¨è¯ãã§ãããã
Windows ãã¡ã¤ã¢ã¦ã©ã¼ã«ãæå¹ã«ãªã£ã¦ããã¯ããªã®ã§ã Node.js ã® exe ãã¡ã¤ã«ããã¯ã¤ããªã¹ãã«å ¥ãã¦ããã¾ããã (ãã¹ã¦ 1 å°ã®ãã·ã³ã§å®çµããå ´åã¯ãã®éãã§ã¯ããã¾ãã) ãã¾ã Mirakurun ã¯èªè¨¼ãç¡ãããããã®ãã·ã³ãã¤ã³ã¿ã¼ãããä¸ããã¢ã¯ã»ã¹ã§ããå ´æã«é ç½®ãã¦ããã¨é常ã«å±éºã§ãããããããããªä½¿ãæ¹ããã人ãããã®ãåããã¾ãããã注æãã¾ãããã
Rivarun ã®ã¤ã³ã¹ãã¼ã«
ãã£ã¡ã¯ç®¡çè 権éç¡ãã¦ã大ä¸å¤«ã
npm install rivarun -g
rivarun [--b25] [--mirakurun host] [--priority priority] [--sid SID] [--ch type/channel] rectime destfile
管çè
権éã®ãã PowerShell çµç±ã 㨠server.yml
ãèªãã§è¯ãæãã«ç¹ããã®ã§ãããä¸è¬æ¨©éã 㨠--mirakurun
ã使ã£ã¦ HTTP çµç±ã§ãªãã¨ä¸æãåãã¾ããã以ä¸ã®ããã«ããã¨ä¸æãè¡ãã¾ããã
rivarun --mirakurun localhost:8888 ....
ãã㧠Mirakurun + BonRecTest + Rivarun ã®å®æã§ãããç²ãæ§ã§ããã
ffmpeg ã§ãªã¢ã«ã¿ã¤ã ã¨ã³ã³ã¼ããã
ãã¾ã¾ã§ã¯ RecTest ã® UDP æ©è½ã§éåºãã TS ã¹ããªã¼ã ã ffmpeg ã§åãã¦ãªã¢ã«ã¿ã¤ã ã«ã¨ã³ã³ã¼ããã¦ããã®ã§ããã Rivarun ããã®æ¨æºå ¥å㧠ffmpeg ã«ãã¼ã¿ã渡ããã¨ãåºæ¥ã¾ãã
Ruby ã® Open3 ã使ã£ãã®ã§ CLI ä¸ã ã¨åããããåããã¾ãããã以ä¸ã®ããã«ãããã¨ã§ ffmpeg ã§ãªã¢ã«ã¿ã¤ã ã¨ã³ã³ã¼ãã¯ä»¥ä¸ã®ããã«è¡ãªãã¾ãã
Open3.pipeline_r( ['rivarun', '--b25', '--mirakurun', 'localhost:8888', '--sid', sid, '--ch', ch, '-', '-'], [ffmpeg_path, '-i', 'pipe:0', '-map', '0:0', '-map', '0:1', '-acodec', 'copy','-vcodec', 'copy', output_path])