Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer2 vs mplayer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Tue Mar 29, 2011 2:09 pm    Post subject: mplayer2 vs mplayer Reply with quote

Looks like the mplayer got forked too. And we now have mplayer2 in portage. It doesn't contain mencoder in the current release, but mencoder is slated to be integrated later.

http://www.mplayer2.org/
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
xenon
Guru
Guru


Joined: 25 Dec 2002
Posts: 432
Location: Europe

PostPosted: Tue Mar 29, 2011 3:36 pm    Post subject: Reply with quote

A virtual package would help.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Tue Mar 29, 2011 10:51 pm    Post subject: Reply with quote

xenon wrote:
A virtual package would help.
This is one case where the virtual doesn't make sense since the packages don't provide teh same functionality. mencoder for example is not included in mplayer2.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
xenon
Guru
Guru


Joined: 25 Dec 2002
Posts: 432
Location: Europe

PostPosted: Wed Mar 30, 2011 8:15 am    Post subject: Reply with quote

ppurka wrote:
xenon wrote:
A virtual package would help.
This is one case where the virtual doesn't make sense since the packages don't provide teh same functionality. mencoder for example is not included in mplayer2.

True, in fact packages which need mencoder should depend on the "old" mplayer and not on the virtual. But several packages just need the mplayer binary executable, which is now provided by two different, mutually exclusive packages. In this context, a virtual package makes sense, but not all dependencies should be automatically shifted to it. Would this approach be considered too... messy?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Mar 30, 2011 8:33 am    Post subject: Reply with quote

xenon wrote:
mutually exclusive packages

With my compilation of "mplayer2", it's just an executable, a manpage and a README.

Would hardly be a lot of effort to rename then to mplayer2*, and prevent any conflict ;)
Back to top
View user's profile Send private message
xenon
Guru
Guru


Joined: 25 Dec 2002
Posts: 432
Location: Europe

PostPosted: Wed Mar 30, 2011 10:15 am    Post subject: Reply with quote

PaulBredbury wrote:
xenon wrote:
mutually exclusive packages

With my compilation of "mplayer2", it's just an executable, a manpage and a README.

Would hardly be a lot of effort to rename then to mplayer2*, and prevent any conflict ;)

If you mean you manually compiled and installed mplayer2, then ok. But using portage, mplayer and mplayer2 are indeed mutually exclusive.

For example, trying to (re)install qmmp with the mplayer USE flag, you get this:
Code:
emerge -av qmmp

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

Calculating dependencies... done!
[ebuild  N     ] media-video/mplayer-1.0_rc4_p20110322  USE="3dnow 3dnowext X a52 aalib alsa amr ass bidi bl bs2b cddb cdparanoia dga dirac directfb dts dv dvb dvd dvdnav enca encode faac fbcon ftp gif gsm iconv joystick jpeg jpeg2k ladspa libcaca live lzo mad md5sum mmx mmxext mng mp3 mpg123 network opengl osdmenu oss png pnm quicktime radio rar real rtc rtmp samba schroedinger sdl shm speex sse sse2 tga theora toolame tremor truetype twolame unicode v4l v4l2 vorbis x264 xanim xscreensaver xv xvid xvmc zoran (-altivec) (-aqua) -bindist -bluray -cdio -cpudetection -custom-cpuopts -debug -doc -dxr3 -esd -faad -ggi -ipv6 -jack -libmpeg2 -lirc -nas -nut -openal -pulseaudio -pvr -ssse3 -vdpau (-vidix) -vpx (-win32codecs) -xinerama" VIDEO_CARDS="vesa -mga -s3virge -tdfx" 8,129 kB
[ebuild   R    ] media-sound/qmmp-0.5.0  USE="aac alsa bs2b cdda cover crossfade dbus enca ffmpeg flac ladspa libsamplerate lyrics mad midi mms modplug mplayer* mpris musepack notifier oss projectm scrobbler sndfile tray udev vorbis wavpack -jack -kde -pulseaudio -stereo" 0 kB
[blocks B      ] media-video/mplayer ("media-video/mplayer" is blocking media-video/mplayer2-2.0)

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 8,129 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/mplayer2-2.0::gentoo, installed) pulled in by
    media-video/mplayer2 required by @selected

  (media-video/mplayer-1.0_rc4_p20110322::gentoo, ebuild scheduled for merge) pulled in by
    media-video/mplayer required by (media-sound/qmmp-0.5.0::gentoo, ebuild scheduled for merge)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked


I do have a lot of USE flags enabled for mplayer2, but they're the same I had for mplayer, and I don't see a "incarnate mplayer" USE flag for mplayer2, either ;)
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Wed Mar 30, 2011 11:46 am    Post subject: Reply with quote

