<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tips アーカイブ - Sheltie&#039;s Garage</title>
	<atom:link href="https://sheltie-garage.xyz/category/tips/feed/" rel="self" type="application/rss+xml" />
	<link>https://sheltie-garage.xyz/category/tips/</link>
	<description>趣味に生きる</description>
	<lastBuildDate>Sun, 26 Dec 2021 13:09:11 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://sheltie-garage.xyz/wp-content/uploads/2018/04/cropped-L927xrpq-32x32.jpg</url>
	<title>Tips アーカイブ - Sheltie&#039;s Garage</title>
	<link>https://sheltie-garage.xyz/category/tips/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>MixamoのモーションをUnityに適用する</title>
		<link>https://sheltie-garage.xyz/2021/12/mixamo%e3%81%ae%e3%83%a2%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92unity%e3%81%ab%e9%81%a9%e7%94%a8%e3%81%99%e3%82%8b/</link>
		
		<dc:creator><![CDATA[sheltie]]></dc:creator>
		<pubDate>Sun, 26 Dec 2021 12:58:49 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[技術系]]></category>
		<guid isPermaLink="false">https://sheltie-garage.xyz/?p=3081</guid>

					<description><![CDATA[<p>Adobeが提供しているモーション配布サイト「Mixamo」のモーションをUnityに適用します。(適用方法をよく忘れてしまうため、個人的なメモです) Mixamoからモーションをダウンロード まずは「Mixamo」にア [&#8230;]</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2021/12/mixamo%e3%81%ae%e3%83%a2%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92unity%e3%81%ab%e9%81%a9%e7%94%a8%e3%81%99%e3%82%8b/">MixamoのモーションをUnityに適用する</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></description>
										<content:encoded><![CDATA[
<p>Adobeが提供しているモーション配布サイト「Mixamo」のモーションをUnityに適用します。<br>(適用方法をよく忘れてしまうため、個人的なメモです)</p>



<h2 class="wp-block-heading">Mixamoからモーションをダウンロード</h2>



<p>まずは「Mixamo」にアクセスして利用したいモーションをダウンロードします。<br><a href="https://www.mixamo.com/" target="_blank" rel="noreferrer noopener">https://www.mixamo.com/</a></p>



<p>利用したいモーションを見つけたら、画面右のDownloadをクリック</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="476" src="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-1-1-1024x476.png" alt="" class="wp-image-3082" srcset="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-1-1-1024x476.png 1024w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-1-1-300x140.png 300w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-1-1-768x357.png 768w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-1-1-1536x715.png 1536w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-1-1.png 1917w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>ダウンロードのセッティングが出てきます。自分の場合、以下のような設定でダウンロードしています。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="714" height="297" src="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-2-1.png" alt="" class="wp-image-3083" srcset="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-2-1.png 714w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-2-1-300x125.png 300w" sizes="(max-width: 714px) 100vw, 714px" /></figure>



<h2 class="wp-block-heading">モデルを準備</h2>



<p>まずはアニメーションを適用するキャラクターを準備します。<br><a rel="noreferrer noopener" href="https://booth.pm/ja/browse/3D%E3%82%AD%E3%83%A3%E3%83%A9%E3%82%AF%E3%82%BF%E3%83%BC" target="_blank">Booth</a>などでお気に入りのキャラクターを購入するのも良いですし、手っ取り早く試したければ<a rel="noreferrer noopener" href="https://unity-chan.com/" target="_blank">Unityちゃん</a>を利用するのも良いかと思います。<br>Misamoのアニメーションを適用する場合、キャラクターのRigが「<strong><span class="has-inline-color has-vivid-red-color">Humanoid</span></strong>」で設定されている必要があります。</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="365" src="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-4-1024x365.png" alt="" class="wp-image-3084" srcset="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-4-1024x365.png 1024w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-4-300x107.png 300w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-4-768x274.png 768w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-4-1536x548.png 1536w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-4.png 1556w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>今回はUnityちゃんを使用してみます</p>



<h2 class="wp-block-heading">MixamoのモーションをUnityに取り込む</h2>



<p>MixamoからダウンロードしたfbxファイルをUnityプロジェクトに追加し、fbxファイルのリグを「Humanoid」に変更します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="567" height="282" src="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-5.png" alt="" class="wp-image-3085" srcset="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-5.png 567w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-5-300x149.png 300w" sizes="auto, (max-width: 567px) 100vw, 567px" /></figure>



<h2 class="wp-block-heading">Unityちゃんに適用してみる</h2>



<p>あとは、MixamoのアニメーションをUnityちゃんに適用すれば完成です。</p>



<p>ヒエラルキーにUnitychan(Assets &gt; UnityChan &gt; Models &gt; unitychan)モデルを配置します</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="582" src="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-6-1024x582.png" alt="" class="wp-image-3086" srcset="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-6-1024x582.png 1024w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-6-300x170.png 300w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-6-768x436.png 768w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-6.png 1167w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>新規でアニメーションコントローラを作成し、ステートを追加、アニメーションにMixamoのアニメーションを割り当てます。以上の操作を行うと、画面はこんな感じになります</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="607" src="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-7-1024x607.png" alt="" class="wp-image-3087" srcset="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-7-1024x607.png 1024w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-7-300x178.png 300w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-7-768x455.png 768w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-7.png 1120w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>あとはunitychanに設定されているAnimator Controllerに、先ほど作成したAnimatorを設定すれば完了</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="423" src="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-8-1024x423.png" alt="" class="wp-image-3088" srcset="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-8-1024x423.png 1024w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-8-300x124.png 300w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-8-768x317.png 768w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-8-1536x634.png 1536w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-8.png 1594w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading">以上！</h2>



<p>以上でMixamoのモーションをunity上で利用する方法は完了です。<br>再生ボタンを押せば、モーションが適用されたUnityちゃんが確認できると思います</p>



<figure class="wp-block-video"><video controls src="https://sheltie-garage.xyz/wp-content/uploads/2021/12/20211226_002.mp4"></video></figure>



<p>Mixamoには多くのアニメーションが用意されているので、うまく利用すればゲームの役に立てられそうですね!</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2021/12/mixamo%e3%81%ae%e3%83%a2%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92unity%e3%81%ab%e9%81%a9%e7%94%a8%e3%81%99%e3%82%8b/">MixamoのモーションをUnityに適用する</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></content:encoded>
					
		
		<enclosure url="https://sheltie-garage.xyz/wp-content/uploads/2021/12/20211226_002.mp4" length="2638497" type="video/mp4" />

			</item>
		<item>
		<title>BattleField2042 コンソールを消す方法</title>
		<link>https://sheltie-garage.xyz/2021/12/battlefield2042-%e3%82%b3%e3%83%b3%e3%82%bd%e3%83%bc%e3%83%ab%e3%82%92%e6%b6%88%e3%81%99%e6%96%b9%e6%b3%95/</link>
		
		<dc:creator><![CDATA[sheltie]]></dc:creator>
		<pubDate>Tue, 07 Dec 2021 13:11:49 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[ゲーム]]></category>
		<guid isPermaLink="false">https://sheltie-garage.xyz/?p=3075</guid>

					<description><![CDATA[<p>BattleField2042では、日本語キーボードでうっかり「半角/全角」キーを押してしまうとコンソールが表示され、かつ日本語入力に切り替わってしまい非常に煩わしい思いをします。 これは、言語設定で英語版のキーボードレ [&#8230;]</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2021/12/battlefield2042-%e3%82%b3%e3%83%b3%e3%82%bd%e3%83%bc%e3%83%ab%e3%82%92%e6%b6%88%e3%81%99%e6%96%b9%e6%b3%95/">BattleField2042 コンソールを消す方法</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></description>
										<content:encoded><![CDATA[
<p>BattleField2042では、日本語キーボードでうっかり「半角/全角」キーを押してしまうとコンソールが表示され、かつ日本語入力に切り替わってしまい非常に煩わしい思いをします。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="579" src="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-1-1024x579.png" alt="" class="wp-image-3076" srcset="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-1-1024x579.png 1024w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-1-300x170.png 300w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-1-768x434.png 768w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-1.png 1052w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>これは、言語設定で英語版のキーボードレイアウトを追加することで解決できます。<br>やり方は簡単!</p>



<h2 class="wp-block-heading">言語の追加とキーボードレイアウト変更方法</h2>



<p>設定方法はWindows11になります。<br>Windowsの設定で「時刻と言語 > 言語と地域」を選択します。<br>言語の追加で適当な国の英語を選択します。(自分はカナダにしました)</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1016" height="385" src="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-2.png" alt="" class="wp-image-3077" srcset="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-2.png 1016w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-2-300x114.png 300w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-2-768x291.png 768w" sizes="auto, (max-width: 1016px) 100vw, 1016px" /></figure>



<p>言語のインストールが終わると、「ウィンドウズキー + スペースキー」でキーボードレイアウトが選択できるようになるので、BattleField2042で遊ぶときは英語のキーボードレイアウトに変更します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="382" height="249" src="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-9.png" alt="" class="wp-image-3078" srcset="https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-9.png 382w, https://sheltie-garage.xyz/wp-content/uploads/2021/12/Image-9-300x196.png 300w" sizes="auto, (max-width: 382px) 100vw, 382px" /></figure>



<h2 class="wp-block-heading">以上</h2>



<p>これでゲーム中にうっかりコンソールが開いてしまっても、「全角/半角キー」を押せばコンソールが消えて戦場に復帰できます。<br>キーボード切り替えの手間は増えますが、うっかり日本語キーボードのままコンソールを開いて、閉じるにはいったんゲームをやめるしかない。という事態に比べれば幾分かマシかなと思います！</p>



<a href="https://www.amazon.co.jp/%E3%82%A8%E3%83%AC%E3%82%AF%E3%83%88%E3%83%AD%E3%83%8B%E3%83%83%E3%82%AF%E3%83%BB%E3%82%A2%E3%83%BC%E3%83%84-Battlefield-2042-PS4/dp/B096Z6TFFY?__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&#038;crid=1HJEKDTU52OOK&#038;keywords=battlefield%2B2042&#038;qid=1638882426&#038;sprefix=battlefie%2Caps%2C341&#038;sr=8-1&#038;th=1&#038;linkCode=li2&#038;tag=monodon-22&#038;linkId=750ad24ab19ab7b5e36f43872451547f&#038;language=ja_JP&#038;ref_=as_li_ss_il" target="_blank" rel="noopener"><img decoding="async" border="0" src="//ws-fe.amazon-adsystem.com/widgets/q?_encoding=UTF8&#038;ASIN=B096Z6TFFY&#038;Format=_SL160_&#038;ID=AsinImage&#038;MarketPlace=JP&#038;ServiceVersion=20070822&#038;WS=1&#038;tag=monodon-22&#038;language=ja_JP" ></a><img loading="lazy" decoding="async" src="https://ir-jp.amazon-adsystem.com/e/ir?t=monodon-22&#038;language=ja_JP&#038;l=li2&#038;o=9&#038;a=B096Z6TFFY" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
<a href="https://www.amazon.co.jp/%E3%82%A8%E3%83%AC%E3%82%AF%E3%83%88%E3%83%AD%E3%83%8B%E3%83%83%E3%82%AF%E3%83%BB%E3%82%A2%E3%83%BC%E3%83%84-Battlefield-2042-PS5/dp/B096Z4843M?__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&#038;crid=1HJEKDTU52OOK&#038;keywords=battlefield+2042&#038;qid=1638882426&#038;sprefix=battlefie%2Caps%2C341&#038;sr=8-2&#038;linkCode=li2&#038;tag=monodon-22&#038;linkId=b1517096d4c454dc920468e57e4ab521&#038;language=ja_JP&#038;ref_=as_li_ss_il" target="_blank" rel="noopener"><img decoding="async" border="0" src="//ws-fe.amazon-adsystem.com/widgets/q?_encoding=UTF8&#038;ASIN=B096Z4843M&#038;Format=_SL160_&#038;ID=AsinImage&#038;MarketPlace=JP&#038;ServiceVersion=20070822&#038;WS=1&#038;tag=monodon-22&#038;language=ja_JP" ></a><img loading="lazy" decoding="async" src="https://ir-jp.amazon-adsystem.com/e/ir?t=monodon-22&#038;language=ja_JP&#038;l=li2&#038;o=9&#038;a=B096Z4843M" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
<p>投稿 <a href="https://sheltie-garage.xyz/2021/12/battlefield2042-%e3%82%b3%e3%83%b3%e3%82%bd%e3%83%bc%e3%83%ab%e3%82%92%e6%b6%88%e3%81%99%e6%96%b9%e6%b3%95/">BattleField2042 コンソールを消す方法</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Windows10で仮想デスクトップを利用する</title>
		<link>https://sheltie-garage.xyz/2019/11/windows10%e3%81%a7%e4%bb%ae%e6%83%b3%e3%83%87%e3%82%b9%e3%82%af%e3%83%88%e3%83%83%e3%83%97%e3%82%92%e5%88%a9%e7%94%a8%e3%81%99%e3%82%8b/</link>
		
		<dc:creator><![CDATA[sheltie]]></dc:creator>
		<pubDate>Sun, 17 Nov 2019 14:31:53 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[技術系]]></category>
		<guid isPermaLink="false">https://sheltie-garage.xyz/?p=1798</guid>

					<description><![CDATA[<p>最近YoutubeのHow To動画にはまってます 通勤時間を少しでも有効に利用するために、最近は電車の中でYoutubeを見ていたりします。プログラム能力が高い同僚が「電車の中でYoutubeのプログラミング動画みて勉 [&#8230;]</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2019/11/windows10%e3%81%a7%e4%bb%ae%e6%83%b3%e3%83%87%e3%82%b9%e3%82%af%e3%83%88%e3%83%83%e3%83%97%e3%82%92%e5%88%a9%e7%94%a8%e3%81%99%e3%82%8b/">Windows10で仮想デスクトップを利用する</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">最近YoutubeのHow To動画にはまってます</h3>



<p>通勤時間を少しでも有効に利用するために、最近は電車の中でYoutubeを見ていたりします。<br>プログラム能力が高い同僚が「電車の中でYoutubeのプログラミング動画みて勉強してます」と言っていたので、真似してみることにしました</p>



<h3 class="wp-block-heading">で、プログラミングには関係ないけど・・・</h3>



<p>何気なくWindowsのショートカットを紹介した動画を見ていたら、仮想デスクトプを利用するショートカットが紹介されていました。今まで仮想デスクトップは利用したことがないのですが、最近便利だと思えるシーンがあったので紹介したいと思います。</p>



<h3 class="wp-block-heading">基本的なショートカット</h3>



<p class="has-text-color has-medium-font-size has-vivid-red-color">Windowsキー + Ctrl + D :  仮想デスクトップを新規作成 <br>Windowsキー + Ctrl + ← or → :  仮想デスクトップを切り替え<br>Windowsキー + Ctrl + F4 :  仮想デスクトップを閉じる</p>



<h3 class="wp-block-heading">どんなシーンで便利だったのか</h3>



<p>現在「Webアプリ開発」「Unity開発」を行き来することが多く、当然これらの開発は使用するツールも違えば、作業効率の良いWindows配置も異なります。<br>今までは作業の切り替えの度にアプリを一回全部落として必要なものを開きなおす　というようなことをしていましたが、仮想デスクトップを利用することで作業スペースを瞬時に切り替えることができます。<br>これで、わざわざアプリを閉じたり開いたりせず済むので、作業の切り替えが楽になりました。</p>



<figure class="wp-block-gallery columns-2 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" decoding="async" width="1024" height="556" src="https://sheltie-garage.xyz/wp-content/uploads/2019/11/Image-1-1024x556.png" alt="" data-id="1810" data-full-url="https://sheltie-garage.xyz/wp-content/uploads/2019/11/Image-1.png" data-link="https://sheltie-garage.xyz/?attachment_id=1810" class="wp-image-1810" srcset="https://sheltie-garage.xyz/wp-content/uploads/2019/11/Image-1-1024x556.png 1024w, https://sheltie-garage.xyz/wp-content/uploads/2019/11/Image-1-300x163.png 300w, https://sheltie-garage.xyz/wp-content/uploads/2019/11/Image-1-768x417.png 768w, https://sheltie-garage.xyz/wp-content/uploads/2019/11/Image-1-1536x834.png 1536w, https://sheltie-garage.xyz/wp-content/uploads/2019/11/Image-1.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></li><li class="blocks-gallery-item"><figure><img loading="lazy" decoding="async" width="1024" height="555" src="https://sheltie-garage.xyz/wp-content/uploads/2019/11/Image-2-1024x555.png" alt="" data-id="1811" data-full-url="https://sheltie-garage.xyz/wp-content/uploads/2019/11/Image-2.png" data-link="https://sheltie-garage.xyz/?attachment_id=1811" class="wp-image-1811" srcset="https://sheltie-garage.xyz/wp-content/uploads/2019/11/Image-2-1024x555.png 1024w, https://sheltie-garage.xyz/wp-content/uploads/2019/11/Image-2-300x163.png 300w, https://sheltie-garage.xyz/wp-content/uploads/2019/11/Image-2-768x416.png 768w, https://sheltie-garage.xyz/wp-content/uploads/2019/11/Image-2-1536x832.png 1536w, https://sheltie-garage.xyz/wp-content/uploads/2019/11/Image-2.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></li></ul><figcaption class="blocks-gallery-caption">異なる作業環境を保持したまま、瞬時に切り替えできる</figcaption></figure>



<h3 class="wp-block-heading">以上</h3>



<p>ということで、Windows10の簡単な小ネタでした。<br>Windowsのショートカットキーも、きちんと調べればまだまだ便利に利用できるショートカットキーがありそうですね</p>


<p>投稿 <a href="https://sheltie-garage.xyz/2019/11/windows10%e3%81%a7%e4%bb%ae%e6%83%b3%e3%83%87%e3%82%b9%e3%82%af%e3%83%88%e3%83%83%e3%83%97%e3%82%92%e5%88%a9%e7%94%a8%e3%81%99%e3%82%8b/">Windows10で仮想デスクトップを利用する</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PHPアプリ高負荷の原因は？</title>
		<link>https://sheltie-garage.xyz/2019/06/php%e3%82%a2%e3%83%97%e3%83%aa%e9%ab%98%e8%b2%a0%e8%8d%b7%e3%81%ae%e5%8e%9f%e5%9b%a0%e3%81%af%ef%bc%9f/</link>
		
		<dc:creator><![CDATA[sheltie]]></dc:creator>
		<pubDate>Sun, 23 Jun 2019 11:55:10 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[技術系]]></category>
		<guid isPermaLink="false">https://sheltie-garage.xyz/?p=1296</guid>

					<description><![CDATA[<p>本番運用しているシステムでずっと「PHP Laravelで作成したアプリの負荷が高い」という問題に悩まされていた。ここ最近意外、かつ簡単な方法で解決できたのでメモしておく。 プログラム改修やサーバ増強でアプローチしていた [&#8230;]</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2019/06/php%e3%82%a2%e3%83%97%e3%83%aa%e9%ab%98%e8%b2%a0%e8%8d%b7%e3%81%ae%e5%8e%9f%e5%9b%a0%e3%81%af%ef%bc%9f/">PHPアプリ高負荷の原因は？</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></description>
										<content:encoded><![CDATA[
<p>本番運用しているシステムでずっと「PHP Laravelで作成したアプリの負荷が高い」という問題に悩まされていた。<br>ここ最近意外、かつ簡単な方法で解決できたのでメモしておく。</p>



<h3 class="wp-block-heading">プログラム改修やサーバ増強でアプローチしていたが</h3>



<p>PHPアプリの負荷を下げつ方法として、プログラム改修を主に行っていた。<br>作られたプログラムで効率的にキャッシュを利用していなかったり、場合によっては数千レコード単位で結果を返し、それを配列でぐるぐるしているようなプログラムがあったからだ。<br>このあたりのプログラムを見直して、若干負荷を下げることはできた。</p>



<h3 class="wp-block-heading">nginx, php-fpmの設定も見直す</h3>



<p>nginxやphp-fpmの設定に関しても、以下の情報をもとチューニングを行った。<br>が、ミドルウェアのチューニングでは、それほど大きな効果が出なかった気がする。<br>チューニング方法が悪かったのか、もしくはこれらのミドルウェアのデフォルト値が割と優秀なのかも。<br>参考：<br> <a href="https://qiita.com/qiita_masaharu/items/29ec160c4e830c138132">https://qiita.com/qiita_masaharu/items/29ec160c4e830c138132</a> </p>



<p>一応、上記の対応で以前よりも負荷を抑えることが出来、安心していました。</p>



<h3 class="wp-block-heading">再び発生した高負荷問題</h3>



<p>新規で作成したLaravelアプリで再び高負荷問題が発生。<br>こちらもキャッシュ利用の見直しや、コードの最適化である程度負荷を下げることができた。<br>だが、それでも負荷が完全に下がり切らず、アクセス集中の時間帯はひやひやするレベルで負荷がかかっていた。</p>



<h3 class="wp-block-heading">同僚の気づきと原因判明</h3>



<p>ある日、フロントエンドに強い同僚が一言「対応します！」と言って何かを行ったところ、</p>



<p class="has-text-color has-medium-font-size has-vivid-red-color"> 負荷がぱったりと収まりました </p>



<p>いったい何を行ったのか聞いたところ</p>



<p class="has-text-color has-large-font-size has-vivid-red-color">xdebugのモジュールを削除しました</p>



<p>とのこと。<br>どうやら本番環境にもx-debugが入っており、これがかなりの負荷をかけていた模様。<br>x-debug削除後は今までの負荷が嘘のようで、アクセス集中の時間帯でも安定して稼働するようになりました。<br><br>ちなみに、なんでx-debugが高負荷の原因になっているのか突き止めることができたのか理由を聞いたところ</p>



<p class="has-text-color has-medium-font-size has-vivid-red-color">負荷対策を行ったプログラムをリリースしたのに、全く負荷が下がらないため、プログラム以外の部分に問題があることが分かった。</p>



<p>とのこと。<br>うーん、素晴らしい・・・<br><br>XDebug負荷の似たような事例として、以下のようなケースもある様です。<br> <a href="https://www.marineroad.com/staff-blog/14210.html">https://www.marineroad.com/staff-blog/14210.html</a> </p>



<h3 class="wp-block-heading">yumに頼りすぎた弊害か・・・</h3>



<p>環境構築時、yumで「とりあえずphp関連のもの入れてしまえ！」の勢いで構築したので、それ以降全く環境の見直しがかかっていなかった模様。<br>yumでの環境構築は便利だけど、何がインストールされるのか、ちゃんと把握していないとダメですね。<br>それ以前に、インフラ周りに強い人間が全くいないのも問題ですが・・・<br>アプリばっかりじゃなく、インフラ周りも勉強しないといけないですな。</p>



<p>カバー画像<br><a href="https://pixabay.com/ja/users/Mylene2401-10328767/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=4151379">Mylene2401</a>による<a href="https://pixabay.com/ja/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=4151379">Pixabay</a>からの画像</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2019/06/php%e3%82%a2%e3%83%97%e3%83%aa%e9%ab%98%e8%b2%a0%e8%8d%b7%e3%81%ae%e5%8e%9f%e5%9b%a0%e3%81%af%ef%bc%9f/">PHPアプリ高負荷の原因は？</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>VTuber　音声録音用マイクの取り付け</title>
		<link>https://sheltie-garage.xyz/2018/11/vtuber%e3%80%80%e9%9f%b3%e5%a3%b0%e9%8c%b2%e9%9f%b3%e7%94%a8%e3%83%9e%e3%82%a4%e3%82%af%e3%81%ae%e5%8f%96%e3%82%8a%e4%bb%98%e3%81%91/</link>
		
		<dc:creator><![CDATA[sheltie]]></dc:creator>
		<pubDate>Sun, 18 Nov 2018 13:35:08 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[VR]]></category>
		<guid isPermaLink="false">https://sheltie-garage.xyz/?p=746</guid>

					<description><![CDATA[<p>久しぶりにVTuber用の動画も作ってました マイクについて、今回新たな試みとして以下のように取り付けてみました HTC Vive本体のUSBを利用 自分が使っているのは、Audio Technica製のマイクです ただ [&#8230;]</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2018/11/vtuber%e3%80%80%e9%9f%b3%e5%a3%b0%e9%8c%b2%e9%9f%b3%e7%94%a8%e3%83%9e%e3%82%a4%e3%82%af%e3%81%ae%e5%8f%96%e3%82%8a%e4%bb%98%e3%81%91/">VTuber　音声録音用マイクの取り付け</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></description>
										<content:encoded><![CDATA[<p>久しぶりにVTuber用の動画も作ってました<br />
マイクについて、今回新たな試みとして以下のように取り付けてみました</p>
<h2>HTC Vive本体のUSBを利用</h2>
<p>自分が使っているのは、Audio Technica製のマイクです</p>
<p><a href="https://www.amazon.co.jp/%E3%82%AA%E3%83%BC%E3%83%87%E3%82%A3%E3%82%AA%E3%83%86%E3%82%AF%E3%83%8B%E3%82%AB-audio-technica-AT9913-%E3%83%A2%E3%83%8E%E3%83%A9%E3%83%AB%E3%83%9E%E3%82%A4%E3%82%AF%E3%83%AD%E3%83%9B%E3%83%B3-%E3%82%AC%E3%83%B3%E3%83%9E%E3%82%A4%E3%82%AF%E3%83%AD%E3%83%9B%E3%83%B3/dp/B001B6I9OQ/ref=as_li_ss_il?ie=UTF8&#038;qid=1542547805&#038;sr=8-63&#038;keywords=audio+technica+%E3%83%9E%E3%82%A4%E3%82%AF&#038;linkCode=li2&#038;tag=monodon-22&#038;linkId=fb2f90b128e952c3f0043e4c664665e5&#038;language=ja_JP" target="_blank"><img decoding="async" border="0" src="//ws-fe.amazon-adsystem.com/widgets/q?_encoding=UTF8&#038;ASIN=B001B6I9OQ&#038;Format=_SL160_&#038;ID=AsinImage&#038;MarketPlace=JP&#038;ServiceVersion=20070822&#038;WS=1&#038;tag=monodon-22&#038;language=ja_JP" ></a><img loading="lazy" decoding="async" src="https://ir-jp.amazon-adsystem.com/e/ir?t=monodon-22&#038;language=ja_JP&#038;l=li2&#038;o=9&#038;a=B001B6I9OQ" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<p>ただ、線が短いため、PC本体に指すには長さが足りない・・・<br />
なので、Buffalo製のミニプラグ -> USB変換アダプタを使ってUSBに変換し</p>
<p><a href="https://www.amazon.co.jp/iBUFFALO-USB%E3%82%AA%E3%83%BC%E3%83%87%E3%82%A3%E3%82%AA%E5%A4%89%E6%8F%9B%E3%82%B1%E3%83%BC%E3%83%96%E3%83%AB-3-5mm%E3%82%B9%E3%83%86%E3%83%AC%E3%82%AA%E3%83%9F%E3%83%8B%E3%83%97%E3%83%A9%E3%82%B0-PS3%E3%81%A7%E3%82%B9%E3%83%86%E3%83%AC%E3%82%AA%E3%83%9F%E3%83%8B%E3%83%97%E3%83%A9%E3%82%B0%E6%8E%A5%E7%B6%9A%E3%81%AE%E3%83%98%E3%83%83%E3%83%89%E3%82%BB%E3%83%83%E3%83%88%E3%81%8C%E4%BD%BF%E3%81%88%E3%82%8B-BSHSAU01BK/dp/B007WPMIN8/ref=as_li_ss_il?ie=UTF8&#038;qid=1542547905&#038;sr=8-3&#038;keywords=buffalo+%E3%83%9E%E3%82%A4%E3%82%AF+usb&#038;linkCode=li2&#038;tag=monodon-22&#038;linkId=d9e8f6d6c6f1fe9b5efefde9486b822e&#038;language=ja_JP" target="_blank"><img decoding="async" border="0" src="//ws-fe.amazon-adsystem.com/widgets/q?_encoding=UTF8&#038;ASIN=B007WPMIN8&#038;Format=_SL160_&#038;ID=AsinImage&#038;MarketPlace=JP&#038;ServiceVersion=20070822&#038;WS=1&#038;tag=monodon-22&#038;language=ja_JP" ></a><img loading="lazy" decoding="async" src="https://ir-jp.amazon-adsystem.com/e/ir?t=monodon-22&#038;language=ja_JP&#038;l=li2&#038;o=9&#038;a=B007WPMIN8" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<p>USBはHTC Vive本体の空き端子に挿しました<br />
そうして生まれたのが、このマウント方式</p>
<p>
<a href='https://sheltie-garage.xyz/2018/11/vtuber%e3%80%80%e9%9f%b3%e5%a3%b0%e9%8c%b2%e9%9f%b3%e7%94%a8%e3%83%9e%e3%82%a4%e3%82%af%e3%81%ae%e5%8f%96%e3%82%8a%e4%bb%98%e3%81%91/img_20181118_221629_r/'><img loading="lazy" decoding="async" width="150" height="150" src="https://sheltie-garage.xyz/wp-content/uploads/2018/11/IMG_20181118_221629_R-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://sheltie-garage.xyz/wp-content/uploads/2018/11/IMG_20181118_221629_R-150x150.jpg 150w, https://sheltie-garage.xyz/wp-content/uploads/2018/11/IMG_20181118_221629_R-78x78.jpg 78w, https://sheltie-garage.xyz/wp-content/uploads/2018/11/IMG_20181118_221629_R-230x230.jpg 230w, https://sheltie-garage.xyz/wp-content/uploads/2018/11/IMG_20181118_221629_R-251x250.jpg 251w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a>
<a href='https://sheltie-garage.xyz/2018/11/vtuber%e3%80%80%e9%9f%b3%e5%a3%b0%e9%8c%b2%e9%9f%b3%e7%94%a8%e3%83%9e%e3%82%a4%e3%82%af%e3%81%ae%e5%8f%96%e3%82%8a%e4%bb%98%e3%81%91/img_20181118_221638_r/'><img loading="lazy" decoding="async" width="150" height="150" src="https://sheltie-garage.xyz/wp-content/uploads/2018/11/IMG_20181118_221638_R-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://sheltie-garage.xyz/wp-content/uploads/2018/11/IMG_20181118_221638_R-150x150.jpg 150w, https://sheltie-garage.xyz/wp-content/uploads/2018/11/IMG_20181118_221638_R-78x78.jpg 78w, https://sheltie-garage.xyz/wp-content/uploads/2018/11/IMG_20181118_221638_R-230x230.jpg 230w, https://sheltie-garage.xyz/wp-content/uploads/2018/11/IMG_20181118_221638_R-251x250.jpg 251w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a>
<a href='https://sheltie-garage.xyz/2018/11/vtuber%e3%80%80%e9%9f%b3%e5%a3%b0%e9%8c%b2%e9%9f%b3%e7%94%a8%e3%83%9e%e3%82%a4%e3%82%af%e3%81%ae%e5%8f%96%e3%82%8a%e4%bb%98%e3%81%91/img_20181118_221705_r/'><img loading="lazy" decoding="async" width="150" height="150" src="https://sheltie-garage.xyz/wp-content/uploads/2018/11/IMG_20181118_221705_R-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://sheltie-garage.xyz/wp-content/uploads/2018/11/IMG_20181118_221705_R-150x150.jpg 150w, https://sheltie-garage.xyz/wp-content/uploads/2018/11/IMG_20181118_221705_R-78x78.jpg 78w, https://sheltie-garage.xyz/wp-content/uploads/2018/11/IMG_20181118_221705_R-230x230.jpg 230w, https://sheltie-garage.xyz/wp-content/uploads/2018/11/IMG_20181118_221705_R-251x250.jpg 251w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a>
</p>
<p>見た目は最悪ですが、結果は意外と良好でした<br />
カッコ悪いですが、次に動画を作るときも、このマウント方法で行こうかと思います</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2018/11/vtuber%e3%80%80%e9%9f%b3%e5%a3%b0%e9%8c%b2%e9%9f%b3%e7%94%a8%e3%83%9e%e3%82%a4%e3%82%af%e3%81%ae%e5%8f%96%e3%82%8a%e4%bb%98%e3%81%91/">VTuber　音声録音用マイクの取り付け</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>WordPress ログイン画面のURLを変更する</title>
		<link>https://sheltie-garage.xyz/2018/10/wordpress-%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e7%94%bb%e9%9d%a2%e3%81%aeurl%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/</link>
		
		<dc:creator><![CDATA[sheltie]]></dc:creator>
		<pubDate>Thu, 18 Oct 2018 22:38:16 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<guid isPermaLink="false">https://sheltie-garage.xyz/?p=660</guid>

					<description><![CDATA[<p>WordPressのログイン画面を変更するプラグインを導入しました なぜ必要？ WordPressは世界的に広く普及していますが、それゆえ、不正アクセスなどの攻撃対象となりやすいという弱点もあります 通常、Wordpre [&#8230;]</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2018/10/wordpress-%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e7%94%bb%e9%9d%a2%e3%81%aeurl%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/">WordPress ログイン画面のURLを変更する</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></description>
										<content:encoded><![CDATA[<p>WordPressのログイン画面を変更するプラグインを導入しました</p>
<h2>なぜ必要？</h2>
<p>WordPressは世界的に広く普及していますが、それゆえ、不正アクセスなどの攻撃対象となりやすいという弱点もあります<br />
通常、Wordpressにログインするときは「http://・・・/wp-admin/」にアクセスすればログイン画面が表示されますが<br />
言い換えれば、誰しもがログイン画面のURLを知っているため、誰でも総当たり攻撃ができる　という状態になっています</p>
<h2>総当たり攻撃を防ぐ</h2>
<p>上記の理由でログインURLを変更することで総当たり攻撃を防ぐことができます<br />
そもそもログイン画面が分からなければ、攻撃も行えません</p>
<h2>使用したプラグイン</h2>
<p>今回は「<a href="https://ja.wordpress.org/plugins/wps-hide-login/">WPS Hide Login</a>」を使用しました<br />
ログイン画面に使用したいURLを指定するだけなので、非常にシンプルに使えます</p>
<h2>終わりに</h2>
<p>WordPressは人気が高い反面、攻撃対象となりやすい側面も持ち合わせています<br />
必要なセキュリティはきちんと設定して、安全に運用していきたいですね</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2018/10/wordpress-%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e7%94%bb%e9%9d%a2%e3%81%aeurl%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/">WordPress ログイン画面のURLを変更する</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>WordPressにMarkdownを導入する</title>
		<link>https://sheltie-garage.xyz/2018/09/wordpress%e3%81%abmarkdown%e3%82%92%e5%b0%8e%e5%85%a5%e3%81%99%e3%82%8b/</link>
		
		<dc:creator><![CDATA[sheltie]]></dc:creator>
		<pubDate>Mon, 24 Sep 2018 22:44:48 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<guid isPermaLink="false">https://sheltie-garage.xyz/?p=503</guid>

					<description><![CDATA[<p>WordPressにGutenbergという新しいエディタが搭載されましたが、なんかいまいち使いにくい。 個人的にはがつがつ記事を書いていきたいのでGutenbergの使用はやめて、マークダウンで編集できるエディタを導入 [&#8230;]</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2018/09/wordpress%e3%81%abmarkdown%e3%82%92%e5%b0%8e%e5%85%a5%e3%81%99%e3%82%8b/">WordPressにMarkdownを導入する</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></description>
										<content:encoded><![CDATA[<p>WordPressにGutenbergという新しいエディタが搭載されましたが、なんかいまいち使いにくい。 個人的にはがつがつ記事を書いていきたいのでGutenbergの使用はやめて、マークダウンで編集できるエディタを導入することにしました。</p>
<h2>さよならGutenberg</h2>
<p>まずはGutenbergを無効化するため、プラグインページから無効化します <img decoding="async" src="https://sheltie-garage.xyz/wp-content/uploads/2018/09/Image-2-1.png" alt="無効化完了" /></p>
<h2>今は「WP-Markdown」を使用</h2>
<p>プラグインの新規追加画面で「WP-Markdown」で検索すれば見つかるかと</p>
<p><img decoding="async" src="https://sheltie-garage.xyz/wp-content/uploads/2018/09/Image-1-2.png" alt="enter image description here" /></p>
<p>最新のwordpress 4.9.8でテストが行われていないこと、更新が長らく止まっていることが不安の種ですが、現在は問題なく使用できています。</p>
<p>プラグインインストール後、設定画面からマークダウンでの編集を有効にすれば設定完了</p>
<p><img decoding="async" src="https://sheltie-garage.xyz/wp-content/uploads/2018/09/Image-3.png" alt="enter image description here" /></p>
<p>使用できるマークダウンは<a href="https://daringfireball.net/projects/markdown/syntax">こちら</a>から確認できます</p>
<hr />
<h2>ほかに試したもの</h2>
<p>ほかに試したプラグインは以下の通り。残念ながら自分の環境ではうまく動かず、今回は採用を見送り</p>
<h3>Markdown Editor</h3>
<p><img decoding="async" src="https://sheltie-garage.xyz/wp-content/uploads/2018/09/Image-4.png" alt="enter image description here" /></p>
<p>シンプルかつ、現在のWordpressにも互換性ありとのことで導入してみるも、マークダウンの書式(#など)がそのまま表示されてしまい、直し方がわからず使用を断念</p>
<h3>WP Editor.md</h3>
<p><img decoding="async" src="https://sheltie-garage.xyz/wp-content/uploads/2018/09/Image-5.png" alt="enter image description here" /></p>
<p>LivePreviewが搭載されており、エディタも高機能でとてもよさそう・・・だったが、自分の環境ではマークダウンエディタが有効にならず、断念</p>
<hr />
<h2>終わりに</h2>
<p>マークダウンを導入したことで、今後はガリガリ記事を書いていけそうです。</p>
<p>ちょっと覚えることは増えますが、簡単な書式で整った文章が作成できる点で、マークダウンは便利ですね</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2018/09/wordpress%e3%81%abmarkdown%e3%82%92%e5%b0%8e%e5%85%a5%e3%81%99%e3%82%8b/">WordPressにMarkdownを導入する</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AVIUtlでH.246エンコードでエラーが出た話</title>
		<link>https://sheltie-garage.xyz/2018/08/aviutl%e3%81%a7h-246%e3%82%a8%e3%83%b3%e3%82%b3%e3%83%bc%e3%83%89%e3%81%a7%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%8c%e5%87%ba%e3%81%9f%e8%a9%b1/</link>
		
		<dc:creator><![CDATA[sheltie]]></dc:creator>
		<pubDate>Sun, 05 Aug 2018 13:34:21 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<guid isPermaLink="false">https://sheltie-garage.xyz/?p=437</guid>

					<description><![CDATA[<p>AVIUtlを利用して車載動画を作り、テスト用に動画を出力したところエラーとなってしまった。 エラー内容は「m4aファイルの出力に失敗した」という内容で、コンソールに表示されているパスには、確かに何もファイルがない状態で [&#8230;]</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2018/08/aviutl%e3%81%a7h-246%e3%82%a8%e3%83%b3%e3%82%b3%e3%83%bc%e3%83%89%e3%81%a7%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%8c%e5%87%ba%e3%81%9f%e8%a9%b1/">AVIUtlでH.246エンコードでエラーが出た話</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></description>
										<content:encoded><![CDATA[<p>AVIUtlを利用して車載動画を作り、テスト用に動画を出力したところエラーとなってしまった。</p>
<p>エラー内容は「m4aファイルの出力に失敗した」という内容で、コンソールに表示されているパスには、確かに何もファイルがない状態でした。</p>
<p><strong>解決方法</strong><br />
エラー内容、解決方法ともに、以下のサイトが大変参考になりました。<br />
<a href="https://su2014080902.wixsite.com/su2014080902blog/single-post/2018/02/12/Aviutlx264GUIEx%E3%81%A7%E3%81%AE%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%AE%E5%AF%BE%E5%87%A6%E3%80%82" rel="noopener" target="_blank">https://su2014080902.wixsite.com/su2014080902blog/single-post/2018/02/12/Aviutlx264GUIEx%E3%81%A7%E3%81%AE%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%AE%E5%AF%BE%E5%87%A6%E3%80%82</a></p>
<p>自分の場合、iTunesのインストールで治りました。<br />
Windows10にiTunesをインストールする場合、Windowsストアのアプリ版か、通常のインストールする形式か選択できます。<br />
今回は通常のインストールするバージョンを選びました。<br />
<a href="https://www.apple.com/jp/itunes/download/" rel="noopener" target="_blank">https://www.apple.com/jp/itunes/download/</a><br />
こちらからiTulesがダウンロードできます。<br />
インストール版を選ぶ場合、画面下の「ほかのバージョンをお探しですか？」をクリックします。<br />
<a href="https://sheltie-garage.xyz/wp-content/uploads/2018/08/screenshot.2.jpg"><img loading="lazy" decoding="async" src="https://sheltie-garage.xyz/wp-content/uploads/2018/08/screenshot.2-1024x827.jpg" alt="" width="640" height="517" class="alignnone size-large wp-image-438" srcset="https://sheltie-garage.xyz/wp-content/uploads/2018/08/screenshot.2-1024x827.jpg 1024w, https://sheltie-garage.xyz/wp-content/uploads/2018/08/screenshot.2-300x242.jpg 300w, https://sheltie-garage.xyz/wp-content/uploads/2018/08/screenshot.2-768x620.jpg 768w, https://sheltie-garage.xyz/wp-content/uploads/2018/08/screenshot.2-470x380.jpg 470w, https://sheltie-garage.xyz/wp-content/uploads/2018/08/screenshot.2.jpg 1081w" sizes="auto, (max-width: 640px) 100vw, 640px" /></a></p>
<p><strong>終わりに</strong><br />
AVIUtlのプラグインにiTunesが絡んでいるとは思っていませんでした。<br />
PCをクリーンインストールすると、いろいろ出てきてしまいますね</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2018/08/aviutl%e3%81%a7h-246%e3%82%a8%e3%83%b3%e3%82%b3%e3%83%bc%e3%83%89%e3%81%a7%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%8c%e5%87%ba%e3%81%9f%e8%a9%b1/">AVIUtlでH.246エンコードでエラーが出た話</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>jpegoptimを使ってjpg画像の再圧縮を行う</title>
		<link>https://sheltie-garage.xyz/2018/08/jpegoptim%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6jpg%e7%94%bb%e5%83%8f%e3%81%ae%e5%86%8d%e5%9c%a7%e7%b8%ae%e3%82%92%e8%a1%8c%e3%81%86/</link>
		
		<dc:creator><![CDATA[sheltie]]></dc:creator>
		<pubDate>Thu, 02 Aug 2018 22:43:36 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[便利ソフト]]></category>
		<guid isPermaLink="false">https://sheltie-garage.xyz/?p=430</guid>

					<description><![CDATA[<p>自社で運営しているサイトの速度高速化のため、大量の商品画像を再圧縮を行うことになりました。 いろいろ調べた結果、「jpegoptim」というツールがなかなかよさげだったため、紹介いたします。 jpegoptimはjpeg [&#8230;]</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2018/08/jpegoptim%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6jpg%e7%94%bb%e5%83%8f%e3%81%ae%e5%86%8d%e5%9c%a7%e7%b8%ae%e3%82%92%e8%a1%8c%e3%81%86/">jpegoptimを使ってjpg画像の再圧縮を行う</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></description>
										<content:encoded><![CDATA[<p>自社で運営しているサイトの速度高速化のため、大量の商品画像を再圧縮を行うことになりました。<br />
いろいろ調べた結果、「<a href="http://www.kokkonen.net/tjko/projects.html" target="_blank">jpegoptim</a>」というツールがなかなかよさげだったため、紹介いたします。<br />
jpegoptimはjpeg画像を見た目の劣化をほとんどない状態で再圧縮を行うためのツールです。<br />
今回は作業サーバーがCentOS7系となります。</p>
<p><strong>1.インストール</strong><br />
yumで簡単にできます。epel系のリポジトリのため、オプション設定が必要</p>
<p></p><pre class="crayon-plain-tag">yum --enablerepo=epel install jpegoptim</pre><p>※参考：<a href="https://qiita.com/egnr-in-6matroom/items/fa86208e525444c43420" rel="noopener" target="_blank">画像ファイル(jpg, png)のサイズをまとめて最適化する on Linux</a></p>
<p><strong>2.使う</strong><br />
基本的な使い方は以下の通り。以下の例ではEXIF情報をすべて削除し、サイズを減少させる</p><pre class="crayon-plain-tag">jpegoptim --strip-all test,jpg</pre><p> </p>
<p>必要であれば、各種オプションを指定して実行。例えば、EXIF情報削除、品質80、プログレッシブJpegで再圧縮する場合</p><pre class="crayon-plain-tag">jpegoptim --strip-all --max=80 --all-progressive test,jpg</pre><p>となります。公式ページにはほかにも多数のオプションが公開されているので、ぜひご確認ください。</p>
<p>注意事項として、<strong>オプションを指定しないと、上書き保存</strong>になります。<br />
圧縮前の画像を保存しておく必要がある場合、事前にバックアップを取るか、「&#8211;dest」オプションを指定して圧縮ファイルの出力先を変更する必要があります。</p>
<p><strong>3.複数ファイルを一括で圧縮する</strong><br />
実際の現場では、数万点の画像ファイルを圧縮する必要がありました。<br />
findコマンドを使用することで、一括してファイルを処理することが可能です。</p>
<p></p><pre class="crayon-plain-tag">find ./ -name "*.jpg" -size +100k -exec jpegoptim -max=80 --strip-all {} \;</pre><p>このコマンドでは、カレントディレクトリ配下のjpg画像で、ファイルサイズが100kb以上のものを対象に圧縮をかけます。</p>
<p>処理件数が多く、時間がかかることが見込まれる場合、nohup と &#038; を組み合わせて実行するのが良いかと思います</p><pre class="crayon-plain-tag">nohup find ./ -iname "*.jpg" -size +100k -exec jpegoptim -max=80 --strip-all {} \; &</pre><p>こうして実行すれば、万が一ターミナルを閉じても、バックグラウンドで実行され続けるので安心ですね</p>
<p><strong>終わりに</strong><br />
実際に圧縮を行うと、多くのファイルが50%サイズが削減出来、多いものでは80% &#8211; 90%もサイズ削減が行えたものもありました。<br />
話を聞くと、商品作成部隊結成当初、デジカメで作成した画像を何も圧縮せずそのままアップロードしていたとのことで、大幅に圧縮が効いたようです。</p>
<p>画像サイズが小さくなると、ディスク容量の節約はもちろん、サイト速度高速化にもつながります。<br />
サイト速度が上がれば、SEOにも強くなり、集客にもつながるのでいいことづくめですね。</p>
<p>以上、jpg画像を圧縮するjpegoptimが便利でしたというお話でした。</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2018/08/jpegoptim%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6jpg%e7%94%bb%e5%83%8f%e3%81%ae%e5%86%8d%e5%9c%a7%e7%b8%ae%e3%82%92%e8%a1%8c%e3%81%86/">jpegoptimを使ってjpg画像の再圧縮を行う</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Windows10のリフレッシュ(クリーンインストール)</title>
		<link>https://sheltie-garage.xyz/2018/06/windows10%e3%81%ae%e3%83%aa%e3%83%95%e3%83%ac%e3%83%83%e3%82%b7%e3%83%a5%e3%82%af%e3%83%aa%e3%83%bc%e3%83%b3%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		
		<dc:creator><![CDATA[sheltie]]></dc:creator>
		<pubDate>Sun, 17 Jun 2018 22:47:46 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<guid isPermaLink="false">https://118.27.37.249/?p=395</guid>

					<description><![CDATA[<p>使用しているノートPCの中身がごちゃごちゃしてきたため、一度クリーンインストールすることにしました。 Windows10の場合、以下の手順で簡単にクリーンインストールすることができました。 以下、備忘録です スタートメニ [&#8230;]</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2018/06/windows10%e3%81%ae%e3%83%aa%e3%83%95%e3%83%ac%e3%83%83%e3%82%b7%e3%83%a5%e3%82%af%e3%83%aa%e3%83%bc%e3%83%b3%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/">Windows10のリフレッシュ(クリーンインストール)</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></description>
										<content:encoded><![CDATA[<p>使用しているノートPCの中身がごちゃごちゃしてきたため、一度クリーンインストールすることにしました。<br />
Windows10の場合、以下の手順で簡単にクリーンインストールすることができました。</p>
<p>以下、備忘録です</p>
<p><a href="https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-1.png"><img loading="lazy" decoding="async" src="https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-1.png" alt="" width="324" height="229" class="alignnone size-full wp-image-396" srcset="https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-1.png 324w, https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-1-300x212.png 300w" sizes="auto, (max-width: 324px) 100vw, 324px" /></a><br />
スタートメニューから設定を選択</p>
<p><a href="https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-2.png"><img loading="lazy" decoding="async" src="https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-2-1024x631.png" alt="" width="640" height="394" class="alignnone size-large wp-image-397" srcset="https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-2-1024x631.png 1024w, https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-2-300x185.png 300w, https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-2-768x473.png 768w, https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-2-470x289.png 470w, https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-2.png 1200w" sizes="auto, (max-width: 640px) 100vw, 640px" /></a><br />
更新とセキュリティを選択</p>
<p><a href="https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-3.png"><img loading="lazy" decoding="async" src="https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-3-1024x539.png" alt="" width="640" height="337" class="alignnone size-large wp-image-398" srcset="https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-3-1024x539.png 1024w, https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-3-300x158.png 300w, https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-3-768x404.png 768w, https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-3-470x247.png 470w, https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-3.png 1196w" sizes="auto, (max-width: 640px) 100vw, 640px" /></a><br />
回復からこのPCを初期状態に戻す　を選択</p>
<p><a href="https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-4.png"><img loading="lazy" decoding="async" src="https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-4.png" alt="" width="682" height="396" class="alignnone size-full wp-image-399" srcset="https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-4.png 682w, https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-4-300x174.png 300w, https://sheltie-garage.xyz/wp-content/uploads/2018/06/Image-4-470x273.png 470w" sizes="auto, (max-width: 682px) 100vw, 682px" /></a><br />
あとは個人用データを残すか、ハードディスクをクリーニングするかなど、ウィザードに従って作業すれば完了です。</p>
<p>昔はインストールディスクを用意して・・・など、いろいろ面倒でしたが、これだけ簡単だと気軽にPCをリフレッシュできそうです</p>
<p>投稿 <a href="https://sheltie-garage.xyz/2018/06/windows10%e3%81%ae%e3%83%aa%e3%83%95%e3%83%ac%e3%83%83%e3%82%b7%e3%83%a5%e3%82%af%e3%83%aa%e3%83%bc%e3%83%b3%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/">Windows10のリフレッシュ(クリーンインストール)</a> は <a href="https://sheltie-garage.xyz">Sheltie&#039;s Garage</a> に最初に表示されました。</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
