Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > General > Newbies

Thread Tools Search this Thread Display Modes
Old 25th August 2011, 15:13   #1  |  Link
Registered User
Join Date: Jun 2011
Posts: 2
FFMpeg static build

Hey guys
I have been trying to build a decoder application on top of ffmpeg libraries(avcodec, avutil etc.). My final goal is to extract the decoded frames and pass it to another application. So I want to make this into one library who\se methods I can access

I am trying to compile a static build of using libavcodec headers. I created libavcodec.a and other .a files using ffmpeg configure and make options.

My main files does a basic call like av_register_all(). Then I try gcc -c main.c. And then gcc main.o libavcodec.a libavutil.a libavformat.a -o main.

It gives me a ton of errors, all undefined references in various parts of code. I remember doing this with .so libraries but cant figure out this one.

Please help!!
vineet89 is offline   Reply With Quote
Old 26th August 2011, 06:55   #2  |  Link
Registered User
J_Darnley's Avatar
Join Date: May 2006
Posts: 957
What other libraries were used in ffmpeg? libmp3lame for example. You need to link to those too. Watch which libs are linked to when ffmpeg is compiled then do the same yourself. Alternatively, use pkg-config, or read the *.pc files yourself.
x264 log explained || x264 deblocking how-to
preset -> tune -> user set options -> fast first pass -> profile -> level
Doom10 - Of course it's better, it's one more.
J_Darnley is offline   Reply With Quote

compile, error, ffmpeg

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 15:06.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.