[1/2] gst-ffmpeg: add dependency on libpostproc

Submitted by Martin Jansa on Aug. 6, 2014, 11:41 a.m.

Details

Message ID 1407325317-5030-1-git-send-email-Martin.Jansa@gmail.com
State Accepted
Commit 8765c31cbe1909b8040953e5a90ad454c541eb81
Headers show

Commit Message

Martin Jansa Aug. 6, 2014, 11:41 a.m.
* building with libav-9 fails with:
  | checking for POSTPROC... configure: error: Package requirements (libpostproc libavcodec libavutil) were not met:
  |
  | No package 'libpostproc' found

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bb b/meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bb
index e26b267..748157a 100644
--- a/meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bb
@@ -12,7 +12,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://gst-libs/ext/libav/COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
 LICENSE_FLAGS = "commercial"
 HOMEPAGE = "http://www.gstreamer.net/"
-DEPENDS = "gstreamer gst-plugins-base zlib bzip2 yasm-native"
+DEPENDS = "gstreamer gst-plugins-base zlib bzip2 yasm-native libpostproc"
 
 inherit autotools pkgconfig
 

Comments

Paul Eggleton Aug. 6, 2014, 12:41 p.m.
On Wednesday 06 August 2014 13:41:56 Martin Jansa wrote:
> * building with libav-9 fails with:
>   | checking for POSTPROC... configure: error: Package requirements
>   | (libpostproc libavcodec libavutil) were not met:
>   | 
>   | No package 'libpostproc' found

Does gst-ffmpeg actually work with libav > 0.8?

Cheers,
Paul
Martin Jansa Aug. 6, 2014, 2:37 p.m.
On Wed, Aug 06, 2014 at 01:41:58PM +0100, Paul Eggleton wrote:
> On Wednesday 06 August 2014 13:41:56 Martin Jansa wrote:
> > * building with libav-9 fails with:
> >   | checking for POSTPROC... configure: error: Package requirements
> >   | (libpostproc libavcodec libavutil) were not met:
> >   | 
> >   | No package 'libpostproc' found
> 
> Does gst-ffmpeg actually work with libav > 0.8?

No, not yet (see world status e-mails), but at least this is step
in right direction IMHO and doesn't harm libav-0.8 users.
Paul Eggleton Aug. 6, 2014, 2:42 p.m.
On Wednesday 06 August 2014 16:37:34 Martin Jansa wrote:
> On Wed, Aug 06, 2014 at 01:41:58PM +0100, Paul Eggleton wrote:
> > On Wednesday 06 August 2014 13:41:56 Martin Jansa wrote:
> > > * building with libav-9 fails with:
> > >   | checking for POSTPROC... configure: error: Package requirements
> > >   | (libpostproc libavcodec libavutil) were not met:
> > >   | 
> > >   | No package 'libpostproc' found
> > 
> > Does gst-ffmpeg actually work with libav > 0.8?
> 
> No, not yet (see world status e-mails), but at least this is step
> in right direction IMHO and doesn't harm libav-0.8 users.

I'm just not sure gst-ffmpeg should be allowed to get past this at all if it's 
not currently expected to work. The known working configuration is either 
gst-ffmpeg + libav 0.8.x, or gstreamer1.0-libav + libav > 0.8.x.

Cheers,
Paul
Martin Jansa Aug. 8, 2014, 10:28 a.m.
On Wed, Aug 06, 2014 at 03:42:38PM +0100, Paul Eggleton wrote:
> On Wednesday 06 August 2014 16:37:34 Martin Jansa wrote:
> > On Wed, Aug 06, 2014 at 01:41:58PM +0100, Paul Eggleton wrote:
> > > On Wednesday 06 August 2014 13:41:56 Martin Jansa wrote:
> > > > * building with libav-9 fails with:
> > > >   | checking for POSTPROC... configure: error: Package requirements
> > > >   | (libpostproc libavcodec libavutil) were not met:
> > > >   | 
> > > >   | No package 'libpostproc' found
> > > 
> > > Does gst-ffmpeg actually work with libav > 0.8?
> > 
> > No, not yet (see world status e-mails), but at least this is step
> > in right direction IMHO and doesn't harm libav-0.8 users.
> 
> I'm just not sure gst-ffmpeg should be allowed to get past this at all if it's 

