streamid specification
Hi there,
the ffmpeg streamid
option have to be set after input and before output in ffmpeg, but as long this option can be set multiple time, it's not possible to pass it in kwargs of .output
.
-streamid output-stream-index:new-value (output)
Assign a new stream-id value to an output stream. This option should be specified prior to the output filename to which it applies. For the situation where multiple output files exist, a streamid may be reassigned to a different value.
For example, to set the stream 0 PID to 33 and the stream 1 PID to 36 for an output mpegts file:
ffmpeg -i inurl -streamid 0:33 -streamid 1:36 out.ts
Using .global_args
is not working because options are set after output.
Is it possible to set streamid
using ffmpeg-python ?