[FFmpeg-devel] [PATCH]Add Dirac support to ffmpeg via libdirac_* and Schroedinger libraries]

Anuradha Suraparaju anuradha
Wed Apr 23 04:19:26 CEST 2008


On Tue, 2008-04-22 at 19:54 +0200, Diego Biurrun wrote:
> On Thu, Apr 17, 2008 at 09:15:51PM +1000, Anuradha Suraparaju wrote:
> > 
> > I've attached the dirac patch to this email. I've created the patch
> > using the latest svn version 12879.
> 
> Hmmmm...
> 
> gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/home/diego/src/ffmpeg/ffmpeg" -I"/home/diego/src/ffmpeg/ffmpeg" -I"/home/diego/src/ffmpeg/ffmpeg"/libavcodec -I"/home/diego/src/ffmpeg/ffmpeg"/libavdevice -I"/home/diego/src/ffmpeg/ffmpeg"/libavfilter -I"/home/diego/src/ffmpeg/ffmpeg"/libavformat -I"/home/diego/src/ffmpeg/ffmpeg"/libavutil -I"/home/diego/src/ffmpeg/ffmpeg"/libpostproc -I"/home/diego/src/ffmpeg/ffmpeg"/libswscale -fomit-frame-pointer -maltivec -mabi=altivec -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno
> -I/usr/local/include/dirac  -c -o libavcodec/libdiracenc.o libavcodec/libdiracenc.c
> libavcodec/libdiracenc.c: In function ?libdirac_encode_frame?:
> libavcodec/libdiracenc.c:242: error: ?ENC_STATE_EOS? undeclared (first use in this function)
> libavcodec/libdiracenc.c:242: error: (Each undeclared identifier is reported only once
> libavcodec/libdiracenc.c:242: error: for each function it appears in.)
> libavcodec/libdiracenc.c:257: error: ?dirac_encoder_t? has no member named ?enc_pparams?
> libavcodec/libdiracenc.c:259: error: ?dirac_encoder_t? has no member named ?enc_pparams?
> libavcodec/libdiracenc.c:259: error: ?INTRA_PICTURE? undeclared (first use in this function)
> libavcodec/libdiracenc.c:260: error: ?dirac_encoder_t? has no member named ?enc_pparams?
> libavcodec/libdiracenc.c:260: error: ?REFERENCE_PICTURE? undeclared (first use in this function)
> make: *** [libavcodec/libdiracenc.o] Error 1
> 
> What am I missing?  This is a Debian unstable PPC box with libdirac
> freshly compiled from the source of the source of the 0.9.1 release.
> 

[...]

I've tested this against the latest CVS version of Dirac since the 0.9.1
is a few months old. We will be releasing a new version of Dirac soon
(0.10.0) and the API in the release will be the same as that in the CVS
now.

> Diego

Regards,
Anuradha





More information about the ffmpeg-devel mailing list