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
ffmpeg -loop 1 -i .\in.jpg_qs1x1_lkgrec.png -f lavfi -i 'aevalsrc=0|0:c=stereo:s=44100:d=60' -fflags +genpts -r 12 -t 5 -vf "scale=iw*2:ih,setsar=0.5" -pix_fmt yuv420p -c:v libx265 -crf 10 -maxrate:v 4M -bufsize:v 5M -an -shortest .\out.jpg_qs1x1_lkgrec.mp4 |
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
$imgfs = ls *.*g ; $imgfs | ? { $imgfs.IndexOf($_) % ([Math]::Round($imgfs.Count / 60.0)) -ne 0 } | % { Remove-Item $_ } |
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
ls *.mp4 | % { $v = ffprobe -i $_ -show_streams -of json -v error | ConvertFrom-Json ; $bi = ([int](((9 - ((0.94/60) * $v.streams[0].duration))*8*1000)/($v.streams[0].duration))) ; $bstr = ("{0}k" -f $bi) ; ffmpeg -y -i $_ -vf "fps=30" -c:v libx265 -b:v $bstr -an -pass 1 -f null NUL ; ffmpeg -i $_ -vf "fps=30" -c:v libx265 -b:v $bstr -c:a copy ($_.BaseName + "_discord.mp4") } |
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 } |
NewerOlder