Ocrana
21st September 2002, 00:29
..Hello,
actual Iam doing a player for Avi/MPEG Playerback on Windows. Therefore I use DirectShow for AviPlayback. The Audiostream I decode with internal decoders. Like Ogg, Mp3, LPCM and Ac3.
But now I have a huge problem. The playback is Ok. The Sync is also ok. But if I will playback Video and Audio, my Stream freeze often for a while and the cpu goes up to 100% usage. Without Audio, the Videostream is shown perfectly and the cpu usage is ok.
I have build in an ringbuffer and try it with memoryshifting but nothing helps.
Someone has an Tip for this?
Ocrana
actual Iam doing a player for Avi/MPEG Playerback on Windows. Therefore I use DirectShow for AviPlayback. The Audiostream I decode with internal decoders. Like Ogg, Mp3, LPCM and Ac3.
But now I have a huge problem. The playback is Ok. The Sync is also ok. But if I will playback Video and Audio, my Stream freeze often for a while and the cpu goes up to 100% usage. Without Audio, the Videostream is shown perfectly and the cpu usage is ok.
I have build in an ringbuffer and try it with memoryshifting but nothing helps.
Someone has an Tip for this?
Ocrana