[FFmpeg-user] How to embed SCC closed caption file into a video file mov/mp4/mpg

Henk D. Schoneveld belcampo at zonnet.nl
Mon Aug 10 17:06:02 CEST 2015


On 10 Aug 2015, at 16:08, Dave Rice <dave at dericed.com> wrote:

> 
>> On Aug 5, 2015, at 5:55 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>> 
>> santhosh daivajna <santhoshsd <at> outlook.com> writes:
>> 
>>> I am trying to embed a closed caption (SCC) file 
>>> into a video file and hitting on some problems.
>> 
>> Could you provide a closed caption (SCC) file for 
>> the FFmpeg developers?
> 
> I started a ticket for SCC caption files at http://trac.ffmpeg.org/ticket/4767 <http://trac.ffmpeg.org/ticket/4767> and supplied an scc file sample along with an srt file derivative.
The srt file has a few shortcomings to be fine with mp4
Now it is:
00:00:00.000,00:00:20.354
♪♪ [THEME MUSIC] ♪♪

It should be:
1
00:00:00,000 --> 00:00:20,354
♪♪ [THEME MUSIC] ♪♪

The ‘records’ have to be numbered
the , between start and end should be <space>—><space> # space 2 dashes greater than sign and a space
The dot before milliseconds should be a comma.
A ‘real’ vim-expert should be able to create a search/replace scenario to accomplish this.
> Dave Rice
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list