{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/%e5%ad%97%e5%b9%95/feed/json/ -- and add it your reader.", "home_page_url": "https://matoken.org/blog/tag/%e5%ad%97%e5%b9%95/", "feed_url": "https://matoken.org/blog/tag/%e5%ad%97%e5%b9%95/feed/json/", "language": "ja", "title": "\u5b57\u5e55 – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "http://matoken.org/blog/?p=2725", "url": "https://matoken.org/blog/2020/05/05/download-subtitles-with-the-youtube-dl-command/", "title": "Youtube-dl\u30b3\u30de\u30f3\u30c9\u3067\u5b57\u5e55\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b", "content_html": "
\n
add 2020-06-12
\n
\n
\n

\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u52d5\u753b\u30d5\u30a1\u30a4\u30eb\u3068\u5b57\u5e55\u30d5\u30a1\u30a4\u30eb\u304c\u5225\u3005\u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\uff0e\u52d5\u753b\u306b\u5b57\u5e55\u30d5\u30a1\u30a4\u30eb\u3092\u57cb\u3081\u8fbc\u3081\u306a\u3044\u304b\u306a\u3068\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u305f\u3089 --embed-subs \u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3057\u305f\uff0e\u3053\u308c\u3092\u5229\u7528\u3057\u305f\u30891\u3064\u306e\u52d5\u753b\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u306b\u5b57\u5e55\u3082\u57cb\u3081\u8fbc\u3081\u307e\u3057\u305f :)

\n
\n
\n
\n
$ youtube-dl --help|grep -- --embed\n    --embed-subs                     Embed subtitles in the video (only for mp4, webm and mkv videos)\n    --embed-thumbnail                Embed thumbnail in the audio as cover art
\n
\n
\n
\n

\u305f\u3060\u3057\uff0cDebian sid amd64\u74b0\u5883\u3067\u306f\u5225\u9014 atomicparsley \u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u5fc5\u8981\u3067\u3057\u305f\uff0e

\n
\n
\n
atomicparsley \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5165\u308c\u308b\u524d\u306e\u30a8\u30e9\u30fc
\n
\n
ERROR: AtomicParsley was not found. Please install.
\n
\n
\n
\n
atomicparsley \u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5c0e\u5165
\n
\n
$ sudo apt install atomicparsley
\n
\n
\n
\n
480p\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u65e5\u672c\u8a9e\u6a5f\u68b0\u7ffb\u8a33\u5b57\u5e55\u3092\u57cb\u3081\u8fbc\u307f
\n
\n
$ youtube-dl --write-auto-sub --sub-lang=ja --embed-subs -c -f 133 -o './%(title)s.%(ext)s' 'https://www.youtube.com/playlist?list=PLYUtdmpYPTTKgmkaIUFDiNvYPxQUzuY8y'
\n
\n
\n
\n
\n
\n\u4ee5\u4e0b\u306e\u3042\u305f\u308a\u3067\u3082\u66f8\u3044\u305f\u306e\u3067\u3059\u304c\uff0c\u56de\u7dda\u304c\u4e0d\u5b89\u5b9a\u3067\u9014\u4e2d\u3067\u6b62\u307e\u3063\u305f\u308a\u89e3\u50cf\u5ea6\u304c\u4f4e\u304b\u3063\u305f\u308a\u3059\u308b\u306e\u3067VOD\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304b\u3089\u8996\u8074\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\uff0e

\n
\n\n
\n
\n

\u65e5\u672c\u8a9e\u306e\u52d5\u753b\u306e\u5834\u5408\u306f\u3053\u308c\u3067\u554f\u984c\u306a\u3044\u306e\u3067\u3059\u304c\uff0c id:naruoga/@naru0ga\u3055\u3093\u304cLibreOffice Asia Conference 2019 Tokyo \u57fa\u8abf\u8b1b\u6f14\u306e\u52d5\u753b\u306b\u65e5\u672c\u8a9e\u5b57\u5e55\u3092\u4ed8\u3051\u3066\u304f\u308c\u307e\u3057\u305f\uff0eOSS\u304c\u8208\u5473\u3042\u308b\u4eba\u306a\u3089\u6c17\u306b\u306a\u308b\u611f\u3058\u306e\u5185\u5bb9\u306e\u3088\u3046\u306a\u306e\u3067\u8996\u8074\u3057\u305f\u3044\u3051\u3069\u5b57\u5e55\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3053\u3068\u7121\u3044\u306a\u3068\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n
\n\n
\n
\n

\u5c0e\u5165\u3057\u3066\u3044\u306a\u3044\u4eba\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\uff0e\u30d0\u30a4\u30ca\u30ea\u30921\u3064\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5b9f\u884c\u6a29\u3092\u4ed8\u3051\u308b\u3060\u3051\u3067\u3059\uff0e\u4ee5\u4e0b\u306f ~/bin \u306b\u5c0e\u5165\u3059\u308b\u4f8b\uff0e

