Currently to define a desired output stream format a stream format module or struct needs to be passed. This approach has some serious problems, most notably:
- the user might not want to specify some fields of the desired stream format, but the struct requires them
- the stream format structs were not meant to be created as parts of API and some of them contain binary arguments, which are not meant to be provided by hand
I think a reasonable solution would be to define structs inside the transcoder plugin dedicated for the API, this would allow us to control what values are reasonable to be provided by the user
Currently to define a desired output stream format a stream format module or struct needs to be passed. This approach has some serious problems, most notably:
I think a reasonable solution would be to define structs inside the transcoder plugin dedicated for the API, this would allow us to control what values are reasonable to be provided by the user