VisionLab VCL
unable to read non-pcm audio from .avi video
Thread Starter: Spiros Ioannou Started: 2/18/2008 3:07 PM UTC
Replies: 1
unable to read non-pcm audio from .avi video
I'm getting the audio from a video file like that:
VLaviplayer.audiooutputpin->ALaudiotoreal.

I then furnish it to goertzel functions and a scope.

If the .avi file has uncompressed PCM audio all is ok.
if the .avi file has mpeg (mp3) audio, the audio plays fine on the speakers (vlaviplayer.audioenabled==true) but the goertzel filters and the scope get garbage.

Any ideas?

Thank you.
Re: unable to read non-pcm audio from .avi video
Using TVLDSVideoPlayer solves the audio problem, but this component has other problems:
1) The OnProgress gets called only once at the beginning
2) CurrentFrame/CurrentTime/DurationTime/FramesCount are all zero when
video is playing.


Spiros Ioannou wrote:
I'm getting the audio from a video file like that:
VLaviplayer.audiooutputpin->ALaudiotoreal.
I then furnish it to goertzel functions and a scope.
If the .avi file has uncompressed PCM audio all is ok.
if the .avi file has mpeg (mp3) audio, the audio plays fine on the speakers (vlaviplayer.audioenabled==true) but the goertzel filters and the scope get garbage.
Any ideas?
Thank you.