Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mpv and dependency on mplayer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
init3
n00b
n00b


Joined: 26 Dec 2013
Posts: 21

PostPosted: Sun Mar 22, 2015 11:26 am    Post subject: mpv and dependency on mplayer Reply with quote

Following news item:
Code:
2015-02-01  ffmpeg/libav conflict management: USE=libav

I see media-video/mpv as recommended libav replacement for media-video/mplayer.
But if it is real replacement, it should satisfy dependency on media-video/mplayer (or not?).
Last week, when I've tried to migrate on libav, dependencies on media-video/mplayer were one thing made me stay on ffmpeg yet.
_________________
Excuse me my English.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Sun Mar 22, 2015 11:38 am    Post subject: Reply with quote

There is no virtual/mplayer, so mpv can not satisfy it. You would need to find out what package is depending on media-video/mplayer, see if it could alternatively work with mpv (it might just need a rebuild to accept it) or remove it in case you don't need it.
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sun Mar 22, 2015 1:54 pm    Post subject: Reply with quote

mpv is not a drop-in replacement for mplayer. It does cover most of the same functionality, since it is a fork of mplayer after all. But the architecture has changed quite a bit, and a number of the commandline options have changed.

What do you use that depends on mplayer?
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
init3
n00b
n00b


Joined: 26 Dec 2013
Posts: 21

PostPosted: Sun Mar 22, 2015 4:40 pm    Post subject: Reply with quote

yngwin wrote:
What do you use that depends on mplayer?

Excuse me, I was mistaken.

For now I have three packages with non-conditional dependency on virtual/ffmpeg:
Code:
media-video/kino-1.3.4 (virtual/ffmpeg)
media-video/transcode-1.1.7-r3 (>=virtual/ffmpeg-0.10)
                               (postproc ? >=virtual/ffmpeg-0.10)
x11-libs/libvdpau-va-gl-9999 (virtual/ffmpeg)

AFAIR at least kino works with libav.
_________________
Excuse me my English.
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Sun Mar 22, 2015 5:24 pm    Post subject: Reply with quote

virtual/ffmpeg is not a hard dependency on media-video/ffmpeg

