[FFmpeg-user] A query on ffmpeg's -canvas_size

Dennis Mungai dmngaie at gmail.com
Wed Apr 5 00:36:55 EEST 2023


Hello there,

When encoding an input stream with multiple dvbsub subtitles where all
substreams are mapped (-via map 0 or -map 0:s), can the option -canvas_size
be applied to individual dvbsub subtitles in the output, or is the option
global?

Case in point: In a 1:N transcode scenario, where a given number of
outputs/renditions are made from a single input, and the same is applied to
the dvbsubs, can the -canvas_size be set per dvbsub output via
-canvas_size:s:0 1920x1080 -canvas_size:s:1 1280x720, and so on?

Thanks,

Dennis.


More information about the ffmpeg-user mailing list