| Previous | Next |
| MF_E_SINK_ALREADYSTOPPED | MF_E_SINK_NO_STREAMS |
MF_E_ASF_FILESINK_BITRATE_UNKNOWN
MF_E_ASF_FILESINK_BITRATE_UNKNOWN is raised while preparing ASF file output when the sink does not know the bitrate needed for its I/O reservation and container configuration.
Trace bitrate propagation into the ASF sink
Inspect the selected output streams and the ASF ContentInfo/profile before the file sink is activated. Media Foundation exposes ASF stream bitrate information through the stream descriptor attribute MF_SD_ASF_STREAMBITRATES_BITRATE, and encoding settings must be reflected in the sink configuration.
For an encoder pipeline, set the encoder output media type first and then propagate corrected bitrate/leaky-bucket values to the ASF stream configuration or sink properties. A nominal bitrate shown in UI configuration is not enough if the value never reaches the Media Foundation objects. The ASF file sink is the final writer in the encoding pipeline, so diagnose this before samples are sent downstream.
Microsoft: ASF file sink configuration · Microsoft: ASF stream bitrate attribute · FFmpeg ASF muxer source
Looking for a different code? Search another status or error code.