Page 1 of 1

how to make along with ffmpeg source builds

PostPosted: Sat Jul 13, 2013 7:26 am
by branoush
I want to compile GoldenDict for fedora 17. but I have problem with ffmpeg.
Is it possible to use FFmpeg source distribution instead of prebuild packages?
I have a ffmpeg installation on my system(build and installed from source )
but qmake does not recognize it at all. If there is way to fix this?

Re: how to make along with ffmpeg source builds

PostPosted: Sat Jul 13, 2013 8:00 am
by Tvangeste
You could compile GoldenDict without ffmpeg support at all, that's the simplest way. But, naturally, you'll lose the internal audio player (although, an external player can be used with no problems).

Here's how to do that: https://github.com/goldendict/goldendic ... dio-player

Alternatively, if you really wish to build goldendict with custom-built ffmpeg, you need to provide the PKGCONFIG entries for the following libs:
  • ao
  • libavutil
  • libavformat
  • libavcodec
Look for *.pc files in the location where you've installed your custom-built ffmpeg libs, and then adjust the PKG_CONFIG_PATH variable to include that path, e.g:
Code: Select all
export PKG_CONFIG_PATH=/opt/lib/pkgconfig:$PKG_CONFIG_PATH

Re: how to make along with ffmpeg source builds

PostPosted: Fri Jul 19, 2013 8:43 am
by branoush
thanks you for the reply.
now, my GoldenDict works perfectly by latest version of ffmpeg.
I had problem with external audio support(mplayer).

Re: how to make along with ffmpeg source builds

PostPosted: Mon Jul 22, 2013 2:45 am
by sethansegar
Thanks for the wonderful share brother It was really helpful for me to get some knowledge about ffmpeg source builds