ccextractor segfaults when decoding CC using -sc when a blank line is encountered #120

Closed
opened 2026-01-29 16:35:47 +00:00 by claunia · 7 comments
Owner

Originally created by @jimmyoh on GitHub (Feb 26, 2016).

Hello,

I am using ccextractor to decode Closed caption from live TV streams.
US ATSC live TV.
When I use -sc (Sentence Capitalisation)
ccextractor segfaults with code 139
if it encounters a blank line in the closed captioning.

decoded with -sc
330
00:17:26,880 --> 00:17:29,113
Uh...

331
00:17:29,182 --> 00:17:32,116
(mumbling)

332
00:17:33,453 --> 00:17:35,386
Oh.

333
00:17:48,101 --> 00:17:50,168

**Decoded Without -sc

**

331
00:17:29,182 --> 00:17:32,116
(mumbling)

332
00:17:33,453 --> 00:17:35,386
OH.

333
00:17:48,101 --> 00:17:50,168
.

334
00:17:50,236 --> 00:17:54,705
UH, DR. MARK SLOAN
FROM COMMUNITY GENERAL HPITAL.

Originally created by @jimmyoh on GitHub (Feb 26, 2016). Hello, I am using ccextractor to decode Closed caption from live TV streams. US ATSC live TV. When I use -sc (Sentence Capitalisation) ccextractor segfaults with code 139 if it encounters a blank line in the closed captioning. **decoded with -sc** 330 00:17:26,880 --> 00:17:29,113 Uh... 331 00:17:29,182 --> 00:17:32,116 (<i>mumbling</i>) 332 00:17:33,453 --> 00:17:35,386 Oh. 333 00:17:48,101 --> 00:17:50,168 **Decoded Without -sc ** 331 00:17:29,182 --> 00:17:32,116 (<i>mumbling</i>) 332 00:17:33,453 --> 00:17:35,386 OH. 333 00:17:48,101 --> 00:17:50,168 . 334 00:17:50,236 --> 00:17:54,705 UH, DR. MARK SLOAN FROM COMMUNITY GENERAL HPITAL.
Author
Owner

@anshul1912 commented on GitHub (Mar 6, 2016):

can you share dumped video, with which ccextractor crashes. It will help
developers to reproduce the issue.

Thanks
Anshul Maheshwari

On Sat, Feb 27, 2016 at 12:20 AM, jimmyoh notifications@github.com wrote:

Hello,

I am using ccextractor to decode Closed caption from live TV streams.
US ATSC live TV.
When I use -sc (Sentence Capitalisation)
ccextractor segfaults with code 139
if it encounters a blank line in the closed captioning.

decoded with -sc
330
00:17:26,880 --> 00:17:29,113
Uh...

331
00:17:29,182 --> 00:17:32,116
(mumbling)

332
00:17:33,453 --> 00:17:35,386
Oh.

333
00:17:48,101 --> 00:17:50,168

**Decoded Without -sc

**

331
00:17:29,182 --> 00:17:32,116
(mumbling)

332
00:17:33,453 --> 00:17:35,386
OH.

333
00:17:48,101 --> 00:17:50,168
.

334
00:17:50,236 --> 00:17:54,705
UH, DR. MARK SLOAN

FROM COMMUNITY GENERAL HPITAL.


Reply to this email directly or view it on GitHub
https://github.com/CCExtractor/ccextractor/issues/288.

with regards
Anshul
:)

