PDA

View Full Version : Adding libdirac into ffmpeg under Windows


CKQueen
17th August 2009, 16:17
Dear Experts,

I am interested in using libdirac with ffmpeg. I was able to build ffmpeg in Windows and included libschroedinger in ffmpeg, however, I was not able to include libdirac (which is important to me). Can anyone please teach me how to include libdirac to ffmpeg in Windows?

Thank you in advance.

Regards,
CK

easyfab
17th August 2009, 18:54
try to look here if it can help : http://diracvideo.org/wiki/index.php/Ffmpeg2dirac

CKQueen
18th August 2009, 02:54
Thanks for your reply. I have looked into the website you suggested, but it doesn't teach on how to include the libdirac to ffmpeg. I understand that the ffmpeg2dirac contains the libdirac, however, since I need to modify the codes in libdirac, I must know how to build and include it.

I tried to include dirac into ffmpeg using mingw and I got this error message:

config.status: error: cannot find input file: libdirac_byteio/Makefile.in

Does anybody know about this?

Thank you

Regards,
CK

CKQueen
18th August 2009, 03:59
I solved the previous error by updating the dirac. The error was due to the disappearance of the libdirac_byteio folder. Then the below was what I have done,

1)
/mingw/dirac-1.0.2/dirac-1.0.2
$ ./configure --prefix=/mingw --enable-static --enable-shared
$ make
$ make install

2)
/c/ffmpeg
$ ./configure --enable-memalign-hack --enable-libdirac --enable-shared
ERROR: libdirac not found

I checked the libavcodec and I found out that the libdirac.c is not there. Is the problem caused by the disappearance of the libdirac.c? or some mistakes I made?

Thank you in advance.

Regards,
CK