Opened 17 months ago

Closed 17 months ago

Last modified 17 months ago

#9104 closed enhancement (invalid)

feature request: enhance disposition management (add options to remove specific disposition & set multiple dispositions)

Reported by: droid-xx Owned by:
Priority: normal Component: ffmpeg
Version: unspecified Keywords: ffmpeg dispositions metadata
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Right now, unless I'm mistaken, we can only 1) set/alter a single disposition per stream, and 2) remove all dispositions from a stream.

It would be nice if we could set multiple dispositions for a stream, for example like this:

ffmpeg -i input.mkv -map 0 -c copy -disposition:s:0 forced,hearing_impaired output.mkv

And also to be able to remove a single or multiple (but not all) dispositions, for example like below:

ffmpeg -i input.mkv -map 0 -c copy -disposition:s:0 forced=0,hearing_impaired=0 output.mkv

Change History (5)

comment:1 by droid-xx, 17 months ago

Component: undeterminedffmpeg
Keywords: ffmpeg metadata added

comment:2 by droid-xx, 17 months ago

Cc: Android_X13@protonmail.com added

comment:3 by droid-xx, 17 months ago

Cc: Android_X13@protonmail.com removed

comment:4 by mkver, 17 months ago

Resolution: invalid
Status: newclosed

You can already do this: Remove forced and hearing impaired: -disposition:s:0 -forced-hearing_impaired. Set multiple dispositions (without unsetting what was set before (i.e. logical OR)): +forced+hearing_impaired

comment:5 by droid-xx, 17 months ago

Good to know, thanks

Note: See TracTickets for help on using tickets.