\n
\n
\n
\n
$ curl -L https://yt-dl.org/downloads/latest/youtube-dl -o ~/bin/youtube-dl\n$ chmod +rx ~/bin/youtube-dl
\n
\n
\n
\n

\u5148\u305a\u306fhelp\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e

\n
\n
\n
\n
$ youtube-dl --help|grep 'Subtitle Options:' -A7\n  Subtitle Options:\n    --write-sub                      Write subtitle file\n    --write-auto-sub                 Write automatically generated subtitle file (YouTube only)\n    --all-subs                       Download all the available subtitles of the video\n    --list-subs                      List all available subtitles for the video\n    --sub-format FORMAT              Subtitle format, accepts formats preference, for example: \"srt\" or \"ass/srt/best\"\n    --sub-lang LANGS                 Languages of the subtitles to download (optional) separated by commas, use --list-subs for available\n                                     language tags
\n
\n
\n
\n

\u7d50\u69cb\u30b7\u30f3\u30d7\u30eb\u306a\u611f\u3058\u3067\u3059\u306d\uff0e\u65e9\u901f\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e

\n
\n
\n

\u5148\u305a\u306f --list-subs \u3067\u5b57\u5e55\u306e\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u3066\u307f\u307e\u3059\uff0e

\n
\n
\n
\n
$ youtube-dl --ignore-config --list-subs QS-Zz-2ovo0\n[youtube] QS-Zz-2ovo0: Downloading webpage\n[youtube] QS-Zz-2ovo0: Looking for automatic captions\n[youtube] QS-Zz-2ovo0: Downloading MPD manifest\nAvailable automatic captions for QS-Zz-2ovo0:\nLanguage formats\ngu       vtt, ttml, srv3, srv2, srv1\nzh-Hans  vtt, ttml, srv3, srv2, srv1\nzh-Hant  vtt, ttml, srv3, srv2, srv1\ngd       vtt, ttml, srv3, srv2, srv1\nga       vtt, ttml, srv3, srv2, srv1\ngl       vtt, ttml, srv3, srv2, srv1\nlb       vtt, ttml, srv3, srv2, srv1\nla       vtt, ttml, srv3, srv2, srv1\nlo       vtt, ttml, srv3, srv2, srv1\ntt       vtt, ttml, srv3, srv2, srv1\ntr       vtt, ttml, srv3, srv2, srv1\nlv       vtt, ttml, srv3, srv2, srv1\nlt       vtt, ttml, srv3, srv2, srv1\ntk       vtt, ttml, srv3, srv2, srv1\nth       vtt, ttml, srv3, srv2, srv1\ntg       vtt, ttml, srv3, srv2, srv1\nte       vtt, ttml, srv3, srv2, srv1\nfil      vtt, ttml, srv3, srv2, srv1\nhaw      vtt, ttml, srv3, srv2, srv1\nyi       vtt, ttml, srv3, srv2, srv1\nceb      vtt, ttml, srv3, srv2, srv1\nyo       vtt, ttml, srv3, srv2, srv1\nde       vtt, ttml, srv3, srv2, srv1\nda       vtt, ttml, srv3, srv2, srv1\nel       vtt, ttml, srv3, srv2, srv1\neo       vtt, ttml, srv3, srv2, srv1\nen       vtt, ttml, srv3, srv2, srv1\neu       vtt, ttml, srv3, srv2, srv1\net       vtt, ttml, srv3, srv2, srv1\nes       vtt, ttml, srv3, srv2, srv1\nru       vtt, ttml, srv3, srv2, srv1\nrw       vtt, ttml, srv3, srv2, srv1\nro       vtt, ttml, srv3, srv2, srv1\nbn       vtt, ttml, srv3, srv2, srv1\nbe       vtt, ttml, srv3, srv2, srv1\nbg       vtt, ttml, srv3, srv2, srv1\nuk       vtt, ttml, srv3, srv2, srv1\njv       vtt, ttml, srv3, srv2, srv1\nbs       vtt, ttml, srv3, srv2, srv1\nja       vtt, ttml, srv3, srv2, srv1\nor       vtt, ttml, srv3, srv2, srv1\nxh       vtt, ttml, srv3, srv2, srv1\nco       vtt, ttml, srv3, srv2, srv1\nca       vtt, ttml, srv3, srv2, srv1\ncy       vtt, ttml, srv3, srv2, srv1\ncs       vtt, ttml, srv3, srv2, srv1\nps       vtt, ttml, srv3, srv2, srv1\npt       vtt, ttml, srv3, srv2, srv1\npa       vtt, ttml, srv3, srv2, srv1\nvi       vtt, ttml, srv3, srv2, srv1\npl       vtt, ttml, srv3, srv2, srv1\nhy       vtt, ttml, srv3, srv2, srv1\nhr       vtt, ttml, srv3, srv2, srv1\nht       vtt, ttml, srv3, srv2, srv1\nhu       vtt, ttml, srv3, srv2, srv1\nhmn      vtt, ttml, srv3, srv2, srv1\nhi       vtt, ttml, srv3, srv2, srv1\nha       vtt, ttml, srv3, srv2, srv1\nmg       vtt, ttml, srv3, srv2, srv1\nuz       vtt, ttml, srv3, srv2, srv1\nml       vtt, ttml, srv3, srv2, srv1\nmn       vtt, ttml, srv3, srv2, srv1\nmi       vtt, ttml, srv3, srv2, srv1\nmk       vtt, ttml, srv3, srv2, srv1\nur       vtt, ttml, srv3, srv2, srv1\nmt       vtt, ttml, srv3, srv2, srv1\nms       vtt, ttml, srv3, srv2, srv1\nmr       vtt, ttml, srv3, srv2, srv1\nug       vtt, ttml, srv3, srv2, srv1\nta       vtt, ttml, srv3, srv2, srv1\nmy       vtt, ttml, srv3, srv2, srv1\naf       vtt, ttml, srv3, srv2, srv1\nsw       vtt, ttml, srv3, srv2, srv1\nis       vtt, ttml, srv3, srv2, srv1\nam       vtt, ttml, srv3, srv2, srv1\nit       vtt, ttml, srv3, srv2, srv1\niw       vtt, ttml, srv3, srv2, srv1\nsv       vtt, ttml, srv3, srv2, srv1\nar       vtt, ttml, srv3, srv2, srv1\nsu       vtt, ttml, srv3, srv2, srv1\nzu       vtt, ttml, srv3, srv2, srv1\naz       vtt, ttml, srv3, srv2, srv1\nid       vtt, ttml, srv3, srv2, srv1\nig       vtt, ttml, srv3, srv2, srv1\nnl       vtt, ttml, srv3, srv2, srv1\nno       vtt, ttml, srv3, srv2, srv1\nne       vtt, ttml, srv3, srv2, srv1\nny       vtt, ttml, srv3, srv2, srv1\nfr       vtt, ttml, srv3, srv2, srv1\nku       vtt, ttml, srv3, srv2, srv1\nfy       vtt, ttml, srv3, srv2, srv1\nfa       vtt, ttml, srv3, srv2, srv1\nfi       vtt, ttml, srv3, srv2, srv1\nka       vtt, ttml, srv3, srv2, srv1\nkk       vtt, ttml, srv3, srv2, srv1\nsr       vtt, ttml, srv3, srv2, srv1\nsq       vtt, ttml, srv3, srv2, srv1\nko       vtt, ttml, srv3, srv2, srv1\nkn       vtt, ttml, srv3, srv2, srv1\nkm       vtt, ttml, srv3, srv2, srv1\nst       vtt, ttml, srv3, srv2, srv1\nsk       vtt, ttml, srv3, srv2, srv1\nsi       vtt, ttml, srv3, srv2, srv1\nso       vtt, ttml, srv3, srv2, srv1\nsn       vtt, ttml, srv3, srv2, srv1\nsm       vtt, ttml, srv3, srv2, srv1\nsl       vtt, ttml, srv3, srv2, srv1\nky       vtt, ttml, srv3, srv2, srv1\nsd       vtt, ttml, srv3, srv2, srv1\nAvailable subtitles for QS-Zz-2ovo0:\nLanguage formats\nen       vtt, ttml, srv3, srv2, srv1\nja       vtt, ttml, srv3, srv2, srv1
\n
\n
\n
\n

