Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gst-plugins-ffmpeg ~ libav problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Punchcutter
Guru
Guru


Joined: 11 Feb 2007
Posts: 354

PostPosted: Fri Apr 26, 2013 9:54 pm    Post subject: gst-plugins-ffmpeg ~ libav problem Reply with quote

Trying to do a revdep-rebuild, and keep breaking on gst-plugins-ffmpeg with bizarre compile errors. Configure tells me:
Quote:
configure: WARNING:
======================================================================
WARNING: you have chosen to build gst-ffmpeg against a random
external version of Libav instead of building it against the tested
internal Libav snapshot that is included with gst-ffmpeg.

This is a very bad idea. So bad in fact that words cannot express
just how bad it is. Suffice to say that it is BAD.

The GStreamer developers cannot and will not support a gst-ffmpeg
built this way. Any bug reports that indicate there is an external
version of Libav involved will be closed immediately without further
investigation.

The reason such a setup can't be supported is that the Libav API
and ABI is in constant flux, yet there aren't any official releases
of the Libav library to develop against. This makes it impossible
to guarantee that gst-ffmpeg will work reliably, or even compile,
with a randomly picked version Libav. Even if gst-ffmpeg compiles
and superficially appears to work fine against your chosen external
Libav version, that might just not be the case on other systems, or
even the same system at a later time, or when using decoders,
encoders, demuxers or muxers that have not been tested.

Please do not create or distribute binary packages of gst-Libav
that link against an external ffmpeg. Thank you!
======================================================================

So I guess this is what's causing my problem, but have no idea how to fix it. There are no apparently relevant USE flags. Also, found media-plugins/gst-plugins-libav package and tried to merge this, but get the same sort of error. There's a media-video/libav package, but I imagine this is the "bad" external version of libav that is mentioned in the warning, so I haven't bothered with it.

Any ideas are most welcome and appreciated.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Apr 27, 2013 5:17 pm    Post subject: Reply with quote

Try ffmpeg instead?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sat Apr 27, 2013 10:04 pm    Post subject: Reply with quote

Ant P. wrote:
Try ffmpeg instead?


:roll:There's very little, that could be fixed here, without upstream changing its mind. It has been this way for the last few years - even before that fmpeg/libav disaster ffmpeg was not really ABI stable, so various projects tended to bundle a version of fmpeg they built against.

With the disaster, the situation became even worse, as those two project aren't fully API compatible (mostly due to ego issues on both sides, IMHO).
gst-plugin-ffmpeg, contrary to the name, went with libav, at least since gstreamer 1.0.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Apr 28, 2013 9:25 am    Post subject: Re: gst-plugins-ffmpeg ~ libav problem Reply with quote

Punchcutter wrote:
internal Libav snapshot

The answer is obvious, when one looks at the ebuild.

Code:
--with-system-ffmpeg

Remove that line.
_________________
Improve your font rendering and ALSA sound
Back to top
View user's profile Send private message
trismo
n00b
n00b


Joined: 26 May 2012
Posts: 49

PostPosted: Sun Apr 28, 2013 7:38 pm    Post subject: Reply with quote

gst-plugins-ffmpeg-0.10.13_p201211 use modified source break API ?

@Punchcutter
what exactly is your problem

most distributions use gst-plugins-ffmpeg with external
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sun Apr 28, 2013 8:03 pm    Post subject: Reply with quote

VoidMage wrote:
gst-plugin-ffmpeg, contrary to the name, went with libav, at least since gstreamer 1.0.

That's stupid. Doubly so when there's a separate libav plugin already. Even more so when neither one works.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Apr 28, 2013 10:29 pm    Post subject: Reply with quote

Ant P. wrote:
VoidMage wrote:
gst-plugin-ffmpeg, contrary to the name, went with libav, at least since gstreamer 1.0.

That's stupid. Doubly so when there's a separate libav plugin already. Even more so when neither one works.


Not exactly - I didn't read into this deeper, but the difference is that one sticks to the codecs from the rest of gstreamer set, while the other sticks closer to libav upstream policies in that regard - google for more details.

Edit: sorry, correction - I've confused gst-libav with a different project of a similar name. Also, upstream repo of gst-ffmpeg is now just a symlink to gst-libav.
Well, that's mostly cause I've only got gstreamer-0.10 installed, so was not quite up to date with 1.0 state.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum