[Ffmpeg-devel] FFMPEG crashes on WinXP SP2

Steve Lhomme steve.lhomme
Tue Apr 4 11:59:47 CEST 2006


Adam Pierce wrote:
> I found an additional clue. It works OK when statically linked, it is 
> the --enable-shared which does it. Unfortunately, I want the DLLs so I 
> can link it with an MSVC++ GUI front-end.

Make sure your .exe uses the matching .dll. You can use Dependency 
Walker to check what your .exe is using.

Steve

> Adam Pierce wrote:
> 
>> Hi all, this is my first post.
>>
>> I am trying to use FFMPEG to decode some ASF files under Windows and 
>> I'm having trouble. It crashes every time on Windows XP SP2 but works 
>> fine on WinXP SP1.
>>
>> Most other video formats seem to work fine, just not ASF.
>>
>> I have tried versions 0.4.8, 0.4.9-pre1 and the latest CVS, they all 
>> exhibit the same problem.
>>
>> I compiled FFMPEG with MinGW using --enable-mingw32 --enable-shared 
>> --disable-static --enable-memalign-hack
>>
>> Here is an example of how to crash it (using version 0.4.8):
>>
>> C:\Program Files\FFmpeg> ffmpeg -i test1.asf test1.mpeg
>> input #0, asf, from 'test1.asf':
>>  Duration: 00:01:14.9, bitrate: 599 kb/s
>>  Stream #0.0: Audio: wmav2, 48000 Hz, stereo, 128 kb/s
>>  Stream #0.1: Video: wmv2, 352x240, 15000.00 fps
>> Output #0, mpeg, to 'test1.mpeg':
>>  Stream #0.0: Video: mpeg1video, 352x240, 15000.00 fps, q=2-31, 200 kb/s
>>  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s
>> Stream mapping:
>>  Stream #0.1 -> #0.0
>>  Stream #0.0 -> #0.1
>>
>> That will crash, however if I use the -an option to disable audio 
>> processing, it does not crash.
>>
>> I've had a go at trying to debug it but the code is difficult for me 
>> to understand.
>>
>> Has anyone else had such problems ?
>>
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at mplayerhq.hu
>> http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>>
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
> 

-- 
robUx4 on blog <http://robux4.blogspot.com/>





More information about the ffmpeg-devel mailing list