\u5927\u91cf\u306b\u51fa\u3066\u304d\u307e\u3057\u305f\u304c\uff0c\u4e0a\u306e\u65b9\u306e Available automatic captions \u306e\u7269\u306fYoutube\u306e\u81ea\u52d5\u751f\u6210&\u81ea\u52d5\u7ffb\u8a33\u3055\u308c\u305f\u3082\u306e\u306e\u3088\u3046\u3067\u3059\uff0e
\nAvailable subtitles \u4ee5\u4e0b\u306e\u3082\u306e\u304c\u4eba\u306e\u624b\u3067\u7ffb\u8a33\u3055\u308c\u305f\u3082\u306e\u3060\u3068\u601d\u3044\u307e\u3059\uff0e\u4eca\u56de\u306e\u52d5\u753b\u3067\u306f en, ja \u304c\u3042\u308b\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n

--write-sub --sub-lang=ja \u3067\u65e5\u672c\u8a9e\u306e\u5b57\u5e55\u3092\u66f8\u304d\u51fa\u3059\u3088\u3046\u6307\u5b9a\u3057\u3066\u307f\u307e\u3059\uff0e

\n
\n
\n
\n
$ youtube-dl --ignore-config --write-sub --sub-lang=ja QS-Zz-2ovo0
\n
\n
\n
\n

