When changing a file name, Recording Start is overdue for 3 seconds.

前端 未结 1 1030
隐瞒了意图╮
隐瞒了意图╮ 2021-01-28 06:15

Using Two ASFWriter Filters in a graph.One is making wmv file, Anather is for live streaming.

Carrying out streaming, When changing a file name, Recording Start is overd

相关标签:
1条回答
  • 2021-01-28 06:43

    When you restart the graph, you inevitably miss a fragment of data due to initialization overhead. And, it is impossible to switch files without stopping the graph. The solution is to use multiple graphs and keep capturing while the part with file writing is being reinitialized.

    See DirectShow Bridges for a typical solution addressing this problem.

    0 讨论(0)
提交回复
热议问题