You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we want to generate a stream (black or silence), we should not have to set both output profile and ICodec. The ICodec should be guessed from the profile, which must contain enough parameters to generate the stream.
It would avoid duplicated parameters into ICodec and profile.
Since a valid video/audio profile only get a codec name, we need more informations, stored in the ICodec (more exactly the xxxFrameDesc).
This is not a problem... Maybe we need to define constants in the code to define default video size, default pixel format, etc... ?
When we want to generate a stream (black or silence), we should not have to set both output profile and ICodec. The ICodec should be guessed from the profile, which must contain enough parameters to generate the stream.
It would avoid duplicated parameters into ICodec and profile.
https://github.com/mikrosimage/avTranscoder/blob/develop/src/AvTranscoder/transcoder/Transcoder.hpp#L56
https://github.com/mikrosimage/avTranscoder/blob/develop/src/AvTranscoder/transcoder/Transcoder.hpp#L66
The text was updated successfully, but these errors were encountered: