mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[QUESTION] warning with text extraction #661
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 @delevinson on GitHub (Aug 23, 2021).
CCExtractor version: CCExtractor 0.92
Necessary information
{replace with the arguments}ccextractor Symposium_\ Many\ Forms\ of\ Gender\ Discrimination\ I_default_c75bcc31-2.mp4 -txtVideo links
https://mxlakeforest-my.sharepoint.com/✌️/g/personal/levinson_mx_lakeforest_edu/ET1bqw1EEa9PttN9FASvr_QBZWZrb7A35Xtt34XilRjxGg?e=pNnbBK
Additional information
When I try to extract subtitles as text, I get this error
WARNING: Could not encode in specified format
and the output file contains 0 bytes. Here's the messages I get.
@sheharyaar commented on GitHub (Aug 25, 2021):
I could not reproduce the error in
5.13.11-1-MANJARO #1 SMP PREEMPT Sun Aug 15 13:15:18 UTC 2021 x86_64 GNU/Linux. It compiled fine for me.Here is the srt contents (the first 10 lines):
@sheharyaar commented on GitHub (Aug 25, 2021):
@delevinson Looks like an encoding issue. Try to encode in different format like Unicode, etc. using -unicode argument.
./ccextractor -unicode Symposium_\ Many\ Forms\ of\ Gender\ Discrimination\ I_default_c75bcc31-2.mp4@sheharyaar commented on GitHub (Aug 25, 2021):
Issue arises in the file: https://github.com/CCExtractor/ccextractor/blob/master/src/lib_ccx/ccx_encoders_common.c
Line : 301 onwards
@cfsmp3 commented on GitHub (Aug 25, 2021):
Which one of those functions is returning <0 and why?
On Wed, Aug 25, 2021 at 2:39 AM Mohammad Shehar Yaar Tausif <
@.***> wrote:
@sheharyaar commented on GitHub (Aug 25, 2021):
@cfsmp3 Not sure yet. I will have a look at the code. I am really new here.
@sheharyaar commented on GitHub (Aug 25, 2021):
@delevinson can you provide some information, did you install ccextractor or did you compile it?
If you installed it, could you please compile it and try again? Could you please also try it in the new version 0.93?
@delevinson commented on GitHub (Aug 26, 2021):
I installed it using Brew. I can compile it.
David
--
David Levinson
Systems Librarian and User Support Specialist
Information Technology Services
Lake Forest College
Lake Forest, IL
Book an appointment
http://link.lakeforest.edu/dl-appointmt
Phone 847-780-7089
Zoom Personal Meeting ID 857-808-7259
https://lakeforest.zoom.us/my/davidlevinson
From: Mohammad Shehar Yaar Tausif @.>
Date: Wednesday, August 25, 2021 at 1:14 PM
To: CCExtractor/ccextractor @.>
Cc: Levinson, David @.>, Mention @.>
Subject: Re: [CCExtractor/ccextractor] [QUESTION] warning with text extraction (#1378)
@delevinsonhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdelevinson&data=04%7C01%7Clevinson%40mx.lakeforest.edu%7C7745be2295f54675b63408d967f42719%7Cb4478c053dd94e06a7fb5dcf72bd44ee%7C0%7C0%7C637655120597004608%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pXWQ8lolEDJxJM1fN7m%2B02iXROdELAh4Gf5AJYPq1e8%3D&reserved=0 can you provide some information, did you install ccextractor or did you compile it?
If you installed it, could you please compile it and try again?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCCExtractor%2Fccextractor%2Fissues%2F1378%23issuecomment-905763533&data=04%7C01%7Clevinson%40mx.lakeforest.edu%7C7745be2295f54675b63408d967f42719%7Cb4478c053dd94e06a7fb5dcf72bd44ee%7C0%7C0%7C637655120597014563%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=DpdjJJupm0dIV9lU15wS5tAofbPYXroXVdrMQ471QFY%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABUREUZLZWB6EECULRF5PMDT6UXHRANCNFSM5CVIQLVQ&data=04%7C01%7Clevinson%40mx.lakeforest.edu%7C7745be2295f54675b63408d967f42719%7Cb4478c053dd94e06a7fb5dcf72bd44ee%7C0%7C0%7C637655120597024525%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=kf5cgk2r%2FlrFXlDSKZw5M1uwG2WW4NF1PwWFxpqhfro%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Clevinson%40mx.lakeforest.edu%7C7745be2295f54675b63408d967f42719%7Cb4478c053dd94e06a7fb5dcf72bd44ee%7C0%7C0%7C637655120597024525%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=QTRyrtHeK3aeB9TorwxOy6u8JwqXSYFIV7vHd7LzdDs%3D&reserved=0 or Androidhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26utm_campaign%3Dnotification-email&data=04%7C01%7Clevinson%40mx.lakeforest.edu%7C7745be2295f54675b63408d967f42719%7Cb4478c053dd94e06a7fb5dcf72bd44ee%7C0%7C0%7C637655120597034474%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Jii8EzEb2wUAdB2tuedbxcYRt6dqT77UIO99XUthMMY%3D&reserved=0.
@sheharyaar commented on GitHub (Aug 26, 2021):
Yeah sure. Please run ut again in the new version and post the log.
@canihavesomecoffee commented on GitHub (Nov 20, 2021):
@delevinson is it possible to make the sample available again? The link expired
@cfsmp3 commented on GitHub (Mar 22, 2023):
Closing since we don't have a sample. @delevinson feel free to reopen if you can provide a sample.
@delevinson commented on GitHub (Mar 22, 2023):
Here's a new link for the sample. You should have access now.
https://mxlakeforest-my.sharepoint.com/✌️/g/personal/levinson_lakeforest_edu/ET1bqw1EEa9PttN9FASvr_QBHKrEvLzjjQsVSMbr8zuU3A?e=Kx1d7b
@cfsmp3 commented on GitHub (Mar 22, 2023):
Reopening - confirmed bug in master.
Note: You must use -txt to reproduce, srt for example works fine.
@canihavesomecoffee Could you add this file to the sample collection?
@cfsmp3 commented on GitHub (Dec 21, 2025):
@delevinson Can you make the file available again?
@cfsmp3 commented on GitHub (Jan 1, 2026):
Closing since we didn't hear back from OP. @delevinson Feel free to get in touch if you still need help.