It gets past this when libpostproc is built before gst-ffmpeg, adding
the dependency only makes the failure with libav-9 to be deterministic
(always in the same piece of code).

> not currently expected to work. The known working configuration is either 
> gst-ffmpeg + libav 0.8.x, or gstreamer1.0-libav + libav > 0.8.x.

FWIW here is patchset used by gentoo to make gst-ffmpeg-0.10.13
compatible with libav-9:

http://dev.gentoo.org/~tetromino/distfiles/gst-plugins-ffmpeg/gst-ffmpeg-0.10.13_p2012.11-libav-9-patches.tar.xz
Tim Orling Aug. 9, 2014, 3 a.m.
> On Aug 6, 2014, at 7:42 AM, Paul Eggleton <paul.eggleton@linux.intel.com> wrote:
> 
>> On Wednesday 06 August 2014 16:37:34 Martin Jansa wrote:
>>> On Wed, Aug 06, 2014 at 01:41:58PM +0100, Paul Eggleton wrote:
>>>> On Wednesday 06 August 2014 13:41:56 Martin Jansa wrote:
>>>> * building with libav-9 fails with:
>>>>  | checking for POSTPROC... configure: error: Package requirements
>>>>  | (libpostproc libavcodec libavutil) were not met:
>>>>  | 
>>>>  | No package 'libpostproc' found
>>> 
>>> Does gst-ffmpeg actually work with libav > 0.8?
>> 
>> No, not yet (see world status e-mails), but at least this is step
>> in right direction IMHO and doesn't harm libav-0.8 users.
> 
> I'm just not sure gst-ffmpeg should be allowed to get past this at all if it's 
> not currently expected to work. The known working configuration is either 
> gst-ffmpeg + libav 0.8.x, or gstreamer1.0-libav + libav > 0.8.x.
> 
I commented some time ago that 0.8/gst-ffmpeg should just go away... (Along with X but that's another subject). It just doesn't fit in the trend of multimedia FOSS anymore... Not that xbmc or vlc are ready for ffmpeg to go away... Sigh. Libpostproc is also an orphan in libav world, no activity since 2012. Schisms suck. But we seem to be committed to the libav bus, so keep calm and ride on.

--Tim
Paul Eggleton Aug. 10, 2014, 11:23 a.m.
On Friday 08 August 2014 20:00:30 Tim Orling wrote:
> > On Aug 6, 2014, at 7:42 AM, Paul Eggleton <paul.eggleton@linux.intel.com> 
wrote:
> >> On Wednesday 06 August 2014 16:37:34 Martin Jansa wrote:
> >>> On Wed, Aug 06, 2014 at 01:41:58PM +0100, Paul Eggleton wrote:
> >>>> On Wednesday 06 August 2014 13:41:56 Martin Jansa wrote:
> >>>> 
> >>>> * building with libav-9 fails with:
> >>>>  | checking for POSTPROC... configure: error: Package requirements
> >>>>  | (libpostproc libavcodec libavutil) were not met:
> >>>>  | 
> >>>>  | No package 'libpostproc' found
> >>> 
> >>> Does gst-ffmpeg actually work with libav > 0.8?
> >> 
> >> No, not yet (see world status e-mails), but at least this is step
> >> in right direction IMHO and doesn't harm libav-0.8 users.
> > 
> > I'm just not sure gst-ffmpeg should be allowed to get past this at all if
> > it's not currently expected to work. The known working configuration is
> > either gst-ffmpeg + libav 0.8.x, or gstreamer1.0-libav + libav > 0.8.x.
> 
> I commented some time ago that 0.8/gst-ffmpeg should just go away... (Along
> with X but that's another subject). It just doesn't fit in the trend of
> multimedia FOSS anymore... Not that xbmc or vlc are ready for ffmpeg to go
> away... Sigh. Libpostproc is also an orphan in libav world, no activity
> since 2012. Schisms suck. But we seem to be committed to the libav bus, so
> keep calm and ride on.

Unfortunately I don't think we can really get rid of this until we can get rid 
of gstreamer 0.10, and that has to stay because not everyone has moved over to 
gstreamer 1.0.

Cheers,
Paul