[FFmpeg-devel] [RFC] Subtitles: seek, rectime, residual, new API

Philip Langdale philipl at overt.org
Tue Jul 31 21:19:52 CEST 2012


On 31.07.2012 12:10, Nicolas George wrote:
>
>> Last question: is there any reason the mapping 
>> extension->format->codec
>> works with audio and video but not subtitles? (example: ffmpeg -i 
>> in.ass
>> out.srt doesn't work and require -c:s srt).
>
> At first glance, because ff_srt_muxer.subtitle_codec = CODEC_ID_TEXT 
> and
> there is no encoder for CODEC_ID_TEXT.

Perhaps a good time to mention my set of changes to try and rationalise
srtdec vs CODEC_ID_TEXT.

https://github.com/philipl/FFmpeg/commit/5ade72e84112760f5bc241b1f99e393a41bca87e
https://github.com/philipl/FFmpeg/commit/e0a1a4daa3a365ba3319a083ef4dfc0d267123b7
https://github.com/philipl/FFmpeg/commit/7b967bb4f012f6b5bbe569894557878b173861cf

--phil


More information about the ffmpeg-devel mailing list