I am using the Windows media format sdk to write different media streams,
e.g h264, aac, to asf-files.
By a coincidence I have noticed that asf-files containing exactly 10 packets
has no index and the microsoft asf mediaviewer says "bad packet count".
The file are playable in windows media player but it has no simple index
object.
If I create files with 1 or 2 ...or 100 packets, the WMWriter creates the
simple index object but with exactly 10 packets it doesn't.
This isn't any big problem since the small files are playable anyway but I
am curious to know if someone else has noticed this.
Try to create an asf-file containing exactly 10 packets, in my case I have
both audio and video packets. Then open the file in microsoft asf-viewer and
see if it shows a yellow line: "bad packet count" and if the simple index
object is missing.
Regards
Fredrik