Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

libav vs ffmpeg

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
110 posts
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next
Author
Message
Lustmored
Apprentice
Apprentice
User avatar
Posts: 206
Joined: Fri May 28, 2010 8:10 pm
Location: Poland
Contact:
Contact Lustmored
Website

libav vs ffmpeg

  • Quote

Post by Lustmored » Wed Mar 23, 2011 4:06 pm

Seeing recent news about ffmpeg and libav I'm a bit confused. Does it mean libav is the future of ffmpeg or is it just a fork, that develops new features, that are to be merged into ffmpeg?

Could somebody please clarify the situation, to enable making conscious choice between ffmpeg and libav?

As far as I see, some people tried to take over ffmpeg, but they've failed and they're work is merged into ffmpeg, but there still is project libav lying around. I'm really confused :roll:
Top
audiodef
Watchman
Watchman
User avatar
Posts: 6656
Joined: Wed Jul 06, 2005 1:02 pm
Location: The soundosphere
Contact:
Contact audiodef
Website

  • Quote

Post by audiodef » Wed Mar 23, 2011 5:03 pm

Can you be more specific? The only match to "libav" I see in Portage is "libavc1394", which is very different from ffmpeg.
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Top
ppurka
Advocate
Advocate
Posts: 3256
Joined: Sun Dec 26, 2004 5:05 pm

  • Quote

Post by ppurka » Wed Mar 23, 2011 5:18 pm

OP is probably referring to this: http://lwn.net/Articles/433347/
[topic=797019]emerge --quiet redefined[/topic] | E17 vids: I, II | Now using kde5 | e is unstable :-/
Top
aCOSwt
Bodhisattva
Bodhisattva
Posts: 2537
Joined: Fri Oct 19, 2007 1:48 pm
Location: Hilbert space

Re: libav vs ffmpeg

  • Quote

Post by aCOSwt » Wed Mar 23, 2011 5:52 pm

Lustmored wrote:...I'm a bit confused.
+1
Would this be somehow linked with the creation today of a new virtual/ffmpeg entry in portage ?
Top
Gusar
Advocate
Advocate
Posts: 2665
Joined: Sat Apr 09, 2005 10:19 pm
Location: Slovenia

  • Quote

Post by Gusar » Wed Mar 23, 2011 8:37 pm

libav is a fork. Some people first tried to take over ffmpeg. This didn't work, so they forked.

As to choosing between them... Well, since yesterday ffmpeg has multi-threaded decoding. It also has more video filters.
Top
Lustmored
Apprentice
Apprentice
User avatar
Posts: 206
Joined: Fri May 28, 2010 8:10 pm
Location: Poland
Contact:
Contact Lustmored
Website

  • Quote

Post by Lustmored » Wed Mar 23, 2011 9:51 pm

But the first commit of virtual/ffmpeg had libav as the preferred one. That's mostly confusing part of it. Choosing a new fork as preferred than old good ffmpeg?
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Wed Mar 23, 2011 10:20 pm

libav is run by a thoroughly nasty, litigation-happy group of thugs, and I wouldn't trust their software as far as I could throw it personally.

You're free to take your own risks of course.
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Wed Mar 23, 2011 11:47 pm

Ant P. wrote:libav is run by a thoroughly nasty, litigation-happy group of thugs, and I wouldn't trust their software as far as I could throw it personally.

You're free to take your own risks of course.
Though luck - note, that two of those people are Gentoo devs.
Top
davidm
Guru
Guru
User avatar
Posts: 557
Joined: Sun Apr 26, 2009 4:05 pm
Location: US

  • Quote

Post by davidm » Thu Mar 24, 2011 1:30 pm

I believe it is technically a fork.
VoidMage wrote:
Ant P. wrote:libav is run by a thoroughly nasty, litigation-happy group of thugs, and I wouldn't trust their software as far as I could throw it personally.

You're free to take your own risks of course.
Though luck - note, that two of those people are Gentoo devs.
I noticed at least one. I don't know enough about the situation to take any sides at this point. I am still using the old ffmpeg but will re-evaluate again in a few months.
Top
tomk
Bodhisattva
Bodhisattva
User avatar
Posts: 7221
Joined: Tue Sep 23, 2003 1:41 pm
Location: Sat in front of my computer

Re: libav vs ffmpeg

  • Quote

Post by tomk » Thu Mar 24, 2011 2:35 pm

aCOSwt wrote:Would this be somehow linked with the creation today of a new virtual/ffmpeg entry in portage ?
Yes, see this thread on the gentoo-dev mailing list.
Search | Read | [topic=119906]Answer[/topic] | [topic=28820]Report[/topic] | [topic=160179]Strip[/topic]
Top
pol01
n00b
n00b
Posts: 13
Joined: Tue Nov 27, 2007 9:04 pm

  • Quote

Post by pol01 » Sun Mar 27, 2011 7:05 am

Libav and ffmeg are not install simultaneously.
Do I need manually mask one of them?
Top
Lustmored
Apprentice
Apprentice
User avatar
Posts: 206
Joined: Fri May 28, 2010 8:10 pm
Location: Poland
Contact:
Contact Lustmored
Website

  • Quote

