Hi,
> [...]
> > - new software scaler library libswscale introduced -> img_convert has
> > been removed from libavcodec -> replace with swscale stuff
>
> Really? My libavcodec.a (SVN 9816) compiled today still contains
> img_convert. It is marked deprecated, but still exists. Maybe you
> have configured your ffmpeg in some non-standard way?
I have not build ffmpeg by my own, i used the ffmpeg RPM package from packman
(ffmpeg-0.4.9-8.pm.svn20070724). I will check the sources of this package to
see if this is wrongly configured/build or the img_convert is really removed.
nm /usr/lib/libavcodec.a shows that the img_convert is missing, but other
functions marked as deprecated (img_copy,img_crop,...) are available.
> [...] I have checked on two different machines that with my patch dvbcut
> still builds with the included old ffmpeg.
>
> > --- ./SConstruct 2007-07-27 23:11:54.000000000 +0200
> > +++ ./SConstruct 2007-07-27 23:58:55.000000000 +0200
> > @@ -112,11 +112,12 @@
> > else:
> > localffmpeg=False
> > ffmpegpath=env["FFMPEG"].rstrip("/")
> > + env.Append(CPPDEFINES="__STDC_CONSTANT_MACROS")
>
> For me, this wasn't sufficient, also I think it should
> be under " if (localffmpeg==False)" for now.
>
The snapshot version of "avcodec.h" uses the "INT64_C" constant macro.
For C++ "stdint.h" only define this macro if "__STDC_CONSTANT_MACROS" is
defined, because the ISO C99 standard specifies that.
Regards,
Michael
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
DVBCUT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dvbcut-user