{"id":22632,"date":"2023-10-06T10:01:30","date_gmt":"2023-10-06T01:01:30","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=22632"},"modified":"2023-10-06T10:01:30","modified_gmt":"2023-10-06T01:01:30","slug":"raspberry-pi-3-%e3%81%a7rtsp%e3%82%92%e8%a6%8b%e3%82%8b%ef%bc%88%e7%b5%90%e8%ab%96%ef%bc%89","status":"publish","type":"post","link":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=22632","title":{"rendered":"Raspberry Pi 3 \u3067RTSP\u3092\u898b\u308b\uff08\u7d50\u8ad6\uff09"},"content":{"rendered":"\n<p>&#20351;&#12356;&#36947;&#12398;&#12394;&#12356;Raspberry Pi 3 Model B (RPi3) &#12420;Raspberry Pi 3 Model B+ (RPi3+)&#12391;&#65292;RTSP&#12434;&#35222;&#32884;&#12377;&#12427;&#26041;&#27861;&#12398;&#32080;&#35542;&#12392;&#12375;&#12390;&#12399;&#65292;<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>ffplay (FFMPEG)&#12391;&#35211;&#12427;<\/p>\n<\/blockquote>\n\n\n\n<p>&#12391;&#26368;&#32066;&#27770;&#23450;&#12375;&#12414;&#12375;&#12383;<sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"00000000000003270000000000000000_22632\"><a href=\"javascript:void(0)\" role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000003270000000000000000_22632-1\">1<\/a><\/sup><span id=\"mfn-content-00000000000003270000000000000000_22632-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\">&#12381;&#12398;&#24460;&#65292;<a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=22931\" data-type=\"post\" data-id=\"22931\">Raspberry Pi OS&#37197;&#24067;&#12398;VLC&#12391;RTSP&#35222;&#32884;&#12364;&#12391;&#12365;&#12427;&#12424;&#12358;&#12395;&#24489;&#26087;<\/a>&#12375;&#12414;&#12375;&#12383;&#65294;<\/span>&#65294;&#21807;&#19968;&#25080;&#24565;&#12373;&#12428;&#12390;&#12356;&#12383;&#26178;&#38291;&#36933;&#12428;&#12398;&#33988;&#31309;&#12399;&#65292;&#12381;&#12398;&#24460;&#21322;&#26085;&#12411;&#12393;&#36899;&#32154;&#36939;&#36578;&#12375;&#12383;&#12392;&#12371;&#12429;&#65292;&#19981;&#24605;&#35696;&#12392;&#35299;&#28040;&#12373;&#12428;&#12414;&#12375;&#12383;<sup class=\"modern-footnotes-footnote \" data-mfn=\"2\" data-mfn-post-scope=\"00000000000003270000000000000000_22632\"><a href=\"javascript:void(0)\" role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000003270000000000000000_22632-2\">2<\/a><\/sup><span id=\"mfn-content-00000000000003270000000000000000_22632-2\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"2\">&#12383;&#12406;&#12435;&#65292;&#19979;&#35352;&#12398;&#12473;&#12463;&#12522;&#12503;&#12488;&#12398;&#12424;&#12358;&#12395;&#65292;&#12467;&#12531;&#12477;&#12540;&#12523;&#12395;log&#12434;&#20986;&#12373;&#12394;&#12356;&#12424;&#12358;&#12395;&#12375;&#12383;&#12383;&#12417;&#12363;&#12418;&#12375;&#12428;&#12414;&#12379;&#12435;&#65294;&#12381;&#12428;&#12391;&#12418;&#22810;&#23569;&#12399;&#36933;&#12428;&#12414;&#12377;&#65294;<\/span>&#65294;<\/p>\n\n\n\n<p>FFMPEG&#12364;&#20351;&#12360;&#12427;&#12394;&#12425;&#12400;Raspberry Pi OS&#12391;&#12418;&#34892;&#12369;&#12427;&#12399;&#12378;&#12391;&#12377;&#12364;&#65292;&#12356;&#12414;&#12373;&#12425;&#38754;&#20498;&#12394;&#12398;&#12391;<sup class=\"modern-footnotes-footnote \" data-mfn=\"3\" data-mfn-post-scope=\"00000000000003270000000000000000_22632\"><a href=\"javascript:void(0)\" role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000003270000000000000000_22632-3\">3<\/a><\/sup><span id=\"mfn-content-00000000000003270000000000000000_22632-3\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"3\">&#12392;&#35328;&#12356;&#12388;&#12388;&#24460;&#26085;&#35430;&#12375;&#12414;&#12375;&#12383;&#65294;ffplay&#12384;&#12369;&#12398;&#12383;&#12417;&#12395;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12377;&#12427;&#12394;&#12425;&#65292;<a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=22656\" data-type=\"post\" data-id=\"22656\">Raspberry Pi OS&#12364;&#19968;&#30058;&#27005;&#12391;&#65292;&#36215;&#21205;&#12418;&#26089;&#12356;<\/a>&#12398;&#12391;&#12362;&#21223;&#12417;&#12391;&#12377;&#65294;<\/span>&#65292;RPi3&#12391;&#12399;Manjaro ARM xfce, RPi3+&#12391;&#12399;Manjaro ARM KDE Plasma&#12391;&#12371;&#12398;&#12414;&#12414;&#34892;&#12365;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p>&#33258;&#21205;&#36215;&#21205;&#12395;&#12388;&#12356;&#12390;&#12399;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/sh\nsleep 30\nDISPLAY=:0 \/usr\/bin\/ffplay rtsp:\/\/\u30e6\u30fc\u30b6\u30fc\u540d:\u30d1\u30b9\u30ef\u30fc\u30c9@\u30db\u30b9\u30c8\u306eFQDN\/\u6307\u5b9a\u3055\u308c\u305f\u6587\u5b57\u5217 -loglevel quiet -fs &gt; \/dev\/null 2&gt;&amp;1 &amp;<\/code><\/pre>\n\n\n\n<p>&#12392;&#12356;&#12358;&#12473;&#12463;&#12522;&#12503;&#12488;&#12434;&#23455;&#34892;&#21487;&#33021;&#12395;&#12375;&#12390;&#36969;&#24403;&#12394;&#22580;&#25152;&#12395;&#32622;&#12356;&#12390;&#35373;&#23450;&#12363;&#12425;Autostart&#12395;&#25351;&#23450;&#12375;&#12383;&#12425;&#65292;xfce&#12418;KDE Plasma&#12418;&#12358;&#12414;&#12367;&#12356;&#12365;&#12414;&#12375;&#12383;&#65294;sleep 30&#12395;&#12388;&#12356;&#12390;&#12399;&#35201;&#35519;&#25972;&#12391;&#12377;&#65294;&#12501;&#12523;&#12473;&#12463;&#12522;&#12540;&#12531;&#12458;&#12503;&#12471;&#12519;&#12531;<code>-fs<\/code>&#12399;&#12362;&#22909;&#12415;&#12391;&#65294;<\/p>\n\n\n\n<p>&#12394;&#12362;&#65292;xfce&#12391;&#12399;&#35373;&#23450;&#12398;Screen saver&#12434;OFF&#12364;&#27231;&#33021;&#12375;&#12414;&#12377;&#12364;&#65292;<a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=17579\" data-type=\"post\" data-id=\"17579\">KDE Plasma&#12399;&#12381;&#12398;&#12473;&#12452;&#12483;&#12481;&#12364;&#21177;&#12363;&#12394;&#12356;<\/a><sup class=\"modern-footnotes-footnote \" data-mfn=\"4\" data-mfn-post-scope=\"00000000000003270000000000000000_22632\"><a href=\"javascript:void(0)\" role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000003270000000000000000_22632-4\">4<\/a><\/sup><span id=\"mfn-content-00000000000003270000000000000000_22632-4\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"4\">&#19968;&#24180;&#21069;&#12395;&#12381;&#12358;&#12384;&#12387;&#12383;&#12398;&#12391;&#12377;&#12364;&#12381;&#12398;&#24460;&#30906;&#35469;&#12399;&#12375;&#12390;&#12356;&#12414;&#12379;&#12435;&#128517;<\/span>&#12424;&#12358;&#12394;&#12398;&#12391;&#65292;&#12527;&#12540;&#12463;&#12450;&#12521;&#12454;&#12531;&#12489;&#12392;&#12375;&#12390;&#65292;<code>.xprofile<\/code>&#12395;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>DISPLAY=:0 xset -dpms<br>DISPLAY=:0 xset s off<\/code><\/pre>\n\n\n\n<p>&#12434;&#26360;&#12356;&#12390;&#12414;&#12377;&#65294;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u3044\u9053\u306e\u306a\u3044Raspberry Pi 3 Model B (RPi3) \u3084Raspberry Pi 3 Model B+ (RPi3+)\u3067\uff0cRTSP\u3092\u8996\u8074\u3059\u308b\u65b9\u6cd5\u306e\u7d50\u8ad6\u3068\u3057\u3066\u306f\uff0c ffplay (FFMPEG)\u3067\u898b\u308b \u3067\u6700\u7d42\u6c7a\u5b9a\u3057\u307e\u3057\u305f\uff0e\u552f\u4e00\u61f8\u5ff5\u3055\u308c\u3066\u3044\u305f\u6642\u9593\u9045\u308c\u306e\u84c4\u7a4d\u306f\uff0c\u305d\u306e\u5f8c\u534a\u65e5\u307b\u3069\u9023\u7d9a\u904b\u8ee2\u3057\u305f\u3068\u3053\u308d\uff0c\u4e0d\u601d\u8b70\u3068\u89e3\u6d88\u3055\u308c\u307e\u3057\u305f\uff0e FFMPEG\u304c\u4f7f\u3048\u308b\u306a\u3089\u3070Raspberry Pi OS\u3067\u3082\u884c\u3051\u308b\u306f\u305a\u3067\u3059\u304c\uff0c\u3044\u307e\u3055\u3089\u9762\u5012\u306a\u306e\u3067\uff0cRPi3\u3067\u306fManjaro ARM xfce, RPi3+\u3067\u306fManjaro ARM KDE Plasma\u3067\u3053\u306e\u307e\u307e\u884c\u304d\u307e\u3059\uff0e \u81ea\u52d5\u8d77\u52d5\u306b\u3064\u3044\u3066\u306f\uff0c \u3068\u3044\u3046\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u53ef\u80fd\u306b\u3057\u3066\u9069\u5f53\u306a\u5834\u6240\u306b\u7f6e\u3044\u3066\u8a2d\u5b9a\u304b\u3089Autostart\u306b\u6307\u5b9a\u3057\u305f\u3089\uff0cxfce\u3082KDE Plasma\u3082\u3046\u307e\u304f\u3044\u304d\u307e\u3057\u305f\uff0esleep 30\u306b\u3064\u3044\u3066\u306f\u8981\u8abf\u6574\u3067\u3059\uff0e\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u30aa\u30d7\u30b7\u30e7\u30f3-fs\u306f\u304a\u597d\u307f\u3067\uff0e \u306a\u304a\uff0cxfce\u3067\u306f\u8a2d\u5b9a\u306eScreen saver\u3092OFF\u304c\u6a5f\u80fd\u3057\u307e\u3059\u304c\uff0cKDE Plasma\u306f\u305d\u306e\u30b9\u30a4\u30c3\u30c1\u304c\u52b9\u304b\u306a\u3044\u3088\u3046\u306a\u306e\u3067\uff0c\u30ef\u30fc\u30af\u30a2\u30e9\u30a6\u30f3\u30c9\u3068\u3057\u3066\uff0c.xprofile\u306b \u3092\u66f8\u3044\u3066\u307e\u3059\uff0e<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_daextam_enable_autolinks":"","footnotes":""},"categories":[8,23,27],"tags":[],"class_list":["post-22632","post","type-post","status-publish","format-standard","hentry","category-linux","category-manjaro","category-rasapberry-pi"],"publishpress_future_action":{"enabled":false,"date":"2026-05-13 03:25:41","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/22632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=22632"}],"version-history":[{"count":0,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/22632\/revisions"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=22632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=22632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}