-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rust] add parser #1619
[rust] add parser #1619
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
.github/workflows/build_mac.yml
Outdated
# cmake_ocr_hardsubx: | ||
# runs-on: macos-latest | ||
# env: | ||
# PKG_CONFIG_PATH: /opt/homebrew/opt/ffmpeg@6/lib/pkgconfig:$PKG_CONFIG_PATH | ||
# FFMPEG_PKG_CONFIG_PATH: /opt/homebrew/opt/ffmpeg@6/lib/pkgconfig | ||
# FFMPEG_INCLUDE_DIR: /opt/homebrew/opt/ffmpeg@6/include | ||
# FFMPEG_LIBS_DIR: /opt/homebrew/opt/ffmpeg@6/lib | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - name: Install dependencies | ||
# run: brew install coreutils pkg-config autoconf automake libtool tesseract leptonica gpac ffmpeg@6 | ||
# - name: cmake | ||
# run: | | ||
# mkdir build && cd build | ||
# cmake -DWITH_OCR=ON -DWITH_HARDSUBX=ON ../src | ||
# - name: build | ||
# run: | | ||
# make -j$(nproc) | ||
# working-directory: build | ||
# - name: Display version information | ||
# run: ./build/ccextractor --version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be uncommented?
.github/workflows/test_rust.yml
Outdated
with: | ||
toolchain: stable | ||
override: true | ||
- name: rustfmt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be named test
@@ -6,5 +6,5 @@ cd ..\..\windows | |||
IF "%~1"=="-r" ( | |||
copy x86_64-pc-windows-msvc\release\ccx_rust.lib .\ccx_rust.lib | |||
) ELSE ( | |||
copy x86_64-pc-windows-msvc\debug\ccx_rust.lib .\ccx_rust.lib | |||
copy x86_64-pc-windows-msvc\release-with-debug\ccx_rust.lib .\ccx_rust.lib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we have release with debug here?
[profile.release-with-debug] | ||
inherits = "release" | ||
debug = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
@prateekmedia also fix the merge conflicts |
@PunitLodha Done! |
@prateekmedia could you take a look at why the CI is failing |
@PunitLodha Done! |
@prateekmedia @PunitLodha Are the sample test ran on this PR, Because I tested some samples on current CCExtractor code & its crashes which was working fine before this merging happens (I checked on each commit through when it is failing, found out this is the one which causes). |
@IshanGrover2004 The teletext PR will resolve the crashes currently. |
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Rewrote argument parsing with all the structs and enums too into rust.
Help arguments demo:
Closed old PR as sample platform broke for it: #1547