Hi I've been doing some work on the asf demuxer in ffmpeg and apparently there's some interest in making the mplayer demuxer work with dvr-ms files too. So I've attached a patch that fixes most of the audio and video problems that occur when attempting to play dvr-ms in mplayer. The audio fix is a port of the work I did in ffmpeg. The way I've done it here is a little different though... if the dvr-ms guid is discovered in the header then some special case code is executed to initialise the audio. This shouldn't affect regular asf files and has minimal impact on the existing code. The video fix is basically a lift of the work done by others on the ffmpeg asf demuxer. The reason dvr-ms files haven't worked until now is that the mpeg2 video frames need to be parsed out of the data segments. The existing code assumes that when the media object number changes then you've got your frame. This is not the case with dvr-ms files though. FFmpeg has a generic way of handling this kind of parsing and there may well be some equivalent in mplayer. I haven't had time to look though so I've just taken the relevant bits of code from ffmpeg and dropped them into demux_asf.c. I dont know if it's acceptable to do that but I'm sure you'll let me know. If there's a better way to do it please point me in the right direction and I'll have a go at some point. There are still at least the following issues to be resolved that I hope to get to at some point... seeking is broken, the frame height is wrong, the fps and bit rate displayed at the start is wrong and there's no support for subtitles. If you're going to tackle these, please let me know so as we don't duplicate effort. Regards, John