@anshul1912 commented on GitHub (Mar 6, 2016): can you share dumped video, with which ccextractor crashes. It will help developers to reproduce the issue. Thanks Anshul Maheshwari On Sat, Feb 27, 2016 at 12:20 AM, jimmyoh notifications@github.com wrote: > Hello, > > I am using ccextractor to decode Closed caption from live TV streams. > US ATSC live TV. > When I use -sc (Sentence Capitalisation) > ccextractor segfaults with code 139 > if it encounters a blank line in the closed captioning. > > _decoded with -sc_ > 330 > 00:17:26,880 --> 00:17:29,113 > Uh... > > 331 > 00:17:29,182 --> 00:17:32,116 > (_mumbling_) > > 332 > 00:17:33,453 --> 00:17:35,386 > Oh. > > 333 > 00:17:48,101 --> 00:17:50,168 > > **Decoded Without -sc > > ** > > 331 > 00:17:29,182 --> 00:17:32,116 > (_mumbling_) > > 332 > 00:17:33,453 --> 00:17:35,386 > OH. > > 333 > 00:17:48,101 --> 00:17:50,168 > . > > 334 > 00:17:50,236 --> 00:17:54,705 > UH, DR. MARK SLOAN > > FROM COMMUNITY GENERAL HPITAL. > > — > Reply to this email directly or view it on GitHub > https://github.com/CCExtractor/ccextractor/issues/288. ## with regards Anshul :)
Author
Owner

@jimmyoh commented on GitHub (Mar 6, 2016):

Http://jimmyoh.is-a-guru.com:88/ccextractor_sample.ts

About 36m and a playable sample.

Jim
can you share dumped video, with which ccextractor crashes. It will help
developers to reproduce the issue.

Thanks
Anshul Maheshwari

On Sat, Feb 27, 2016 at 12:20 AM, jimmyoh notifications@github.com wrote:

Hello,

I am using ccextractor to decode Closed caption from live TV streams.
US ATSC live TV.
When I use -sc (Sentence Capitalisation)
ccextractor segfaults with code 139
if it encounters a blank line in the closed captioning.

decoded with -sc
330
00:17:26,880 --> 00:17:29,113
Uh...

331
00:17:29,182 --> 00:17:32,116
(mumbling)

332
00:17:33,453 --> 00:17:35,386
Oh.

333
00:17:48,101 --> 00:17:50,168

**Decoded Without -sc

**

331
00:17:29,182 --> 00:17:32,116
(mumbling)

332
00:17:33,453 --> 00:17:35,386
OH.

333
00:17:48,101 --> 00:17:50,168
.

334
00:17:50,236 --> 00:17:54,705
UH, DR. MARK SLOAN

FROM COMMUNITY GENERAL HPITAL.


Reply to this email directly or view it on GitHub
https://github.com/CCExtractor/ccextractor/issues/288.

with regards
Anshul
:)


Reply to this email directly or view it on GitHub
https://github.com/CCExtractor/ccextractor/issues/288#issuecomment-192900607
.

@jimmyoh commented on GitHub (Mar 6, 2016): Http://jimmyoh.is-a-guru.com:88/ccextractor_sample.ts About 36m and a playable sample. Jim can you share dumped video, with which ccextractor crashes. It will help developers to reproduce the issue. Thanks Anshul Maheshwari On Sat, Feb 27, 2016 at 12:20 AM, jimmyoh notifications@github.com wrote: > Hello, > > I am using ccextractor to decode Closed caption from live TV streams. > US ATSC live TV. > When I use -sc (Sentence Capitalisation) > ccextractor segfaults with code 139 > if it encounters a blank line in the closed captioning. > > _decoded with -sc_ > 330 > 00:17:26,880 --> 00:17:29,113 > Uh... > > 331 > 00:17:29,182 --> 00:17:32,116 > (_mumbling_) > > 332 > 00:17:33,453 --> 00:17:35,386 > Oh. > > 333 > 00:17:48,101 --> 00:17:50,168 > > **Decoded Without -sc > > ** > > 331 > 00:17:29,182 --> 00:17:32,116 > (_mumbling_) > > 332 > 00:17:33,453 --> 00:17:35,386 > OH. > > 333 > 00:17:48,101 --> 00:17:50,168 > . > > 334 > 00:17:50,236 --> 00:17:54,705 > UH, DR. MARK SLOAN > > FROM COMMUNITY GENERAL HPITAL. > > — > Reply to this email directly or view it on GitHub > https://github.com/CCExtractor/ccextractor/issues/288. ## with regards Anshul :) — Reply to this email directly or view it on GitHub https://github.com/CCExtractor/ccextractor/issues/288#issuecomment-192900607 .
Author
Owner

