[PR #557] [MERGED] Ported HARDSUBX to Windows #1395

Closed
opened 2026-01-29 17:16:11 +00:00 by claunia · 0 comments
Owner

📋 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: masterHead: master


📝 Commits (1)

  • 802360b Ported 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

works

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.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/557 **Author:** [@Izaron](https://github.com/Izaron) **Created:** 12/18/2016 **Status:** ✅ Merged **Merged:** 12/22/2016 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`802360b`](https://github.com/CCExtractor/ccextractor/commit/802360b008d1e9844e8d8144e13075df60b45e0e) Ported HARDSUBX to Windows ### 📊 Changes **108 files changed** (+25502 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `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_ </details> ### 📄 Description ![works](https://cloud.githubusercontent.com/assets/5406399/21296070/a2bd2068-c573-11e6-91ce-05b25d14cb9a.png) 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 17:16:11 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#1395