Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[berkano-overlay] bleeding-edge multimedia, desktop & extras
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 19, 20, 21 ... 35, 36, 37  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
bernd_b
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2003
Posts: 148

PostPosted: Fri Aug 22, 2008 12:38 pm    Post subject: Reply with quote

Tried mplayer some hours ago, no problem here.
Back to top
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Fri Aug 22, 2008 1:02 pm    Post subject: Reply with quote

And now that we're on the broken patches line... let's add X264 to the mix

Code:

>>> Unpacked to /var/tmp/paludis/media-libs-x264-9999/work/x264-9999
 * Applying x264-nostrip.patch ...                                       [ ok ]
 * Applying x264-psyrdo-0.6.diff ...

 * Failed Patch: x264-psyrdo-0.6.diff !
 *  ( /var/paludis/repositories/berkano/media-libs/x264/files/x264-psyrdo-0.6.diff )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/paludis/media-libs-x264-9999/temp//x264-psyrdo-0.6.diff-4578.out


The the contents are here:
http://www.dpmr.ca/gentoo/x264-psyrdo-0.6.diff-4578.out
_________________
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Back to top
View user's profile Send private message
Tariella
Guru
Guru


Joined: 10 Dec 2005
Posts: 377
Location: Europe/Austria

PostPosted: Fri Aug 22, 2008 4:01 pm    Post subject: Reply with quote

I tried again, same error.

here is my emerge --info
Code:
Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.25-hh4 x86_64)
=================================================================
System uname: Linux-2.6.25-hh4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4000+-with-glibc2.2.5
Timestamp of tree: Wed, 20 Aug 2008 16:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 x86 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ "
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/usr/portage/local/layman/enlightenment /usr/portage/local/layman/sunrise /usr/portage/local/layman/ecomp /usr/portage/local/layman/berkano /usr/portage/local/eigene /usr/portage/local/oss-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cdrom cli cpudetection cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kerberos ldap libnotify mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib multislot ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session sound spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff timidity truetype tv unicode usb v4l v4l2 vcd video vorbis xml xml2 xorg xv zlib" ALSA_CARDS="hda-intel bt87x" 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 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


and the emerge command:
Code:
[ebuild     U ] media-video/mplayer-9999-r19 [1.0_rc2_p26753-r1] USE="3dnow 3dnowext X a52 aac alsa cddb cdparanoia cpudetection dga dts dvb dvd dvdnav%* dvdread%* eac3%* encode esd gif jpeg mmx mmxext mp2 mp3 mpeg%* nls%* nvidia%* openal opengl oss png quicktime radio rar real rtc samba sdl sse sse2 tga tivo%* truehd%* truetype unicode v4l v4l2 vorbis x264 xinerama xv xvid* xvmc (-3dfx) -aalib (-altivec) -amrnb -amrwb -arts -ass% -bidi -bindist -bl -custom-cflags -debug -directfb -doc -dv -enca -fbcon -fpm% -ftp -ggi -gtk -i8x0% -ipv6 -ivtv% -jack -joystick -ladspa -libcaca -lirc -live -livecd% -lzo -matrox% -mga% -musepack -nas -nut% -pnm -pulseaudio -sortsub% -speex (-svga) -theora* (-win32codecs) -xanim -xmga% -zoran (-cdio%*) (-iconv%*) (-mad%*) (-md5sum%*) (-nemesi%) (-srt%) (-ssse3%) (-teletext%*) (-vidix%) (-xscreensaver%*)" LINGUAS="de%* -bg% -cs% -da% -el% -en% -es% -fr% -hu% -ja% -ko% -mk% -nl% -no% -pl% -pt_BR% -ro% -ru% -sk% -tr% -uk% -zh_CN% -zh_TW%" VIDEO_CARDS="(-mga%) (-s3virge%) (-tdfx%) (-vesa%)" 0 kB [0=>1]


Maybe its just a useflag that should be en/disabled.