all the virtual is doing, is allowing either ffmpeg or libav (though I suspect that virtual may be soon on it's way out the door)
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Sun Mar 22, 2015 6:37 pm    Post subject: Reply with quote

ct85711 wrote:
virtual/ffmpeg is not a hard dependency on media-video/ffmpeg

all the virtual is doing, is allowing either ffmpeg or libav (though I suspect that virtual may be soon on it's way out the door)
it should be as ffmpeg and libav are not compatible...
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
gcyoung
Apprentice
Apprentice


Joined: 04 Jul 2007
Posts: 170
Location: England

PostPosted: Tue May 05, 2015 10:29 am    Post subject: Reply with quote

It seems the ffmpeg v libav controversy has now mucked up mpv. I had religiously converted all to libav, on being informed that it was to be the default, and dropped mplayer,smplayer,mencoder,etc. in favour of mpv, which I found to be a great improvement, even if it had no frontend.

I now find the favourite is to be ffmpeg. On the latest "sync", I find that mpv requires a version of ffmpeg which will block libav. It's all a bit beyond my limited understanding! The only way I could get a resolved update of my system was to remove mpv.

I'm all for choice, but it seems in this instance it has only led to confusion.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Tue May 05, 2015 10:40 am    Post subject: Reply with quote

gcyoung wrote:
It seems the ffmpeg v libav controversy has now mucked up mpv. I had religiously converted all to libav, on being informed that it was to be the default, and dropped mplayer,smplayer,mencoder,etc. in favour of mpv, which I found to be a great improvement, even if it had no frontend.

I now find the favourite is to be ffmpeg. On the latest "sync", I find that mpv requires a version of ffmpeg which will block libav. It's all a bit beyond my limited understanding! The only way I could get a resolved update of my system was to remove mpv.

I'm all for choice, but it seems in this instance it has only led to confusion.
the solution is to remove libav, set the USE flags correctly, emerger ffmpeg, re-emerve mpv.

mpv works fine with ffmpeg & recomend it.
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
gcyoung
Apprentice
Apprentice


Joined: 04 Jul 2007
Posts: 170
Location: England

PostPosted: Tue May 05, 2015 8:08 pm    Post subject: Reply with quote

Where did I hear that libav was to be the great new media library?

Gentoo news has stated that both libav and ffmpeg would be possible. Apparently not. So now it's a fresh install back to ffmpeg.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Tue May 05, 2015 8:38 pm    Post subject: Reply with quote

Any statement that libav is the greatest was purely propaganda (and those responsible should be held accountable)

Where did you hear that they could coexist? The Gentoo news was very explicit that they couldn't

You do not need a re-install to straightened this mess out. Just correct the USE flags, emerge a few things and bam
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Tue May 05, 2015 8:39 pm    Post subject: Reply with quote

It was a while back in that libav was going to be the new media library when ffmpeg appeared to be dieing off. However, ffmpeg became more active not too long after libav started (libav was a branch off of ffmpeg, but refuses to stop using the namespace ffmpeg has been using since the start). You can use either libav or ffmpeg, nothing has changed ever on that account. You have never been able to use both at the same time because they are using the same namespace, and until that stops happening you won't be able to use both at the same time either.
Back to top
View user's profile Send private message
gcyoung
Apprentice
Apprentice


Joined: 04 Jul 2007
Posts: 170
Location: England

PostPosted: Tue May 05, 2015 9:37 pm    Post subject: Reply with quote

for the benifit of Naib above, I quote:

"Since the choice between ffmpeg and libav has been made more
explicit, there has been a lot of discussion about what the
default implementation should be. It can be concluded that
media-video/ffmpeg has wider support, and would be somewhat
more convenient for most end-users.

For this reason the default implementation has been switched
back from media-video/libav to media-video/ffmpeg by removing
the libav useflag from the base profile.

If the libav useflag is already globally enabled or disabled
in /etc/portage/make.conf, then no further action is required.

Users who implicitly relied on libav being enabled in their
profile, and who wish to continue using libav, should enable
USE=libav in their /etc/portage/make.conf file."


This is a relatively recent message. I could not get rid of ffmpeg. I followed the final paragraph and received apparently ublockable blockers to my mongrelised system on my next update. However, with the suggestion given above, removing libav and installing ffmpeg has proved simpler than I anticipated, so I shall stick to that.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Tue May 05, 2015 9:40 pm    Post subject: Reply with quote

and the reason is libav is a trainwreck and should never have been made the default (actively so) let alone the propaganda spun by gentoo dev's around the topic (within libav as well).

read this entire thread ( https://forums.gentoo.org/viewtopic-t-1010096.html ) It was also only 18threads down from this one and for quite some time top of this section.
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Wed May 06, 2015 8:11 am    Post subject: Reply with quote

gcyoung wrote:
It seems the ffmpeg v libav controversy has now mucked up mpv. I had religiously converted all to libav, on being informed that it was to be the default, and dropped mplayer,smplayer,mencoder,etc. in favour of mpv, which I found to be a great improvement, even if it had no frontend.

I now find the favourite is to be ffmpeg. On the latest "sync", I find that mpv requires a version of ffmpeg which will block libav. It's all a bit beyond my limited understanding! The only way I could get a resolved update of my system was to remove mpv.

I'm all for choice, but it seems in this instance it has only led to confusion.

MPV can use either libav or ffmpeg, though the upstream developers recommend ffmpeg. If you are using stable mpv, then you may find you need a testing version of libav, as its stabilization process is slower. Or switch to ffmpeg. But it is still possible to use either.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
gcyoung
Apprentice
Apprentice


Joined: 04 Jul 2007
Posts: 170
Location: England

PostPosted: Wed May 06, 2015 9:49 am    Post subject: Reply with quote

I have looked at the threads referred to above and it seems I have stepped unwittingly into a war! As a simple computer user, rather than a developer, I think I'll keep out of this argument, other than state it might have been better to take tha poll before, rather than after, the default was first set.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Thu May 14, 2015 9:50 am    Post subject: Reply with quote

ct85711 wrote:
You can use either libav or ffmpeg, nothing has changed ever on that account. You have never been able to use both at the same time because they are using the same namespace, and until that stops happening you won't be able to use both at the same time either.

Well it could be done, technically speaking, with rpath for the experimental library (libav, based on the other thread.)
That should have been the approach to bringing it in, hardmasked, from the beginning.

Still, hindsight is 20/20 (which applies to the poll, too.) However, discussing it with users (or in ##workingset) would have brought that approach up as an option.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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