Hi all,
I am new to audio and video decoder, hence would appreciate some help in the beginning.
I have an mpg file which has both and audio and video stream encoded. I use libmpeg2 to decode the video and display it on the monitor. I also use libmad to play the audio.
when i decode the mpg file i store audio part of the mpg file in a separate file (for ex: audio.ma2). After mpg file decoding is over, i run madplay with the following options.
madplay -v /root/audio.ma2
I see the following error message on the screen.
MPEG Audio Decoder 0.15.2 (beta) - Copyright © 2000-2004 Robert Leslie et al.
error: frame 0: lost synchronization
00:00:00 Layer II, 224 kbps, 44100 Hz, stereo, CRC
error: frame 3: lost synchronization
00:00:00 Layer II, 224 kbps, 44100 Hz, stereo, CRC
error: frame 6: lost synchronization
00:00:00 Layer II, 224 kbps, 44100 Hz, stereo, CRC
error: frame 9: lost synchronization
00:00:00 Layer II, 224 kbps, 44100 Hz, stereo, CRC
error: frame 12: CRC check failed
00:00:00 Layer II, 224 kbps, 44100 Hz, stereo, CRC
error: frame 14: lost synchronization
00:00:00 Layer II, 224 kbps, 44100 Hz, stereo, CRC
error: frame 17: lost synchronization
00:00:00 Layer II, 224 kbps, 44100 Hz, stereo, CRC
error: frame 20: lost synchronization
00:00:00 Layer II, 224 kbps, 44100 Hz, stereo, CRC
error: frame 23: CRC check failed
00:00:00 Layer II, 224 kbps, 44100 Hz, stereo, CRC
error: frame 25: lost synchronization
00:00:00 Layer II, 224 kbps, 44100 Hz, stereo, CRC
error: frame 28: lost synchronization
00:00:00 Layer II, 224 kbps, 44100 Hz, stereo, CRC
error: frame 31: lost synchronization
00:00:00 Layer II, 224 kbps, 44100 Hz, stereo, CRC
error: frame 34: lost synchronization
00:00:00 Layer II, 224 kbps, 44100 Hz, stereo, CRC
error: frame 36: lost synchronization
00:00:01 Layer II, 224 kbps, 44100 Hz, stereo, CRC
error: frame 39: lost synchronization
00:00:01 Layer II, 224 kbps, 44100 Hz, stereo, CRC
could anybody please tell me what could be the problem?
regards,
-onup
Yahoo! India Matrimony: Find your partner online.