[Ffmpeg-devel] Gray Scale decoding of MPEG4 data anddebugginglibavcodec

Matt Schuckmann mschuck
Tue May 16 01:02:13 CEST 2006


Ok I got it to work again (grey scale decode too) appears to have been a
combination of updating my cvs tree and modifying common.mak

It looks like the addition of the version number to the shared library file
names (i.e. avcodec.dll.51) messes with the Microsoft linker. The only way I
could get MSVC to link with the shared libraries was to do away with the
SLIBNAME_WITH_MAJOR target in common.mak and restore it to the way it was in
rev 1.267 of common.mak, then link would create the lib file for the dll and
everything played nice. 

I'm not real familiar with the rules of link so maybe somebody else can tell
me if the avcodec.dll.51 should have worked and was just doing something
wrong. This seems like kind of an odd way to do versioning of a shared
library file. 
 
Matt S. 

-----Original Message-----
From: ffmpeg-devel-bounces at mplayerhq.hu
[mailto:ffmpeg-devel-bounces at mplayerhq.hu] On Behalf Of Matt Schuckmann
Sent: Monday, May 15, 2006 2:17 PM
To: 'FFMpeg development discussions and patches'
Subject: RE: [Ffmpeg-devel] Gray Scale decoding of MPEG4 data
anddebugginglibavcodec

Yes really crash. Turns out it's not just the gray scale decoder mpeg4
decoding in general is crashing. Seems to have something to do with my
latest pull down of FFMPEG, I tested by old sandbox and it's seems to work
ok.

So I pulled down the latest FFMPEG stuff today and rebuilt and now I can't
find the .lib files for linking with the shared libraries. Did you change
the way things are built for the shared windows libraries?

I understand you don't support MSVC how about another debugger that does
work on a windows system?

Thanks
Matt S.  


-----Original Message-----
From: ffmpeg-devel-bounces at mplayerhq.hu
[mailto:ffmpeg-devel-bounces at mplayerhq.hu] On Behalf Of M?ns Rullg?rd
Sent: Monday, May 15, 2006 12:23 PM
To: FFMpeg development discussions and patches
Subject: Re: [Ffmpeg-devel] Gray Scale decoding of MPEG4 data and
debugginglibavcodec

"Matt Schuckmann" <mschuck at imoveinc.com> writes:

> I'm using just libavcodec with my application and I'm experimenting with
> various options and formats and I'm having trouble decoding gray scale
> images that have been encoded with libavcodec's MPEG4 encoder using the
> CODEC_GRAY_FLAG flags option. 
>
> The data appears to have encoded fine (well libavcodec didn't complain,
> there is data in the file, and it's smaller than the original) but
whenever
> I try to decode it my app crashes on the call to avcodec_decode_video(). 

Do you mean it really crashes, or just returns an error?  In case of a
proper crash, please send a complete bug report as per the
instructions on the web page.

> Are there any special options or formats I need to set to make this work
> (other than CODEC_GRAY_FLAG)?
>
> Any help or suggestions would be much appreciated. 
>
> This brings up another question; can anyone give me some guidance on how
to
> debug libavcodec in a windows environment? The best solution would be able
> to debug it directly from MSVC++ .NET 2003 since that's my current working
> environment but I'm not totally opposed something else. 

We don't support msvc.  Sorry.

-- 
M?ns Rullg?rd
mru at inprovide.com

_______________________________________________
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





More information about the ffmpeg-devel mailing list