How to get latest release on Ubuntu 20.04 focal

Asked by Hunny Puppy

I need to cross compile a program for Windows using Ubuntu and Mingw which depends on ffmpeg, libavcodec and libavformat. I need to use Ubuntu focal so I'm wondering 2 things
1. How do I get the latest packages (6.1.1) for Ubuntu focal since they aren't available in the apt package manager
2. How do I get the ffmpeg .pc and .o/.a files to cross compile using mingw ? Would these be a windows build or ubuntu files I'll need to link using mingw-w64?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ffmpeg Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Ubuntu is no rolling release, so Ubuntu focal will most probably not receive a higher version of ffmpeg in the official Ubuntu repositories. Higher versions of ffmpeg come only with newer Ubuntu releases. Eventually you can find a PPA that provides a higher version for focal.

If you want to compile programs for Linux that use ffmpeg routines, then you usually must install the appropriate .*-dev packages, in your case maybe libavcodec-dev, libavdevice-dev, libavfilter-dev, libavformat-dev, libavresample-dev, libavutil-dev, libpostproc-dev, libswresample-dev, libswscale-dev
I have no knowledge what you have to do when cross-compiling with mingw-w64. Maybe you better try support pages for mingw-w64 or ffmpeg

Can you help with this problem?

Provide an answer of your own, or ask Hunny Puppy for more information if necessary.

To post a message you must log in.