This file contains hidden or 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
gc '.\New Playlist\playlist.json' | ConvertFrom-Json | % { $_.filename } |
This file contains hidden or 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
name | group | votes | |
---|---|---|---|
ルク | グループ1 | 61605 | |
スア | グループ1 | 167704 | |
カティア | グループ1 | 495752 | |
レノックス | グループ2 | 75946 | |
ヴァーニャ | グループ2 | 522103 | |
ケネス | グループ2 | 111456 | |
ラウラ | グループ3 | 129395 | |
アルダ | グループ3 | 90139 | |
莉央 | グループ3 | 472288 |
This file contains hidden or 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
/* see: http://ashihobi.net/mgames/egger/ */ | |
[id^="lnd"] { | |
border-width: 1px; | |
border-color: rgba(255, 0, 0, 0.5); | |
border-style: solid; | |
box-sizing: border-box; | |
} |
This file contains hidden or 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
Iași | |
Cluj-Napoca | |
Târgu Mureș | |
Bacău | |
Brașov | |
Galați | |
Hunedoara | |
Timișoara | |
Reșița | |
Pitești |
This file contains hidden or 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
$movies = @( | |
@{FileName=".\2023-01-27 15-29-36.mkv";FadeInTime=0;From=0;Time=5}, | |
@{FileName=".\2023-01-27 15-29-36.mkv";FadeInTime=1;From=63;Time=29}, | |
@{FileName=".\2023-01-27 15-32-51.mkv";FadeInTime=1;From=0;Time=3}, | |
@{FileName=".\2023-01-27 15-32-51.mkv";FadeInTime=1;From=55;Time=29}, | |
@{FileName=".\2023-01-27 15-40-44.mkv";FadeInTime=1;From=13;Time=10} | |
) | |
$filter_complex_v = "" | |
$filter_complex_a = "" |
This file contains hidden or 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
# @seealso https://nico-lab.net/drawtext_with_ffmpeg/ | |
ffmpeg -f lavfi -i 'color=c=black:r=15:s=640x64' -f dshow -i 'audio=CABLE-B Output (VB-Audio Cable B)' -filter_complex "[0]drawtext=fontfile='\\Windows\\fonts\\meiryob.ttc':textfile='\\temp_files\\foobar_nowplaying.txt':reload=1:fontsize=(h/2.2):y=0:x=w-mod(n*6\,w+tw):y=(h-th)/2:fontcolor=white" -c:v libsvtav1 -crf 35 -c:a aac -b:a 128k -f matroska http://192.168.0.100:8080/stream.mkv |
This file contains hidden or 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
$result = @{"method"="getChannels";"id"=19021;"jsonrpc"="2.0";"params"=@{}} | ConvertTo-Json | Invoke-WebRequest -Method Post -Headers @{"Content-type"="application/json";"X-Requested-With"="XMLHttpRequest"} http://192.168.0.100:7144/api/1 | %{ [Text.Encoding]::UTF8.GetString([Text.Encoding]::UTF8.GetBytes($_.Content)) } | ConvertFrom-Json | |
$result.result | %{ $_.info } |
This file contains hidden or 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
Param( | |
[Parameter(Mandatory=$true, | |
Position=0, | |
HelpMessage="Literal path to movie file.")] | |
[ValidateNotNullOrEmpty()] | |
[string] | |
$MovieFile, | |
[Parameter(Mandatory=$true, | |
HelpMessage="Name of directory for generating image files.")] | |
[ValidateNotNullOrEmpty()] |
This file contains hidden or 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
<# | |
地獄のようなffmpesクロスフェード再び | |
ポイント: | |
* xfadeはfpsを合わせないと文句を言うので指定しておく | |
* xfadeはオフセットと移行時間を指定するがフィルタに入力された動画に依存する | |
* つまりオフセットを足し合わせて移行時間を引く必要がある | |
* afadeは移行時間を指定するだけでよしなにしてくれる | |
Tips: | |
* 画像は直に長さを指定すればよしなにしてくれる | |
* 画像の部分を無音にするにはadelayで時間を後に伸ばす |
This file contains hidden or 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
Invoke-WebRequest http://192.168.0.100:9090/philmist-bundle/recognized -Method "POST" -Headers @{"Content-Type"="application/json;charset=utf-8"} -Body ([Text.Encoding]::UTF8.GetBytes((@{"code"="R";"text"="本日青天なれど | |
も波高し"} | ConvertTo-Json))) -ContentType 'application/json' |
NewerOlder