@abhibansal530 commented on GitHub (Mar 7, 2016):

Can you please provide any other link,as i am unable to download file from given link.

@abhibansal530 commented on GitHub (Mar 7, 2016): Can you please provide any other link,as i am unable to download file from given link.
Author
Owner

@jimmyoh commented on GitHub (Mar 7, 2016):

Ok,

It should have worked ....

Just goto http://jimmyoh.is-a-guru.com:88

The :88 is Important

and the link is at the bottom of the page ....

This is a dynamic IP address (DynDNS)
and occasionally changes IP.... Usually at the worst possible time.

Jim

On Mon, Mar 7, 2016 at 4:19 PM, abhibansal530 notifications@github.com
wrote:

Can you please provide any other link,as i am unable to download file from
given link.


Reply to this email directly or view it on GitHub
https://github.com/CCExtractor/ccextractor/issues/288#issuecomment-193481246
.

@jimmyoh commented on GitHub (Mar 7, 2016): Ok, It should have worked .... Just goto http://jimmyoh.is-a-guru.com:88 The :88 is Important and the link is at the bottom of the page .... This is a dynamic IP address (DynDNS) and occasionally changes IP.... Usually at the worst possible time. Jim On Mon, Mar 7, 2016 at 4:19 PM, abhibansal530 notifications@github.com wrote: > Can you please provide any other link,as i am unable to download file from > given link. > > — > Reply to this email directly or view it on GitHub > https://github.com/CCExtractor/ccextractor/issues/288#issuecomment-193481246 > .
Author
Owner

@cfsmp3 commented on GitHub (Mar 18, 2016):

Verified working with that sample in current github version

@cfsmp3 commented on GitHub (Mar 18, 2016): Verified working with that sample in current github version
Author
Owner

@jimmyoh commented on GitHub (Mar 18, 2016):

Excellent,

I will grab and test

Jim

On Fri, Mar 18, 2016 at 4:23 AM, cfsmp3 notifications@github.com wrote:

Verified working with that sample in current github version


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/CCExtractor/ccextractor/issues/288#issuecomment-198272370

@jimmyoh commented on GitHub (Mar 18, 2016): Excellent, I will grab and test Jim On Fri, Mar 18, 2016 at 4:23 AM, cfsmp3 notifications@github.com wrote: > Verified working with that sample in current github version > > — > You are receiving this because you authored the thread. > Reply to this email directly or view it on GitHub > https://github.com/CCExtractor/ccextractor/issues/288#issuecomment-198272370
Author
Owner

@jimmyoh commented on GitHub (Mar 20, 2016):

Hello,

I tested your fix against about 100 video files and it worked Perfect.

Thank you
Jim

On Fri, Mar 18, 2016 at 11:28 AM, James Harrison half.manfred@gmail.com
wrote:

Excellent,

I will grab and test

Jim

On Fri, Mar 18, 2016 at 4:23 AM, cfsmp3 notifications@github.com wrote:

Verified working with that sample in current github version


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/CCExtractor/ccextractor/issues/288#issuecomment-198272370

@jimmyoh commented on GitHub (Mar 20, 2016): Hello, I tested your fix against about 100 video files and it worked Perfect. Thank you Jim On Fri, Mar 18, 2016 at 11:28 AM, James Harrison half.manfred@gmail.com wrote: > Excellent, > > I will grab and test > > Jim > > On Fri, Mar 18, 2016 at 4:23 AM, cfsmp3 notifications@github.com wrote: > > > Verified working with that sample in current github version > > > > — > > You are receiving this because you authored the thread. > > Reply to this email directly or view it on GitHub > > https://github.com/CCExtractor/ccextractor/issues/288#issuecomment-198272370
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#120