{"id":1297,"date":"2019-02-11T19:54:18","date_gmt":"2019-02-11T10:54:18","guid":{"rendered":"https:\/\/yuis-programming.com\/?p=1297"},"modified":"2021-10-16T18:19:05","modified_gmt":"2021-10-16T09:19:05","slug":"youtube-dl%e3%81%a7vlc%e3%83%97%e3%83%ac%e3%82%a4%e3%83%a4%e3%83%bc%e4%b8%8a%e3%81%a7youtube%e3%81%ae%e5%8b%95%e7%94%bb%e3%82%92%e3%82%b9%e3%83%88%e3%83%aa%e3%83%bc%e3%83%9f%e3%83%b3%e3%82%b0%e5%86%8d","status":"publish","type":"post","link":"https:\/\/yuis-programming.com\/?p=1297","title":{"rendered":"youtube-dl\u3092\u4f7f\u3044VLC\u3067\u52d5\u753b\u3092\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u518d\u751f"},"content":{"rendered":"<p>Windows\u30d1\u30bd\u30b3\u30f3\u3084Linux\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30fb\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u52d5\u304f\u52d5\u753b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30d7\u30ed\u30b0\u30e9\u30e0youtube-dl\u3092\u4f7f\u3044\u3001vlc\u30e1\u30c7\u30a3\u30a2\u30d7\u30ec\u30fc\u30e4\u30fc\u3067\u4efb\u610f\u306eyoutube\u306a\u3069\u306e\u52d5\u753b\u3092\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u518d\u751f\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">Contents<\/p><ul class=\"toc_list\"><li><a href=\"#i\"><span class=\"toc_number toc_depth_1\">1<\/span> \u4f7f\u3044\u6240<\/a><\/li><li><a href=\"#i-2\"><span class=\"toc_number toc_depth_1\">2<\/span> \u53c2\u8003<\/a><\/li><li><a href=\"#i-3\"><span class=\"toc_number toc_depth_1\">3<\/span> \u3084\u308a\u65b9<\/a><\/li><li><a href=\"#bash\"><span class=\"toc_number toc_depth_1\">4<\/span> bash<\/a><\/li><li><a href=\"#i-4\"><span class=\"toc_number toc_depth_1\">5<\/span> \u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306a\u3069<\/a><\/li><li><a href=\"#i-5\"><span class=\"toc_number toc_depth_1\">6<\/span> \u8ffd\u8a18<\/a><ul><li><a href=\"#i-6\"><span class=\"toc_number toc_depth_2\">6.1<\/span> \u30a8\u30e9\u30fc\u3092\u7121\u8996<\/a><\/li><\/ul><\/li><\/ul><\/div>\n<h2><span id=\"i\">\u4f7f\u3044\u6240<\/span><\/h2>\n<ol>\n<li>\u3053\u306e\u66f2\u3044\u3044\u306a\u2026nightcore\u7684\u306b\u8074\u3044\u3066\u307f\u305f\u3044\u2026 (\u3067\u3082\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u306e\u306f\u9762\u5012)<\/li>\n<li>\u3053\u306e\u8033\u304b\u304d\u30dc\u30a4\u30b9\u30d4\u30c3\u30c1\u5909\u3048\u305f\u3089\u840c\u3048\u30dc\u30a4\u30b9(or\u30a4\u30b1\u30dc)\u306b\u306a\u308a\u305d\u3046\u3002 (\u3067\u3082\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u306e\u306f\u9762\u5012)<\/li>\n<li>\u3053\u306e\u52d5\u753b\u306f\u500d\u901f\u3057\u3066\u898b\u305f\u3044\u306a\u3002 (\u307e\u3041\u901f\u5ea6\u5909\u66f4\u306a\u3089HTML5\u30d7\u30ec\u30a4\u30e4\u306a\u3089\u3067\u304d\u308b\u306e\u3067\u62e1\u5f35\u6a5f\u80fd\u306a\u3093\u304b\u3082\u3042\u308a\u307e\u3059\u304c\u3002)<\/li>\n<\/ol>\n<h2><span id=\"i-2\">\u53c2\u8003<\/span><\/h2>\n<p>How do I stream directly to media player? on <a href=\"https:\/\/github.com\/rg3\/youtube-dl\/blob\/master\/README.md#how-do-i-stream-directly-to-media-player\">youtube-dl\/README.md at master \u00b7 rg3\/youtube-dl<\/a><\/p>\n<h2><span id=\"i-3\">\u3084\u308a\u65b9<\/span><\/h2>\n<ol>\n<li>\u30d1\u30b9\u3092\u901a\u3059\u3002 <code>C:\\Program Files (x86)\\VideoLAN\\VLC<\/code><\/li>\n<li><code>youtube-dl -o - \"[URL]\" | vlc.exe -<\/code><\/li>\n<\/ol>\n<h2><span id=\"bash\">bash<\/span><\/h2>\n<p>\u4f7f\u3063\u3066\u3084\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code>cuturlquerystr(){\n  echo \"$1\" | sed -E \"s\/&amp;.*\/\/g\"\n}\n\nyoutube-stream(){\n    youtube-dl -o - \"$(cuturlquerystr \"$1\" | perl -pe \"chomp\")\" | vlc.exe -\n}\n\nalias ys=\"youtube-stream\"\n\n<\/code><\/pre>\n<h2><span id=\"i-4\">\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306a\u3069<\/span><\/h2>\n<pre><code>sudo apt install python-pip -y\nsudo pip install youtube-dl\nsudo pip install --upgrade youtube-dl\n<\/code><\/pre>\n<p><code>Signature extraction failed: Traceback (most recent call last):<\/code>\u30a8\u30e9\u30fc\u3082\u4e0a\u306e\u3067\u89e3\u6c7a\u53ef\u80fd<\/p>\n<p>\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u518d\u751f\u3068\u306a\u3002\u3055\u3059\u304cyoutube-dl\u3067\u3059\u306d\u3002\u3059\u3054\u3044\u3002<\/p>\n<h2><span id=\"i-5\">\u8ffd\u8a18<\/span><\/h2>\n<h3><span id=\"i-6\">\u30a8\u30e9\u30fc\u3092\u7121\u8996<\/span><\/h3>\n<p><code>- i<\/code><\/p>\n<p><a href=\"https:\/\/github.com\/rg3\/youtube-dl\/issues\/8788\">youtube-dl Terminates when trying to download a video blocked\/deleted \u00b7 Issue #8788 \u00b7 rg3\/youtube-dl<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows\u30d1\u30bd\u30b3\u30f3\u3084Linux\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30fb\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u52d5\u304f\u52d5\u753b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30d7\u30ed\u30b0\u30e9\u30e0youtube-dl [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[1],"tags":[],"acf":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8Rxwo-kV","_links":{"self":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/1297"}],"collection":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1297"}],"version-history":[{"count":3,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/1297\/revisions"}],"predecessor-version":[{"id":3005,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/1297\/revisions\/3005"}],"wp:attachment":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}