{"id":771,"date":"2021-06-21T11:41:45","date_gmt":"2021-06-21T02:41:45","guid":{"rendered":"https:\/\/lab4ict.com\/website\/?p=771"},"modified":"2024-02-08T07:13:58","modified_gmt":"2024-02-07T22:13:58","slug":"raspberry-pi%e3%81%a7youtube%e3%81%ab%e3%82%88%e3%82%8b%e3%83%a9%e3%82%a4%e3%83%96%e9%85%8d%e4%bf%a1%e3%82%92%e8%a1%8c%e3%81%86%ef%bc%81%ef%bc%88%e9%9f%b3%e5%a3%b0%e3%81%aa%e3%81%97%ef%bc%89","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/website\/articles\/771","title":{"rendered":"Raspberry Pi\u3067YouTube\u306b\u3088\u308b\u30e9\u30a4\u30d6\u914d\u4fe1\u3092\u884c\u3046\uff01\uff08\u97f3\u58f0\u306a\u3057\uff09"},"content":{"rendered":"<p>Raspberry Pi\u3067YouTube\u306b\u3088\u308b\u30e9\u30a4\u30d6\u914d\u4fe1\u3092\u884c\u3063\u3066\u307f\u307e\u3059\u3002\u4f7f\u7528\u3057\u305f\u306e\u306f\u3001\u300cRaspberry Pi 3 Model B+\u300d\u3067\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u30ab\u30e1\u30e9\u3092\u6e96\u5099\u3059\u308b\uff01<\/h2>\n<p>Raspberry Pi\u306b\u3001\u30ab\u30e1\u30e9\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u63a5\u7d9a\u3057\u307e\u3059\u3002\u4f7f\u7528\u3057\u305f\u30ab\u30e1\u30e9\u306f\u3001\u300cLABISTS Raspberry Pi Camera B01\u300d\u3067\u3059\u3002<\/p>\n<h2>ffmpeg\u3067YouTube\u306b\u30a8\u30f3\u30b3\u30fc\u30c0\u914d\u4fe1\u3059\u308b\uff01\uff08\u97f3\u58f0\u306a\u3057\uff09<\/h2>\n<p>raspivid\u30b3\u30de\u30f3\u30c9\u3067\u30ad\u30e3\u30d7\u30c1\u30e3\u30fc\u3057\u3001\u6a19\u6e96\u51fa\u529b\u3067ffmpeg\u30b3\u30de\u30f3\u30c9\u306b\u9023\u643a\u3057\u3066\u3001YouTube\u306b\u30a8\u30f3\u30b3\u30fc\u30c0\u914d\u4fe1\u3057\u307e\u3059\u3002\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306b\u3088\u308b\u30a8\u30f3\u30b3\u30fc\u30c9\u3067\u306f\u3001\u300cRaspberry Pi 3 Model B+\u300d\u3067\u306f\u3001720p\u306e1280x768\u304cCPU\u30d1\u30ef\u30fc\u7684\u306b\u9650\u754c\u306b\u306a\u308a\u307e\u3059\u30021080p\u3092\u76ee\u6a19\u306b\u3057\u3066\u3044\u305f\u306e\u3067\u3001\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u30a8\u30f3\u30b3\u30fc\u30c9\uff08h264_omx\uff09\u3092\u4f7f\u7528\u3057\u3066\u3001\u306a\u3093\u3068\u304b10fps\u51fa\u305b\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002\u3068\u308a\u3042\u3048\u305a\u97f3\u58f0\u306a\u3057\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ raspivid -w 1920 -h 1080 -fps 10 -o - -t 0 | \\\r\nffmpeg -thread_queue_size 512 -f h264 -r 10 -i - \\\r\n-f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 \\\r\n-c:v h264_omx -c:a aac -g 20 -s 1920x1080 \\\r\n-f flv rtmp:\/\/a.rtmp.youtube.com\/live2\/&lt;STREAM KEY&gt;\r\n<\/pre>\n<h2>\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b3\u30fc\u30c9\u3092\u884c\u3046\u5834\u5408\u306f\uff01<\/h2>\n<p>\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b3\u30fc\u30c9\u3092\u884c\u3046\u5834\u5408\u306f\u3001\u30a8\u30f3\u30b3\u30fc\u30c0\u306b\u300clibx264\u300d\u3092\u6307\u5b9a\u3057\u307e\u3059\u30021080p\u3067\u306f\u30011fps\u3067\u308c\u3070\u3088\u3044\u304f\u3089\u3044\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ raspivid -w 1920 -h 1080 -fps 10 -o - -t 0 | \\\r\nffmpeg -thread_queue_size 512 -f h264 -r 10 -i - \\\r\n-f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 \\\r\n-c:v libx264 -c:a aac -g 20 -s 1920x1080 \\\r\n-f flv rtmp:\/\/a.rtmp.youtube.com\/live2\/&lt;STREAM KEY&gt;\r\n<\/pre>\n<h2>\u300c-thread_queue\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3059\u308b\uff01<\/h2>\n<p>\u300c-thread_queue\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u5024\u304c\u5c0f\u3055\u3044\u3068\u3001CPU\u30d1\u30ef\u30fc\u304c\u3042\u3063\u3066\u3082\u52d5\u753b\u914d\u4fe1\u304c\u6ede\u308a\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u304c\u300c8\u300d\u306a\u306e\u3067\u3001\u8b66\u544a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u306a\u304f\u306a\u308b\u307e\u3067\u3001\u5897\u3084\u3059\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u97f3\u58f0\u306a\u3057\u3092\u6b63\u3057\u304f\u8a2d\u5b9a\u3059\u308b\uff01<\/h2>\n<p>\u97f3\u58f0\u306a\u3057\u3067\u914d\u4fe1\u3059\u308b\u5834\u5408\u3067\u3082\u3001\u97f3\u58f0\u306a\u3057\u3067\u3042\u308b\u3053\u3068\u3092\u6b63\u3057\u304f\u8a2d\u5b9a\u3057\u306a\u3044\u3068YouTube\u5074\u3067\u306e\u53d7\u4fe1\u304c\u958b\u59cb\u3055\u308c\u307e\u305b\u3093\u3002\u300clavfi\u300d\u30d5\u30a3\u30eb\u30bf\u30fc\u306e\u8a2d\u5b9a\u3068\u3001\u30b3\u30fc\u30c9\u5909\u63db\u306e\u8a2d\u5b9a\u300caac\u300d\u3092\u5fc5\u305a\u884c\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u9593\u9694\uff08GOP\uff09\u3092\u6b63\u3057\u304f\u8a2d\u5b9a\u3059\u308b\uff01<\/h2>\n<p>\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u9593\u9694\uff08GOP\uff09\u3092\u6b63\u3057\u304f\u8a2d\u5b9a\u3057\u307e\u3059\u3002YouTube\u3067\u306f\u3001GOP\u306e\u5024\u306f\u30014\u79d2\u4ee5\u5185\u30672\u79d2\u304c\u63a8\u5968\u3067\u3059\u3002ffmpeg\u306e\u300c-g\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3001fps\u306e\u5024\u306e2\u500d\u306e\u5024\u3092\u8a2d\u5b9a\u3057\u3066\u63a8\u5968\u306e2\u79d2\u306b\u306a\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Raspberry Pi\u3067\u30e9\u30a4\u30d6\u914d\u4fe1\u3092\u8a66\u307f\u307e\u3057\u305f\u304c\u3001\u9ad8\u753b\u8cea\u306e\u30e9\u30a4\u30d6\u914d\u4fe1\u306fCPU\u30d1\u30ef\u30fc\u3084\u3001\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u30a8\u30f3\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li><a href=\"https:\/\/support.google.com\/youtube\/answer\/1722171?hl=ja\" target=\"_blank\" rel=\"noopener\">YouTube\u30d8\u30eb\u30d7\uff1a\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u52d5\u753b\u306b\u304a\u3059\u3059\u3081\u306e\u30a8\u30f3\u30b3\u30fc\u30c9\u8a2d\u5b9a<\/a><\/li>\n<\/ul>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/website\/articles\/2991\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011YouTube\u3067\u30e9\u30a4\u30d6\u914d\u4fe1\u3092\u884c\u3046\uff01\uff08Raspberry Pi\uff09\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/website\/wp-content\/uploads\/2023\/12\/eyecatch_youtube_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011YouTube\u3067\u30e9\u30a4\u30d6\u914d\u4fe1\u3092\u884c\u3046\uff01\uff08Raspberry Pi\uff09<\/div><div class=\"substr\">Raspberry Pi\u3067\u3001YouTube\u306e\u30e9\u30a4\u30d6\u914d\u4fe1\u3092\u884c\u3046\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u95a2\u9023\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><a href=\"https:\/\/amzn.to\/3H92ffp\" rel=\"noopener\" target=\"_blank\"><img decoding=\"async\" class=\"paapi5-pa-product-image-source\" src=\"https:\/\/m.media-amazon.com\/images\/I\/41x9OBMBn7L._SL160_.jpg\" alt=\"N\/A\"><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Raspberry Pi\u3067YouTube\u306b\u3088\u308b\u30e9\u30a4\u30d6\u914d\u4fe1\u3092\u884c\u3063\u3066\u307f\u307e\u3059\u3002\u4f7f\u7528\u3057\u305f\u306e\u306f\u3001\u300cRaspberry Pi 3 Model B+\u300d\u3067\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":2663,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117],"tags":[87,78,83,88],"class_list":["post-771","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-livecam-raspberry-pi","tag-raspberry-pi","tag-youtube","tag-83","tag-88"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/website\/wp-json\/wp\/v2\/posts\/771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/website\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/website\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/website\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/website\/wp-json\/wp\/v2\/comments?post=771"}],"version-history":[{"count":25,"href":"https:\/\/lab4ict.com\/website\/wp-json\/wp\/v2\/posts\/771\/revisions"}],"predecessor-version":[{"id":3455,"href":"https:\/\/lab4ict.com\/website\/wp-json\/wp\/v2\/posts\/771\/revisions\/3455"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/website\/wp-json\/wp\/v2\/media\/2663"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/website\/wp-json\/wp\/v2\/media?parent=771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/website\/wp-json\/wp\/v2\/categories?post=771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/website\/wp-json\/wp\/v2\/tags?post=771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}