-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
127 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Sync From Sourceforge | ||
on: | ||
push: | ||
branches: | ||
- '**' | ||
schedule: | ||
- cron: '0 1 * * *' # 9点运行 1 + 8 | ||
|
||
env: | ||
REPO_SSH: git@github.com:SWHL/VideoSubFinder.git | ||
CLONE_URL: ${{ github.event.repository.clone_url }} | ||
USER_NAME: ${{ github.event.repository.owner.name }} | ||
USER_EMAIL: ${{ github.event.repository.owner.email }} | ||
SUBMMIT_BRANCH: main | ||
|
||
jobs: | ||
repo-sync: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set SSH Environment | ||
env: | ||
DEPLOY_KEYS: ${{ secrets.DEPLOY_KEYS }} | ||
run: | | ||
mkdir -p ~/.ssh/ | ||
echo "$DEPLOY_KEYS" > ~/.ssh/id_rsa | ||
chmod 600 ~/.ssh/id_rsa | ||
chmod 700 ~/.ssh && chmod 600 ~/.ssh/* | ||
git config --global user.name $USER_NAME | ||
git config --global user.email $USER_EMAIL | ||
- name: Sync from sourceforge | ||
run: | | ||
git clone $REPO_SSH | ||
cd VideoSubFinder | ||
git remote add upstream https://git.code.sf.net/p/videosubfinder/src | ||
git fetch upstream master | ||
git checkout -b local_upstream upstream/master | ||
git pull upstream master | ||
git status | ||
git rebase main | ||
git checkout main | ||
git merge local_upstream | ||
git status | ||
git push |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: syncToGitee | ||
on: | ||
push: | ||
branches: | ||
- '**' | ||
jobs: | ||
repo-sync: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source codes | ||
uses: actions/checkout@v2 | ||
|
||
- name: Mirror the Github organization repos to Gitee. | ||
uses: Yikun/hub-mirror-action@master | ||
with: | ||
src: 'github/SWHL' | ||
dst: 'gitee/SWHL' | ||
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} | ||
dst_token: ${{ secrets.GITEE_TOKEN }} | ||
force_update: true | ||
# only sync this repo | ||
static_list: "VideoSubFinder" | ||
debug: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<div align="center"> | ||
<img src="https://a.fsdn.com/allura/p/videosubfinder/icon?1682935141?&w=90"> | ||
</div> | ||
|
||
## VideoSubFinder ([Simeon Kosnitsky](https://sourceforge.net/u/skosnits/profile/)) | ||
⚠️ This repo is automatically synchronized from [SourceForge VideoSubFinder](https://videosubfinder.sourceforge.io/). | ||
|
||
|
||
### Introduction | ||
- The main purpose of this program is to provide functionality for extract hardcoded subtitles (hardsub) from video. | ||
|
||
- It provides two main features: | ||
1. Autodetection of frames with hardcoded text (hardsub) on video with saving info about timing positions. | ||
2. Generation of cleared from background text images, which allows with usage of OCR programs (like FineReader, Subtitle Edit, Google Drive) to generate complete subtitles with original text and timing. | ||
|
||
- For working of this program on Windows will be required "Microsoft Visual C++ Redistributable runtime libraries 2022": | ||
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads | ||
|
||
- Latest versions were built and tested on: | ||
- Windows 10 x64, | ||
- Ubuntu 20.04.5 LTS, | ||
- openSUSE Leap 15.4, | ||
- Arch Linux (EndeavourOS Cassini Nova 03-2023) | ||
|
||
|
||
For faster support in case of bug fixes please contact me in: | ||
https://vk.com/skosnits | ||
|
||
|
||
### For donate: | ||
https://sourceforge.net/projects/videosubfinder/donate | ||
|
||
|
||
### Features | ||
- video text detection | ||
- text extraction from video frames | ||
|
||
### Best Way to Get Help | ||
Unfortunately, this project hasn't indicated the best way to get help, but that does not mean there are no ways to get support for VideoSubFinder. In cases like this, we recommend contacting the project admin(s) if possible, or asking for help on third-party support forums or social media. Many open source projects have their own dedicated website or social media profiles where users can get support. | ||
|
||
Check out the other support options below. | ||
|
||
### Other Ways Of Getting Help | ||
Here are some other places where you can look for information about this project. | ||
|
||
### Project Trackers | ||
[Bugs](https://sourceforge.net/p/videosubfinder/bugs/) | ||
|
||
### Project Forums | ||
[Discussion](https://sourceforge.net/p/videosubfinder/discussion/) | ||
|
||
|
||
### Project Samples | ||
<div> | ||
<img src="https://a.fsdn.com/con/app/proj/videosubfinder/screenshots/example_1.png/245/183/1"> | ||
<img src="https://a.fsdn.com/con/app/proj/videosubfinder/screenshots/example_2.png/245/183/1"> | ||
<img src="https://a.fsdn.com/con/app/proj/videosubfinder/screenshots/example_3.png/245/183/1"> | ||
<img src="https://a.fsdn.com/con/app/proj/videosubfinder/screenshots/example_4.png/245/183/1"> | ||
</div> |