Well, I have noticed two weird things lately that were not problems before, and another that might have been strange all along, but I have no idea who's fault it is. The first two seem to have popped up in the last 1 to three weeks, not sure how long ago.
1) I have a few movies that when played, now just spit out FOURCC mismatch, with seemingly random FOURCCs, no audio, green video window. All of them I've found so far have been indeo 5.0 encoded avis, though I have at least one working indeo5 encoded avi, with MP3 audio, though messages claim that audio is MPEG-layer1/2, They used to work fine earlier. I get a few warnings that I may not have before: MainAVIHeader: MicroSecPerFrame=66667 MaxBytesPerSec=307200 PaddingGranularity=0 Flags=[ HAS_INDEX ] TotalFrames=1082 InitialFrames=0 Streams=2 SuggestedBufferSize=1190902 WxH=320x240 WARNING: unexpected AVI stream header size AVIStreamHeader: FccType=vids FccHandler=iv50 Flags=[ ] InitialFrames=0 Scale=100 Rate=1500 Start=0 Length=1082 SuggestedBufferSize=40112 Quality=10000 SampleSize=0 Rect l,r,t,b=0,0,0,0 WARNING: unexpected AVI stream header size AVIStreamHeader: FccType=auds FccHandler=0x0 Flags=[ ] InitialFrames=0 Scale=1 Rate=16000 Start=0 Length=1154133 SuggestedBufferSize=1150790 Quality=10000 SampleSize=1 Rect l,r,t,b=0,0,0,0 WARNING: Invalid index entry 0 -- id: 1651978544 offset: 4 size: 1150790 Another odd thing is the Stream identification: Stream 0: 0x73646976 (vids) : 0x30357669 (iv50) 1082 chunks Cache: Adding stream 0, 1082 chunks Stream 1: 0x73647561 (auds) : 0x0 (unknown) 0 chunks Cache: Adding stream 1, 0 chunks It can't figure out what the audio is..Though later is says it is mpeg layer 1/2. They are somehwat older avis if that helps, encoded before 1998 or so.. 2) Audio is *really* messed up in some of my streams. Again they are (as detected by MPlayer) mp3 audio, but report Layer 1/2 in avifile. Well, I guess the result message is simply misreporting, as another mp3-audio avi does work, with same output. Here is a snip of the audio output of one that does not work. Audio in MPEG Layer-1/2 format src [wFormatTag=0x55, nChannels=2, nSamplesPerSec=44100, nAvgBytesPerSec=16000, nBlockAlign=417, wBitsPerSample=16, cbSize=12] dst [wFormatTag=0x01, nChannels=2, nSamplesPerSec=44100, nAvgBytesPerSec=176400, nBlockAlign=4, wBitsPerSample=16, cbSize=0] 3) A *really* obscure issue, and I'm not sure if it is a problem of ld or avifile. If smpeg libs are linked against either a .so or an executable that also links with avifile, and an attempt is made to open an asf or wmv, when the AviMediaHanler.cpp attempts to throw with FATAL: not an avi file, the process segfaults. The gdb backtrace shows it for some odd reason after the throw jumping into libsmpeg code, and then things just go to crap from there. Not a good idea to be linking them all together in the first place, and I had been doing it by accident so my problem has gone away, but thought I should raise the issue. It is the latest released RH compiler/linker, haven't tested with other linkers. _______________________________________________ Avifile mailing list [EMAIL PROTECTED] http://prak.org/mailman/listinfo/avifile
