Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multimedia overlay (mplayer-cvs, x264-svn, gpac-cvs)
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
xepk
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2005
Posts: 124

PostPosted: Tue Sep 20, 2005 3:39 am    Post subject: Multimedia overlay (mplayer-cvs, x264-svn, gpac-cvs) Reply with quote

Gentoo Portage Multimedia Overlay

About

The following is a series of unsupported multimedia ebuilds for Gentoo portage that are either updated versions, live CVS/SVN packages, or have updated features not included in the official portage tree.

What's Included?
The included ebuilds are mentioned below or you can browse the overlay.
  • gpac-cvs: Live gpac CVS ebuild including a full set of use flags.
  • x264-svn: Live x264 (H.264 encoder) ebuild including support for visualization, threads, and mp4 output.
  • mplayer-9999: Live mplayer SVN ebuild including x264 support and an experimental patch for menu support..
  • pgcedit, the swiss army knife of DVD editing
  • libvorbis-1.1.1, including a USE-activated patch for aoTuV 4.51 beta.
  • kasound-0.5, a KDE front end to .asoundrc files.
  • kdvdbackup-0.6, a KDE-based dvd ripping utility.
  • lame 3.97beta2
  • avidemux-2.1.2, new upstream version including x264 support.
  • avidemux-22000, live CVS ebuild for the 2.2 branch.
  • dvdisaster, a DVD and CD analysis and data recovery utility.

How to use?
You can get the overlay in your tree by rsync or http. To activate the overlay:
Code:
# mkdir /usr/local/portage
# cd /usr/local/portage
# tar xvjf kpex-media-overlay-200xxxxx.tar.bz2    (tarball method) or
# rsync -rptvW rsync://kpex.no-ip.org/kpex-media .   (rsync method)
# echo PORTDIR_OVERLAY=\"/usr/local/portage\"" >> /etc/make.conf

Warning: Live SVN/CVS ebuilds are dangerous, and are never guaranteed to build. ebuilds that make it into a tarball snapshot have usually been somewhat tested and should build. However if you're using rsync you might grab something which is still in progress and is not guaranteed to work at all. Please see this page for the changelog and latest updates.

Original post text:
Hey,

Here's a media overlay including ebuilds for mplayer-cvs, x264-svn, gpac-cvs, lame 3.97beta, and libvorbis-1.1.1 with the aoTuV b4 patch. (hopefully more packages to come soon)

The mplayer build is basically the portage 1.0pre7-r1 ebuild modified to use live CVS (including checking out a fresh copy of libavcodec/libavformat) and adding the x264 use flag.

The x264-svn ebuild is a modification of Surye's x264-svn ebuild, adding dependencies on gpac-cvs for mp4 output and yasm for amd64. (mp4 output builds, but is rather untested, I don't use x264 mp4 output)

gpac-cvs is based on the gpac-0.2.1 ebuild in portage, modified to configure correctly (gpac uses a really weird configure script) and to ensure the -mozilla flag works.

lame-3.97beta is also included. All ebuilds support ~amd64 and ~x86 only. To use:
Code:
# mkdir /usr/local/portage
# cd /usr/local/portage
# tar xvjf kpex-media-overlay-20050929.tar.bz2
# echo "PORTDIR_OVERLAY=\"/usr/local/portage\"" >> /etc/make.conf
Then emerge away. Let me know of any problems :wink:

Overlay tarball ( See below for updates )


Last edited by xepk on Tue Jun 06, 2006 1:55 am; edited 19 times in total
Back to top
View user's profile Send private message
xepk
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2005
Posts: 124

PostPosted: Tue Sep 20, 2005 10:40 pm    Post subject: Reply with quote

Update: now includes an updated libvorbis 1.1.1 ebuild including the aotuv use flag, which when activated will patch libvorbis to Aoyumi's aoTuV beta4 version (http://geocities.jp/aoyoume/aotuv/). Link is in the first post.
Back to top
View user's profile Send private message
xepk
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2005
Posts: 124

PostPosted: Fri Sep 30, 2005 12:48 am    Post subject: Reply with quote

Update: removed the MP4 patch from x264-svn since it's now included in upstream SVN.
Back to top
View user's profile Send private message
xepk
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2005
Posts: 124

