New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

how to make along with ffmpeg source builds

General discussion

how to make along with ffmpeg source builds

Postby branoush » Sat Jul 13, 2013 7:26 am

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?
branoush
 
Posts: 2
Joined: Sat Jul 13, 2013 6:58 am

Re: how to make along with ffmpeg source builds

Postby Tvangeste » Sat Jul 13, 2013 8:00 am

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
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: how to make along with ffmpeg source builds

Postby branoush » Fri Jul 19, 2013 8:43 am

thanks you for the reply.
now, my GoldenDict works perfectly by latest version of ffmpeg.
I had problem with external audio support(mplayer).
branoush
 
Posts: 2
Joined: Sat Jul 13, 2013 6:58 am

Re: how to make along with ffmpeg source builds

Postby sethansegar » Mon Jul 22, 2013 2:45 am

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


Return to General

Who is online

Users browsing this forum: No registered users and 50 guests