mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
[PR #557] [MERGED] Ported HARDSUBX to Windows #1395
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/557
Author: @Izaron
Created: 12/18/2016
Status: ✅ Merged
Merged: 12/22/2016
Merged by: @cfsmp3
Base:
master← Head:master📝 Commits (1)
802360bPorted HARDSUBX to Windows📊 Changes
108 files changed (+25502 additions, -8 deletions)
View changed files
📝
src/lib_ccx/hardsubx_utility.c(+10 -2)📝
windows/ccextractor.vcxproj(+12 -6)📝
windows/ccextractor.vcxproj.filters(+15 -0)➕
windows/libs/include/libavcodec/avcodec.h(+6241 -0)➕
windows/libs/include/libavcodec/avdct.h(+84 -0)➕
windows/libs/include/libavcodec/avfft.h(+118 -0)➕
windows/libs/include/libavcodec/d3d11va.h(+112 -0)➕
windows/libs/include/libavcodec/dirac.h(+131 -0)➕
windows/libs/include/libavcodec/dv_profile.h(+83 -0)➕
windows/libs/include/libavcodec/dxva2.h(+93 -0)➕
windows/libs/include/libavcodec/jni.h(+46 -0)➕
windows/libs/include/libavcodec/mediacodec.h(+88 -0)➕
windows/libs/include/libavcodec/qsv.h(+107 -0)➕
windows/libs/include/libavcodec/vaapi.h(+189 -0)➕
windows/libs/include/libavcodec/vda.h(+230 -0)➕
windows/libs/include/libavcodec/vdpau.h(+253 -0)➕
windows/libs/include/libavcodec/version.h(+230 -0)➕
windows/libs/include/libavcodec/videotoolbox.h(+126 -0)➕
windows/libs/include/libavcodec/vorbis_parser.h(+77 -0)➕
windows/libs/include/libavcodec/xvmc.h(+170 -0)...and 80 more files
📄 Description
Added FFMPEG support (Tesseract and Leptonica already added). Download .lib, .dll, .h files - https://ffmpeg.zeranoe.com/builds/ (I downloaded 3.2.2; 32-bit; Dev and Share). Libraries are in windows/libs/lib, header files in windows/libs/include. You have to import .dll files in folder with ccextractorwin.exe or in System32.
For Debug-OCR and Release-OCR I enabled ENABLE_HARDSUBX
If you have error with SAFESEH while building: https://msdn.microsoft.com/en-us/library/9a89h429.aspx
I rewrote the code in hardsubx_utility.c, because Visual Studio does not support this C99 feature (non-const length of massive)
@Abhinav95 checked that the subtitles for video obtained good
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.