PostPosted: Wed Oct 19, 2005 1:49 am    Post subject: Reply with quote

Updated the gpac ebuild to a complete set of use flags. Added aac, ffmpeg, ogg, opengl, svg, ssl, theora, vorbis, and wxwindows use flags. The wxwindows use flag will enable the Osmo4 MP4 player (requires wxGTK-2.6.x). Note that you may have compile problems with use="-svg" for gpac-cvs, I'm looking into it. Tarball link is in the first post.
Back to top
View user's profile Send private message
xepk
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2005
Posts: 124

PostPosted: Tue Oct 25, 2005 9:41 pm    Post subject: Reply with quote

Added kasound, a KDE front end to .asoundrc files. ( http://sourceforge.net/projects/kasound ) Tarball link is in the first post.
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Tue Oct 25, 2005 10:09 pm    Post subject: Reply with quote

xepk wrote:
Added kasound, a KDE front end to .asoundrc files. ( http://sourceforge.net/projects/kasound ) Tarball link is in the first post.


nice! thanks! :)
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
fannus
n00b
n00b


Joined: 12 Jan 2003
Posts: 25

PostPosted: Mon Nov 07, 2005 12:30 am    Post subject: Reply with quote

Just in case anyone has the same (very frustrating) problem I did with mplayer failing to compile because of an undefined symbol in a52_syncinfo, in the function parse_audio, just make sure to compile with the a52 USE flag set, in fact I think most people who aren't accepting the ~x86 keyword will get errors, if so, this should work:

Code:

ACCEPT_KEYWORDS="~x86" USE="svg a52" emerge -av lame gpac-cvs x264-svn mplayer-cvs


I hope this saves people the few hours of annoyance that was inflicted upon me.
Back to top
View user's profile Send private message
xepk
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2005
Posts: 124

PostPosted: Mon Nov 07, 2005 4:00 pm    Post subject: Reply with quote

fannus wrote:
Just in case anyone has the same (very frustrating) problem I did with mplayer failing to compile because of an undefined symbol in a52_syncinfo, in the function parse_audio, just make sure to compile with the a52 USE flag set, in fact I think most people who aren't accepting the ~x86 keyword will get errors, if so, this should work:

Code:

ACCEPT_KEYWORDS="~x86" USE="svg a52" emerge -av lame gpac-cvs x264-svn mplayer-cvs


I hope this saves people the few hours of annoyance that was inflicted upon me.
Interesting. maybe that's why there's no a52 use flag in the portage ebuild. I'll probably remove it.
Back to top
View user's profile Send private message
xepk
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2005
Posts: 124

PostPosted: Tue Nov 08, 2005 12:15 am    Post subject: Reply with quote

Added: libvorbis patch updated to aoTuV b4.5 ( http://www.geocities.jp/aoyoume/aotuv/ )
Removed: a52 use flag from mplayer-cvs
Tarball


Edit: Almost forgot, theora seems to be broken in current CVS of mplayer (building against 1.0alpha5). Recommend disabling the theora use flag until this is resolved.
Back to top
View user's profile Send private message
xepk
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2005
Posts: 124

PostPosted: Tue Nov 08, 2005 1:56 am    Post subject: Reply with quote

Added: kdvdbackup-0.6, a graphical KDE-based dvd ripping utility. ( http://agmanager.sourceforge.net/kdvdbackup.html )

Tarball
Back to top
View user's profile Send private message
Tane
n00b
n00b


Joined: 25 Sep 2005
Posts: 14

PostPosted: Thu Nov 17, 2005 11:15 am    Post subject: Reply with quote

You might want to modify gtk-deps for mplayer, it has been ported to build agaist gtk2 some time ago. Keep up the good work.
Back to top
View user's profile Send private message
xepk
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2005
Posts: 124

PostPosted: Thu Nov 24, 2005 5:49 pm    Post subject: Reply with quote

Tane wrote:
You might want to modify gtk-deps for mplayer, it has been ported to build agaist gtk2 some time ago. Keep up the good work.
Done, bumped mplayer-cvs to -r3.

Added synaptics-0.14.4, new upstream version not yet in portage.

Also added libdvdread-0.9.4-r2, which make sure dvd_udf.h is installed (needed for kdvdbackup ebuild). Tarball.
Back to top
View user's profile Send private message
Tane
n00b
n00b


Joined: 25 Sep 2005
Posts: 14

PostPosted: Sun Nov 27, 2005 9:32 pm    Post subject: Reply with quote

Oh, you should bump up glib also as it is a gtk+-dep.
Back to top
View user's profile Send private message
zeroclip
n00b
n00b


Joined: 02 Apr 2004
Posts: 38

PostPosted: Fri Dec 02, 2005 11:21 pm    Post subject: Reply with quote

Thanks for this great overlay! Been using it for a while.
Getting this error on gpac-cvs though. Any suggestions? :)

Quote:

>>> Install gpac-cvs-0.1-r1 into /var/tmp/portage/gpac-cvs-0.1-r1/image/ category media-video
install -d "/var/tmp/portage/gpac-cvs-0.1-r1/image//usr/bin"
install -s -m 755 bin/gcc/MP4Box "/var/tmp/portage/gpac-cvs-0.1-r1/image//usr/bin"
install: cannot stat `bin/gcc/MP4Box': No such file or directory
make: *** [install] Error 1

!!! ERROR: media-video/gpac-cvs-0.1-r1 failed.
!!! Function src_install, Line 146, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
xepk
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2005
Posts: 124

PostPosted: Mon Dec 05, 2005 9:21 pm    Post subject: Reply with quote

zeroclip wrote:
Thanks for this great overlay! Been using it for a while.
Getting this error on gpac-cvs though. Any suggestions? :)

Quote:

>>> Install gpac-cvs-0.1-r1 into /var/tmp/portage/gpac-cvs-0.1-r1/image/ category media-video
install -d "/var/tmp/portage/gpac-cvs-0.1-r1/image//usr/bin"
install -s -m 755 bin/gcc/MP4Box "/var/tmp/portage/gpac-cvs-0.1-r1/image//usr/bin"
install: cannot stat `bin/gcc/MP4Box': No such file or directory
make: *** [install] Error 1

!!! ERROR: media-video/gpac-cvs-0.1-r1 failed.
!!! Function src_install, Line 146, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Thanks for the feedback. Can you provide the output of:
Code:
# emerge -pv gpac-cvs
and I'll check it with your use flags. I'm not doing anything funky with the install section so this is probably either an upstream problem or a problem with cvs. Either way I'll have a look later tonight.

Edit: gpac CVS isn't building at the moment, looks like an upstream API change in libgpac.
Back to top
View user's profile Send private message
madman2003
Apprentice
Apprentice


Joined: 20 Feb 2005
Posts: 178

PostPosted: Mon Dec 19, 2005 9:03 pm    Post subject: Reply with quote

Keep up the effort. Aotuv 4.51 is out, version bump was easy.
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Fri Dec 30, 2005 3:37 pm    Post subject: Reply with quote

Thanks for creating these ebuilds ;-).

I am on AMD64-X2 and I noticed this:
man mplayer wrote:
threads=<1-4>
Split each frame into slices and encode them in parallel (default: 1). Also allows multithreaded de-
coding if the decoder supports it (lavc does not). This has a slight penalty to compression. Re-
quires that libx264 was compiled with pthread support; if not, this option will produce a warning and
enable slices but not multithreading.

Anyone managed to get this to work?

EDIT: BTW, I did use USE="threads" for x264-svn, but nonetheless I get
Code:
$ mencoder -o test.avi -ovc x264 -x264encopts pass=1 -nosound bla.avi
...
x264 [warning]: not compiled with pthread support!
x264 [warning]: multislicing anyway, but you won't see any speed gain.
...
Back to top
View user's profile Send private message
xepk
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2005
Posts: 124

PostPosted: Sat Dec 31, 2005 12:37 am    Post subject: Reply with quote

R!tman wrote:
Thanks for creating these ebuilds ;-).

