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 Previous  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
fireball-13
n00b
n00b


Joined: 05 Sep 2005
Posts: 61
Location: Moscow, RU

PostPosted: Mon Feb 20, 2006 5:17 pm    Post subject: Reply with quote

emerge mplayer-cvs with jack failed
Code:

libao2/libao2.a(ao_jack.o): In function `outputaudio':
ao_jack.c:(.text+0x43): undefined reference to `jack_port_get_buffer'
libao2/libao2.a(ao_jack.o): In function `init':
ao_jack.c:(.text+0x33c): undefined reference to `jack_client_new'
ao_jack.c:(.text+0x383): undefined reference to `jack_set_process_callback'
ao_jack.c:(.text+0x3ad): undefined reference to `jack_get_ports'
ao_jack.c:(.text+0x443): undefined reference to `jack_port_register'
ao_jack.c:(.text+0x469): undefined reference to `jack_activate'
ao_jack.c:(.text+0x48b): undefined reference to `jack_port_name'
ao_jack.c:(.text+0x4a4): undefined reference to `jack_connect'
ao_jack.c:(.text+0x4c3): undefined reference to `jack_get_sample_rate'
ao_jack.c:(.text+0x4dc): undefined reference to `jack_port_get_total_latency'
ao_jack.c:(.text+0x4ec): undefined reference to `jack_get_buffer_size'
ao_jack.c:(.text+0x5fe): undefined reference to `jack_client_new'
ao_jack.c:(.text+0x671): undefined reference to `jack_client_close'
libao2/libao2.a(ao_jack.o): In function `uninit':
ao_jack.c:(.text+0x85f): undefined reference to `jack_client_close'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Wed Feb 22, 2006 6:54 am    Post subject: Reply with quote

hi every1

i can't access svn here, so i was trying to modify the ebuild for x264-svn, but it just isn't working :(.

Code:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit flag-o-matic
SRC_URI="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20060221-2245.tar.bz2"
#ESVN_REPO_URI="svn://svn.videolan.org/x264/trunk/"
#ESVN_PROJECT="x264"

DESCRIPTION="x264 is a free library/commandline encoder for encoding H264/AVC video streams."
HOMEPAGE="http://developers.videolan.org/x264.html"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X debug threads mp4 multilib"

DEPEND="X? ( virtual/x11 )
        amd64? ( dev-lang/yasm )
        mp4? || (( =media-video/gpac-0.4* ) media-video/gpac-cvs)"

RDEPEND=""

src_unpack(){
        unpack ${A}
        cd "${S}"
        }
       
src_compile() {

        myconf="${myconf} $(use_enable X visualize)"
        myconf="${myconf} $(use_enable threads pthread)"
        myconf="${myconf} $(use_enable debug)"
        myconf="${myconf} $(use_enable mp4 mp4-output)"

        # Fix runtime pthreading issues due to multilib
 if use amd64; then
                einfo "Setting amd64 flag"
                myconf="${myconf} --extra-cflags=-D__x86_64__"
        else
                if use x86; then
                        myconf="${myconf} --extra-cflags=-D__x86__"
                fi
        fi

        econf ${myconf} || die "econf failed"
        emake || die "emake failed"
}

src_install() {
        DESTDIR="${D}" \
        make install

        dodoc AUTHORS TODO COPYING
}


i thought this would work. but i get this error
Code:
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x264-svn-20060221 ...

!!! ERROR: media-libs/x264-svn-20060221 failed.
!!! Function econf, Line 492, Exitcode 1
!!! no configure script found
!!! If you need support, post the topmost build error, NOT this status message.

zsh: exit 1     sudo emerge x264-svn --digest

i guess this is because the compiling thing does not know that this is a subversion package. So what should i do??

thanks
Saurabh
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Wed Feb 22, 2006 8:48 am    Post subject: Reply with quote

thinking o/w, i had another idea. I tried to make my own machine a svn host. I copied over the files from the tarball of daily snapshot to /var/svn and then changed the ebuild
Code:
ESVN_REPO_URI="svn://10.8.2.70/"
ESVN_PROJECT="x264"

all the files are in root of this as well as a folder x264. But i get this error
Code:
>>> emerge (1 of 1) media-libs/x264-svn-20060221 to /
>>> checksums files   ;-) x264-svn-20059999.ebuild
>>> checksums files   ;-) x264-svn-20060221.ebuild
>>> checksums files   ;-) files/digest-x264-svn-20059999
>>> checksums files   ;-) files/digest-x264-svn-20060221
>>> checksums files   ;-) files/digest-x264-svn-20059999-r1
>>> Unpacking source...
 * subversion check out start -->
 * checkout from: svn://10.8.2.70
svn: No repository found in 'svn://10.8.2.70'


kindly help me about this.

thanks
Saurabh
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
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 Feb 22, 2006 11:33 pm    Post subject: Reply with quote

immudium: I still can't figure out why gpac's being pulled in - try cleaning all x264-svn ebuilds, emerging metadata, and re-emerging. Also, is gpac pulled in when you do "emerge -puvDN world" ?

samonli: I haven't seen this before. Try running 'svn cleanup' as described in the error message, or just 'rm -rf /usr/portage/distfiles/svn-src/x264/' and start again.

Kuroki Kaze: I was incorrect in depending on gpac-0.4 or gpac-cvs. This is fixed in rsync, or you can just emerge gpac-cvs first.

fireball-13: I can confirm that this is an ebuild error, but I don't have a fix yet. I'm working on it.

sobers_2002: There is now an x264 snapshot ebuild in rsync or here.
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 764
Location: Hoofddorp / The Netherlands

PostPosted: Wed Feb 22, 2006 11:38 pm    Post subject: Reply with quote

xepk wrote:
immudium: I still can't figure out why gpac's being pulled in - try cleaning all x264-svn ebuilds, emerging metadata, and re-emerging. Also, is gpac pulled in when you do "emerge -puvDN world" ?
Let it instyall and use equery to find which packages have a direct depend on it.
Code:
equery depends <package>

_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
immudium
Guru
Guru


Joined: 12 Oct 2004
Posts: 330
Location: Utah

PostPosted: Thu Feb 23, 2006 3:49 am    Post subject: Reply with quote

xepk wrote:
immudium: I still can't figure out why gpac's being pulled in - try cleaning all x264-svn ebuilds, emerging metadata, and re-emerging. Also, is gpac pulled in when you do "emerge -puvDN world" ?


Thanks for taking a look at that xepk. Somehow that fixed it. I swear I deleted all of my overlays thinking I had some rogue ebuild. The only thing I didn't do was run emerge --metadata in the process and I guess that was the trick. Very strange, but everything seems to be great now. Thanks again.

Edit: Of course now that I look back at the old ebuild, it used to look like this
Code:
DEPEND="X? ( virtual/x11 )
       amd64? ( dev-lang/yasm )
       mp4? || (( =media-video/gpac-0.4* ) media-video/gpac-cvs)"


And now it looks like this:
Code:
RDEPEND="X? || (( x11-libs/libX11 )
        virtual/x11
        )
        mp4? ( media-video/gpac-cvs )"


Even the non -r2 version looks different:
Code:
RDEPEND="X? || (( x11-libs/libX11 )
        virtual/x11
        )
        mp4? ( media-video/gpac-cvs )"


Perhaps I'm not crazy after all :wink: Perhaps I just caught the ebuild in a transitional state.
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Thu Feb 23, 2006 11:48 am    Post subject: Reply with quote

xepk wrote:
immudium: I still can't figure out why gpac's being pulled in - try cleaning all x264-svn ebuilds, emerging metadata, and re-emerging. Also, is gpac pulled in when you do "emerge -puvDN world" ?

samonli: I haven't seen this before. Try running 'svn cleanup' as described in the error message, or just 'rm -rf /usr/portage/distfiles/svn-src/x264/' and start again.

Kuroki Kaze: I was incorrect in depending on gpac-0.4 or gpac-cvs. This is fixed in rsync, or you can just emerge gpac-cvs first.

fireball-13: I can confirm that this is an ebuild error, but I don't have a fix yet. I'm working on it.

sobers_2002: There is now an x264 snapshot ebuild in rsync or here.


hey man
thanks for the info. I now have an x264 working mencoder :). I have some inputs for the ebuild.

The actual mplayer ebuild compiles with lavc supporting mp3, while the mencoder from this does not support it.
Also the speeds of encoding with this have drastically gone down. So i guess maybe some of the patches are not being used that are there for the one in portage???

thanks for the great work btw. I can finally encode with x264, yay!!

Saurabh
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
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 Feb 24, 2006 10:24 pm    Post subject: Reply with quote

Fireball-13: it should be working now with the rsync version.

sobers_2002: There are no patches applied in the current latest portage version or the CVS ebuild. If you are comparing x264 to a different encoder (such as mpeg-4 asp), then yes, it will be dramatically slower - these are totally different video encoders.
Quote:
The actual mplayer ebuild compiles with lavc supporting mp3, while the mencoder from this does not support it.
I don't understand this comment - however, lame would be the recommended way to encode mp3 with mencoder.
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Sat Feb 25, 2006 5:36 am    Post subject: Reply with quote

hi

i didn't mean to compare x264 with others 'cauz i have already read in a load of places that it is really slow. I was comparing with xvid and lavc. But now that i am not gonna use them, it doesn't matter ;).

about lavc, what i meant was
Code:
-lavcopts acodec=mp3

this option used to work earlier (the portage version of mplayer). But now it doesn't, giving error that unrecognized option.So i am assuming that since mplayer builds with its own version of ffmpeg it needs to have some enabled flags present??

thanks
Saurabh

PS:- i know lame can be used, only that lavc was a bit faster
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
darkarchon
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 195
Location: Dallas, Texas

PostPosted: Sun Feb 26, 2006 10:16 am    Post subject: Reply with quote

If possible, please include the ffmpeg-cvs ebuild in your overlay. Thanks!
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 Mar 03, 2006 8:52 am    Post subject: Reply with quote

I just noticed there is a new (masked) mplayer in portage. I has the "x264" use flag!

Emerging now... :-D

Edit: I made a quick test-encoding and it seems to work. Great!
Back to top
View user's profile Send private message
slacker_
n00b
n00b


Joined: 19 Feb 2006
Posts: 2

PostPosted: Thu Mar 09, 2006 12:38 pm    Post subject: Reply with quote

Need help emerge avidemux fails

make[3]: Entering directory `/var/tmp/portage/avidemux-22000/work/avidemux-22000/avidemux'
test -z "/usr/bin" || "/var/tmp/portage/avidemux-22000/image//usr/bin"
/bin/sh: /var/tmp/portage/avidemux-22000/image//usr/bin: No such file or directory
make[3]: *** [install-binPROGRAMS] Error 127
make[3]: Leaving directory `/var/tmp/portage/avidemux-22000/work/avidemux-22000/avidemux'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/avidemux-22000/work/avidemux-22000/avidemux'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avidemux-22000/work/avidemux-22000/avidemux'
make: *** [install-recursive] Error 1

!!! ERROR: media-video/avidemux-22000 failed.
!!! Function src_install, Line 97, Exitcode 2
!!! make install failed
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


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

PostPosted: Thu Mar 09, 2006 4:10 pm    Post subject: Reply with quote

slacker_ wrote:
Need help emerge avidemux fails

make[3]: Entering directory `/var/tmp/portage/avidemux-22000/work/avidemux-22000/avidemux'
test -z "/usr/bin" || "/var/tmp/portage/avidemux-22000/image//usr/bin"
/bin/sh: /var/tmp/portage/avidemux-22000/image//usr/bin: No such file or directory
make[3]: *** [install-binPROGRAMS] Error 127
make[3]: Leaving directory `/var/tmp/portage/avidemux-22000/work/avidemux-22000/avidemux'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/avidemux-22000/work/avidemux-22000/avidemux'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avidemux-22000/work/avidemux-22000/avidemux'
make: *** [install-recursive] Error 1

!!! ERROR: media-video/avidemux-22000 failed.
!!! Function src_install, Line 97, Exitcode 2
!!! make install failed
!!! If you need support, post the topmost build error, NOT this status message.

Do you have "funroll-loops" in your cflags? If so, try to remove them.
Back to top
View user's profile Send private message
slacker_
n00b
n00b


Joined: 19 Feb 2006
Posts: 2

PostPosted: Thu Mar 09, 2006 6:31 pm    Post subject: Reply with quote

Hey R!tman
This is all i have in my make.conf

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="imlib png xvid xv X oss alsa mozilla kde qt cdr truetype bitmap-fonts truetype-fonts crypt type1-fonts ssl ogg sdl svga doc nsplugin nvidia howl mp3 -arts"
PORTDIR_OVERLAY="/usr/local/portage"
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 Mar 13, 2006 1:44 am    Post subject: Reply with quote

darkarchon: IMO, ffmpeg-cvs is a fairly unsafe idea, because too many other packages depend on it.

slacker_: There's a (somewhat hackish) fix for avidemux in the rsync repository.

All: There's rather nice gpac / x264 support in the official portage tree now. I'd recommend using the official versions if you want things to 'just work'.
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


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

PostPosted: Mon Mar 13, 2006 1:53 am    Post subject: Reply with quote

xepk wrote:
darkarchon: IMO, ffmpeg-cvs is a fairly unsafe idea, because too many other packages depend on it.

slacker_: There's a (somewhat hackish) fix for avidemux in the rsync repository.

All: There's rather nice gpac / x264 support in the official portage tree now. I'd recommend using the official versions if you want things to 'just work'.

@kpex:
I am already using these two. Nevertheless, thank you very much for providing your ebuilds.

Btw, there seems to be a problem with gpac on linux (and only on linux). I made a post over at doom9, and as a result a bug report for gpac. If you havn't already you might want to take a look at it.
Back to top
View user's profile Send private message
kmj0377
Guru
Guru


Joined: 26 Sep 2003
Posts: 397

PostPosted: Mon Mar 13, 2006 7:59 pm    Post subject: Reply with quote

Is anyone else having problems checking out gpac from cvs? I get an EOF when I try to login.

Edit: And just now it checked out.
Back to top
View user's profile Send private message
rcxAsh
Guru
Guru


Joined: 03 Jul 2003
Posts: 457
Location: /etc/localtime

PostPosted: Wed Mar 22, 2006 12:11 am    Post subject: Reply with quote

Should there be xinerama support in this cvs build?

I have the xinerama use flag set, but when I run mplayer, it just throws:
Code:
Unknown option on the command line: -xinerama


The stock stable mplayer that I got from portage had this working fine.
_________________
rcxAsh
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 Mar 22, 2006 4:55 am    Post subject: Reply with quote

rcxAsh wrote:
Should there be xinerama support in this cvs build?

I have the xinerama use flag set, but when I run mplayer, it just throws:
Code:
Unknown option on the command line: -xinerama


The stock stable mplayer that I got from portage had this working fine.
How about -xineramascreen? I see no mention of -xinerama in the man page or from memory of any mplayer version. You also could have confirmed this by checking the use flags of the ebuild. hth
Back to top
View user's profile Send private message
rcxAsh
Guru
Guru


Joined: 03 Jul 2003
Posts: 457
Location: /etc/localtime

PostPosted: Thu Mar 23, 2006 1:06 am    Post subject: Reply with quote

xepk wrote:
The stock stable mplayer that I got from portage had this working fine.
How about -xineramascreen? I see no mention of -xinerama in the man page or from memory of any mplayer version. You also could have confirmed this by checking the use flags of the ebuild. hth[/quote]
Ah, thanks. It's different in this version. The current version of mplayer in portage uses -xinerama instead for some reason (it's in that version's man page). (I know it did because I used it once before)

Thanks again, xepk!
_________________
rcxAsh
Back to top
View user's profile Send private message
kmj0377
Guru
Guru


Joined: 26 Sep 2003
Posts: 397

PostPosted: Fri Mar 24, 2006 12:37 am    Post subject: Reply with quote

The dvdnav patch doesn't seem to be applying cleanly anymore.
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 Mar 24, 2006 10:54 pm    Post subject: Reply with quote

kmj0377 wrote:
The dvdnav patch doesn't seem to be applying cleanly anymore.
Just fixed in rsync (while it lasts ;))
Back to top
View user's profile Send private message
fireball-13
n00b
n00b


Joined: 05 Sep 2005
Posts: 61
Location: Moscow, RU

PostPosted: Mon Mar 27, 2006 9:32 am    Post subject: Reply with quote

Changelog:
Code:
JACK audio output rewritten without bio2jack


so, dependency on media-libs/bio2jack is no need
I think it must be replaced to media-sound/jack-audio-connection-kit
Back to top
View user's profile Send private message
DarkMind
Guru
Guru


Joined: 18 Dec 2003
Posts: 525
Location: Santiago, Chile

PostPosted: Tue Mar 28, 2006 1:37 am    Post subject: Reply with quote

Code:
libmpdemux -I../loader     -D_GNU_SOURCE  -o ve_xvid4.o ve_xvid4.c
ve_xvid4.c: In function `profileFromName':
ve_xvid4.c:222: aviso: inicialización descarta calificadores del tipo del destino del puntero
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I. -I.. -Inative -I../libmpdemux -I../loader     -D_GNU_SOURCE  -o ve_xvid.o ve_xvid.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I. -I.. -Inative -I../libmpdemux -I../loader     -D_GNU_SOURCE  -o ve_lavc.o ve_lavc.c
ve_lavc.c: In function `config':
ve_lavc.c:642: error: structure no tiene un miembro llamado `brd_scale'
ve_lavc.c:643: error: structure no tiene un miembro llamado `bidir_refine'
ve_lavc.c:644: error: structure no tiene un miembro llamado `scenechange_factor'
make[1]: *** [ve_lavc.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-cvs-0.1-r5/work/main/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2

!!! ERROR: media-video/mplayer-cvs-0.1-r5 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  mplayer-cvs-0.1-r5.ebuild, line 474:   Called die

!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, and the call stack if relevant.
Back to top
View user's profile Send private message
fireball-13
n00b
n00b


Joined: 05 Sep 2005
Posts: 61
Location: Moscow, RU

PostPosted: Tue Mar 28, 2006 10:25 am    Post subject: Reply with quote

DarkMind: update your copy of repository (see the first post of this thread), latest version is media-video/mplayer-cvs-0.1-r20
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 Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 4 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