Opened 4 years ago

Closed 2 years ago

Last modified 3 months ago

#4767 closed enhancement (fixed)

support scc file of closed captioning data

Reported by: dericed Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: cc EIA-608
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

Starting a ticket based on http://ffmpeg.org/pipermail/ffmpeg-user/2015-August/027836.html to support muxing scc files into supportive formats. I'm attaching an scc files and a corresponding srt files. The scc files contains some information that the srt doesn't, such as the placement coordinates and commands to rollup text, clear line, delete, etc.

Attachments (3)

SCIU04006_V2.scc (93.7 KB) - added by dericed 4 years ago.
scc file
SCIU04006_V2.srt (40.9 KB) - added by dericed 4 years ago.
srt file (same content as scc file)
SCIU04006_V2B.srt (47.7 KB) - added by mboufleur 4 years ago.
Newer version of SRT file, with fixes to Subrip syntax, and proper Timecode conversion from the SCC version.

Download all attachments as: .zip

Change History (12)

Changed 4 years ago by dericed

scc file

Changed 4 years ago by dericed

srt file (same content as scc file)

comment:1 Changed 4 years ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords cc added; scc captions removed
  • Priority changed from normal to wish
  • Version changed from unspecified to git-master

Changed 4 years ago by mboufleur

Newer version of SRT file, with fixes to Subrip syntax, and proper Timecode conversion from the SCC version.

comment:2 Changed 2 years ago by richardpl

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 2 years ago by fcabrol

Hi,

Does it mean that it is possible to extract SCC files from videos, for example using the following syntax ?

ffmpeg -f lavfi -i movie=ESPN_rtp.ts[out+subcc] -map 0:1 coucou.scc

I obtain the following message when I try: Unable to find a suitable output format for 'coucou.scc'

The same command works great with .srt output.

Do I have to enable a particular flag at compilation time ?

Thanks,

François

comment:4 Changed 2 years ago by richardpl

It would be easy to write scc muxer, but not ccaption encoder.

comment:5 Changed 2 years ago by dericed

A scc muxer would be helpful for outputting a scc file from the output of the readeia608 filter. There are also encoded scc style captions in DV files and QuickTime? c608 tracks so having a scc muxer could make this data a lot more accessible.

comment:6 Changed 2 years ago by richardpl

I need more files with closed captions embedded into video stream.
Because there is some nuisances with one file I already have.

comment:7 Changed 2 years ago by fcabrol

comment:8 Changed 2 years ago by richardpl

Is there any tool that can already create reasonable scc files?

I wonder where to start and where to stop subtitle lines.

comment:9 Changed 3 months ago by unsword

  • Keywords EIA-608 added

An SCC Muxer was added with this commit:

https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/036e12b225b2869861d1449534dec94bd491559e

This command will now create a .scc file from source media containing EIA-608 Caption Data in userdata

ffmpeg.exe -f lavfi -i movie="CC_TEST001.mpg[out+subcc]" -map 0:1 -c:s copy T:\temp\output.scc

This provides creation of .scc from media containing captioning which is what this ticket morphed into.

The original request still exists to provide ability to use a .scc file as a source for inserting EIA-608 captioning as A/53 in MPEG-2 and x264 as well as 436M Ancillary Data of MXF files

Note: See TracTickets for help on using tickets.