#1256 closed task (fixed)
private ffmpeg libraries for debian
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 1.0 |
Component: | packaging | Version: | trunk |
Keywords: | debian ffmpeg | Cc: |
Description (last modified by )
Let's do the same as what #613 did for RPM: ship an ffmpeg-xpra package with the same version of ffmpeg we support everywhere else.
This will remove the need for patches and all the complications associated with that and will allow us to support most distro versions with just one version of the source.
Related to #1242 (ffmpeg 3.1 API change)
Change History (8)
comment:1 Changed 6 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from Antoine Martin to Smo |
comment:2 Changed 6 years ago by
- r13179 adds swscale so we can link with just our private library rather than mixing our private library for dec_avcodec and the system one for swscale.
- r13189 removes the old patches since we don't try to build against the system provided headers
Also means we can support much older distros like Debian Wheezy and Ubuntu Precise, without any patches! (just with r13180 for libx264 compatibility)
comment:3 Changed 6 years ago by
I've had a chance to try client and server with ubuntu 16.04 xenial will try debian and some older distros when I have a chance.
comment:4 Changed 6 years ago by
There is a problem with yakkety: opencv links against some ffmpeg libraries which conflicts with our private ones. (at first it looked like rpath was not being honoured)
To make matters worse, the ffmpeg version in yakkety (http://packages.ubuntu.com/yakkety/libavcodec-dev - version 3.0.2) is too old so we cannot build dec_avcodec2 against it. (it is missing avcodec_send_packet / avcodec_receive_frame from ffmpeg>=3.1).
So we turn off webcam in yakkety for now: r14347. (we could enable it server-side since that doesn't use opencv at all)
Longer term, we should probably move away from opencv and use native code instead.
Also, r14345 updates to ffmpeg 3.2 (just out).
comment:5 Changed 6 years ago by
Owner: | changed from Smo to Antoine Martin |
---|
Tried building and installing on debian wheezy and jessie.
Needed to add some build requirements in r14399 otherwise all is good on those 2 platforms.
comment:6 Changed 6 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
New beta packages posted with that change. Works for me.
comment:7 Changed 4 years ago by
Follow up: #1751 switching back to system libraries on some distros...
comment:8 Changed 16 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1256
Done in r13010 + r13012 with some related work in r13008 + r13011.
I've built some beta packages with those changes.
The ffmpeg packaging files could be improved to download the source for the specific version being built rather than relying on it being there already (which could make us build the wrong version...) but this will have to do for now.
@smo: over to you, you will need to build and install ffmpeg-xpra on your Debian / Ubuntu build systems.