Sorry to trouble you. :(

Edit:
ffmpeg gives the same error if I try to install 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: Fri Aug 22, 2008 5:03 pm    Post subject: Reply with quote

No trouble, don't worry. What goes wrong is a fairly basic patch of the Makefile. Useflags or architecture don't have any influence on that. I suggest you remove the overlay folder and sync again, to make sure you have the latest version.
_________________
"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
yngwin
Retired Dev
Retired Dev


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

PostPosted: Fri Aug 22, 2008 5:14 pm    Post subject: Reply with quote

loftwyr wrote:
And now that we're on the broken patches line... let's add X264 to the mix
Code:
 * Failed Patch: x264-psyrdo-0.6.diff !

Yeah, I noticed that as well. I'm looking into it.
On that note I recommend not updating x264 at the moment, if you are on x86. The x86 PIC code has been killed, so that may cause some trouble. In a few more days another big change will be committed that may break packages depending in x264, on all arches. So it would be better to hold off for a while and wait for the other packages to fix their stuff. But if you do run into trouble, you can use the new snapshot I just committed to portage. Although that doesn't have the psyrdo patch.
_________________
"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
Tariella
Guru
Guru


Joined: 10 Dec 2005
Posts: 377
Location: Europe/Austria

PostPosted: Fri Aug 22, 2008 6:03 pm    Post subject: Reply with quote

I just reemerged layman, cleared the overlays and readded them.

When I emerge ffmpeg it now hangs with
Code:
 * Failed Patch: ffmpeg-eac3_decoder-20080817.patch !
 *  ( /usr/local/portage/layman/berkano/media-video/ffmpeg/files/ffmpeg-eac3_decoder-20080817.patch )

Seems to be a step farther...

When I try to emerge mplayer it pulls in the svn version of libdvdnav which aborts with:
Code:
>>> Compiling source in /var/tmp/portage/media-libs/libdvdnav-9999-r1/work/libdvdnav-9999 ...
dvdread-config returned an error. Can't proceed


So what can I do now? :(
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: Fri Aug 22, 2008 10:48 pm    Post subject: Reply with quote

Did you use libdvdread-9999 from the overlay as well? I would suggest to use that, but it doesn't currently build for me, so I'll suggest to disable the dvdnav useflag for mplayer instead, for the time being.

And I've changed the ffmpeg ebuild to use a live svn checkout of the eac3 patches (just like the mplayer ebuild), which works here (emerged it just a couple of minutes ago). But the nature of 'live' ebuilds of course means it could change any moment.

If that doesn't work, then I can make a snapshot ebuild, as I've saved a backup of my checkout from a few days ago, in case this would be necessary.
_________________
"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
Tariella
Guru
Guru


Joined: 10 Dec 2005
Posts: 377
Location: Europe/Austria

PostPosted: Sat Aug 23, 2008 12:06 pm    Post subject: Reply with quote

It works now! Thank you very much :)

I disabled dvdnav and now mplayer compiled. FFmpeg works now too. :D
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 Aug 24, 2008 7:40 pm    Post subject: Reply with quote

x264 ebuild fixed. I also added a snapshot ebuild with the psyrdo/psytrellis patches, for people that run into problems with current x264 svn.
_________________
"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
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Mon Sep 01, 2008 10:56 am    Post subject: Reply with quote

yngwin wrote:
x264 ebuild fixed. I also added a snapshot ebuild with the psyrdo/psytrellis patches, for people that run into problems with current x264 svn.

It don't seems to apply here :
Code:

 *    local clone: /usr/portage/distfiles/git-src/x264
 *    committish: master
>>> Unpacked to /var/tmp/portage/media-libs/x264-9999/work/x264-9999
 * Applying x264-nostrip.patch ...                                                                                                                                                                                              [ ok ]
 * Applying x264-psyrd-0.6-psytrellis-0.1.diff ...

 * Failed Patch: x264-psyrd-0.6-psytrellis-0.1.diff !
 *  ( /usr/portage/local/layman/berkano/media-libs/x264/files/x264-psyrd-0.6-psytrellis-0.1.diff )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/media-libs/x264-9999/temp/x264-psyrd-0.6-psytrellis-0.1.diff-30228.out

 *
 * ERROR: media-libs/x264-9999 failed.

Also I can't compil mplayer using icc because of freetype 1 being installed (needed for texlive) :
Code:

icc -I. -O2 -march=core2 -mcpu=core2 -pipe -fomit-frame-pointer -wd167 -wd556 -wd144 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/X11R6/include -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT -I/usr/include/freetype2 -I/usr/include -I/usr/include/dirac   -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3     -c -o mp_fifo.o mp_fifo.c
icc -I. -O2 -march=core2 -mcpu=core2 -pipe -fomit-frame-pointer -wd167 -wd556 -wd144 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/X11R6/include -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT -I/usr/include/freetype2 -I/usr/include -I/usr/include/dirac   -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3     -c -o mp_msg.o mp_msg.c
libavutil/mem.h(65): warning #1292: attribute "alloc_size" ignored
  void *av_malloc(unsigned int size) av_malloc_attrib av_alloc_size(1);
                                                      ^

libavutil/mem.h(79): warning #1292: attribute "alloc_size" ignored
  void *av_realloc(void *ptr, unsigned int size) av_alloc_size(2);
                                                 ^

libavutil/mem.h(100): warning #1292: attribute "alloc_size" ignored
  void *av_mallocz(unsigned int size) av_malloc_attrib av_alloc_size(1);
                                                       ^

/usr/X11R6/include/freetype/freetype.h(27): catastrophic error: #error directive: "This is freetype.h of FreeType 1!"
  #error "This is freetype.h of FreeType 1!"
   ^

compilation aborted for mplayer.c (code 4)
make: *** [mplayer.o] Error 4
make: *** Waiting for unfinished jobs....
mp_msg.c(74): (col. 5) remark: LOOP WAS VECTORIZED.
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: Mon Sep 01, 2008 11:43 am    Post subject: Reply with quote

Gregoire wrote:
yngwin wrote:
x264 ebuild fixed. I also added a snapshot ebuild with the psyrdo/psytrellis patches, for people that run into problems with current x264 svn.

It don't seems to apply here :

That's using current svn. That's why I added the snapshot. :wink:
Although I have asked the psy* patches maintainer for updates.

Gregoire wrote:
Also I can't compil mplayer using icc because of freetype 1 being installed (needed for texlive) :

Are you sure? Texlive works fine with freetype-2 here. Either way, I doubt if icc is supported for 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
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Mon Sep 01, 2008 11:58 am    Post subject: Reply with quote

yngwin wrote:

That's using current svn. That's why I added the snapshot. :wink:
Although I have asked the psy* patches maintainer for updates.

Oh, sorry, thank you for the info :-)
yngwin wrote:

