This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set INPUT=%1 | |
set OUTPUT=%2 | |
set WIDTH=%3 | |
ffmpeg -i %INPUT% -vf "scale=%WIDTH%:trunc(ih*%WIDTH%/iw/2)*2" -movflags +faststart -c:v libx264 -c:a copy -crf 28 %OUTPUT% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
namespace uTools | |
{ | |
public class BlendShapeBlink : MonoBehaviour | |
{ | |
[System.Serializable] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public string GetAudioPlaybackMirrorDevice () | |
{ | |
System.Text.StringBuilder sb = new System.Text.StringBuilder(128); | |
Valve.VR.EVRSettingsError er = new Valve.VR.EVRSettingsError(); | |
Valve.VR.OpenVR.Settings.GetString( | |
Valve.VR.OpenVR.k_pch_audio_Section, | |
Valve.VR.OpenVR.k_pch_audio_OnPlaybackMirrorDevice_String, | |
sb, | |
(uint)sb.Capacity, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>Propety</Title> | |
<Author>izm</Author> | |
<Description>AccessCache</Description> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
<SnippetType>SurroundsWith</SnippetType> | |
</SnippetTypes> |