I am on AMD64-X2 and I noticed this:
man mplayer wrote:
threads=<1-4>
Split each frame into slices and encode them in parallel (default: 1). Also allows multithreaded de-
coding if the decoder supports it (lavc does not). This has a slight penalty to compression. Re-
quires that libx264 was compiled with pthread support; if not, this option will produce a warning and
enable slices but not multithreading.

Anyone managed to get this to work?

EDIT: BTW, I did use USE="threads" for x264-svn, but nonetheless I get
Code:
$ mencoder -o test.avi -ovc x264 -x264encopts pass=1 -nosound bla.avi
...
x264 [warning]: not compiled with pthread support!
x264 [warning]: multislicing anyway, but you won't see any speed gain.
...
Thanks for the thanks. Try re-compiling mplayer/mencoder after emerging x264 with the threads flag, this should take care of the pthreads error.
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Sat Dec 31, 2005 2:34 am    Post subject: Reply with quote

@xepk: Thanks for the thanks for the thanks ;-)!

... and thanks for the tip, it works now:
Code:
...
x264 [info]: slice I:6     Avg QP:27.83  size:  4520
x264 [info]: slice P:613   Avg QP:26.72  size:  1443
x264 [info]: mb I  I16..4: 62.9% 32.7%  4.4%
x264 [info]: mb P  I16..4:  6.4%  2.1%  0.3%  P16..4: 20.5%  4.1%  0.7%  0.0%  0.0%    skip:65.7%
x264 [info]: 8x8 transform  intra:25.1%  inter:81.4%
x264 [info]: kb/s:294.6
Back to top
View user's profile Send private message
xepk
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2005
Posts: 124

