empty 608 cc3 caption generating with option -12 #605

Closed
opened 2026-01-29 16:48:50 +00:00 by claunia · 10 comments
Owner

Originally created by @Rameishkumar123 on GitHub (Nov 23, 2020).

I am using
cmd: /usr/bin/ccextractor -nobom --service all[ISO88591] -nofc -ts -12 -s 180 /home/dn/ramesh/191505_20201123020000.ts

its generating caption like

-rw------- 1 root root 205930 Nov 23 11:23 191505_20201123020000_1.srt
-rw------- 1 root root 0 Nov 23 11:04 191505_20201123020000_2.srt
-rw------- 1 root root 132090 Nov 23 11:04 191505_20201123020000.p1.svc01.srt
-rw------- 1 root root 76040 Nov 23 11:04 191505_20201123020000.p1.svc03.srt

why 191505_20201123020000_2.srt is empty, its should generate 608-cc3 caption.

Originally created by @Rameishkumar123 on GitHub (Nov 23, 2020). I am using cmd: /usr/bin/ccextractor -nobom --service all[ISO88591] -nofc -ts -12 -s 180 /home/dn/ramesh/191505_20201123020000.ts its generating caption like -rw------- 1 root root 205930 Nov 23 11:23 191505_20201123020000_1.srt -rw------- 1 root root 0 Nov 23 11:04 191505_20201123020000_2.srt -rw------- 1 root root 132090 Nov 23 11:04 191505_20201123020000.p1.svc01.srt -rw------- 1 root root 76040 Nov 23 11:04 191505_20201123020000.p1.svc03.srt why 191505_20201123020000_2.srt is empty, its should generate 608-cc3 caption.
claunia added the difficulty: easyHacktoberfest labels 2026-01-29 16:48:50 +00:00
Author
Owner

@Rameishkumar123 commented on GitHub (Nov 23, 2020):

/usr/bin/ccextractor -nobom --service all[ISO88591] -nofc -ts -1 -s 180 /home/dn/ramesh/191505_20201123020000.ts working
/usr/bin/ccextractor -nobom --service all[ISO88591] -nofc -ts -2 -s 180 /home/dn/ramesh/191505_20201123020000.ts working

but -12 is not working

@Rameishkumar123 commented on GitHub (Nov 23, 2020): /usr/bin/ccextractor -nobom --service all[ISO88591] -nofc -ts -1 -s 180 /home/dn/ramesh/191505_20201123020000.ts working /usr/bin/ccextractor -nobom --service all[ISO88591] -nofc -ts -2 -s 180 /home/dn/ramesh/191505_20201123020000.ts working but -12 is not working
Author
Owner

@shas-hank7 commented on GitHub (Oct 12, 2021):

can you provide the video link?

@shas-hank7 commented on GitHub (Oct 12, 2021): can you provide the video link?
Author
Owner

@ARKannan-15 commented on GitHub (Oct 30, 2021):

Iam intrested in it can i contribute to this?

@ARKannan-15 commented on GitHub (Oct 30, 2021): Iam intrested in it can i contribute to this?
Author
Owner

@cfsmp3 commented on GitHub (Oct 30, 2021):

Sure, just work on it and send a pull request

On Fri, Oct 29, 2021, 18:45 jaguar-kannan @.***> wrote:

Iam intrested in it can i contribute to this?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/CCExtractor/ccextractor/issues/1282#issuecomment-955124320,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABNMTWOQX7C2AHYF4YCRZOTUJNE4RANCNFSM4T7XEXMQ
.

@cfsmp3 commented on GitHub (Oct 30, 2021): Sure, just work on it and send a pull request On Fri, Oct 29, 2021, 18:45 jaguar-kannan ***@***.***> wrote: > Iam intrested in it can i contribute to this? > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/CCExtractor/ccextractor/issues/1282#issuecomment-955124320>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABNMTWOQX7C2AHYF4YCRZOTUJNE4RANCNFSM4T7XEXMQ> > . >
Author
Owner

@AkechiShiro commented on GitHub (Jan 8, 2022):

Hi @Rameishkumar123, could you please provide the video link and the very file which fails to generate 608 cc3 caption with option -12 ?

@AkechiShiro commented on GitHub (Jan 8, 2022): Hi @Rameishkumar123, could you please provide the video link and the very file which fails to generate 608 cc3 caption with option -12 ?
Author
Owner

@pree-T commented on GitHub (Jan 13, 2022):

May I work on this? Can someone help me as I am new to open source contribution.?

@pree-T commented on GitHub (Jan 13, 2022): May I work on this? Can someone help me as I am new to open source contribution.?
Author
Owner

@cfsmp3 commented on GitHub (Jan 14, 2022):

May I work on this? Can someone help me as I am new to open source contribution.?

Sure, go for it.
Start by reproducing the issue.

@cfsmp3 commented on GitHub (Jan 14, 2022): > May I work on this? Can someone help me as I am new to open source contribution.? Sure, go for it. Start by reproducing the issue.
Author
Owner

@AkechiShiro commented on GitHub (Jan 14, 2022):

@pree-T @cfsmp3 I actually wanted to go for it as well by getting the file to reproduce the issue first of all, is it alright if I try to work on it as well ? Or should I leave it ?

@AkechiShiro commented on GitHub (Jan 14, 2022): @pree-T @cfsmp3 I actually wanted to go for it as well by getting the file to reproduce the issue first of all, is it alright if I try to work on it as well ? Or should I leave it ?
Author
Owner

@canihavesomecoffee commented on GitHub (Jan 14, 2022):

You can work on it as well, but given that @Rameishkumar123 still didn't provide a video link it might be very hard to reproduce it.

@canihavesomecoffee commented on GitHub (Jan 14, 2022): You can work on it as well, but given that @Rameishkumar123 still didn't provide a video link it might be very hard to reproduce it.
Author
Owner

@Maku38 commented on GitHub (Jul 4, 2025):

Hi! I’ve understood the issue.

Summary of the problem:

When extracting captions, an empty file is generated for CC3 (608 channel 3), even if there are no captions present on that channel.

Plan to solve:

I’d like to first confirm whether the input file actually contains any CC3 captions.
    Could you please provide a sample file (or a link to it) so I can check if CC3 is really empty?
If I confirm that CC3 is empty, I will update the code to prevent generating an output file for channels with no captions.
    The idea is: only create/write the file if there are actually captions found for that channel.

Implementation (planned):

Before generating/saving the subtitle file, add a check like:

if (captions_found_on_channel) {
    save_caption_file_for_channel();
}

This would ensure that empty files are not created for channels with no captions.

Let me know if you can share a sample file, or if you have any additional requirements. I’ll start working on this!

@Maku38 commented on GitHub (Jul 4, 2025): Hi! I’ve understood the issue. Summary of the problem: When extracting captions, an empty file is generated for CC3 (608 channel 3), even if there are no captions present on that channel. Plan to solve: I’d like to first confirm whether the input file actually contains any CC3 captions. Could you please provide a sample file (or a link to it) so I can check if CC3 is really empty? If I confirm that CC3 is empty, I will update the code to prevent generating an output file for channels with no captions. The idea is: only create/write the file if there are actually captions found for that channel. Implementation (planned): Before generating/saving the subtitle file, add a check like: if (captions_found_on_channel) { save_caption_file_for_channel(); } This would ensure that empty files are not created for channels with no captions. Let me know if you can share a sample file, or if you have any additional requirements. I’ll start working on this!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#605