{"id":175,"date":"2020-08-17T22:41:57","date_gmt":"2020-08-17T13:41:57","guid":{"rendered":"https:\/\/www.thunsuke.com\/?p=175"},"modified":"2021-08-06T02:22:08","modified_gmt":"2021-08-05T17:22:08","slug":"linux-raspberry-pi-epgstation-not-recorded-error","status":"publish","type":"post","link":"https:\/\/www.thun-techblog.com\/index.php\/blog\/linux-raspberry-pi-epgstation-not-recorded-error\/","title":{"rendered":"Linux(Raspberry Pi)\u306eEPGStation\u3067\u9332\u753b\u304c\u6025\u306b\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u3068\u304d\u306b\u78ba\u8a8d\u3057\u305f\u3044\u3053\u3068"},"content":{"rendered":"\n<p>EPGStation\u3092\u4f7f\u3063\u3066\u3044\u3066\u6025\u306b\u9332\u753b\u304c\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u3002\u305d\u3093\u306a\u7d4c\u9a13\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\u79c1\u306f\u4f55\u56de\u304b\u3042\u308a\u307e\u3059\u3002\u79c1\u306f2\u30d1\u30bf\u30fc\u30f3\u3067\u306f\u307e\u3063\u305f\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u3001\u9806\u306b\u75c7\u72b6\u304b\u3089\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u306a\u304a\u3001EPGStation\u5c0e\u5165\u306b\u3064\u3044\u3066\u306f\u3044\u3064\u304b\u5225\u306e\u8a18\u4e8b\u306b\u3057\u305f\u3044\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u3056\u3063\u3068\u74b0\u5883\u3092\u6b8b\u3057\u3066\u304a\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<!--more-->\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<p class=\"has-text-align-center\">\u76ee\u6b21<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#a01\">\u74b0\u5883<\/a><\/li><li><a href=\"#a2\">\uff08\u304a\u305d\u3089\u304f\uff09\u5bfe\u8c61\u306b\u306a\u308b\u3067\u3042\u308d\u3046\u30c1\u30e5\u30fc\u30ca\u30fc<\/a><\/li><li><a href=\"#a3\">\u75c7\u4f8b\u2460\uff1a\u9332\u753b\u30d5\u30a9\u30eb\u30c0\u306b\u9332\u753b\u30d5\u30a1\u30a4\u30eb\u304c\u3067\u304d\u306a\u3044\uff08\u8a2d\u5b9a\u30df\u30b9\u306b\u3088\u308b\u3082\u306e\uff09<\/a><\/li><li><a href=\"#a4\">\u75c7\u4f8b\u2461\uff1a\u9332\u753b\u30d5\u30a9\u30eb\u30c0\u306b\u9332\u753b\u30d5\u30a1\u30a4\u30eb\u304c\u3067\u304d\u306a\u3044\uff08\u30c1\u30e5\u30fc\u30ca\u8d77\u56e0\u306e\u3082\u306e\uff09<\/a><\/li><li><a href=\"#a5\">\u75c7\u4f8b\u2462\uff1a\u30d5\u30a1\u30a4\u30eb\u540d(1).ts,\u30d5\u30a1\u30a4\u30eb\u540d(2).ts\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u304c\u8907\u6570\u751f\u6210\u3055\u308c\u3066\u9332\u753b\u3067\u304d\u306a\u3044<\/a><\/li><li><a href=\"#a6\">\u611f\u60f3<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"a01\">\u74b0\u5883<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Raspberry Pi 4B 4GB(\u73fe\u5728\u306f\u4f7f\u7528\u3057\u3066\u3044\u306a\u3044\u304c\u3001Raspberry Pi 3 B+)<\/li><li>Raspbian Lite<\/li><li>PX-W3PE4\u3068USB\u30924\u30d4\u30f3\u306b\u5909\u63db\u3059\u308b\u30b1\u30fc\u30d6\u30eb<\/li><li>\u30e9\u30a4\u30b6\u30fc\u30ab\u30fc\u30c9\uff08PCIe\u306b\u96fb\u6e90\u3092\u4f9b\u7d66\u3059\u308b\u305f\u3081\uff09<\/li><li>\u9332\u753b\u30c7\u30fc\u30bf\u306fNAS(samba)\u3078<\/li><li>\u4e00\u5fdc\u653e\u71b1\u5bfe\u7b56\u3068\u3057\u3066\u3001\u30a2\u30eb\u30df\u30b1\u30fc\u30b9\u3092\u4f7f\u7528<\/li><li>PX-W3PE4\u7528AC\u96fb\u6e90\uff08HDD\u3092\u5916\u4ed8\u3051\u306b\u3059\u308b\u305f\u3081\u306e\u3084\u3064\u3067\u578b\u756a\u3092\u5fd8\u308c\u307e\u3057\u305f\uff09<\/li><\/ul>\n\n\n\n<p>\u5fc5\u8981\u305d\u3046\u306a\u60c5\u5831\u306f\u3056\u3063\u3068\u3053\u3093\u306a\u3082\u306e\u3067\u3057\u3087\u3046\u304b\u3002\u306a\u304b\u306a\u304b\u3053\u306e\u69cb\u6210\u306f\u5909\u308f\u3063\u3066\u3044\u3066PX-W3PE4\u3092Raspberry Pi\u306b\u3064\u306a\u3052\u308b\u3068\u3044\u3046\u98a8\u306b\u3057\u3066\u3044\u307e\u3059\u3002PCIe\u7528\u306e\u3092Raspberry Pi\u306b\u3064\u306a\u3052\u308b\u3068\u3044\u3046\u30ed\u30de\u30f3\u306a\u69cb\u6210\u3067\u3059\u304c\u3001\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u8d77\u56e0\u306e\u30c8\u30e9\u30d6\u30eb\u3068\u3044\u3046\u306e\u306f\u306a\u304b\u3063\u305f\u306e\u3067\u554f\u984c\u306a\u3044\u304b\u3068\u3002\u304a\u305d\u3089\u304f\u79c1\u306e\u30b1\u30fc\u30b9\u3068\u5b8c\u5168\u306b\u4e00\u81f4\u3059\u308b\u65b9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u74b0\u5883\u306e\u65b9\u3060\u3068\u601d\u3044\u307e\u3059\u3002\u304a\u305d\u3089\u304f\u30c1\u30e5\u30fc\u30ca\u8d77\u56e0\u306b\u306a\u308b\u306e\u3067\u30c1\u30e5\u30fc\u30ca\u30fc\u306e\u74b0\u5883\u306e\u307f\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"a2\">\u5bfe\u8c61\u306b\u306a\u308b\u3067\u3042\u308d\u3046\u30c1\u30e5\u30fc\u30ca<\/h2>\n\n\n\n<p>\u6700\u521d\u306b\u65ad\u3063\u3066\u304a\u304d\u307e\u3059\u304c\u3001\u4ee5\u4e0b\u306b\u793a\u3059\u30c1\u30e5\u30fc\u30ca\u8d77\u56e0\u3067\u306a\u3044\u30c8\u30e9\u30d6\u30eb\u3082\u3042\u308b\u306e\u3067\u3001\u3042\u304f\u307e\u3067\u3053\u306e\u3088\u3046\u306a\u74b0\u5883\u3067\u3042\u308c\u3070\u540c\u69d8\u306e\u30c8\u30e9\u30d6\u30eb\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3057\u304b\u306a\u304f\u3001\u672c\u8a18\u4e8b\u3067\u306f\u3069\u306e\u3088\u3046\u306a\u30c1\u30e5\u30fc\u30ca\u30fc\u3067\u3082\u767a\u751f\u3059\u308b\u30a8\u30e9\u30fc\u3082\u53d6\u308a\u6271\u3044\u307e\u3059\u3002\u306a\u306e\u3067\u5168\u90e8\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308c\u3070\u89e3\u6c7a\u306e\u7cf8\u53e3\u304c\u898b\u3064\u304b\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>PX-W3PE4<\/li><li>PX-Q3PE4<\/li><li>PX-W3U4<\/li><li>PX-Q3U4<\/li><\/ul>\n\n\n\n<p>\u30c1\u30e5\u30fc\u30ca\u305d\u306e\u3082\u306e\u306b\u306f\u4e0d\u5177\u5408\u304c\u306a\u3044\u3068\u3044\u3046\u524d\u63d0\u3067\u9032\u3081\u307e\u3059\u3002\u79c1\u306f\u58ca\u3057\u305f\u3053\u3068\u3082\u58ca\u308c\u3066\u3044\u308b\u306e\u3082\u6240\u6301\u3057\u305f\u3053\u3068\u304c\u306a\u3044\u306e\u3067\u308f\u304b\u308a\u304b\u306d\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u75c7\u4f8b\u2461\uff1a\u9332\u753b\u30d5\u30a9\u30eb\u30c0\u306b\u9332\u753b\u30d5\u30a1\u30a4\u30eb\u304c\u3067\u304d\u306a\u3044\uff08\u30c1\u30e5\u30fc\u30ca\u8d77\u56e0\u306e\u3082\u306e\uff09\u306b\u304a\u3044\u3066\u306f\u3053\u306e\u30c1\u30e5\u30fc\u30ca\u7fa4\u306e\u3069\u308c\u304b\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u524d\u63d0\u3092\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"a3\">\u75c7\u4f8b\u2460\uff1a\u9332\u753b\u30d5\u30a9\u30eb\u30c0\u306b\u9332\u753b\u30d5\u30a1\u30a4\u30eb\u304c\u3067\u304d\u306a\u3044\uff08\u8a2d\u5b9a\u30df\u30b9\u306b\u3088\u308b\u3082\u306e\uff09<\/h2>\n\n\n\n<p>\u79c1\u306e\u5834\u54082\u3064\u306e\u30b1\u30fc\u30b9\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u306e2\u30b1\u30fc\u30b9\u3067\u3059\u3002\u3042\u3068\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u3001EPGStation\u305d\u306e\u3082\u306e\u304c\u7acb\u3061\u4e0a\u304c\u3089\u306a\u3044\u3053\u3068\u3082\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8ff0\u3092\u9593\u9055\u3048\u3066\u3044\u308b<\/li><li>\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\uff08\u6a29\u9650\uff09\u304c\u8db3\u308a\u306a\u3044<\/li><\/ul>\n\n\n\n<p>\u9806\u756a\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3067\u78ba\u5b9f\u306b\u3053\u306e\u30df\u30b9\u306f\u9632\u3052\u308b\u306e\u3067\u9806\u3092\u8ffd\u3063\u3066\u78ba\u8a8d\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8ff0\u3092\u9593\u9055\u3048\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u3082\u3046\u4e00\u5ea6\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002EPGStation\u306e\u30d5\u30a9\u30eb\u30c0\u306econfig\u5185\u306econfig.json\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>sudo nano EPGStation\/config\/config.json<\/code><\/pre><\/div>\n\n\n\n<p>\u958b\u304f\u3068\u3053\u3093\u306a\u611f\u3058\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n    &quot;readOnlyOnce&quot;: false,\n    &quot;serverPort&quot;: 8888,\n    &quot;mirakurunPath&quot;: &quot;http+unix:\/\/%2Fvar%2Frun%2Fmirakurun.sock\/&quot;,\n    &quot;dbType&quot;: &quot;sqlite3&quot;,\n    &quot;ffmpeg&quot;: &quot;\/usr\/bin\/ffmpeg&quot;,\n    &quot;ffprobe&quot;: &quot;\/usr\/bin\/ffprobe&quot;,\n    &quot;recorded&quot;: &quot;\/mnt\/nas\/rokuga\/&quot;,\n    &quot;isEnabledDropCheck&quot;: true,\n    &quot;dropCheckLogDir&quot;: &quot;hoge\/drop_check\/&quot;,\n    &quot;timeSpecifiedStartMargin&quot;: 3,\n    &quot;suppressEPGUpdateLog&quot;: true,\n    &quot;suppressReservesUpdateAllLog&quot;: true,\n    &quot;streamFilePath&quot;: &quot;\/tmp&quot;,\n    &quot;maxEncode&quot;: 2,\n    &quot;recordedEncodeDefaultDirectory&quot;: &quot;\/hoge\/nas\/mp4\/&quot;,\n     &quot;sqlite3&quot;: {\n     &quot;extensions&quot;: [\n        &quot;EPGStation\/data\/regexp.so&quot;\n    ],\n    &quot;regexp&quot;: true\n},<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u306e3\u884c\u76ee<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>&#8220;recorded&#8221;: &#8220;\/hoge\/nas\/rokuga\/&#8221;,<\/p><\/blockquote>\n\n\n\n<p>\u3053\u3046\u306a\u3063\u3066\u308b\u90e8\u5206\u306e\/hoge\/nas\/mp4\/\u304c\u6b63\u3057\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u3053\u306f\u4eba\u306b\u3088\u3063\u3066\u7de8\u96c6\u3059\u308b\u90e8\u5206\u3067\u3059\u304c\u3001\u3053\u3053\u306e\u8a2d\u5b9a\u3092\u9593\u9055\u3048\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u5927\u524d\u63d0\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u30b9\u30da\u30eb\u30df\u30b9\u306a\u3069\u3092\u3057\u3066\u3044\u305f\u3089\u3053\u308c\u3067\u89e3\u6c7a\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u4e00\u756a\u5f8c\u308d\u306b\u3082\u300c\/\u300d\u3092\u7d76\u5bfe\u306b\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\u3002<\/p>\n\n\n\n<p>\u3042\u3068\u7d76\u5bfe\u30d1\u30b9\u3067\u66f8\u3044\u305f\u307b\u3046\u304c\u3044\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u76f8\u5bfe\u30d1\u30b9\u3067\u5931\u6557\u3057\u3066\u3044\u3066\u3001EPGStation\u306e\u30d5\u30a9\u30eb\u30c0\u3092\u898b\u305f\u3089\u3001hoge\/nas\/rokuga\u3063\u3066\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u304c\u3067\u304d\u3066\u3044\u308b\u30b1\u30fc\u30b9\u3082\u3042\u3063\u305f\u6c17\u304c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u308c\u4ee5\u5916\u306b\u7de8\u96c6\u306e\u969b\u306b\u3001\u524d\u5f8c\u306e\u300c\u201d\u300d\u306e\u3069\u3061\u3089\u304b\u3092\u6d88\u3057\u305f\u308a\u3001\u300c&#8221;\u300d\u306e\u3042\u3068\u306e\u300c,\u300d\u3092\u6d88\u3057\u3066\u3082EPGStation\u304c\u7acb\u3061\u4e0a\u304c\u3089\u306a\u3044\u75c7\u72b6\u304c\u51fa\u305f\u308a\u3057\u307e\u3059\u3002\u305d\u3082\u305d\u3082EPGStation\u306b\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3051\u308c\u3070\u3053\u3053\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u6700\u5f8c\u306b\u518d\u5ea6\u78ba\u8a8d\u3002\u4ee5\u4e0b\u3092\u3088\u304f\u78ba\u8a8d\u3067\u3059\u3088\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u7d76\u5bfe\u30d1\u30b9\u3067\u66f8\u3044\u3066\u3044\u308b\u304b<\/li><li>\u6700\u5f8c\u306b\/hoge\/hoge\/\u3000\u306e\u3088\u3046\u306b\u300c\/\u300d\u3092\u5fd8\u308c\u3066\u3044\u306a\u3044\u304b<\/li><li>\u300c\u201d\u300d\u300c,\u300d\u3092\u9593\u9055\u3048\u3066\u6d88\u3057\u305f\u308a\u8ffd\u52a0\u3057\u305f\u308a\u3057\u3066\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u304b<\/li><\/ul>\n\n\n\n<p>\u4ee5\u4e0a\u304c\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u306e\u3067\u5ff5\u5165\u308a\u306b\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3067\u4e00\u3064\u76ee\u306f\u7d42\u308f\u308a\u306a\u306e\u3067\u3053\u308c\u3067\u3082\u6cbb\u3089\u306a\u3044\u3001\u6b63\u3057\u304f\u8a18\u8ff0\u3055\u308c\u3066\u3044\u305f\u3089\u3001\u6b21\u306b\u30d5\u30a9\u30eb\u30c0\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002\u305f\u3060\u3057\u7d30\u304b\u304f\u5207\u308a\u5206\u3051\u308b\u306e\u306f\u9762\u5012\u306a\u306e\u3067\u3001\u4eca\u56de\u306f\u8ab0\u3067\u3082\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u554f\u984c\u306a\u3044\u304b\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3067\u6a29\u9650\u306b\u539f\u56e0\u304c\u306a\u3044\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u79c1\u306f\u305f\u307e\u306b\u9332\u753b\u7528HDD\u3092\u5909\u3048\u305f\u308a\u3059\u308b\u306e\u3067\u3001\u305d\u306e\u90fd\u5408\u3067\u3001\u4f59\u8ac7\u3067\u3059\u304c\u3053\u308c\u306b\u3046\u3063\u304b\u308a\u5f15\u3063\u304b\u304b\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>sudo chmod -R 777 \/hoge\/rokuga<\/code><\/pre><\/div>\n\n\n\n<p>\u300c\/hoge\/rokuga\u300d\u306e\u90e8\u5206\u306f\u3054\u81ea\u8eab\u306e\u74b0\u5883\u306b\u5408\u308f\u305b\u3066\u9069\u5207\u306b\u8aad\u307f\u66ff\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u3067\u9332\u753b\u3067\u304d\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u3053\u308c\u3067\u3082\u3067\u304d\u306a\u3051\u308c\u3070\u6b21\u306e\u30b1\u30fc\u30b9\u3092\u78ba\u8a8d\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"a4\">\u75c7\u4f8b\u2461\uff1a\u9332\u753b\u30d5\u30a9\u30eb\u30c0\u306b\u9332\u753b\u30d5\u30a1\u30a4\u30eb\u304c\u3067\u304d\u306a\u3044\uff08\u30c1\u30e5\u30fc\u30ca\u8d77\u56e0\u306e\u3082\u306e\uff09<\/h2>\n\n\n\n<p>recpt1\u3001recdvb\u306a\u3069\u306e\u9332\u753b\u30b3\u30de\u30f3\u30c9\u304c\u5b9f\u884c\u3067\u304d\u3066\u3044\u3066\u308b\u5834\u5408\u306f\u3053\u306e\u7dda\u306f\u9593\u9055\u3044\u306a\u304f\u3042\u308a\u307e\u305b\u3093\u3002\u3067\u3059\u304c\u3001\u79c1\u304c\u3084\u3063\u3066\u3057\u307e\u3063\u305f\u30df\u30b9\u304c\u3042\u308b\u306e\u3067\u3001\u7a81\u7136\u9332\u753b\u304c\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u5834\u5408\u306f\u3053\u3053\u3092\u8aad\u3093\u3067\u3044\u304f\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<p>\u3042\u308b\u65e5\u306b\u3075\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3057\u305f\u3002Linux\u30e6\u30fc\u30b6\u30fc\u306a\u3089\u304a\u306a\u3058\u307f\u306e\u3042\u308c\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>sudo apt-get update\nsudo apt-get upgrade<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u3092\u65b0\u3057\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5165\u308c\u308b\u305f\u3081\u306b\u4f55\u3052\u306a\u304f\u5b9f\u884c\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u5bfe\u8c61\u3068\u306a\u308b\u30c1\u30e5\u30fc\u30ca\u3067\u3042\u308b\u3053\u3068\u304c\u524d\u63d0\u3067\u3059\u304c\u3001\u30c9\u30e9\u30a4\u30d0\u3068\u3057\u3066\u300cpx4_drv\u300d\u3092\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u306f\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u3057\u3066\u5b9f\u88c5\u3057\u3066\u3044\u308b\u90fd\u5408\u3067\u3001\u30ab\u30fc\u30cd\u30eb\u30d8\u30c3\u30c0\u30fc\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306a\u3069\u304c\u5165\u308b\u3068\u52d5\u304b\u306a\u304f\u306a\u308b\u305f\u3081\u3067\u3059\u3002\u306a\u306e\u3067\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u30c9\u30e9\u30a4\u30d0\u304c\u8a8d\u8b58\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>$ lsmod | grep -e ^px4_drv<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u3067\u4f55\u3082\u51fa\u3066\u3053\u306a\u304b\u3063\u305f\u3089\u305d\u3082\u305d\u3082\u30c1\u30e5\u30fc\u30ca\u304c\u8a8d\u8b58\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u3082\u3057\u6b63\u3057\u304b\u3063\u305f\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>px4_drv                81920  0<\/code><\/pre><\/div>\n\n\n\n<p>\u3082\u3057\u51fa\u306a\u3044\u5834\u5408\u306f\u3001\u4f55\u304b\u306e\u62cd\u5b50\u3067\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u306a\u3044\u306e\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>sudo modprobe px4_drv<\/code><\/pre><\/div>\n\n\n\n<p>\u3082\u3057\u3053\u308c\u3067\u30ab\u30fc\u30cd\u30eb\u30d8\u30c3\u30c0\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5408\u308f\u306a\u3044\u307f\u305f\u3044\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u308c\u3070\u304a\u305d\u3089\u304f\u306f\u3053\u308c\u304c\u539f\u56e0\u3067\u3059\u3002\u306a\u306e\u3067\u3001\u3053\u306e\u5834\u5408\u306f\u30c9\u30e9\u30a4\u30d0\u3092\u518d\u5ea6\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u7d42\u308f\u308a\u3067\u3059\u3002px4_drv\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u6b8b\u3063\u3066\u3044\u308b\u524d\u63d0\u3067\u9032\u3081\u307e\u3059\u304c\u3001\u6b8b\u3057\u3066\u3044\u306a\u3051\u308c\u3070\u3001\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306b\u5f93\u3063\u3066\u884c\u3048\u3070\u3088\u3044\u3060\u3051\u3067\u3059\u3002\u6b8b\u3057\u3066\u3044\u308c\u3070\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092px4_drv\u306e\u30d5\u30a9\u30eb\u30c0\u3092\u884c\u3046\u3060\u3051\u3067\u89e3\u6c7a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>cd px4_drv\ncd driver\nmake\nsudo make install\ncd ..\/\nsudo modprobe px4_drv<\/code><\/pre><\/div>\n\n\n\n<p>\u4e00\u5fdc\u5148\u307b\u3069\u4e0a\u3067\u5b9f\u884c\u3057\u305f\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>$ lsmod | grep -e ^px4_drv\npx4_drv                81920  0<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u3067\u51fa\u3066\u308c\u3070\u5927\u4e08\u592b\u3067\u3059\u3002\u9332\u753b\u3067\u304d\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002\u3053\u308c\u3067\u3082\u30c0\u30e1\u306a\u3089\u6b21\u306e\u30b1\u30fc\u30b9\u3078\u884c\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<h2 class=\"wp-block-heading\" id=\"a5\">\u75c7\u4f8b\u2462\uff1a\u30d5\u30a1\u30a4\u30eb\u540d(1).ts,\u30d5\u30a1\u30a4\u30eb\u540d(2).ts\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u304c\u8907\u6570\u751f\u6210\u3055\u308c\u3066\u9332\u753b\u3067\u304d\u306a\u3044<\/h2>\n\n\n\n<p>\u79c1\u81ea\u8eab\u304c\u4e00\u756a\u306f\u307e\u3063\u305f\u306e\u304c\u3053\u308c\u3067\u3057\u305f\u3002\u9332\u753b\u30d5\u30a1\u30a4\u30eb\u306f\u751f\u6210\u3055\u308c\u308b\u306e\u306b\u9332\u753b\u304c\u6b63\u5e38\u306b\u3067\u304d\u305a\u3001\u304a\u304b\u3057\u306a\u3053\u3068\u306b\u306a\u308b\u3068\u3044\u3046\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002\u30bf\u30a4\u30c8\u30eb\u306e\u901a\u308a\u306a\u306e\u3067\u3059\u304c\u3053\u3093\u306a\u611f\u3058\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210\u3055\u308c\u308b\u306e\u306b\u8996\u8074\u3067\u304d\u306a\u3044\u3057\u9332\u753b\u505c\u6b62\u3082\u3067\u304d\u306a\u3044\u3088\u3046\u306a\u72b6\u614b\u3067\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u3092hoge\u3068\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>hoge(1).ts\nhoge(2).ts\nhoge(3).ts\nhoge(4).ts<\/code><\/pre><\/div>\n\n\n\n<p>Windows\u3067\u30d5\u30a9\u30eb\u30c0\u3092\u898b\u308b\u3068\u5bb9\u91cf\u306f\u5927\u304d\u304f\u306a\u3063\u3066\u3044\u304f\u3057\u3001\u6d88\u3057\u3066\u3082\u3059\u3050\u5fa9\u6d3b\u3057\u3066\u3001\u5bb9\u91cf\u306f\u6d88\u3059\u76f4\u524d\u306e\u5bb9\u91cf\u304b\u3089\u5f15\u304d\u7d99\u304c\u308c\u308b\u306e\u3067\u3059\u3054\u304f\u7126\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u3053\u308c\u306f\u601d\u308f\u306c\u3068\u3053\u308d\u306b\u539f\u56e0\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u307e\u305a\u306f\u79c1\u306e\u8a2d\u5b9a\u3067\u30c9\u30ed\u30c3\u30d7\u3092\u78ba\u8a8d\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u306e\u70b9\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30c9\u30ed\u30c3\u30d7\u30c1\u30a7\u30c3\u30af\u6a5f\u80fd\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fOFF\u3067\u3059\u3002\u306a\u306e\u3067\u3001\u4f55\u3082\u3044\u3058\u3063\u3066\u3044\u306a\u3044\u4eba\u306f\u3053\u306e\u30b1\u30fc\u30b9\u306b\u306f\u8a72\u5f53\u3057\u307e\u305b\u3093\u3002\u3067\u3059\u304c\u3001\u30c9\u30ed\u30c3\u30d7\u30c1\u30a7\u30c3\u30af\u3092\u30aa\u30f3\u306b\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3053\u3053\u304c\u602a\u3057\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u8a2d\u5b9a\u306b\u306f\u554f\u984c\u304c\u306a\u3044\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u307e\u3059\u3002\u305d\u306e\u72b6\u614b\u3067\u8a2d\u5b9a\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u304c\u3042\u308b\u304b\u3001\u6a29\u9650\u304c\u5927\u4e08\u592b\u304b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u79c1\u306e\u5834\u5408\u306f\u3001<strong>\u9332\u753b\u7528HDD\u3092\u5909\u3048\u3066\u30c9\u30ed\u30c3\u30d7\u30c1\u30a7\u30c3\u30af\u7528\u306e\u30ed\u30b0\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u308a\u5fd8\u308c\u3066\u3044\u305f\u305f\u3081\u306b\u30bf\u30a4\u30c8\u30eb\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f<\/strong>\u3002<\/p>\n\n\n\n<p>\u9332\u753b\u30d5\u30a9\u30eb\u30c0\u3082\u6b63\u3057\u304f\u8a2d\u5b9a\u3057\u305f\u306e\u306b\u3001\u9332\u753b\u3067\u304d\u306a\u304f\u3066\u60a9\u3093\u3067\u3044\u307e\u3057\u305f\u304c\u3001\u6614\u306e\u30d5\u30a9\u30eb\u30c0\u69cb\u6210\u3092\u3082\u30461\u56de\u898b\u3066\u540c\u3058\u3088\u3046\u306b\u3057\u305f\u3089\u52d5\u3044\u305f\u3053\u3068\u3067\u3053\u306e\u3053\u3068\u304c\u767a\u899a\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u306a\u306e\u3067\u3053\u306e\u30b1\u30fc\u30b9\u306e\u7d50\u8ad6\u3068\u3057\u3066\u306f\u3001\u4ee5\u4e0b\u3092\u5b88\u308a\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>HDD\u3092\u79fb\u884c\u3057\u305f\u306a\u3089\u5fe0\u5b9f\u306b\u30d5\u30a9\u30eb\u30c0\u69cb\u6210\u3092\u518d\u73fe\u3059\u308b\uff01<\/strong><\/p>\n\n\n\n<p>\u6b63\u76f4\u3053\u308c\u306b\u5c3d\u304d\u307e\u3059\u3002\u74b0\u5883\u3092\u65b0\u898f\u7acb\u3061\u4e0a\u3052\u3059\u308b\u5834\u5408\u306f\u30c9\u30ed\u30c3\u30d7\u30c1\u30a7\u30c3\u30af\u6a5f\u80fd\u3092OFF\u304b\u3089\u59cb\u3081\u3066\u308b\u306e\u3067\u6c17\u3065\u304d\u3084\u3059\u3044\u3068\u601d\u3044\u307e\u3059\u3057\u3001\u305a\u3063\u3068\u904b\u7528\u3057\u3066\u3044\u3066\u5f8c\u3067\u5909\u3048\u305f\u304b\u3089\u3053\u305d\u3001\u306f\u307e\u3063\u305f\u3068\u3053\u308d\u3060\u3063\u305f\u306a\u3068\u3044\u3046\u611f\u3058\u3067\u3059\u3002\u3053\u308c\u4ee5\u5916\u3067\u9332\u753b\u3067\u304d\u306a\u3044\u3063\u3066\u3044\u3046\u306e\u306f\u79c1\u306f\u906d\u9047\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u30b3\u30e1\u30f3\u30c8\u3068\u304b\u3044\u305f\u3060\u3051\u308c\u3070\u76f8\u8ac7\u306b\u4e57\u308c\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<h2 class=\"wp-block-heading\">\u75c7\u4f8b\u2463\uff1a\u5b89\u5b9a\u3057\u305f\u3068\u601d\u3063\u3066\u6570\u5e74\u305f\u3063\u305f\u3042\u308b\u65e5\u3001\u756a\u7d44\u8868\u304c\u66f4\u65b0\u3055\u308c\u306a\u304f\u306a\u308a\u9332\u753b\u304c\u884c\u3048\u306a\u304f\u306a\u3063\u305f<\/h2>\n\n\n\n<p>\u30bf\u30a4\u30c8\u30eb\u306e\u901a\u308a\u3067\u3059\u304c\u30012\u5e74\u307b\u3069\u524d\u306b\u79c1\u306f\u5b89\u5b9a\u74b0\u5883\u3092\u4f5c\u308a\u4e0a\u3052\u305f\u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u3082\u3046\u3053\u308c\u3067\u3084\u308b\u3053\u3068\u306f\u306a\u3044\u3001\u6e80\u8db3\u3060\u3068\u601d\u3063\u3066\u3044\u305f\u3042\u308b\u65e5\u306e\u51fa\u6765\u4e8b\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3075\u3068\u308f\u3051\u3042\u3063\u3066\u5927\u5e45\u306a\u9332\u753b\u30eb\u30fc\u30eb\u306e\u5909\u66f4\u3092\u8003\u3048\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u3068\u304d\u306b\u304a\u304b\u3057\u306a\u72b6\u614b\u306b\u6c17\u3065\u304d\u307e\u3057\u305f\u3002\u756a\u7d44\u8868\u304c3\u65e5\u3055\u304d\u3050\u3089\u3044\u307e\u3067\u3057\u304b\u306a\u3044\u3002\u306a\u3093\u3067\u3060\u308d\u3046\u3068\u8272\u3005\u8003\u3048\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u66f4\u65b0\u3057\u3088\u3046\u3057\u305f\u3068\u304d\u306b\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u5bb9\u91cf\u304c\u8db3\u308a\u306a\u3044\u3068\u51fa\u307e\u3059\u3002\u5b9f\u969b\u306b\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u4f7f\u7528\u7387\u3092\u307f\u308b\u3068100%\u2026\u306a\u305c\u3053\u3046\u306a\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u79c1\u306e\u9332\u753b\u74b0\u5883\u306fRaspberry Pi\u3092\u4f7f\u7528\u3057\u3066\u304a\u308a\u3001microSD\u30ab\u30fc\u30c9\u304c\u7523\u696d\u7528\u3067\u5bb9\u91cf\u304c8GB\u306e\u3082\u306e\u306a\u306e\u3067\u5bb9\u91cf\u306b\u4f59\u88d5\u304c\u3042\u308b\u3068\u306f\u3044\u3048\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3067\u3059\u304c\u30011,2GB\u3050\u3089\u3044\u306f\u4f59\u88d5\u304c\u3042\u3063\u305f\u306f\u305a\u306a\u306e\u3067\u3001\u4f55\u304b\u304a\u304b\u3057\u3044\u306a\u3068\u601d\u3044\u8abf\u3079\u3066\u307f\u308b\u3053\u3068\u306b\u3002<\/p>\n\n\n\n<p>\u6700\u521d\u306f\u8272\u3005\u8a66\u884c\u932f\u8aa4\u3057\u305f\u308a\u3057\u3066\u3044\u308b\u3046\u3061\u306b\u9332\u753b\u30c7\u30fc\u30bf\u306e\u65ad\u7247\u3084\u30a8\u30f3\u30b3\u30fc\u30c9\u30c7\u30fc\u30bf\u304c\u3069\u3053\u304b\u306b\u3042\u308b\u306e\u304b\u306a\u3069\u3068\u8003\u3048\u305f\u306e\u3067\u3059\u304c\u3001\u305d\u3046\u3044\u3063\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u306a\u3055\u305d\u3046\u3067\u3057\u305f\u3002\u3067\u306f\u666e\u901a\u306b\u5bb9\u91cf\u306e\u5927\u304d\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u3055\u304c\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3059\u308b\u3068\u306a\u305c\u304blog\u30d5\u30a1\u30a4\u30eb\u304c\u691c\u7d22\u306b\u3072\u3063\u304b\u304b\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3057\u3066\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6570\u306f\u4e8c\u3064\u3002\u3053\u3053\u3067ls\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>user@raspberrypi:\/usr\/local\/var\/log $ ls -l\ntotal 2909624\n-rw-r--r-- 1 root root  283582464 Jul 15 00:08 mirakurun.stderr.log\n-rw-r--r-- 1 root root 2695823360 Jul 15 00:08 mirakurun.stdout.log\n<\/code><\/pre><\/div>\n\n\n\n<p>\u306a\u3093\u3068\u539f\u56e0\u306f\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3002\u305d\u308c\u30822.6GB\u3082\u306e\u30c7\u30fc\u30bf\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u304c\u672c\u4ef6\u306e\u539f\u56e0\u3067\u3001<strong>\u30b9\u30c8\u30ec\u30fc\u30b8\u304c\u3044\u3063\u3071\u3044\u306b\u306a\u3063\u305f\u3053\u3068\u306b\u3088\u3063\u3066\u3001EPG\u756a\u7d44\u8868\u3092\u53d6\u5f97\u3057\u3066\u3082\u4fdd\u5b58\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u305a3\u65e5\u5148\u306e\u3050\u3089\u3044\u307e\u3067\u306e\u30c7\u30fc\u30bf\u3057\u304b\u306a\u304b\u3063\u305f<\/strong>\u3002<strong>\u305d\u3057\u3066\u5bb9\u91cf\u304c\u305f\u308a\u306a\u304f\u306a\u3063\u3066\u3044\u304d\u3001\u6700\u5f8c\u306f\u756a\u7d44\u8868\u304c\u4e00\u5207\u4fdd\u5b58\u3067\u304d\u306a\u304f\u3063\u3066\u9332\u753b\u304c\u3067\u304d\u306a\u304f\u306a\u308b\u3002<\/strong>\u5bb9\u91cf\u304c\u8db3\u308a\u306a\u3044\u305f\u3081\u30bd\u30d5\u30c8\u30d5\u30a7\u30a2\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u3067\u304d\u305a\u539f\u56e0\u306b\u6c17\u3065\u3044\u305f\u3068\u3044\u3046\u611f\u3058\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u304c\u81a8\u308c\u4e0a\u304c\u3063\u3066\u3044\u305f\u539f\u56e0\u306a\u306e\u3067\u3059\u304c\u3001<strong>\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u304c\u539f\u56e0<\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u304c\u539f\u56e0\u3058\u3083\u306a\u304b\u3063\u305f\u306b\u3057\u308d\u3001\u5c06\u6765\u306e\u305f\u3081\u306b\u3053\u306e\u8a18\u4e8b\u306b\u76ee\u3092\u901a\u3057\u305f\u306a\u3089\u78ba\u8a8d\u3060\u3051\u306f\u3057\u3066\u304a\u3044\u305f\u65b9\u304c\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30ed\u30b0\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u306fpm2\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u53ef\u80fd\u3067\u3059\u3002\u672c\u6765\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u624b\u9806\u3067\u884c\u3046\u3053\u3068\u306a\u306e\u3067\u3059\u304c\u3001\u79c1\u306f\u3046\u3063\u304b\u308a\u5fd8\u308c\u3066\u3044\u305f\u305f\u3081\u306b\u3053\u306e\u3088\u3046\u306a\u72b6\u614b\u306b\u9665\u3063\u3066\u3057\u307e\u3063\u305f\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ sudo pm2 install pm2-logrotate\n$ sudo nano \/etc\/logrotate.d\/mirakurun<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\"\/etc\/logrotate.d\/mirakurun\"><code>\/usr\/local\/var\/log\/mirakurun.stdout.log\n\/usr\/local\/var\/log\/mirakurun.stderr.log\n{\n  daily\n  compress\n  rotate 7\n  missingok\n  notifempty\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u3059\u308b\u3079\u304d\u3067\u3059\u3002\u3082\u3057\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u5bb9\u91cf\u304c\u81a8\u308c\u4e0a\u304c\u3063\u3066\u3044\u305f\u5834\u5408\u306f\u8a2d\u5b9a\u3092\u884c\u3063\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u611f\u60f3<\/h2>\n\n\n\n<p>\u601d\u3063\u305f\u4ee5\u4e0a\u306b\u81ea\u5206\u3067\u3082\u8e93\u3044\u3066\u3044\u307e\u3057\u305f\u3002HDD\u3092\u5909\u3048\u308b\u3068\u304d\u306b\u6c17\u3065\u304f\u30df\u30b9\u306a\u306e\u3067\u3001\u5272\u3068\u5f8c\u3005\u5f79\u306b\u7acb\u3064\u3053\u3068\u3082\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u6700\u521d\u306f\u3042\u307e\u308a\u8e93\u304b\u306a\u304b\u3063\u305f\u3093\u3067\u3059\u3051\u3069\u306d\u3002\u3042\u3068\u3042\u3068\u52b9\u3044\u3066\u304f\u308b\u611f\u3058\u306a\u306e\u3067\u3001\u982d\u306e\u7247\u9685\u306b\u7f6e\u3044\u3066\u304a\u304f\u3068\u3044\u3064\u304b\u5f79\u306b\u7acb\u3064\u65e5\u304c\u6765\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u306d\u3002\u307e\u305f\u75c7\u72b6\u304c\u5897\u3048\u305f\u3089\u8ffd\u8a18\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>","protected":false},"excerpt":{"rendered":"<p>EPGStation\u3092\u4f7f\u3063\u3066\u3044\u3066\u6025\u306b\u9332\u753b\u304c\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u3002\u305d\u3093\u306a\u7d4c\u9a13\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\u79c1\u306f\u4f55\u56de\u304b\u3042\u308a\u307e\u3059\u3002\u79c1\u306f2\u30d1\u30bf\u30fc\u30f3\u3067\u306f\u307e\u3063\u305f\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u3001\u9806\u306b\u75c7\u72b6\u304b\u3089\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u306a\u304a\u3001EPGStation\u5c0e\u5165\u306b\u3064\u3044\u3066\u306f\u3044\u3064&hellip; <a class=\"more-link\" href=\"https:\/\/www.thun-techblog.com\/index.php\/blog\/linux-raspberry-pi-epgstation-not-recorded-error\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Linux(Raspberry Pi)\u306eEPGStation\u3067\u9332\u753b\u304c\u6025\u306b\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u3068\u304d\u306b\u78ba\u8a8d\u3057\u305f\u3044\u3053\u3068<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[110,15,16],"tags":[],"class_list":["post-175","post","type-post","status-publish","format-standard","hentry","category-dtv","category-linux","category-raspberry-pi","entry"],"_links":{"self":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts\/175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=175"}],"version-history":[{"count":6,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts\/175\/revisions"}],"predecessor-version":[{"id":1669,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts\/175\/revisions\/1669"}],"wp:attachment":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}