{"id":104563,"date":"2022-11-16T09:13:05","date_gmt":"2022-11-16T00:13:05","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=104563"},"modified":"2022-11-16T09:13:05","modified_gmt":"2022-11-16T00:13:05","slug":"vhs-review","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/vhs-review\/","title":{"rendered":"VHS - \u30bf\u30fc\u30df\u30ca\u30eb\u306eGIF\u30a2\u30cb\u30e1\u753b\u50cf\u3092\u4f5c\u6210\u3067\u304d\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2022\/11\/s_20221115_161858.jpg\" alt=\"S 20221115 161858\" title=\"s_20221115_161858.jpg\" border=\"0\" width=\"1280\" height=\"639\" \/><\/p>\n<p>\u7d71\u5408\u30c6\u30b9\u30c8\u3084CLI\u30c4\u30fc\u30eb\u306e\u30c7\u30e2\u306e\u305f\u3081\u306b\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u306e\u69d8\u5b50\u3092GIF\u30a2\u30cb\u30e1\u3068\u3057\u3066\u4fdd\u5b58\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u300c<a href=\"https:\/\/github.com\/charmbracelet\/vhs\">VHS<\/a>\u300d\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>VHS\u306f\u305f\u3060\u5358\u306b\u30bf\u30fc\u30df\u30ca\u30eb\u306e\u69d8\u5b50\u3092\u9332\u753b\u3059\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u6587\u5b57\u3084\u77e2\u5370\u30ad\u30fc\u3001\u30b9\u30da\u30b7\u30e3\u30eb\u30ad\u30fc\u306e\u5165\u529b\u3092\u30a8\u30df\u30e5\u30ec\u30fc\u30c8\u3057\u3066\u5b9f\u884c\u3057\u3001\u305d\u306e\u69d8\u5b50\u3092<code>.gif<\/code>\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3059\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u306e\u64cd\u4f5c\u3092\u81ea\u52d5\u5316\u3057\u3066\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u305f\u3081\u3001\u4f55\u56de\u3067\u3082\u540c\u3058\u624b\u9806\u3092\u7e70\u308a\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u81ea\u4f53\u306fGo\u8a00\u8a9e\u3067\u4f5c\u3089\u308c\u3066\u304a\u308a\u3001Winows\/macOS\/Linux\u306a\u3069\u3001\u5e45\u5e83\u3044\u74b0\u5883\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u4f7f\u7528\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>VHS\u306e\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<p>VHS\u306f\u3001macOS\u3001Linux\u3001Winows\u3067\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>macOS\u3067Homebrew\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nbrew install charmbracelet\/tap\/vhs ffmpeg\r\nbrew install ttyd --HEAD\r\n<\/pre>\n<p>MacPorts\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\r\nsudo port install vhs\r\n<\/pre>\n<p>\u305d\u306e\u4ed6\u306e\u74b0\u5883\u306b\u95a2\u3057\u3066\u306f<a href=\"https:\/\/github.com\/charmbracelet\/vhs#installation\">\u516c\u5f0f\u30b5\u30a4\u30c8<\/a>\u3067\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>vhs\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u30c7\u30e2\u3092\u8a66\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u65b0\u3057\u3044<code>.tape<\/code>\u30d5\u30a1\u30a4\u30eb(vhs\u304c\u5229\u7528\u3067\u304d\u308b\u30b3\u30de\u30f3\u30c9\u3084\u8a2d\u5b9a\u3092\u7f85\u5217\u3057\u305f\u30d5\u30a1\u30a4\u30eb)\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nvhs new demo.tape\r\n<\/pre>\n<p>vi\u306a\u3069\u597d\u307f\u306e\u30a8\u30c7\u30a3\u30bf\u3067<code>demo.tape<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<pre>\r\nvim demo.tape\r\n<\/pre>\n<p>\u5185\u5bb9\u3092\u6b21\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\n# Where should we write the GIF?\r\nOutput demo.gif\r\n\r\n# Set up a 1200x600 terminal with 46px font.\r\nSet FontSize 46\r\nSet Width 1200\r\nSet Height 600\r\n\r\n# Type a command in the terminal.\r\nType \"echo 'Welcome to VHS!'\"\r\n\r\n# Pause for dramatic effect...\r\nSleep 500ms\r\n\r\n# Run the command by pressing enter.\r\nEnter\r\n\r\n# Admire the output for a bit.\r\nSleep 5s\r\n<\/pre>\n<p>\u7de8\u96c6\u304c\u7d42\u308f\u3063\u305f\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001<code>demo.gif<\/code>\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<code>Output<\/code>\u3067\u51fa\u529b\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\r\nvhs &lt; demo.tape\r\n<\/pre>\n<p>\u5b9f\u969b\u306b\u4f5c\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u4ee5\u4e0b\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2022\/11\/demo.gif\" alt=\"Demo\" title=\"demo.gif\" border=\"0\" width=\"1200\" height=\"600\" \/><\/p>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u306b\u300cecho 'Welcome to VHS!'\u300d\u3068\u3044\u3046\u6587\u5b57\u3092\u5165\u529b\u3057\u3001\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u3092\u62bc\u3059\u3068\u3001\u300cWelcome to VHS!\u300d\u3068\u3044\u3046\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u308b\u69d8\u5b50\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>VHS\u3067\u5229\u7528\u3067\u304d\u308b\u30b3\u30de\u30f3\u30c9\u306f<a href=\"https:\/\/github.com\/charmbracelet\/vhs#vhs-command-reference\">Command Reference<\/a>\u306b\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul dir=\"auto\">\n<li><code>Output &lt;path&gt;<\/code>: specify file output<\/li>\n<li><code>Require &lt;program&gt;<\/code>: specify required programs for tape file<\/li>\n<li><code>Set &lt;Setting&gt; Value<\/code>: set recording settings<\/li>\n<li><code>Type \"&lt;characters&gt;\"<\/code>: emulate typing<\/li>\n<li><code>Left<\/code><\/a> <a href=\"#arrow-keys\"><code>Right<\/code><\/a> <a href=\"#arrow-keys\"><code>Up<\/code> <a href=\"#arrow-keys\"><code>Down<\/code><\/a>: arrow keys<\/li>\n<li><code>Backspace<\/code> <a href=\"#enter\"><code>Enter<\/code><\/a> <a href=\"#tab\"><code>Tab<\/code><\/a> <a href=\"#space\"><code>Space<\/code><\/a>: special keys<\/li>\n<li><code>Ctrl+&lt;char&gt;<\/code>: press control + key<\/li>\n<li><code>Sleep &lt;time&gt;<\/code>: wait for a certain amount of time<\/li>\n<li><code>Hide<\/code>: hide commands from output<\/li>\n<li><code>Show<\/code>: stop hiding commands from output<\/li>\n<\/ul>\n<p>\u305d\u306e\u4ed6\u591a\u6570\u306e\u30b5\u30f3\u30d7\u30eb\u304c<a href=\"https:\/\/github.com\/charmbracelet\/vhs\/tree\/main\/examples\">\u3053\u3061\u3089<\/a>\u3067\u78ba\u8a8d\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u306eGIF\u30a2\u30cb\u30e1\u753b\u50cf\u3092\u4f5c\u6210\u3067\u304d\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u300cVHS\u300d\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\u30c7\u30e2\u3084\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u4f5c\u6210\u3068\u3044\u3063\u305f\u5b9f\u7528\u7684\u306a\u7528\u9014\u306e\u307b\u304b\u3001SF\u6620\u753b(\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u306a\u3069)\u306b\u767b\u5834\u3059\u308b<a href=\"https:\/\/blog.ldodds.com\/2022\/11\/08\/recreating-sci-fi-terminals-using-vhs\/\">\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u518d\u73fe<\/a>\u3059\u308b\u3068\u3044\u3046\u8208\u5473\u6df1\u3044\u8a66\u307f\u3082\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7d71\u5408\u30c6\u30b9\u30c8\u3084CLI\u30c4\u30fc\u30eb\u306e\u30c7\u30e2\u306e\u305f\u3081\u306b\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u306e\u69d8\u5b50\u3092GIF\u30a2\u30cb\u30e1\u3068\u3057\u3066\u4fdd\u5b58\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u300cVHS\u300d\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002 VHS\u306f\u305f\u3060\u5358\u306b\u30bf\u30fc\u30df\u30ca\u30eb\u306e\u69d8\u5b50\u3092\u9332\u753b\u3059\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u6587\u5b57\u3084\u77e2\u5370\u30ad\u30fc\u3001 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":104568,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3459],"tags":[3297],"class_list":["post-104563","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-review","tag-vhs"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/104563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=104563"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/104563\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/104568"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=104563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=104563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=104563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}