mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[BUG] After ccextractor compiled within VS2019, hardsubx option does not work #580
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?
Originally created by @apovalyaev on GitHub (Apr 23, 2020).
Compilation steps (Win10):
1.1) git clone https://github.com/CCExtractor/ccextractor
1.2) git checkout tags/v0.88 -b master
Change Build Environment (Project settings) to VS2019, SDK 103) Deliver thirdparty dependencies:
Setup Vcpkg the Visual C++ Package Manager.
3.1) git clone https://github.com/Microsoft/vcpkg.git
> cd vcpkg
PS> .\bootstrap-vcpkg.bat
3.2)
To customize for own use,
modify triplets/x64-windows.cmake
set(VCPKG_CRT_LINKAGE static)
set(VCPKG_LIBRARY_LINKAGE static)
3.2.1) Run vcpkg install tesseract:x64-windows
3.2.2) vcpkg install ffmpeg:x64-windows
3.3) vcpkg integrate install
Error details:
ccextractorwin.exe -hardsubx ........\test_cases\720p.mp4
CCExtractor 0.88, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
HardsubX (Hard Subtitle Extractor) - Burned-in subtitle extraction subsystem
Input : ........\test_cases\720p.mp4
Subtitle Color : White
OCR Mode : Frame-wise (simple)
OCR Confidence Threshold : 0,00 (Default)
OCR Luminance Threshold : 95,00 (Default)
OCR Italic Detection : Off
Minimum subtitle duration : 0.5 seconds (Default)
FFMpeg Media Information:-
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '........\test_cases\720p.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2018-07-19T03:41:56.000000Z
Duration: 00:26:06.19, start: 0.000000, bitrate: 207 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 77 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc (default)
Metadata:
creation_time : 2018-07-19T03:41:56.000000Z
handler_name : ISO Media file produced by Google Inc. Created on: 07/18/2018.
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
Metadata:
creation_time : 2018-07-19T03:41:56.000000Z
handler_name : ISO Media file produced by Google Inc. Created on: 07/18/2018.
Error: Input codec is not supported!
I traced the code at it looks like wrong "codecid" is returned