Closed hackerxiaobai closed 11 months ago
I don't think this is currently supported. For StreamReader, there is option
argument for the constructor. However, StreamWriter does not have the equivalent one, this is because I don't know how to pass such option dict to the underlying implementation.
For StreamReader, the option is set when creating AVFormatContext with avformat_open_input
function.
But for StreamWriter, AVFormatContext is created with avformat_alloc_output_context2
, which does not have the equivalent option argument.
Need to understand how ffmpeg
CLI handles this.
Hmm, looking at the implementation of avformat_open_input
, perhaps one can just do av_opt_set_dict??
🚀 The feature
ffmpeg args rtmp_playpath , StreamWriter support ?
Motivation, pitch
ffmpeg args rtmp_playpath , StreamWriter support ?
Alternatives
No response
Additional context
No response