CEA-608 Export to RAW/BIN Fails #32

Closed
opened 2026-01-29 16:33:17 +00:00 by claunia · 18 comments
Owner

Originally created by @bwhansen on GitHub (Aug 24, 2014).

Hey, think I found a bug...

My input files are m4v with CEA-608 stream (iTunes). If I output to SRT it works fine. But attempting to output to RAW / DVDRAW / BIN doesn’t work (output files are empty.)

Command line:
C:\Program Files (x86)\CCExtractor\ccextractorwin.exe --gui_mode_reports -in=mp4 -autoprogram -out=raw -o "C:\somefolder\s01e01_ccextract.raw" -latin1 --nofontcolor --notypesetting -noteletext [+input files]

The only option I’m changing (other than the output file name) is the –out argument. CCExtractor GUI "Preview" text area displays all captions as per normal every time, but unless output is set to SRT the files are empty.

CCExtractor 0.73 (also tested with CCExtractor 0.69)
Windows 8.1 Pro 64-Bit with UAC enabled; NTFS file system; Visual C++ 2013 Runtime installed.

Happy to answer any question, but go easy on me - I'm a CC n00b.

Originally created by @bwhansen on GitHub (Aug 24, 2014). Hey, think I found a bug... My input files are m4v with CEA-608 stream (iTunes). If I output to SRT it works fine. But attempting to output to RAW / DVDRAW / BIN doesn’t work (output files are empty.) Command line: C:\Program Files (x86)\CCExtractor\ccextractorwin.exe --gui_mode_reports -in=mp4 -autoprogram -out=raw -o "C:\somefolder\s01e01_ccextract.raw" -latin1 --nofontcolor --notypesetting -noteletext [+input files] The only option I’m changing (other than the output file name) is the –out argument. CCExtractor GUI "Preview" text area displays all captions as per normal every time, but unless output is set to SRT the files are empty. CCExtractor 0.73 (also tested with CCExtractor 0.69) Windows 8.1 Pro 64-Bit with UAC enabled; NTFS file system; Visual C++ 2013 Runtime installed. Happy to answer any question, but go easy on me - I'm a CC n00b.
Author
Owner

@anshul1912 commented on GitHub (Aug 24, 2014):

can you please put your m4v video at some shared location. and give me the location of video.
you can also contact me @ er_anshul skype and share your videos there if this video cant be made public

@anshul1912 commented on GitHub (Aug 24, 2014): can you please put your m4v video at some shared location. and give me the location of video. you can also contact me @ er_anshul skype and share your videos there if this video cant be made public
Author
Owner

@bwhansen commented on GitHub (Aug 24, 2014):

The m4v is uploading to the link I sent you on Skype. It will be available within 45mins.

@bwhansen commented on GitHub (Aug 24, 2014): The m4v is uploading to the link I sent you on Skype. It will be available within 45mins.
Author
Owner

@theAprel commented on GitHub (Feb 13, 2015):

This issue is still active. I have a wtv file with eia 608 CC. It extracts to srt format properly, but throws a SegFault if set to bin output:

File seems to be a WTV, enabling WTV mode
Analyzing data in general mode
  0%  |  00:00Segmentation fault

raw doesn't work, either. It doesn't produce SegFault; rather, reads whole file and indicates success but output file is only 4 bytes long.

PS This is on Linux building the latest code from github (i.e. c3d00d80f5 )

@theAprel commented on GitHub (Feb 13, 2015): This issue is still active. I have a wtv file with eia 608 CC. It extracts to srt format properly, but throws a SegFault if set to bin output: ``` File seems to be a WTV, enabling WTV mode Analyzing data in general mode 0% | 00:00Segmentation fault ``` raw doesn't work, either. It doesn't produce SegFault; rather, reads whole file and indicates success but output file is only 4 bytes long. PS This is on Linux building the latest code from github (i.e. c3d00d80f5fda92b5f1f0614833f1700432c1bda )
Author
Owner

@cfsmp3 commented on GitHub (Feb 14, 2015):

OK, I'll look into it asap so it's fixed in 0.76.

Can you submit a sample that causes the crash?

On Sat, Feb 14, 2015 at 12:18 AM, theAprel notifications@github.com wrote:

This issue is still active. I have a wtv file with eia 608 CC. It extracts
to srt format properly, but throws a SegFault if set to bin output:

File seems to be a WTV, enabling WTV mode
Analyzing data in general mode
0% | 00:00Segmentation fault

raw doesn't work, either. It doesn't produce SegFault; rather, reads whole
file and indicates success but output file is only 4 bytes long.


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

@cfsmp3 commented on GitHub (Feb 14, 2015): OK, I'll look into it asap so it's fixed in 0.76. Can you submit a sample that causes the crash? On Sat, Feb 14, 2015 at 12:18 AM, theAprel notifications@github.com wrote: > This issue is still active. I have a wtv file with eia 608 CC. It extracts > to srt format properly, but throws a SegFault if set to bin output: > > File seems to be a WTV, enabling WTV mode > Analyzing data in general mode > 0% | 00:00Segmentation fault > > raw doesn't work, either. It doesn't produce SegFault; rather, reads whole > file and indicates success but output file is only 4 bytes long. > > — > Reply to this email directly or view it on GitHub > https://github.com/CCExtractor/ccextractor/issues/102#issuecomment-74344580 > .
Author
Owner

@uajain commented on GitHub (Feb 14, 2015):

cfsmp3, I want to take up this bug if possible.
@theAprel please provide us with the sample.

@uajain commented on GitHub (Feb 14, 2015): cfsmp3, I want to take up this bug if possible. @theAprel please provide us with the sample.
Author
Owner

@theAprel commented on GitHub (Feb 14, 2015):

