Opened 3 years ago

Closed 2 years ago

#9463 closed enhancement (duplicate)

[FEATURE REQUEST] Filter Complex Subtitle Support

Reported by: Phillip Owned by:
Priority: wish Component: avfilter
Version: unspecified Keywords: subtitles trim filter_complex
Cc: Phillip Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Phillip)

[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

Change History (7)

comment:1 by Phillip, 3 years ago

Description: modified (diff)

comment:2 by Elon Musk, 3 years ago

I think this ticket is duplicate. There is already ticket for this.

in reply to:  2 comment:3 by Phillip, 3 years ago

Replying to Elon Musk:

I think this ticket is duplicate. There is already ticket for this.

My bad if so, just searched again and did not see any existing ticket referring to this.
If anyone can link me to an existing ticket, I'll of course close this one

Last edited 3 years ago by Phillip (previous) (diff)

comment:4 by Elon Musk, 3 years ago

in reply to:  4 comment:5 by Phillip, 3 years ago

Replying to Elon Musk:

#2067

Each example I see in that ticket is still hardcoding the subtitles though, not maintaining them as a separate stream unless I'm reading it wrong

comment:6 by Elon Musk, 3 years ago

You are reading it wrong, we do not need several tickets for same problem.

comment:7 by Phillip, 2 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.