Failure to play MP3 file with COM exception in IGraphBuilder.RenderFile

后端 未结 1 1496
死守一世寂寞
死守一世寂寞 2021-01-22 08:49

I am new to direct show development. I am learning things about direct show. I am trying to write a method which plays some audio files. It works fine for many .mp3 files, but f

相关标签:
1条回答
  • 2021-01-22 09:37

    This is a well known problem with MP3 files and standard DirectShow fitler reading them. The problem is that if a file has a big section with ID3 tags, the filter might give up skipping them to audio data and this makes the whole playback fail.

    These files will still play fine if you open them starting with WM ASF Reader Filter. This assumes you build, or at least start building, the graph manually to override default building behavior.

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