Wednesday, October 10, 2012 11:44 AM
I'm currently developing a DirectShow capture filter targeting, among others, Expression Encoder. All works good except when using multiple streams.
This is what I do. Add two or more live sources. Setup output for a standard broadcast. Cue one of the live streams. Press Start to initiate the broadcast. After a time press the Cue button for another live stream and so on. Is this supported at all?
Symptoms. Sometimes the output preview will freeze for several seconds and Expression will warn: Expression Encoder has detected a significant number of dropped frames...".
I found out that this behavior is easy to reproduce when you wait a time between adding additional live sources. In this case a can see that the timestamps outputted from my capture pins differ about the time you waited. The Cue button does not seem to restart the cued stream in order to reset the DirectShow stream time.
Currently I'm not supporting preview pins.
How can I solve this in my capture filter?
A. Version and SKU of Expression Encoder. 4.0.1651.0
B. OS used and whether it's 32 or 64bit. 64bit