[FFmpeg-trac] #9463(avfilter:new): [FEATURE REQUEST] Filter Complex Subtitle Support

FFmpeg trac at avcodec.org
Wed Oct 20 03:46:50 EEST 2021


#9463: [FEATURE REQUEST] Filter Complex Subtitle Support
-------------------------------------+-------------------------------------
             Reporter:  Phillip      |                    Owner:  (none)
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  avfilter
              Version:  unspecified  |               Resolution:
             Keywords:  subtitles    |               Blocked By:
  trim filter_complex                |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Description changed by Phillip:

Old description:

> [FEATURE REQUEST]
>
> I am processing chunks of multiple videos and concating them all
> together,
> but I have to "manually" slice and merge each video's subtitles into
> intermediary files and merge outside ffmpeg which is slow and annoying.
>
> I have seen where you can overlay the subtitles - burning them - into the
> video stream directly but would prefer an option to include them as a
> togglable stream.
>
> The idea would be something like:
> [0:v]trim=start=0:end=30[v0];
> [0:a]atrim=start=0:end=30[a0];
> [0:s]strim=start=0:end=30[s0];
>
> Is there some reason this doesn't already exist that I am simply missing?

New description:

 [FEATURE REQUEST]

 I am processing chunks of multiple videos and concating them all together,
 but I have to "manually" slice and merge each video's subtitles into
 intermediary files and merge outside ffmpeg which is slow and annoying.

 I have seen where you can overlay the subtitles - burning them - into the
 video stream directly but would prefer an option to include them as a
 togglable stream.

 The idea would be something like:
 [0:v]trim=start=0:end=30[v0];
 [0:a]atrim=start=0:end=30[a0];
 [0:s]strim=start=0:end=30[s0];

 Is there some reason this doesn't already exist that I am simply missing?

 when using the -ss and -t/-to main options the subtitles can be cut to the
 desired time segment and mapped appropriately as separate streams, just
 looking to be able to do the same thing inside a filter_complex
 filtergraph

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9463#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list