\u52d5\u753b\u540d.mp4 \u3068 \u52d5\u753b\u540d.ja.vtt \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u5165\u624b\u3067\u304d\u307e\u3057\u305f\uff0e\u52d5\u753b\u540d.\u8a00\u8a9e.vtt \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u5b57\u5e55\u30d5\u30a1\u30a4\u30eb\u306e\u3088\u3046\u3067\u3059\uff0e\u3053\u306e2\u30d5\u30a1\u30a4\u30eb\u304c\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b\u72b6\u614b\u3067\u52d5\u753b\u30d7\u30ec\u30a4\u30e4\u30fc\u3067 .mp4 \u3092\u518d\u751f\u3059\u308b\u3068\u5b57\u5e55\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f :)

\n
\n
\n

Totem\u3067\u306f\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u304c\uff0c\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u5b57\u5e55\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b\u3068\u8868\u793a\u3055\u308c\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ ls LibreOffice\\ Asia\\ Conference\\ 2019\\ -\\ LibreOffice\\,\\ the\\ many\\ different\\ faces\\ of\\ a\\ global\\ community.*\n'LibreOffice Asia Conference 2019 - LibreOffice, the many different faces of a global community.ja.vtt'\n'LibreOffice Asia Conference 2019 - LibreOffice, the many different faces of a global community.mp4'\n$ mpv ./LibreOffice\\ Asia\\ Conference\\ 2019\\ -\\ LibreOffice\\,\\ the\\ many\\ different\\ faces\\ of\\ a\\ global\\ community.mp4\n$ cvlc ./LibreOffice\\ Asia\\ Conference\\ 2019\\ -\\ LibreOffice\\,\\ the\\ many\\ different\\ faces\\ of\\ a\\ global\\ community.mp4
\n
\n
\n
\n

\"youtu

\n
\n
\n

\u3053\u308c\u3067\u3068\u308a\u3042\u3048\u305a\u76ee\u7684\u306f\u679c\u305f\u305b\u307e\u3057\u305f\uff0e
\n\u3067\u3082Youtube\u3067\u306e\u307f\u3067\u3059\u304c\uff0c\u81ea\u52d5\u751f\u6210\u7ffb\u8a33\u5b57\u5e55\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u6c17\u306b\u306a\u308b\u306e\u3067\u3053\u308c\u3082\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e
\n\u4eca\u5ea6\u306f\u65e5\u672c\u8a9e\u5b57\u5e55\u306e\u5b58\u5728\u3057\u306a\u3044Debconf19\u306e\u3082\u306e\u3067\u65e5\u672c\u8a9e\u306e\u81ea\u52d5\u751f\u6210\u5b57\u5e55 --sub-lang=ja --write-auto-sub \u30aa\u30d7\u30b7\u30e7\u30f3&\u89e3\u50cf\u5ea6\u3092240p\u306b\u3057\u3066\u304a\u304d\u307e\u3059\uff0e

\n
\n
\n
\n
$ youtube-dl --sub-lang=ja --write-auto-sub -f 'bestvideo[height<=240]+bestaudio/best[height<=360]' U17DID4vdpc
\n
\n
\n
\n

\u81ea\u52d5\u751f\u6210&\u6a5f\u68b0\u7ffb\u8a33\u306a\u306e\u3067\u304a\u304b\u3057\u306a\u3068\u3053\u308d\u306f\u3042\u308a\u307e\u3059\u304c\u3044\u3051\u305f\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n

\"youtube

\n
\n
\n

\u5f8c\u306f\u30e9\u30a4\u30d6\u52d5\u753b\u3084\u30e9\u30a4\u30d6\u97f3\u58f0\u306e\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u7ffb\u8a33\u304c\u3067\u304d\u308b\u3068\u3044\u3044\u306a\u30fc\u3068\u601d\u3063\u305f\u308a\u3082\uff0eDeepSpeech\u3067\u6587\u5b57\u8d77\u3053\u3057\u3057\u3066\u307f\u3093\u306a\u306e\u7ffb\u8a33\u3068\u304bDeepl\u306b\u90fd\u8cc0\u5177\u611f\u3058\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u51fa\u6765\u306a\u3044\u304b\u306a\u3068\u304b\uff0e

\n
\n
\n
\u74b0\u5883
\n
\n
$ youtube-dl --version\n2020.05.03\n$ dpkg-query -W mpv vlc totem firejail\nfirejail        0.9.62-3\nmpv     0.32.0-1\ntotem   3.34.1-2+b1\nvlc     3.0.10-1
\n
\n