@mailumangjain I have reached out to you in an email with a sample.

@theAprel commented on GitHub (Feb 14, 2015): @mailumangjain I have reached out to you in an email with a sample.
Author
Owner

@cfsmp3 commented on GitHub (Apr 8, 2015):

Tested with in iTunes file, seems fixed.

@cfsmp3 commented on GitHub (Apr 8, 2015): Tested with in iTunes file, seems fixed.
Author
Owner

@uajain commented on GitHub (Apr 18, 2015):

The sample used in this issue (.wtv) format has repeated CC in output(.srt). I am facing this in most of .wtv format files.

@uajain commented on GitHub (Apr 18, 2015): The sample used in this issue (.wtv) format has repeated CC in output(.srt). I am facing this in most of .wtv format files.
Author
Owner

@theAprel commented on GitHub (Apr 20, 2015):

@mailumangjain I'm not sure if this is a bug. I think it's meant to mimic as closely as possible the CC you would see on TV. On TV, CC often scroll with the dialogue, whereas the srt format is static and must be redrawn to the screen at each specified timecode.

I think there is also a command-line flag that will limit repetition when creating srt files.

@theAprel commented on GitHub (Apr 20, 2015): @mailumangjain I'm not sure if this is a bug. I think it's meant to mimic as closely as possible the CC you would see on TV. On TV, CC often scroll with the dialogue, whereas the srt format is static and must be redrawn to the screen at each specified timecode. I think there is also a command-line flag that will limit repetition when creating srt files.
Author
Owner

@uajain commented on GitHub (Apr 20, 2015):

okay @theAprel. I get it.

@uajain commented on GitHub (Apr 20, 2015): okay @theAprel. I get it.
Author
Owner

@yell0wsuit commented on GitHub (Jul 26, 2019):

This issue still happens on 0.88, other formats work normally. I also tried using SCC_RIP and it gives no caption found when the caption stream is CEA-608. oops, wrong, the cea-608 in the sample is a raw .c608 file
Sample iTunes preview video
I don't know any tools that can convert raw C608 to SCC

@yell0wsuit commented on GitHub (Jul 26, 2019): This issue still happens on 0.88, other formats work normally. <del>I also tried using SCC_RIP and it gives `no caption found` when the caption stream is CEA-608.</del> oops, wrong, the cea-608 in the sample is a raw .c608 file [Sample iTunes preview video](https://github.com/CCExtractor/ccextractor/files/3434596/mzvf_1402545844578339563.640x480.h264lc.U.p.zip) I don't know any tools that can convert raw C608 to SCC
Author
Owner

@P1YU5H-50N1 commented on GitHub (Aug 18, 2020):

Can I take this up?

@P1YU5H-50N1 commented on GitHub (Aug 18, 2020): Can I take this up?
Author
Owner

@cfsmp3 commented on GitHub (Aug 18, 2020):

Sure

On Tue, Aug 18, 2020, 10:41 P1YU5H-50N1 notifications@github.com wrote:

Can I take this up?


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/CCExtractor/ccextractor/issues/102#issuecomment-675618726,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABNMTWIPCYKWDR5SDYNC6QDSBK4MRANCNFSM4ATKESGQ
.

@cfsmp3 commented on GitHub (Aug 18, 2020): Sure On Tue, Aug 18, 2020, 10:41 P1YU5H-50N1 <notifications@github.com> wrote: > Can I take this up? > > — > You are receiving this because you were assigned. > Reply to this email directly, view it on GitHub > <https://github.com/CCExtractor/ccextractor/issues/102#issuecomment-675618726>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABNMTWIPCYKWDR5SDYNC6QDSBK4MRANCNFSM4ATKESGQ> > . >
Author
Owner

@P1YU5H-50N1 commented on GitHub (Aug 20, 2020):

I am on it! Should I start somewhere in particular?

@P1YU5H-50N1 commented on GitHub (Aug 20, 2020): I am on it! Should I start somewhere in particular?
Author
Owner

@cfsmp3 commented on GitHub (Aug 20, 2020):

Start by reproducing the problem :-)

On Thu, Aug 20, 2020 at 3:22 AM P1YU5H-50N1 notifications@github.com
wrote:

I am on it! Should I start somewhere in particular?


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/CCExtractor/ccextractor/issues/102#issuecomment-677512372,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABNMTWL3S53NA4KJ7WNDCULSBT2PPANCNFSM4ATKESGQ
.

@cfsmp3 commented on GitHub (Aug 20, 2020): Start by reproducing the problem :-) On Thu, Aug 20, 2020 at 3:22 AM P1YU5H-50N1 <notifications@github.com> wrote: > I am on it! Should I start somewhere in particular? > > — > You are receiving this because you were assigned. > Reply to this email directly, view it on GitHub > <https://github.com/CCExtractor/ccextractor/issues/102#issuecomment-677512372>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABNMTWL3S53NA4KJ7WNDCULSBT2PPANCNFSM4ATKESGQ> > . >
Author
Owner

@85ayush commented on GitHub (Feb 23, 2021):

I would like to work on this issue, I am a beginner to open source contribution. Can you please guide me?

@85ayush commented on GitHub (Feb 23, 2021): I would like to work on this issue, I am a beginner to open source contribution. Can you please guide me?
Author
Owner

@cfsmp3 commented on GitHub (Nov 21, 2021):

Closing due to no sample being available.

@cfsmp3 commented on GitHub (Nov 21, 2021): Closing due to no sample being available.
Author
Owner

@canihavesomecoffee commented on GitHub (Nov 21, 2021):

@anshul1912 Do you still happen to have the original sample the original author sent you?

@canihavesomecoffee commented on GitHub (Nov 21, 2021): @anshul1912 Do you still happen to have the original sample the original author sent you?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#32