since a few days I tried to use the fobs c++ wrapper for my application. I installed the fobs-src like the installation instructions and used the libraries from this installation. My problem is now, when I want to link my application, I always get following error: /home/christian/fobs-src/ffmpeg/libavformat/libavformat.a *2002: undefined reference to `avcodec_pix_fmt_to_codec_tag' In function `av_register_all':
This error is only one of more.
I entered the path and the library into the Makefile, but now I really dont know, what I can do.
Has anyone an idea, what I did wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
that may happen when you use the worng libraries order in link command. Make sure libavcodec.a comes after libavformat.a when you link your applicaciont.
Hope that helps.
Cheers,
Jose San Pedro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks for your help. I had another problem and now it is working.
maybe it is a bad question, but I dont find any documentation. Do you know some sites, where I can find a documentation?
Another question: is it possible to convert a mp3 to a wav or a wav to a mp3? or only changing the quality of a codec?
thx
chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
im experiencing the same problem. the fobs compilation went through in the end. Now when i want to integrate it into my own application, i get the same errors like you.
Did you, or anyone else, already find a solution for this?
I would really appreciate it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello,
since a few days I tried to use the fobs c++ wrapper for my application. I installed the fobs-src like the installation instructions and used the libraries from this installation. My problem is now, when I want to link my application, I always get following error: /home/christian/fobs-src/ffmpeg/libavformat/libavformat.a *2002: undefined reference to `avcodec_pix_fmt_to_codec_tag' In function `av_register_all':
This error is only one of more.
I entered the path and the library into the Makefile, but now I really dont know, what I can do.
Has anyone an idea, what I did wrong?
Hi,
that may happen when you use the worng libraries order in link command. Make sure libavcodec.a comes after libavformat.a when you link your applicaciont.
Hope that helps.
Cheers,
Jose San Pedro
Hi,
thanks for your help. I had another problem and now it is working.
maybe it is a bad question, but I dont find any documentation. Do you know some sites, where I can find a documentation?
Another question: is it possible to convert a mp3 to a wav or a wav to a mp3? or only changing the quality of a codec?
thx
chris
hi,
im experiencing the same problem. the fobs compilation went through in the end. Now when i want to integrate it into my own application, i get the same errors like you.
Did you, or anyone else, already find a solution for this?
I would really appreciate it.