PostPosted: Sat Dec 31, 2005 3:32 pm    Post subject: Reply with quote

Update:
  • Bumped lame to 3.97 beta2
  • Bumped libvorbis to aotuv 4.51
  • Bumped glib dep for mplayer-cvs
Tarball
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Sat Dec 31, 2005 3:38 pm    Post subject: Reply with quote

Moved from Multimedia to Unsupported Software.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
thoffmeyer
Apprentice
Apprentice


Joined: 11 Apr 2004
Posts: 208
Location: GMT -5 Hours

PostPosted: Sun Jan 01, 2006 2:47 am    Post subject: Reply with quote

Compiled just find and sexy, love the gtk2

------------------------------------------------

Trying the mplayer-cvs ebuild now :)
_________________
Conrad Guide, Current Maintainer

Join us on IRC
Server: irc.freenode.net
Channel: #conrad
Back to top
View user's profile Send private message
xepk
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2005
Posts: 124

PostPosted: Tue Jan 03, 2006 5:48 am    Post subject: Reply with quote

Update:
  • Added avidemux-2.1.0 and avidemux-9999 (live SVN for 2.1 branch) including x264 and esd use flags. Warning: These ebuilds do not include the gentoo-avidemux-patches. If you need any of these fixes you're better off waiting for an official 2.1.0 ebuild. Also, these avidemux ebuilds are not building currently with esd or sdl USE flags activated. I haven't investigated whether this is an ebuild problem or an upstream problem since I don't use either of these flags. Any feedback appreciated.
Tarball
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Tue Jan 03, 2006 10:23 am    Post subject: Reply with quote

I am thinking about switching to x264 for all my encoding stuff. But somehow this
http://developers.videolan.org/x264.html wrote:
BIG FAT WARNING: x264 is still in early development stage

scares me a little.
Furthermore, I read that some H264 standarts were not yet implented in x264.
Aside from that, x264 has not even been included in the unstable gentoo branch (x264-svn is ~amd64/~x86, but it is not usable with any player), which is why xepk is providing us with these awesome ebuilds ;-).

So, I would like to know if you guys think that x264 is mainstream-ready or if it just a nice little thing for testing.

Oh, I still have another question: For xvid, I could use negative values for bitrate to set the filesize of the output video. Does anything like this exist for x264 too or do I have to calculate myself?
Back to top
View user's profile Send private message
Kuroki Kaze
n00b
n00b


Joined: 16 Aug 2005
Posts: 19
Location: Net-Sphere

PostPosted: Tue Jan 03, 2006 11:25 am    Post subject: Reply with quote

xepk: can you edit first post to add all changes in your pack (just look on glibc & xorg posts)
_________________
Blame!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 1 of 10

 
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