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

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Nikoli
n00b
n00b


Joined: 13 Nov 2007
Posts: 35

PostPosted: Sat Feb 06, 2010 5:57 pm    Post subject: mplayer2 package Reply with quote

"The mplayer2 project is an advanced general-purpose video player. A fork of the original MPlayer project it contains significant further development and supports a number of features not available in other Unix players."

Homepage: http://www.mplayer2.org/
Comparison with MPlayer: http://www.mplayer2.org/comparison.html
Gentoo bug: https://bugs.gentoo.org/312295
Git: http://git.mplayer2.org/mplayer2/ http://git.mplayer2.org/mplayer2-build/
Git mirror: http://repo.or.cz/w/mplayer.git http://repo.or.cz/w/mplayer-build.git

Noticeable features:
1) ffmpeg-mt (Multithreaded) - plays 1080p fine at nvidia ion without vpdau.
2) pause video, change volume or any other settings and it will stay paused.
3) matroska ordered chapters, external chapters (Many anime torrents use it.)
4) ability to build with shared ffmpeg libraries.


Update 1
In official overlay now: http://gitorious.org/gentoo-multimedia/gentoo-multimedia/trees/master/media-video/mplayer2
if you want it as the only mplayer in system, use smplayer from same overlay, kde-base/mplayerthumbs now by default uses phonon, disable 'mplayer' USE.
Update 2
http://www.mplayer2.org/ is official website now, 2.0-rc2 was released, renamed
package to mplayer2.


Last edited by Nikoli on Tue Mar 22, 2011 6:22 am; edited 6 times in total
Back to top
View user's profile Send private message
AzraelNewtype
n00b
n00b


Joined: 07 May 2007
Posts: 22

PostPosted: Wed Mar 17, 2010 6:48 pm    Post subject: Reply with quote

This doesn't build without an x264-git ebuild in your tree, where'd you get that?
Back to top
View user's profile Send private message
Nikoli
n00b
n00b


Joined: 13 Nov 2007
Posts: 35

PostPosted: Mon Mar 22, 2010 10:34 am    Post subject: Reply with quote

For building you can:
1) Use ebuild http://pub.nikoli.msk.ru/portage-overlay/media-libs/x264-git/x264-git-9999.ebuild
2) Change x264suf="-git" to x264suf="" in mplayer-git-9999.ebuild
3) USE="-x264" or USE="-encode" emerge mplayer-git
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54218
Location: 56N 3W

PostPosted: Mon Mar 22, 2010 6:37 pm    Post subject: Reply with quote

Moved from Multimedia to Unsupported Software.

Since builds from live repositories may not even compile.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Nikoli
n00b
n00b


Joined: 13 Nov 2007
Posts: 35

PostPosted: Tue Jun 22, 2010 8:30 am    Post subject: Reply with quote

in official overlay now: http://gitorious.org/gentoo-multimedia/gentoo-multimedia/trees/master/media-video/mplayer-uau
p.s. if you want it as the only mplayer in system, use smplayer from same overlay, kde-base/mplayerthumbs now by default uses phonon, disable 'mplayer' USE.
Back to top
View user's profile Send private message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1080

PostPosted: Wed Jul 07, 2010 6:10 pm    Post subject: Reply with quote

Thank you for that. mplayer-uau totally fixed my issue with dropped frames. I installed smplayer from the multimedia overlay because I'd like to use mplayer-uau exclusively, but I get "mplayer finished unexpectedly" whenever I try to play a video. Could you explain what else I need to do?
Back to top
View user's profile Send private message
Nikoli
n00b
n00b


Joined: 13 Nov 2007
Posts: 35

PostPosted: Thu Jul 08, 2010 2:46 pm    Post subject: Reply with quote

Code:
USE="symlink" emerge -v media-video/mplayer-uau

or change path to /usr/bin/mplayer-uau in smplayer settings.
Back to top
View user's profile Send private message
Shiggity
n00b
n00b


Joined: 24 Jan 2009
Posts: 12

PostPosted: Sun Jul 18, 2010 9:21 pm    Post subject: Reply with quote

Hey all,
I've been having a lot of trouble getting this working... My friend (via ssh) and I until the wee hours of the morning could not get it past libswscale no matter what we did. Any ideas? It seems to not be linking to that lib. We've even gone into the ebuild and manually installed libswscale.a to/usr/lib64 and it would still fail the overall compile.

I'd really like to have this working. I'd like mplayer to take advantage of all 4 of my Core i5's cores. I don't know if this'll fix it, but mplayer non-MT doesn't seem to like FLAC 5.1 6-channel audio, and I'd rather not use command line arguments each time to get the file playing properly.

