2022-07-10
Advanced Ass Subtitle Karaoke Effects

Advanced ASS Subtitle Karaoke Effects

library collection and guide on how to create karakoe effects programmatically

lrc files

crop music that does not sing too early? maybe no need.

we need to sort them out by time! prevent serious issues.

skip empty lines?

lrc files only have start time but no end time.

we group parallel lyrics by time, if they are close enough we make it into a group.

groups act as time separators. no two group share the same time. also group have maximum span time, minimum span time calculated by content, and group should always in bound.

should apply the same min-max rule when selecting my video clips

all ass file tags, for custom karaoke effects creation

my karaoke effect:

1
2
3
{\k-50\K400}
{\k-<initial offset>\K<total duration>}

play ass file with mpv on demo video, full screen, no audio:

1
2
3
rootpath=/Users/jamesbrown/desktop/works/pyjom_remote/
mpv --fs --no-audio --sub-file="$rootpath/tests/karaoke_effects/pyonfx_test/examples/2 - Beginner/Output.ass" "$rootpath/samples/video/karaoke_effects_source.mp4"

create karaoke effects

https://github.com/Kagu-chan/FXSpindle

karaoke effects

https://github.com/Youka/NyuFX

pyonfx code

recommend to use effect 2 beginners -> 3 variants in examples, while 3 advanced -> 2 testing pixels as reference (more advanced but incomplete, and might be very intensive)

pyonfx documentation

https://github.com/logarrhythmic/karaOK

aegisub and its plugins

https://github.com/Myaamori/aegisub-cli

https://github.com/qwe7989199/Lyric-Importer-for-Aegisub

https://github.com/qwe7989199/aegisub_scripts

https://github.com/lyger/Aegisub_automation_scripts

http://www.aegisub.org/

eyecandy create karaoke ass files:

https://github.com/Alquimista/Eyecandy-py

create karaoke effects subtitle with lrc file, support chinese

https://github.com/DYY-Studio/lrc2ass_py3

Read More

2022-07-08
Cut Music Scenes With Lyrics And Bpm

Cut Music Segments With Lyrics and BPM

def compare(a,b,reverse=False):

seg_low, seg_high = get_allowed_segments(bpm, low, high, tolerance=0.8) # the tolerance is compared with a common function called compare. it can be customized to output only value >=1 or vice versa.

candidates = sorted_lyrics_nearby_bpm_candidates + sorted_remained_bpm_candidates # priortize lyrics candidates.

Read More

2022-05-28
Im Mitm 聊天软件Mitm

IM MITM 聊天软件 MITM

better do this in virtual enviorment without using any real world platform, just your own IM enviorment like a self-hosted IRC or something.

is there any existing solution like telegram-mitm or twitter mitm?

lua twitter automation, found on luarocks:

https://github.com/leafo/lua-twitter

scraper of tumblr, pinterest, youtube, reddit using api:

https://github.com/ScriptSmith/socialreaper

youtube search and youtube comment scraper

https://github.com/alexmercerind/youtube-search-python

https://github.com/egbertbouman/youtube-comment-downloader

youtube, youtube transcribe and youtube music api

https://github.com/srcecde/python-youtube-api

https://github.com/sigma67/ytmusicapi

https://github.com/jdepoix/youtube-transcript-api

https://github.com/youtube/api-samples

reddit scraper and analyzer

https://github.com/casperbh96/Web-Scraping-Reddit

https://github.com/umitkaanusta/reddit-detective

reddit api

https://github.com/praw-dev/praw

tumblr api

https://github.com/tumblr/pytumblr

tumblr scraper

https://github.com/henan715/tumblrScrapy

discord bot api:

https://github.com/discordjs/discord.js

twitter api

https://github.com/python-twitter-tools/twitter

twitter scraper

https://github.com/bisguzar/twitter-scraper

facebook api:

https://github.com/Schmavery/facebook-chat-api

facebook scraper:

https://github.com/kevinzg/facebook-scraper

instagram api:

https://github.com/facebookarchive/python-instagram

instagram scraper:

https://github.com/huaying/instagram-crawler

topic analysis among recent frequent conversations

procedures:

1.add two friends (active) and bridge them

2.intercept them, filter insecure data like screenshots, identities and explicit contents, and analyze needs (probably with your generated response)?

3.send intentional Ads and fix the conversation in three sentences.

Read More

2022-04-09
Unlocking Speed: Fastgithub - Accelerating Github And Stackoverflow

Github and Stackoverflow acceleration

https://github.com/dotnetcore/FastGithub

Read More

2021-12-19
Cats Video With Lyrics_1

Cats video with lyrics (Lyrics)

Again i want to start finding lyrics, tired of sourcing & analyzing videos.

一系列的视频观众都要看下去 那么下一期视频最好就是用该类视频的推荐下一个(类)视频作为模板来做的

using yolov7 to detect and cut cat/dog videos.

https://github.com/WongKinYiu/yolov7

again found in github.

netease music’s apis have been reverse engineered on github.

https://github.com/Binaryify/NeteaseCloudMusicApi

what about spotify apis?

https://github.com/thelinmichael/spotify-web-api-node (credentials are optional)

https://github.com/JMPerez/spotify-web-api-js

https://github.com/plamere/spotipy

https://github.com/0xHJK/music-dl

also its proxy scraper.

pip3 install pymusic-dl

write a redirect plugin in tampermonkey, from github to hub.fastgit.org

again, done by you-get. but how do we search the uri? you need to dig into the music_dl.

so we are done in preposessing or anything?

now we need to find a bunch of cats.

cats are found on weibo.

Read More

2021-12-19
Cats Video With Lyrics

Cats video with lyrics (Netdisk VIP)

First source the cats video. We are downloading it on baidu ai from baidu netdisk.

Can you parse the download link directly?

found script from greasyfork.

why the download speed is low? why there is only one connection? shall i use thunder?

the thunder can be invoked, may you test it here.

so i agree all i need is some sort of communication, across these devices.

宠物搞笑短视频素材集合,超过5800个宠物短视频素材

宠物狗短视频素材,宠物猫短视频素材百度网盘:https://pan.baidu.com/s/1I7OYc0eHWC29c0riMFlBEA提取码:5566

https://d.pcs.baidu.com/file/65f4e6c89q4c739f29ac137152c495f6?fid=575343296-250528-687408209949397&dstime=1639908239&rt=sh&sign=FDtAERVJouK-DCb740ccc5511e5e8fedcff06b081203-qPfE%2Bw8zep5K3ktq4I7JoJsNP1g%3D&expires=8h&chkv=1&chkbd=0&chkpc=&dp-logid=110882094549216434&dp-callid=0&shareid=1364427735&r=427232106&resvsflag=1-12-0-1-1-1&vuk=2581136334&file_type=0

unsure if it is encrypted. why i always found these little sites with massive resources?

http://xm788.ys168.com/

the tool itself says it is avaliable for use vip cookies to download files from commandline. let’s try this.

the speed unfortunately remains the same. how about download some big files?

core-dumped. let’s try curl.

looks good. so we can either search and download a bunch of files with commandline, or download big files with android client.

i quit the payment after all. the price is too high and i do not want to step into this shit. it seems that i can initialize the download anyway, not funny after all.

so how do you make a point? how to source the cats video?

sourcing the video is the fundamental step in video production, whether it is shotting by yourself or grabbing from the web, you must do this, with as little help as possible.

Read More