Gregoire wrote:
Also I can't compil mplayer using icc because of freetype 1 being installed (needed for texlive) :

Are you sure? Texlive works fine with freetype-2 here. Either way, I doubt if icc is supported for mplayer.

TeX is a complicated peace of hacks, there are floating around patches for ttf2tfm to update it to use FreeType 2...
Could you tell me how you include them ? (And be sure you don't have freetype-1 installed).

For all having an intel CPU (and probably others too) it's way better to compil ffmpeg/mplayer with icc, see
http://gentoo-wiki.com/HOWTO_ICC_and_Portage
Back to top
View user's profile Send private message
Moonboots
Apprentice
Apprentice


Joined: 02 Dec 2006
Posts: 157

PostPosted: Mon Sep 01, 2008 4:50 pm    Post subject: Reply with quote

yngwin wrote:
x264 ebuild fixed. I also added a snapshot ebuild with the psyrdo/psytrellis patches, for people that run into problems with current x264 svn.


Does the snapshot ebuild also need EPATCH_OPTS="-l" ?
I kept getting the same error as the svn version, until i added the above and then it compiled fine.
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: Mon Sep 01, 2008 5:05 pm    Post subject: Reply with quote

Moonboots wrote:
Does the snapshot ebuild also need EPATCH_OPTS="-l" ?

It patches cleanly here without that. And the svn ebuild does take the psyrdo patch here, just not the psytrellis patch.
_________________
"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
yngwin
Retired Dev
Retired Dev


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

PostPosted: Wed Sep 03, 2008 11:04 pm    Post subject: Reply with quote

I have updated the mplayer live svn ebuild. It now uses the srt useflag, just like the ebuild in portage does, for enabling ass/ssa subtitles. This because smplayer needs that option enabled.
_________________
"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
enkil
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 115
Location: Bern, Switzerland

PostPosted: Thu Sep 04, 2008 12:02 pm    Post subject: Reply with quote

I can't get ffmpeg or mplayer compiled with the eac3 USE flag:
Code:
i686-pc-linux-gnu-gcc -L"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg"/libavfilter -L"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg"/libpostproc -L"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg"/libswscale -L"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg"/libavdevice -L"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg"/libavformat -L"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg"/libavcodec -L"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg"/libavutil -Wl,-O1 -rdynamic -export-dynamic -Wl,--warn-common -Wl,--as-needed -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg"/libpostproc -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg"/libswscale -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg"/libavfilter -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg"/libavdevice -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg"/libavformat -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg"/libavcodec -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg"/libavutil -Wl,-Bsymbolic -o ffmpeg_g ffmpeg.o cmdutils.o -lavfilter -lpostproc -lswscale -lavdevice -lavformat -lavcodec -lavutil -lz -lbz2 -pthread -lm -la52 -lfaac -lfaad -lmp3lame -lm -lvorbisenc -lvorbis -logg -lx264 -lm -lxvidcore    -ldl
/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg/libavcodec/libavcodec.so: undefined reference to `eac3_decoder'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1

There's an entry on ffmpeg-devel that adresses the issue: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/73899/focus=73905
Does that mean that eac3 will replace a52? I tried with USE="-a52", but it still fails.
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: Fri Sep 05, 2008 7:26 pm    Post subject: Reply with quote

I modified the files according to the patch linked to in the previous post - ffmpeg compiled well, but mplayer won't with eac3 Flag enabled
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: Sat Sep 06, 2008 12:20 pm    Post subject: Reply with quote

enkil wrote:
I can't get ffmpeg or mplayer compiled with the eac3 USE flag: [...]
There's an entry on ffmpeg-devel that adresses the issue: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/73899/focus=73905
Does that mean that eac3 will replace a52? I tried with USE="-a52", but it still fails.

The eac3 patches have been applied to the trunk, so they are now enabled by default, as part of ffmpeg's ac3 codec. So I have removed the no longer needed eac3 useflag. The a52 useflag would enable the external liba52 library/codec for handling ac3 sound, but it does not do eac3. I recommend using the internal codec and disabling the a52 useflag, as the internal codec is better, and now provides eac3 as well. It looks like they will remove the option for liba52 anyway.

This concerns both the ffmpeg and mplayer packages, as mplayer uses a copy of the ffmpeg libs.
_________________
"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
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Sat Sep 06, 2008 1:02 pm    Post subject: Reply with quote

Would it be possible to include patch which allow icc compilation ffmpeg-icc.patch :
Code:


Index: libswscale/yuv2rgb.c
===================================================================
--- libswscale/yuv2rgb.c        (Revision 27482)
+++ libswscale/yuv2rgb.c        (Arbeitskopie)
@@ -157,6 +157,9 @@

 // The volatile is required because gcc otherwise optimizes some writes away
 // not knowing that these are read in the ASM block.
+#ifdef __ICC
+#define static
+#endif
 static volatile uint64_t attribute_used __attribute__((aligned(8))) b5Dither;
 static volatile uint64_t attribute_used __attribute__((aligned(8))) g5Dither;
 static volatile uint64_t attribute_used __attribute__((aligned(8))) g6Dither;


Thanks.
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: Sat Sep 06, 2008 2:06 pm    Post subject: Reply with quote

Okay, because you're such a faithful berkano overlay user ;)
_________________
"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
enkil
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 115
Location: Bern, Switzerland

PostPosted: Sat Sep 06, 2008 2:37 pm    Post subject: Reply with quote

yngwin wrote:
The eac3 patches have been applied to the trunk, so they are now enabled by default, as part of ffmpeg's ac3 codec. So I have removed the no longer needed eac3 useflag. The a52 useflag would enable the external liba52 library/codec for handling ac3 sound, but it does not do eac3. I recommend using the internal codec and disabling the a52 useflag, as the internal codec is better, and now provides eac3 as well. It looks like they will remove the option for liba52 anyway.

Thanks for explaining this, works like a charm now.
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Sat Sep 06, 2008 3:03 pm    Post subject: Reply with quote

Is a gentoo worth anything without berkano's overlay ?

Thank you very much !
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Sat Sep 06, 2008 10:37 pm    Post subject: Reply with quote

What has to be changed in xine to output to S/PDIF ac3 when ffmpeg is compiled without a52 ?

Same question for mplayer, how to use -ac hwac3 equivalent now ?

Thank you very much.
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: Sat Sep 06, 2008 11:13 pm    Post subject: Reply with quote

Does hwac3 not work?
_________________
"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
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Sun Sep 07, 2008 9:54 am    Post subject: Reply with quote

No it doesn't work :
Code:

mplayer  -noautosub -osdlevel 0 -lavdopts fast:skiploopfilter=nonref -alang fr,en,de,it -fs -vf pp=hb/vb/dr/al -xineramascreen 1 -panscanrange -0.15 -noframedrop -nocache -nortc -dr -stop-xscreensaver  -vo xv -ao alsa:device="iec958={CARD 0 AES0 0x2 AES1 0x82 AES2 0x0 AES3 0x2}" -ac hwac3 Stargate.Atlantis.S05E07.720p.HDTV.x264-2HD.mkv
MPlayer dev-SVN-r27531 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Test_file.720p.x264.mkv.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [H264]  1280x720  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Opening video filter: [pp=hb/vb/dr/al]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Forced audio codec: hwac3
Requested audio codec family [hwac3] (afm=hwac3) not available.
Enable it at compilation.
Cannot find codec for audio format 0x2000.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Starting playback...
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1280x720 => 1280x720 Planar YV12  [fs]
V:  11.7   0/  0 38% 13%  0.0% 0 0
Exiting... (Quit)

Recompiling it with USE=a52 works perfectly :-)
I guess for some of us, getting ride of a52 isn't a good idea.
I really like the new icc useflag of ffmpeg which make the update of my favorite overlay lot easyer :-)
Now I have to try to figure out why it won't compil with icc useflag...
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 ... 19, 20, 21 ... 35, 36, 37  Next
Page 20 of 37

 
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