{"id":981,"date":"2022-08-07T21:05:57","date_gmt":"2022-08-07T12:05:57","guid":{"rendered":"https:\/\/rfsec.ddns.net\/db\/?p=981"},"modified":"2022-08-10T10:03:43","modified_gmt":"2022-08-10T01:03:43","slug":"avi%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92h264%e3%81%b8%e5%a4%89%e6%8f%9b","status":"publish","type":"post","link":"https:\/\/rfsec.ddns.net\/db\/?p=981","title":{"rendered":"\u6d41\u661f\u89b3\u6e2c\u30c7\u30fc\u30bf\u306e\u51e6\u7406\u624b\u9806"},"content":{"rendered":"\n<p><strong>STEP-1<\/strong> python\u30b9\u30af\u30ea\u30d7\u30c8(detectMETEORa.py)\u3067IP\u30ab\u30e1\u30e9\u304b\u3089\u753b\u50cf\u3092\u53d6\u5f97\u3057\u3001\u52d5\u4f53\u691c\u77e5\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u4e2d\u5fc3\u3068\u3057\u305f\u51e6\u7406\u3067\u3001\u6d41\u661f\u3089\u3057\u3044\u52d5\u753b(avi\u5f62\u5f0f)\u3092\u4fdd\u5b58\u3059\u308b\u3002<\/p>\n\n\n\n<p><strong>STEP-2<\/strong> \u8a18\u9332\u3057\u305f\u500b\u3005\u306e\u52d5\u753b\u3092streamlit\u30b9\u30af\u30ea\u30d7\u30c8(play.py)\u3067GUI\u64cd\u4f5c\u3067\u518d\u751f\u3057\u3001\u76ee\u8996\u3067\u6d41\u661f\u3068\u5224\u65ad\u3057\u305f\u52d5\u753b\u306b\u3064\u3044\u3066\u3001COPY\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\uff11\u500b\u306eavi\u30d5\u30a1\u30a4\u30eb\u304b\u3089\uff11\u679a\u306ejpg\u753b\u50cf\u3092\u6bd4\u8f03\u660e\u5408\u6210\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3067\u751f\u6210\u3057\u3001\u540c\u6642\u306bavi\u5f62\u5f0f\u306e\u52d5\u753b\u304b\u3089h264\u5f62\u5f0f\u306e\u52d5\u753b(mp4\u5f62\u5f0f\uff09\u3078\u5909\u63db\u3057\u3066\u4fdd\u5b58\u3059\u308b\u3002<\/p>\n\n\n\n<p><strong>STEP-3<\/strong> jpg\u30d5\u30a1\u30a4\u30eb\u3068mp4\u30d5\u30a1\u30a4\u30eb\u3092\u3001Web\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306b\u95b2\u89a7\u3067\u304d\u308b\u3088\u3046\u3001\u3042\u3089\u304b\u3058\u3081\u7528\u610f\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u30fc\u3078Copy\u3059\u308b\u3002<\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/rfsec.ddns.net\/meteor.php\" target=\"_blank\">\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u95b2\u89a7\u3059\u308b\u305f\u3081\u306ephp\u30b3\u30fc\u30c9<\/a>\u3000\u25b6\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u753b\u50cf\u306e\u52d5\u753b\u3092\u518d\u751f\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u8868\u793a\u5bfe\u8c61\u306e\u753b\u50cf\u3092\u6708\u5358\u4f4d\u3067\u9078\u629e\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>&lt;?php\n\n$day= new DateTime();\n\nif (isset($_POST[&#39;month&#39;]) && ($_POST[&#39;month&#39;]!=&quot;&quot;)){\n        $month=$_POST[&#39;month&#39;];\n        $f_month=str_replace(&quot;-&quot;,&quot;&quot;,$month);\n} else {\n        $month=&quot;&quot;;\n}\n\necho &quot;&lt;div&gt;&quot;;\necho &quot;&lt;H2&gt;\u52d5\u753b\u3092\u518d\u751f\u3059\u308b\u306b\u306f\u3001\u5404\u753b\u50cf\u5de6\u4e0b\u306e\u518d\u751f\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u4e0b\u3055\u3044\u3002&lt;\/H2&gt;&quot;;\necho &quot;&lt;LI&gt;\u753b\u50cf\u4e0a\u3078\u30de\u30a6\u30b9\u30aa\u30fc\u30d0\u30fc\u3059\u308b\u3068\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u8868\u793a\u3057\u307e\u3059\u3002&lt;BR&gt;&quot;;\necho &quot;\u30d5\u30a1\u30a4\u30eb\u540d[\u30ab\u30e1\u30e9\u540d_\u691c\u77e5\u30d5\u30ec\u30fc\u30e0\u6570_\u7dcf\u30d5\u30ec\u30fc\u30e0\u6570_YYYYMMDD_HHmmSS.mp4]&lt;BR&gt;&quot;;\necho &quot;&lt;form method =\\&quot;POST\\&quot;&gt;\\n&quot;;\necho &quot;&lt;BR&gt;&lt;LABEL Date&gt;\u6708\u3092\u5909\u66f4\u3059\u308b\u306b\u306f\u5e74\u6708\u6b04\u306e\u53f3\u7aef\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002&lt;\/LABEL&gt;&quot;;\necho &quot;&lt;input type=\\&quot;month\\&quot; name=\\&quot;month\\&quot; value=$month&gt;&quot;;\necho &quot;&lt;input type =\\&quot;submit\\&quot;  value =\\&quot;\u8868\u793a\\&quot;&gt;&quot;;\necho &quot;&lt;\/form&gt;&lt;\/dev&gt;&quot;;\n\/\/echo &quot;$f_month&lt;BR&gt;\\n&quot;;\n$images = glob(&#39;meteor\/COMP\/*jpg&#39;);\n$n=0;\nforeach($images as $v) {\n        if (strpos($v,$f_month)) {\n                $tmp=explode(&quot;.&quot;,$v);\n                $mp4=$tmp[0].&quot;.mp4&quot;;\n                $mp4=str_replace(&quot;COMP&quot;,&quot;BEST2&quot;,$mp4);\n                \/\/echo &quot;$mp4&lt;BR&gt;&quot;;\n                $tmp=explode(&quot;\/&quot;,$mp4);\n                $title=$tmp[2];\n                $msg=&quot;&lt;video controls muted title=$title width=&#39;480&#39; height=&#39;280&#39; src=$mp4 poster=$v&gt;&lt;\/video&gt;&quot;;\n                echo $msg;\n                if ($n % 2 == 1){\n                        echo &quot;&lt;BR&gt;\\n&quot;;\n                }\n                $n++;\n        }\n}\n?&gt;<\/code><\/pre><\/div>\n\n\n\n<p><a href=\"https:\/\/rfsec.ddns.net\/m.php\" data-type=\"URL\" data-id=\"https:\/\/rfsec.ddns.net\/m.php\">ffmpeg -i infielavi -c:v<strong> libx264<\/strong> -c:a copy -y out-file.mp4<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>STEP-1 python\u30b9\u30af\u30ea\u30d7\u30c8(detectMETEORa.py)\u3067IP\u30ab\u30e1\u30e9\u304b\u3089\u753b\u50cf\u3092\u53d6\u5f97\u3057\u3001\u52d5\u4f53\u691c\u77e5\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u4e2d\u5fc3\u3068\u3057\u305f\u51e6\u7406\u3067\u3001\u6d41\u661f\u3089\u3057\u3044\u52d5\u753b(avi\u5f62\u5f0f)\u3092\u4fdd\u5b58\u3059\u308b\u3002 STEP-2 \u8a18\u9332\u3057\u305f\u500b\u3005\u306e\u52d5\u753b\u3092 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2,7],"tags":[],"class_list":["post-981","post","type-post","status-publish","format-standard","hentry","category-camera","category-astronomy"],"featured_image_src":null,"author_info":{"display_name":"mars","author_link":"https:\/\/rfsec.ddns.net\/db\/?author=1"},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts\/981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=981"}],"version-history":[{"count":6,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts\/981\/revisions"}],"predecessor-version":[{"id":992,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts\/981\/revisions\/992"}],"wp:attachment":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}