I'm very confused...

Pawel Dziekonski tells me that he is using the binary mpeg2divx linked
with 0.53.x, but he also installed the avifile CVS. And he can change the
DIV4 bitrate by doing a test encode first with DIV3 at the desired
bitrate.

I tried to modify the x2divx sources so it works with the avifile CVS, but
I'm a C programmer, and I don't know much about C++. It's not going well:

avi2divx.cpp:227: implicit declaration of function `int SetCodecAttr(...)'
avi2divx.cpp:308: calling type `yuv' like a method
avi2divx.cpp:311: no matching function for call to `CImage::data ()'

I don't know how to fix this. The SetCodecAttr() was my own addition, to
replace SetExtendedAttr() but I don't know the proper way to call this
function.

So I decided to try and somehow force the binaries to work.

I compiled the avifile CVS and installed it, but mpeg2divx will not
execute due to a dynamic linker error (missing symbol). So without
source-level modifications, mpeg2divx can't be run while linked to the
CVS version of avifile.

Running mpeg2divx (linked with avifile-0.53.5) with the -f switch should
make it encode to the DIV3 codec. But when I do something like this:

rm ~/.registry
mpeg2divx -b 1800 -f -a 224 -w 360 -h 288 test.mpeg test.avi

...the resulting DivX bitrate is about 160 kbps. So that isn't working.

Please, can someone give me a hint? I do appreciate the help.

-- 
Dave

David Whysong                                       [EMAIL PROTECTED]
Astrophysics graduate student         University of California, Santa Barbara
My public PGP keys are on my web page - http://www.physics.ucsb.edu/~dwhysong
DSS PGP Key 0x903F5BD6  :  FE78 91FE 4508 106F 7C88  1706 B792 6995 903F 5BD6
D-H PGP key 0x5DAB0F91  :  BC33 0F36 FCCD E72C 441F  663A 72ED 7FB7 5DAB 0F91


_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to