This is entirely unrelated to this post, but once I finish here I'm going to try and get it working on OS X. I found a forum where it's being discussed.

Output of compilation attempt (apparently it's too much for a single pastebin):

http://darwinanime.kicks-ass.net/Stuff/mplayer-uau-fail.txt

I know I could have just included the bit where it dies, but I thought having the entire thing would be beneficial.

Thanks,
Shiggitay
Back to top
View user's profile Send private message
Nikoli
n00b
n00b


Joined: 13 Nov 2007
Posts: 35

PostPosted: Mon Jul 19, 2010 1:00 am    Post subject: Reply with quote

Show 'emerge --info mplayer-uau', try building with USE="-custom-cflags -custom-cpuopts". Please also test with USE="-*" and USE="-custom-cflags -custom-cpuopts external-ffmpeg".
Back to top
View user's profile Send private message
Shiggity
n00b
n00b


Joined: 24 Jan 2009
Posts: 12

PostPosted: Mon Jul 19, 2010 1:03 am    Post subject: Reply with quote

Nikoli wrote:
Show 'emerge --info mplayer-uau', try building with USE="-custom-cflags -custom-cpuopts". Please also test with USE="-*" and USE="-custom-cflags -custom-cpuopts external-ffmpeg".


Thanks! I'll do that soon.
Back to top
View user's profile Send private message
Shiggity
n00b
n00b


Joined: 24 Jan 2009
Posts: 12

PostPosted: Mon Jul 19, 2010 3:41 am    Post subject: Reply with quote

Okay. I'm about to try it. Edits coming soon.

Okay:

emerge --info mplayer-uau

Shiggitys_Core_i5 shiggity # emerge --info mplayer-uau
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.32-gentoo-r5 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-r5-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 18 Jul 2010 06:10:01 +0000
app-shells/bash: 4.1_p7
dev-java/java-config: 2.1.10
dev-lang/python: 2.6.5-r2, 3.1.2-r3
dev-util/cmake: 2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.6.1-r1
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13, 2.65-r1
sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.18-r3, 2.20, 2.20.1-r1
sys-devel/gcc: 4.3.4, 4.4.2, 4.4.3-r2, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.10
virtual/os-headers: 2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/wirelay /var/lib/layman/mpd /var/lib/layman/desktop-effects /var/lib/layman/voyageur /var/lib/layman/games /var/lib/layman/gamerlay /var/lib/layman/vmware /var/lib/layman/multimedia /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi addns alsa amd64 ao aotuv apache2 artworkextra aspell audiofile avahi bash-completion bazaar beagle berkdb bluetooth bonjour bzip2 cairo caps cdda cddb cdio cdparanoia cdr chardet cleartype cli consolekit cracklib crypt cue cups curl custom-cflags custom-optimization cvs cxx dbus desktopglobe device-mapper dirac directv djvu dri dtmf dts dv dvb dvd embedded emerald exif extras faac faad fam fbcondecor ffmpeg fftw firefox fluidsynth fontconfig fortran fpx frei0r fts3 fuse gdbm gdu gimp git glade glitz gnome gnutls gphoto2 gpm graphite graphviz gs gsm gstreamer gtk guile h323 hal hddtemp hdri hotpixels howl-compat icecast iconv id3tag ieee1394 imagemagick ipod ipv6 jack jbig jpeg2k kde kde4 kerberos ladspa lasdpa lash lastfmradio lcms libass libmms libnotify libsamplerate libv4l2 lirc live lm_sensors lqr lzma lzo matroska mdnsresponder-compat melt mercurial midi mikmod mmx mmxext mng modplug modules mono mp3tunes mplayer msn mtp mudflap multilib multislot multitarget musepack mysql nautilus ncurses network networking new-login nls nntp nptl nptlonly offensive old-daemons openexr opengl openmp openssl optimization oscar otr pam pango pcre pdf perl php physfs pipe plugins png policykit portaudio pppd projectm pulseaudio pvr python q32 q8 qt3support qt4 quicktime raw rdp readline reflection rtsp samba sasl schrodinger schroedinger sdl semantic-desktop server session sid sip skype smbsharemodes smp sndfile sound speex spell spl sql sqlite sse sse2 sse4.1 sse4.2 ssl ssse3 startup-notification stream subversion suid svg sysfs syslog tcpd test-programs testbed theora threads thumbnail thunar timidity tools transmitter tta twolame udev unicode unsupported upnp usb userspace v4l v4l2 vamp vcdinfo vdpau vnc wav webkit winbind wma wmf x264 xcb xcomposite xine xorg xosd xscreensaver xv xvid xvmc yahoo zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

...and... I added in those USE flags and it still complains of poor linkage to libswscale. On OS X I got it to work via a pre-compiled binary that was based on the latest SVN checkout. It was somehow integrated with FFMPEG-MT. How would I accomplish that here on Gentoo?
Back to top
View user's profile Send private message
darrenlee
n00b
n00b


Joined: 16 Aug 2010
Posts: 4

PostPosted: Mon Aug 16, 2010 6:05 am    Post subject: Reply with quote

Nikoli wrote:
Show 'emerge --info mplayer-uau', try building with USE="-custom-cflags -custom-cpuopts". Please also test with USE="-*" and USE="-custom-cflags -custom-cpuopts external-ffmpeg".


I have the same problem.
I tried USE="-custom-cflags -custom-cpuopts".But no luck.

=========================================

update:

I updated ffmpeg to 0.6 and tried USE="-custom-cflags -custom-cpuopts external-ffmpeg".It worked.
Thank you very much,Nikoli.
Back to top
View user's profile Send private message
Nikoli
n00b
n00b


Joined: 13 Nov 2007
Posts: 35

PostPosted: Sun Aug 22, 2010 2:06 am    Post subject: Reply with quote

Shiggity, darrenlee, build problem should be fixed upstream now:
http://repo.or.cz/w/FFMpeg-mirror/mplayer-patches.git/commitdiff/9a1fd4945bcbad45bd916366174f774c9fb7a828
Back to top
View user's profile Send private message
Nikoli
n00b
n00b


Joined: 13 Nov 2007
Posts: 35

PostPosted: Mon Mar 21, 2011 1:43 pm    Post subject: Reply with quote

http://www.mplayer2.org/ is official website now, 2.0-rc2 was released, renamed
package to mplayer2.
http://www.mplayer2.org/comparison.html comparison with MPlayer.


Last edited by Nikoli on Tue Mar 22, 2011 6:21 am; edited 1 time in total
Back to top
View user's profile Send private message
alacheesu
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2005
Posts: 113

PostPosted: Mon Mar 21, 2011 10:11 pm    Post subject: Reply with quote

Pretty cool. Installed and ran without any issues, at least so far.
Back to top
View user's profile Send private message
Nikoli
n00b
n00b


Joined: 13 Nov 2007
Posts: 35

PostPosted: Mon Mar 28, 2011 1:51 pm    Post subject: Reply with quote

mplayer2-2.0 released :)
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 528

