Skip to content
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

[BUG] CCExtractor 0.94 (Windows 10) crashes #1541

Open
hspindel opened this issue Jun 2, 2023 · 2 comments
Open

[BUG] CCExtractor 0.94 (Windows 10) crashes #1541

hspindel opened this issue Jun 2, 2023 · 2 comments

Comments

@hspindel
Copy link

hspindel commented Jun 2, 2023

CCExtractor used to work fine for me, but recently stopped. I tried upgrading to make sure I had the latest version

Windows reports that ccextractorwinfull.exe has stopped working.

ffmpeg is able to successfully extract subtitles from the same file.

In GUI panel, there is this message:

HardsubX Hard Subtitle Extractor) = Burned-in subtitle extraction subsystem eng.traineddata not found! No switching possible.

The video from which I'm trying to extract subtitles does not have burned-in subtitles. Here is mediainfo:

General
Complete name : L:\stream\Bosch\Season 4\Bosch - s04e04 - Past Lives.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 1.11 GiB
Duration : 51 min 30 s
Overall bit rate mode : Variable
Overall bit rate : 3 098 kb/s
Frame rate : 29.970 FPS
Collection : Bosch
Season : 4
Part : 4
Track name : s04e04 - Past Lives
Performer : Bosch
Performer/Sorted by : Bosch
ContentType : TV Show
Writing application : Lavf58.33.100
Cover : Yes
Comment : Det. Francis Sheehan comes clean to Bosch, Robertson suspects a leak in the investigation, and Edgar joins the Task Force. Social unrest surrounding the Elias murder grows and Irving is pressured to intervene. Eleanor asks Bosch for parenting advice and confesses the truth about her marriage to Reggie Woo.
AirDate : 2018-04-13T00:00:00
Browsepath : Amazon Prime Video | Howard Spindel | Originals | Amazon Originals | Bosch | Season 4
Date : 2018-04-13T00:00:00
HasChapters : 0
MaxAudioJump : 0.00
MaxSourceFps : 23.96
MaxVideoJump : 3.80
MinSourceFps : 22.79
PLVF : 1
Path : https://www.amazon.com/gp/video/detail/B089XWC7X6/ref=atv_dp_p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lnaW5hbHMgfCBCb3NjaCB8IFNlYXNvbiA0PC9icm93c2VQYXRoPjxJc1BsYXlhYmxlQnlEZXRhaWxzVXJsPlRydWU8L0lzUGxheWFibGVCeURldGFpbHNVcmw+PFJlY29yZGluZ1RpbWVMaW1pdCAvPjxQcm92aWRlck5hbWU+QW1hem9uIFByaW1lIFZpZGVvPC9Qcm92aWRlck5hbWU+PFByb3ZpZGVySUQ+YW1hem9uPC9Qcm92aWRlcklEPg==
ProviderName : Amazon Prime Video
RecordingTimestamp : 2022-06-10T21:13:05
SourceFps : 23.96
Sourceid : https://www.amazon.com/gp/video/detail/B089XWC7X6/ref=atv_dp_pb_core?autoplay=1&t=0
SubsLanguages : eng,spa
SubsTrack_eng : (Binary)
SubsTrack_spa : (Binary)
Thumbnailurl : https://images-na.ssl-images-amazon.com/images/S/pv-target-images/df6cf6f660a72e0d9d6d9fc1717a909f75d6230cedba114c8a97ed69b58ce9b1._UY500_UX667_PJPrime-UHD-Sash-Extra-Large-2017,TopLeft,0,0_UY200_RI_V_TTW_.jpg
TotalAudioJumps : 0
TotalVideoJumps : 13
Title/Sort : s04e04 - Past Lives

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 51 min 29 s
Bit rate : 2 902 kb/s
Nominal bit rate : 3 200 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.105
Stream size : 1.04 GiB (94%)
Writing library : x264 core 158 r2984 3759fcb
Encoding settings : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x1:0x111 / me=dia / subme=4 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=12 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=4 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=30 / keyint_min=3 / scenecut=40 / intra_refresh=0 / rc_lookahead=0 / rc=cbr / mbtree=0 / bitrate=3200 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=3200 / vbv_bufsize=3200 / nal_hrd=none / filler=0 / ip_ratio=1.41 / pb_ratio=2.00 / aq=1:1.00
Codec configuration box : avcC

Audio
ID : 4
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 51 min 30 s
Duration_LastFrame : -5 ms
Bit rate mode : Variable
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 69.6 MiB (6%)
Default : Yes
Alternate group : 1

Text #1
ID : 2
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 48 min 30 s
Bit rate mode : Variable
Bit rate : 69 b/s
Frame rate : 0.524 FPS
Stream size : 24.4 KiB (0%)
Language : English
Default : Yes
Forced : No
Alternate group : 3
Count of events : 788

Text #2
ID : 3
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 48 min 30 s
Bit rate mode : Variable
Bit rate : 64 b/s
Frame rate : 0.409 FPS
Stream size : 22.8 KiB (0%)
Language : Spanish
Default : No
Forced : No
Alternate group : 3
Count of events : 607

@hspindel
Copy link
Author

hspindel commented Jun 2, 2023

Update: I found some other information that recommended downloading eng.traineddata, placing it in a subdirectory of ccextractor, and setting environment variable TESSDATA_PREFIX to the directory where ccextractor lives.

I did try this. ccextractor still crashes, but the message has changed. It now reads:
(HardsubX (Hard Subtitle Extractor) - Burned-in subtitle extraction subsystem

@hspindel
Copy link
Author

hspindel commented Jun 2, 2023

Update 2: I found a way to get ccextractor to function. Go into Hardsubx settings and disable it (first option). Now ccextractor runs without crashing, but the SRT file is zero-length.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant