Log in

View Full Version : Use WM ASF Writer without reencoding


roozhou
4th May 2011, 10:47
Is there any way to use WM ASF Writer as an ASF muxer without doing any encoding? e.g. Remuxing a wma file to another wma file using a dshow graph.

I have searched around MSDN and the only thing I found is to set AM_CONFIGASFWRITER_PARAM_DONTCOMPRESS through to 1. But it also requires a profile being loaded through IWMProfile::LoadProfileByData. What profile should I use if the setting of source file is unknown? If I randomly pick a profile from the preset, the muxed file has correct size but wrong duration and bitrate.