PostPosted: Tue Mar 29, 2011 8:14 pm    Post subject: Reply with quote

How can I update mplayer to mplayer2?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54218
Location: 56N 3W

PostPosted: Tue Mar 29, 2011 8:56 pm    Post subject: Reply with quote

yellowhat,

mplayer2 is not yet in the official portage tree.

You need to install layman and add the multimedia overlay to your collection. Then
Code:
emerge mplayer2
will install mplayer2 beside mplayer.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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:57 pm    Post subject: Reply with quote

NeddySeagoon wrote:
yellowhat,

mplayer2 is not yet in the official portage tree.
It is in portage now.
http://packages.gentoo.org/package/media-video/mplayer2?ts=2011-03-29T16:31:18Z
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 528

PostPosted: Wed Mar 30, 2011 6:04 am    Post subject: Reply with quote

So there is no way to choose between mplayer and mplayer2 via virtual package?
Anyone tried mplayer2? Any difference?
Back to top
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 850
Location: PL

PostPosted: Wed Mar 30, 2011 7:00 am    Post subject: Reply with quote

mplayer2 feels more fluid when navigating videos, and automatically spreads decoding on available cores.

it also links against its own ffmpeg-mt build, not the system one.
_________________
~amd64
shrink your /usr/portage with squashfs+aufs
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

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

Moved from Unsupported Software to Multimedia as it's now in the Portage tree.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 528

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

Thanks.

I have another question: is there a gui interface with mplayer2 (especially gtk)? Such as gnome-mplayer?
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 528

PostPosted: Wed Mar 30, 2011 8:24 pm    Post subject: Reply with quote

Changing dependence to mplayer2 in gmusicbrowser and gnome-mplayer worked good.
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:10 pm    Post subject: Reply with quote

yellowhat wrote:
I have another question: is there a gui interface with mplayer2 (especially gtk)? Such as gnome-mplayer?

They stripped out the old gui that mplayer still has. Just use gnome-mplayer if it's gtk that you want, or smplayer if you want a qt frontend.
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
Goto page 1, 2  Next
Page 1 of 2

 
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