\n
\n

9

\n
\n", "content_text": "add 2020-06-12\n\n\n\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u52d5\u753b\u30d5\u30a1\u30a4\u30eb\u3068\u5b57\u5e55\u30d5\u30a1\u30a4\u30eb\u304c\u5225\u3005\u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\uff0e\u52d5\u753b\u306b\u5b57\u5e55\u30d5\u30a1\u30a4\u30eb\u3092\u57cb\u3081\u8fbc\u3081\u306a\u3044\u304b\u306a\u3068\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u305f\u3089 --embed-subs \u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3057\u305f\uff0e\u3053\u308c\u3092\u5229\u7528\u3057\u305f\u30891\u3064\u306e\u52d5\u753b\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u306b\u5b57\u5e55\u3082\u57cb\u3081\u8fbc\u3081\u307e\u3057\u305f :)\n\n\n\n$ youtube-dl --help|grep -- --embed\n --embed-subs Embed subtitles in the video (only for mp4, webm and mkv videos)\n --embed-thumbnail Embed thumbnail in the audio as cover art\n\n\n\n\u305f\u3060\u3057\uff0cDebian sid amd64\u74b0\u5883\u3067\u306f\u5225\u9014 atomicparsley \u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u5fc5\u8981\u3067\u3057\u305f\uff0e\n\n\natomicparsley \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5165\u308c\u308b\u524d\u306e\u30a8\u30e9\u30fc\n\nERROR: AtomicParsley was not found. Please install.\n\n\n\natomicparsley \u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5c0e\u5165\n\n$ sudo apt install atomicparsley\n\n\n\n480p\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u65e5\u672c\u8a9e\u6a5f\u68b0\u7ffb\u8a33\u5b57\u5e55\u3092\u57cb\u3081\u8fbc\u307f\n\n$ youtube-dl --write-auto-sub --sub-lang=ja --embed-subs -c -f 133 -o './%(title)s.%(ext)s' 'https://www.youtube.com/playlist?list=PLYUtdmpYPTTKgmkaIUFDiNvYPxQUzuY8y'\n\n\n\n\n\n\u4ee5\u4e0b\u306e\u3042\u305f\u308a\u3067\u3082\u66f8\u3044\u305f\u306e\u3067\u3059\u304c\uff0c\u56de\u7dda\u304c\u4e0d\u5b89\u5b9a\u3067\u9014\u4e2d\u3067\u6b62\u307e\u3063\u305f\u308a\u89e3\u50cf\u5ea6\u304c\u4f4e\u304b\u3063\u305f\u308a\u3059\u308b\u306e\u3067VOD\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304b\u3089\u8996\u8074\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\uff0e\n\n\n\u7d30\u3044\u4e0d\u5b89\u5b9a\u306a\u56de\u7dda\u3067\u30aa\u30f3\u30e9\u30a4\u30f3\u52d5\u753b\u3092\u8996\u8074\u3059\u308b\u8a66\u307f | edocr\nlinux:youtube-dl [wiki.matoken.org]\n\n\n\n\u65e5\u672c\u8a9e\u306e\u52d5\u753b\u306e\u5834\u5408\u306f\u3053\u308c\u3067\u554f\u984c\u306a\u3044\u306e\u3067\u3059\u304c\uff0c id:naruoga/@naru0ga\u3055\u3093\u304cLibreOffice Asia Conference 2019 Tokyo \u57fa\u8abf\u8b1b\u6f14\u306e\u52d5\u753b\u306b\u65e5\u672c\u8a9e\u5b57\u5e55\u3092\u4ed8\u3051\u3066\u304f\u308c\u307e\u3057\u305f\uff0eOSS\u304c\u8208\u5473\u3042\u308b\u4eba\u306a\u3089\u6c17\u306b\u306a\u308b\u611f\u3058\u306e\u5185\u5bb9\u306e\u3088\u3046\u306a\u306e\u3067\u8996\u8074\u3057\u305f\u3044\u3051\u3069\u5b57\u5e55\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3053\u3068\u7121\u3044\u306a\u3068\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\n\n\nLibreOffice Asia Conference 2019 Tokyo \u57fa\u8abf\u8b1b\u6f14\u306e\u7d39\u4ecb – \u304a\u304c\u3055\u308f\u3089\u306a\u308b\u3072\u3053\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3068\u304b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3068\u304b\u5370\u5237\u6280\u8853\u3068\u304b\n\n\n\n\u5c0e\u5165\u3057\u3066\u3044\u306a\u3044\u4eba\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\uff0e\u30d0\u30a4\u30ca\u30ea\u30921\u3064\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5b9f\u884c\u6a29\u3092\u4ed8\u3051\u308b\u3060\u3051\u3067\u3059\uff0e\u4ee5\u4e0b\u306f ~/bin \u306b\u5c0e\u5165\u3059\u308b\u4f8b\uff0e\n\n\n\n$ curl -L https://yt-dl.org/downloads/latest/youtube-dl -o ~/bin/youtube-dl\n$ chmod +rx ~/bin/youtube-dl\n\n\n\n\u5148\u305a\u306fhelp\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e\n\n\n\n$ youtube-dl --help|grep 'Subtitle Options:' -A7\n Subtitle Options:\n --write-sub Write subtitle file\n --write-auto-sub Write automatically generated subtitle file (YouTube only)\n --all-subs Download all the available subtitles of the video\n --list-subs List all available subtitles for the video\n --sub-format FORMAT Subtitle format, accepts formats preference, for example: \"srt\" or \"ass/srt/best\"\n --sub-lang LANGS Languages of the subtitles to download (optional) separated by commas, use --list-subs for available\n language tags\n\n\n\n\u7d50\u69cb\u30b7\u30f3\u30d7\u30eb\u306a\u611f\u3058\u3067\u3059\u306d\uff0e\u65e9\u901f\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e\n\n\n\u5148\u305a\u306f --list-subs \u3067\u5b57\u5e55\u306e\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u3066\u307f\u307e\u3059\uff0e\n\n\n\n$ youtube-dl --ignore-config --list-subs QS-Zz-2ovo0\n[youtube] QS-Zz-2ovo0: Downloading webpage\n[youtube] QS-Zz-2ovo0: Looking for automatic captions\n[youtube] QS-Zz-2ovo0: Downloading MPD manifest\nAvailable automatic captions for QS-Zz-2ovo0:\nLanguage formats\ngu vtt, ttml, srv3, srv2, srv1\nzh-Hans vtt, ttml, srv3, srv2, srv1\nzh-Hant vtt, ttml, srv3, srv2, srv1\ngd vtt, ttml, srv3, srv2, srv1\nga vtt, ttml, srv3, srv2, srv1\ngl vtt, ttml, srv3, srv2, srv1\nlb vtt, ttml, srv3, srv2, srv1\nla vtt, ttml, srv3, srv2, srv1\nlo vtt, ttml, srv3, srv2, srv1\ntt vtt, ttml, srv3, srv2, srv1\ntr vtt, ttml, srv3, srv2, srv1\nlv vtt, ttml, srv3, srv2, srv1\nlt vtt, ttml, srv3, srv2, srv1\ntk vtt, ttml, srv3, srv2, srv1\nth vtt, ttml, srv3, srv2, srv1\ntg vtt, ttml, srv3, srv2, srv1\nte vtt, ttml, srv3, srv2, srv1\nfil vtt, ttml, srv3, srv2, srv1\nhaw vtt, ttml, srv3, srv2, srv1\nyi vtt, ttml, srv3, srv2, srv1\nceb vtt, ttml, srv3, srv2, srv1\nyo vtt, ttml, srv3, srv2, srv1\nde vtt, ttml, srv3, srv2, srv1\nda vtt, ttml, srv3, srv2, srv1\nel vtt, ttml, srv3, srv2, srv1\neo vtt, ttml, srv3, srv2, srv1\nen vtt, ttml, srv3, srv2, srv1\neu vtt, ttml, srv3, srv2, srv1\net vtt, ttml, srv3, srv2, srv1\nes vtt, ttml, srv3, srv2, srv1\nru vtt, ttml, srv3, srv2, srv1\nrw vtt, ttml, srv3, srv2, srv1\nro vtt, ttml, srv3, srv2, srv1\nbn vtt, ttml, srv3, srv2, srv1\nbe vtt, ttml, srv3, srv2, srv1\nbg vtt, ttml, srv3, srv2, srv1\nuk vtt, ttml, srv3, srv2, srv1\njv vtt, ttml, srv3, srv2, srv1\nbs vtt, ttml, srv3, srv2, srv1\nja vtt, ttml, srv3, srv2, srv1\nor vtt, ttml, srv3, srv2, srv1\nxh vtt, ttml, srv3, srv2, srv1\nco vtt, ttml, srv3, srv2, srv1\nca vtt, ttml, srv3, srv2, srv1\ncy vtt, ttml, srv3, srv2, srv1\ncs vtt, ttml, srv3, srv2, srv1\nps vtt, ttml, srv3, srv2, srv1\npt vtt, ttml, srv3, srv2, srv1\npa vtt, ttml, srv3, srv2, srv1\nvi vtt, ttml, srv3, srv2, srv1\npl vtt, ttml, srv3, srv2, srv1\nhy vtt, ttml, srv3, srv2, srv1\nhr vtt, ttml, srv3, srv2, srv1\nht vtt, ttml, srv3, srv2, srv1\nhu vtt, ttml, srv3, srv2, srv1\nhmn vtt, ttml, srv3, srv2, srv1\nhi vtt, ttml, srv3, srv2, srv1\nha vtt, ttml, srv3, srv2, srv1\nmg vtt, ttml, srv3, srv2, srv1\nuz vtt, ttml, srv3, srv2, srv1\nml vtt, ttml, srv3, srv2, srv1\nmn vtt, ttml, srv3, srv2, srv1\nmi vtt, ttml, srv3, srv2, srv1\nmk vtt, ttml, srv3, srv2, srv1\nur vtt, ttml, srv3, srv2, srv1\nmt vtt, ttml, srv3, srv2, srv1\nms vtt, ttml, srv3, srv2, srv1\nmr vtt, ttml, srv3, srv2, srv1\nug vtt, ttml, srv3, srv2, srv1\nta vtt, ttml, srv3, srv2, srv1\nmy vtt, ttml, srv3, srv2, srv1\naf vtt, ttml, srv3, srv2, srv1\nsw vtt, ttml, srv3, srv2, srv1\nis vtt, ttml, srv3, srv2, srv1\nam vtt, ttml, srv3, srv2, srv1\nit vtt, ttml, srv3, srv2, srv1\niw vtt, ttml, srv3, srv2, srv1\nsv vtt, ttml, srv3, srv2, srv1\nar vtt, ttml, srv3, srv2, srv1\nsu vtt, ttml, srv3, srv2, srv1\nzu vtt, ttml, srv3, srv2, srv1\naz vtt, ttml, srv3, srv2, srv1\nid vtt, ttml, srv3, srv2, srv1\nig vtt, ttml, srv3, srv2, srv1\nnl vtt, ttml, srv3, srv2, srv1\nno vtt, ttml, srv3, srv2, srv1\nne vtt, ttml, srv3, srv2, srv1\nny vtt, ttml, srv3, srv2, srv1\nfr vtt, ttml, srv3, srv2, srv1\nku vtt, ttml, srv3, srv2, srv1\nfy vtt, ttml, srv3, srv2, srv1\nfa vtt, ttml, srv3, srv2, srv1\nfi vtt, ttml, srv3, srv2, srv1\nka vtt, ttml, srv3, srv2, srv1\nkk vtt, ttml, srv3, srv2, srv1\nsr vtt, ttml, srv3, srv2, srv1\nsq vtt, ttml, srv3, srv2, srv1\nko vtt, ttml, srv3, srv2, srv1\nkn vtt, ttml, srv3, srv2, srv1\nkm vtt, ttml, srv3, srv2, srv1\nst vtt, ttml, srv3, srv2, srv1\nsk vtt, ttml, srv3, srv2, srv1\nsi vtt, ttml, srv3, srv2, srv1\nso vtt, ttml, srv3, srv2, srv1\nsn vtt, ttml, srv3, srv2, srv1\nsm vtt, ttml, srv3, srv2, srv1\nsl vtt, ttml, srv3, srv2, srv1\nky vtt, ttml, srv3, srv2, srv1\nsd vtt, ttml, srv3, srv2, srv1\nAvailable subtitles for QS-Zz-2ovo0:\nLanguage formats\nen vtt, ttml, srv3, srv2, srv1\nja vtt, ttml, srv3, srv2, srv1\n\n\n\n\u5927\u91cf\u306b\u51fa\u3066\u304d\u307e\u3057\u305f\u304c\uff0c\u4e0a\u306e\u65b9\u306e Available automatic captions \u306e\u7269\u306fYoutube\u306e\u81ea\u52d5\u751f\u6210&\u81ea\u52d5\u7ffb\u8a33\u3055\u308c\u305f\u3082\u306e\u306e\u3088\u3046\u3067\u3059\uff0e\nAvailable subtitles \u4ee5\u4e0b\u306e\u3082\u306e\u304c\u4eba\u306e\u624b\u3067\u7ffb\u8a33\u3055\u308c\u305f\u3082\u306e\u3060\u3068\u601d\u3044\u307e\u3059\uff0e\u4eca\u56de\u306e\u52d5\u753b\u3067\u306f en, ja \u304c\u3042\u308b\u3088\u3046\u3067\u3059\uff0e\n\n\n--write-sub --sub-lang=ja \u3067\u65e5\u672c\u8a9e\u306e\u5b57\u5e55\u3092\u66f8\u304d\u51fa\u3059\u3088\u3046\u6307\u5b9a\u3057\u3066\u307f\u307e\u3059\uff0e\n\n\n\n$ youtube-dl --ignore-config --write-sub --sub-lang=ja QS-Zz-2ovo0\n\n\n\n\u52d5\u753b\u540d.mp4 \u3068 \u52d5\u753b\u540d.ja.vtt \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u5165\u624b\u3067\u304d\u307e\u3057\u305f\uff0e\u52d5\u753b\u540d.\u8a00\u8a9e.vtt \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u5b57\u5e55\u30d5\u30a1\u30a4\u30eb\u306e\u3088\u3046\u3067\u3059\uff0e\u3053\u306e2\u30d5\u30a1\u30a4\u30eb\u304c\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b\u72b6\u614b\u3067\u52d5\u753b\u30d7\u30ec\u30a4\u30e4\u30fc\u3067 .mp4 \u3092\u518d\u751f\u3059\u308b\u3068\u5b57\u5e55\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f :)\n\n\nTotem\u3067\u306f\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u304c\uff0c\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u5b57\u5e55\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b\u3068\u8868\u793a\u3055\u308c\u307e\u3057\u305f\uff0e\n\n\n\n$ ls LibreOffice\\ Asia\\ Conference\\ 2019\\ -\\ LibreOffice\\,\\ the\\ many\\ different\\ faces\\ of\\ a\\ global\\ community.*\n'LibreOffice Asia Conference 2019 - LibreOffice, the many different faces of a global community.ja.vtt'\n'LibreOffice Asia Conference 2019 - LibreOffice, the many different faces of a global community.mp4'\n$ mpv ./LibreOffice\\ Asia\\ Conference\\ 2019\\ -\\ LibreOffice\\,\\ the\\ many\\ different\\ faces\\ of\\ a\\ global\\ community.mp4\n$ cvlc ./LibreOffice\\ Asia\\ Conference\\ 2019\\ -\\ LibreOffice\\,\\ the\\ many\\ different\\ faces\\ of\\ a\\ global\\ community.mp4\n\n\n\n\n\n\n\u3053\u308c\u3067\u3068\u308a\u3042\u3048\u305a\u76ee\u7684\u306f\u679c\u305f\u305b\u307e\u3057\u305f\uff0e\n\u3067\u3082Youtube\u3067\u306e\u307f\u3067\u3059\u304c\uff0c\u81ea\u52d5\u751f\u6210\u7ffb\u8a33\u5b57\u5e55\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u6c17\u306b\u306a\u308b\u306e\u3067\u3053\u308c\u3082\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e\n\u4eca\u5ea6\u306f\u65e5\u672c\u8a9e\u5b57\u5e55\u306e\u5b58\u5728\u3057\u306a\u3044Debconf19\u306e\u3082\u306e\u3067\u65e5\u672c\u8a9e\u306e\u81ea\u52d5\u751f\u6210\u5b57\u5e55 --sub-lang=ja --write-auto-sub \u30aa\u30d7\u30b7\u30e7\u30f3&\u89e3\u50cf\u5ea6\u3092240p\u306b\u3057\u3066\u304a\u304d\u307e\u3059\uff0e\n\n\n\n$ youtube-dl --sub-lang=ja --write-auto-sub -f 'bestvideo[height<=240]+bestaudio/best[height<=360]' U17DID4vdpc\n\n\n\n\u81ea\u52d5\u751f\u6210&\u6a5f\u68b0\u7ffb\u8a33\u306a\u306e\u3067\u304a\u304b\u3057\u306a\u3068\u3053\u308d\u306f\u3042\u308a\u307e\u3059\u304c\u3044\u3051\u305f\u3088\u3046\u3067\u3059\uff0e\n\n\n\n\n\n\u5f8c\u306f\u30e9\u30a4\u30d6\u52d5\u753b\u3084\u30e9\u30a4\u30d6\u97f3\u58f0\u306e\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u7ffb\u8a33\u304c\u3067\u304d\u308b\u3068\u3044\u3044\u306a\u30fc\u3068\u601d\u3063\u305f\u308a\u3082\uff0eDeepSpeech\u3067\u6587\u5b57\u8d77\u3053\u3057\u3057\u3066\u307f\u3093\u306a\u306e\u7ffb\u8a33\u3068\u304bDeepl\u306b\u90fd\u8cc0\u5177\u611f\u3058\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u51fa\u6765\u306a\u3044\u304b\u306a\u3068\u304b\uff0e\n\n\n\u74b0\u5883\n\n$ youtube-dl --version\n2020.05.03\n$ dpkg-query -W mpv vlc totem firejail\nfirejail 0.9.62-3\nmpv 0.32.0-1\ntotem 3.34.1-2+b1\nvlc 3.0.10-1\n\n\n\n9", "date_published": "2020-05-05T01:05:55+09:00", "date_modified": "2020-06-12T01:36:31+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "subtitle", "youtube", "youtube-dl", "\u5b57\u5e55", "Debian", "Linux", "sid", "\u672a\u5206\u985e" ] } ] }