-
Notifications
You must be signed in to change notification settings - Fork 406
Open
Description
Hi, I'm a user who has been having fun with PyAV.
If nothing else, I was wondering if there is a way to avoid creating a CodecContext at the point of adding a stream in my use case. In my case, at the point of calling add_stream, the width and height of the video is not determined, but if I proceed to encode/mux a stream other than that one (audio for example), the coded_width and coded_height of the unused stream seem to be fixed. This forces me to discard the unused CodecContext and create a new one. If so, is there any way to avoid creating a stream.codec_context when creating a new stream altogether?
More precisely, is there any way to separate the functions of the muxer and encoder?
Metadata
Metadata
Assignees
Labels
No labels