Post by Lustmored » Sun Mar 27, 2011 11:23 am

No, when you install one of them the second will be automatically blocked.

But I have another question - are dependencies prepared for virtual/ffmpeg?
Top
pol01
n00b
n00b
Posts: 13
Joined: Tue Nov 27, 2007 9:04 pm

  • Quote

Post by pol01 » Sun Mar 27, 2011 11:29 am

Lustmored wrote:No, when you install one of them the second will be automatically blocked.

But I have another question - are dependencies prepared for virtual/ffmpeg?
Yes, it will be, but it will be impossible update world)))
Top
gcasillo
l33t
l33t
User avatar
Posts: 739
Joined: Tue Sep 23, 2003 9:21 pm
Location: Cincinnati, Ohio, USA

  • Quote

Post by gcasillo » Sun Mar 27, 2011 6:05 pm

pol01 wrote:Yes, it will be, but it will be impossible update world)))
Which is all I care about. So what's the prescription for resolving these dependencies and getting my emerges back to normal?
Top
pol01
n00b
n00b
Posts: 13
Joined: Tue Nov 27, 2007 9:04 pm

  • Quote

Post by pol01 » Sun Mar 27, 2011 6:12 pm

gcasillo wrote:
pol01 wrote:Yes, it will be, but it will be impossible update world)))
Which is all I care about. So what's the prescription for resolving these dependencies and getting my emerges back to normal?
echo "media-video/libav" >> /etc/portage/package.mask/libav
Top
gcasillo
l33t
l33t
User avatar
Posts: 739
Joined: Tue Sep 23, 2003 9:21 pm
Location: Cincinnati, Ohio, USA

  • Quote

Post by gcasillo » Sun Mar 27, 2011 6:57 pm

pol01 wrote:
gcasillo wrote:
pol01 wrote:Yes, it will be, but it will be impossible update world)))
Which is all I care about. So what's the prescription for resolving these dependencies and getting my emerges back to normal?
echo "media-video/libav" >> /etc/portage/package.mask/libav
This worked for me:

Code: Select all

echo "media-video/libav" >> /etc/portage/package.mask
echo "virtual/ffmpeg threads" >> /etc/portage/package.use
After that, I was able to proceed.
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Sun Mar 27, 2011 7:17 pm

emerging either ffmpeg or libav, whichever you prefer, would have done it, without messing around with package.mask. USE-flags must correlate between virtual and ffmpeg/libav.

Afaik packages depending on media-video/ffmpeg are not yet ready for the move to virtual/ffmpeg and libav, I had to manually move some ebuilds into a local overlay, editing DEPENDS to the virtual.
Last edited by asturm on Sun Mar 27, 2011 9:02 pm, edited 1 time in total.
Top
darkphader
Veteran
Veteran
User avatar
Posts: 1225
Joined: Thu May 09, 2002 11:24 pm
Location: Motown
Contact:
Contact darkphader
Website

  • Quote

Post by darkphader » Sun Mar 27, 2011 8:45 pm

genstorm wrote:USE-flags must correlate between virtual and ffmpeg/libav
That's a key.
If you don't set the use flags that are in virtual/ffmpeg to the same values for your installed ffmpeg or libav then you will always see blockers as emerge will try to install the other package.
WYSIWYG - What You See Is What You Grep
Top
papu
l33t
l33t
Posts: 772
Joined: Fri Jan 25, 2008 3:04 pm
Location: Sota algun pi o alzina...

  • Quote

Post by papu » Mon Mar 28, 2011 12:03 am

in my case and system , only chromium depends on media-video/ffmpeg , it don't detect virtual/ffmpeg, at this time, and make conflict wiht media-video/libva and ffmpeg, then what it's better option to use?
av www-client/chromium

These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild N ] media-video/ffmpeg-0.6_p25767 USE="3dnow 3dnowext X alsa bzip2 encode hardcoded-tables mmx mmxext mp3 sdl ssse3 threads v4l2 vorbis zlib (-altivec) -amr -bindist -cpudetection -custom-cflags -debug -dirac -doc -faac -frei0r -gsm -ieee1394 -jack -jpeg2k -network -oss -pic -qt-faststart -rtmp -schroedinger -speex -static-libs -test -theora -v4l -vaapi -vdpau -vpx -x264 -xvid" VIDEO_CARDS="-nvidia" 3,907 kB
[ebuild N ] www-client/chromium-11.0.696.16 USE="cups -gnome -gnome-keyring -test" 140,736 kB
[blocks B ] media-video/ffmpeg ("media-video/ffmpeg" is blocking media-video/libav-0.7_pre20110327)

Total: 2 packages (2 new), Size of downloads: 144,643 kB
Conflict: 1 block (1 unsatisfied)

* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.

(media-video/ffmpeg-0.6_p25767::gentoo, ebuild scheduled for merge) pulled in by
>=media-video/ffmpeg-0.6_p25767[threads] required by (www-client/chromium-11.0.696.16::gentoo, ebuild scheduled for merge)