Both of you probably have the symlink USE flag enabled globally.

mplayer2 contains files which are exclusive to the files installed by mplayer, unless you enable the symlink USE flag, in which case the binaries get symlinked to mplayer binaries.

EDIT Ok. I ran into the same problem. I had to edit smplayer, gnome-mplayer (and also gmusicbrowser in my own overlay) ebuilds to depend on mplayer or mplayer2. Essentially something like this:
Code:
|| ( media-video/mplayer
     media-video/mplayer2[symlink]
  )
Then I unmerged mplayer and ran
Code:
emerge -1av smplayer gnome-mplayer mplayer2
and everything is fine.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
xenon
Guru
Guru


Joined: 25 Dec 2002
Posts: 432
Location: Europe

PostPosted: Wed Mar 30, 2011 12:56 pm    Post subject: Reply with quote

Ok, so it seems I do have an "incarnate mplayer" USE flag, which is the symlink flag. This said, I stil think there could be a virtual package for gnome-mplayer and the like to depend on, but the alternative approach ppurka used in his ebuilds also makes a lot of sense.
Back to top
View user's profile Send private message
dirkfanick
Apprentice
Apprentice


Joined: 12 Jan 2011
Posts: 201
Location: germany - hamburg

PostPosted: Wed Mar 30, 2011 1:20 pm    Post subject: Reply with quote

Quote:
MEncoder is no longer available

http://www.mplayer2.org/comparison.html

:?
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Wed Mar 30, 2011 1:42 pm    Post subject: Reply with quote

It looks to me like mplayer2 is a one-man-operation, rather than a real fork.
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
xenon
Guru
Guru


Joined: 25 Dec 2002
Posts: 432
Location: Europe

PostPosted: Wed Mar 30, 2011 2:02 pm    Post subject: Reply with quote

Etal wrote:
It looks to me like mplayer2 is a one-man-operation, rather than a real fork.

There's certainly ambiguity and a lack of information about this aspect, but it seems fairly serious. Maybe a one-man-fork?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Wed Mar 30, 2011 7:27 pm    Post subject: Reply with quote

this war start to piss me off bad (as many mplayer & ffmpeg devs were shared, pretty sure it's the ffmpeg war at work there)
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Wed Mar 30, 2011 10:14 pm    Post subject: Reply with quote

krinn wrote:
this war start to piss me off bad (as many mplayer & ffmpeg devs were shared, pretty sure it's the ffmpeg war at work there)

It's not, this mplayer fork actually exists since months ago, maybe even more than a year. It predates the ffmpeg fork by a lot and is in no way related to the happenings around ffmpeg. It's been known as mplayer-uau before, now it simply got renamed to mplayer2 and has gotten a homepage.
Back to top
View user's profile Send private message
dirkfanick
Apprentice
Apprentice


Joined: 12 Jan 2011
Posts: 201
Location: germany - hamburg

PostPosted: Thu Mar 31, 2011 1:36 pm    Post subject: Reply with quote

ffmpeg war?

Where what when and why?
Back to top
View user's profile Send private message
bernd_b
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2003
Posts: 148

PostPosted: Thu Mar 31, 2011 2:05 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-870175-highlight-libav.html
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Thu Mar 31, 2011 7:02 pm    Post subject: Reply with quote

one cannot use mplayer2 without breaking whole lot of other programs, if mplayer2 is indeed a good replacement, then the ebuilds which depends on mplayer needs to be changed to support mplayer2.
without it, only half of the job was done.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Lustmored
Apprentice
Apprentice


Joined: 28 May 2010
Posts: 206
Location: Poland

PostPosted: Thu Mar 31, 2011 8:34 pm    Post subject: Reply with quote

So probably we will see yet another virtual/mplayer soon, huh?
Back to top
View user's profile Send private message
bernd_b
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2003
Posts: 148

PostPosted: Sat Apr 02, 2011 11:18 am    Post subject: Reply with quote

To try mplayer2, I compiled it manually and start it from the source tree. So nothing interferes with existing installation of anything.

I can 't say anything specific about mplayer2 itself:
mplayer2 plays a mp2 file which makes recent mlayer crash, but vice versa I have trouble playing a DVB-recording with 6 channel ac3.

The mencoder replacement of mplayer2 seems to be a "mplayer pipes to ffmpeg" solution. At least codecs and options available seem to me to be the same as ffmpeg itself supplies. So far so interesting, as long as mplayer(2) gives you some more video filter and options (delogo or -speed e.g.) as ffmpeg itself.

Reading several times in the mencoder-user mailing list, that mencoder is not maintained any more, this gives hope that the double pack mplayer as player and encoder may survive...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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