(media-video/libav-0.7_pre20110327::gentoo, installed) pulled in by
media-video/libav[X,encode,mp3,sdl,-theora,threads,-vaapi,-vdpau,-x264] required by (virtual/ffmpeg-0::gentoo, installed)

thanks, adéu.
~amd64 && systemd && plasma --cpu 7700 --ram 2x32GB --gpu RX 6600
Top
jbouzan
Tux's lil' helper
Tux's lil' helper
Posts: 138
Joined: Fri Nov 23, 2007 6:18 pm

  • Quote

Post by jbouzan » Mon Mar 28, 2011 3:53 am

You can wait for the chromium maintainer to make the dependency on virtual/ffmpeg instead of media-video/ffmpeg, or copy the ebuild to a local overlay (with a revision number bump) and modify that line in the dependencies yourself.
Top
askoff
Tux's lil' helper
Tux's lil' helper
Posts: 77
Joined: Thu Apr 15, 2004 7:27 pm

  • Quote

Post by askoff » Tue Mar 29, 2011 5:06 pm

And which one of these contains the ffmpeg-mt patch/feature?

EDIT: I see. So it's the original ffmpeg package.
Top
lxg
Veteran
Veteran
User avatar
Posts: 1019
Joined: Sat Nov 12, 2005 3:12 pm
Location: Aachen, Germany
Contact:
Contact lxg
Website

  • Quote

Post by lxg » Tue Mar 29, 2011 9:49 pm

gcasillo wrote:This worked for me:

Code: Select all

echo "media-video/libav" >> /etc/portage/package.mask
echo "virtual/ffmpeg threads" >> /etc/portage/package.use
After that, I was able to proceed.
The latter line appears to be sufficient. (YMMV)
lxg.de – codebits and tech talk
Top
keba
Guru
Guru
User avatar
Posts: 328
Joined: Fri Jun 02, 2006 5:45 pm
Location: Switzerland

  • Quote

Post by keba » Wed Mar 30, 2011 2:11 pm

I've been reading into this, and now I'm not sure which one (Ffmpeg or Libav) I'd better install. So I'm wondering, as objectively as possible, which one is better for the future. :

1) Which one has more (main) developers? (More main developers => faster development)

2) Is there any difference between the two as of now? What are plans for the future of both projects? (They only say something about more improvement on their web pages...)

3) Is Libav fully compatible to ffmpeg, I mean can ffmpeg be fully replaced yet or not (that is if I choose to replace it)?

4) Which one do you recommend?

That should help to choose... Thanks in advance
Prayer can change the world!
Top
forrestfunk81
Guru
Guru
User avatar
Posts: 567
Joined: Tue Feb 07, 2006 12:33 pm
Location: münchen.de

  • Quote

Post by forrestfunk81 » Wed Mar 30, 2011 3:13 pm

FYI Scarabeus bloged about this:
I’ve added media-video/libav ebuild, which is fork of good old ffmpeg. In order to let you users decide what you want to use there also is virtual package called virtual/ffmpeg (which is now being integrated into ebuilds and updated back to versioned virtuals [currently there is just one virtual/ffmpeg with no version specified]) so when everything is migrated to it you can decide yourself if you want the old ffmpeg or the new libav.

The media-video/mplayer2 was added by Luca (lu_zero), but I removed the internal ffmpeg linking since this thing can link to your system ffmpeg (yay!). This change can make quite few of you unhappy because the internal ffmpeg was already ffmpeg-mt (threads!!!!), but technicaly with external linking you can just alter your ffmpeg to be whatever you want it and use the threading features in all apps linking against it. Given that I already like and use mplayer2 and I was the guy who did most snapshot bumps in mplayer1 lately it might be good idea for you lads (at least those in testing) to move with me :)
# cd /pub/
# more beer
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

  • Quote

Post by krinn » Wed Mar 30, 2011 7:06 pm

this is the worst thing i've saw, an howto be like oracle while been opensource...
pretty lame and they should be ashame.
if i understood the story (always hard to really catch all, i'm sure even them aren't sure of everything), some of them were disagreeing the dictator guy was reviewing the code and mostly reject it because "not as good as he could do it", ending with others devs loosing faith.
And because they think they could own the name, they fork and try to grab ffmpeg name and structure (as they were admin the servers), all that just to remove the commiter/reviewer !
Pretty lame, could understand why they do it, coudln't get why they do it like that! Just to remove this guy, was he so dictator that noone could remove him ?
Could understand also why they wish grab the project name, because all users knew that name, while libav will start from 0 on popularity, but it's like they cheat us, without letting us choose. A bit insulting: don't let user choose, they're too dumb, let's just keep the name they will follow like sheeps.

Now if the dictator don't change his habit we should have
- ffmpeg = slow evolution+more speed/stability because of strict coding politic the guy use
- libav = fast evolution, less stability as they (still if i understood clear) wish more functions to be push even not well review/test (still the code will be stabilize and optimize, but later)

On paper, libav should gave better results if they don't put anarchy and build 2 branch unstable/stable

I should go with libav, i will just wait to see if they really could handle it, big project always need a main man (or men) to drive everyone to the right path. I just hope they get away with some guys that could do that instead of just coding.
Top
Post Reply

110 posts
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy