| View previous topic :: View next topic |
| Author |
Message |
Gusar Veteran

Joined: 09 Apr 2005 Posts: 1732 Location: Slovenia
|
Posted: Wed Mar 18, 2009 12:38 pm Post subject: |
|
|
| x264 is an encoder only. For decoding ffh264 (part of ffmpeg's libavcodec) is used. |
|
| Back to top |
|
 |
yngwin Retired Dev


Joined: 19 Dec 2002 Posts: 4176 Location: Suzhou, China
|
Posted: Wed Mar 18, 2009 9:12 pm Post subject: |
|
|
| Gregoire wrote: | From http://www.nvnews.net/vbulletin/showpost.php?p=1958499&postcount=83 one need
| Code: |
diff -r cf522080f153 src/combined/ffmpeg/ff_video_decoder.c
--- a/src/combined/ffmpeg/ff_video_decoder.c Fri Mar 06 14:00:57 2009 +0000
+++ b/src/combined/ffmpeg/ff_video_decoder.c Mon Mar 16 12:20:35 2009 +0100
@@ -579,7 +579,7 @@
img->width,
this->bih.biHeight);
- } else if (this->context->pix_fmt == PIX_FMT_RGBA32) {
+ } else if (this->context->pix_fmt == PIX_FMT_RGB32) {
int x, plane_ptr = 0;
uint32_t *argb_pixels;
@@ -1287,7 +1287,7 @@
/* initialize the colorspace converter */
if (!this->cs_convert_init) {
- if ((this->context->pix_fmt == PIX_FMT_RGBA32) ||
+ if ((this->context->pix_fmt == PIX_FMT_RGB32) ||
(this->context->pix_fmt == PIX_FMT_RGB565) ||
(this->context->pix_fmt == PIX_FMT_RGB555) ||
(this->context->pix_fmt == PIX_FMT_BGR24) ||
|
in order to compil xine-lib-1.2. |
This has been fixed upstream. I'm adding lynx || w3m as dependency for the failure i reported before. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
Benni123 Tux's lil' helper

Joined: 13 Mar 2005 Posts: 110
|
Posted: Thu Mar 19, 2009 4:56 pm Post subject: |
|
|
Installation of xine seemed to work. However, this broke my kde4:
| Quote: | revdep-rebuild
* Configuring search environment for revdep-rebuild
* Checking reverse dependencies
* Packages containing binaries and libraries broken by a package update
* will be emerged.
* Collecting system binaries and libraries
* Generated new 1_files.rr
* Collecting complete LD_LIBRARY_PATH
* Generated new 2_ldpath.rr
* Checking dynamic linking consistency
[ 8% ] * broken /usr/bin/dragon (requires libxine.so.1)
[ 47% ] * broken /usr/lib64/gstreamer-0.10/libgstffmpeg.so (requires libavutil.so.49)
* broken /usr/lib64/gstreamer-0.10/libgstffmpegscale.so (requires libavutil.so.49)
[ 48% ] * broken /usr/lib64/gstreamer-0.10/libgstpostproc.so (requires libavutil.so.49)
[ 51% ] * broken /usr/lib64/kde4/dragonpart.so (requires libxine.so.1)
[ 52% ] * broken /usr/lib64/kde4/kcm_phononxine.so (requires libxine.so.1)
[ 57% ] * broken /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so (requires libxine.so.1)
[ 100% ]
* Generated new 3_broken.rr
* Assigning files to packages
|
and this resulted then in:
| Quote: | /libgstffmpeg_la-gstffmpegenc.Tpo -c gstffmpegenc.c -fPIC -DPIC -o .libs/libgstffmpeg_la-gstffmpegenc.o
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -mtune=native -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -MT libgstffmpeg_la-gstffmpegdec.lo -MD -MP -MF .deps/libgstffmpeg_la-gstffmpegdec.Tpo -c gstffmpegdec.c -fPIC -DPIC -o .libs/libgstffmpeg_la-gstffmpegdec.o
gstffmpegdec.c: In Funktion »gst_ffmpegdec_chain«:
gstffmpegdec.c:2251: Warnung: »av_parser_parse« ist veraltet (deklariert bei /usr/include/libavcodec/avcodec.h:3256)
mv -f .deps/libgstffmpeg_la-gstffmpegenc.Tpo .deps/libgstffmpeg_la-gstffmpegenc.Plo
mv -f .deps/libgstffmpeg_la-gstffmpegdec.Tpo .deps/libgstffmpeg_la-gstffmpegdec.Plo
make[3]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.6/work/gst-ffmpeg-0.10.6/ext/ffmpeg'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.6/work/gst-ffmpeg-0.10.6/ext'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.6/work/gst-ffmpeg-0.10.6'
make: *** [all] Fehler 2
*
* ERROR: media-plugins/gst-pl
revdep-rebuild failed to emerge all packages.
* you have the following choices:
* - If emerge failed during the build, fix the problems and re-run revdep-rebuild.
* - Use /etc/portage/package.keywords to unmask a newer version of the package.
* (and remove 5_order.rr to be evaluated again)
* - Modify the above emerge command and run it manually.
* - Compile or unmerge unsatisfied packages manually,
* remove temporary files, and try again.
* (you can edit package/ebuild list first)
* To remove temporary files, please run:
* rm /var/cache/revdep-rebuild/*.rr
|
|
|
| Back to top |
|
 |
yngwin Retired Dev


Joined: 19 Dec 2002 Posts: 4176 Location: Suzhou, China
|
Posted: Thu Mar 19, 2009 8:01 pm Post subject: |
|
|
Xine live is not at all guaranteed to work with packages that depend on xine-lib. So you may have to stick with release or the 1.1 branch. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
HorizonXP n00b

Joined: 13 Dec 2008 Posts: 7
|
Posted: Fri Mar 20, 2009 4:18 am Post subject: |
|
|
| Hey, could you put an ebuild for the git version of gst-plugins-ffmpeg? Right now Totem's broken, and it'd be nice to get it fixed, along with VLC. Thanks! |
|
| Back to top |
|
 |
yngwin Retired Dev


Joined: 19 Dec 2002 Posts: 4176 Location: Suzhou, China
|
Posted: Fri Mar 20, 2009 4:13 pm Post subject: |
|
|
It's not a package I'm personally interested in, but if someone has an ebuild, I can host it in the overlay. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
Benni123 Tux's lil' helper

Joined: 13 Mar 2005 Posts: 110
|
Posted: Sat Mar 21, 2009 12:49 pm Post subject: |
|
|
| Quote: | merging (1 of 2) media-video/ffmpeg-20099999-r1 from berkano
* checking ebuild checksums ... [ ok ]
* checking auxfile checksums ... [ ok ]
* checking miscfile checksums ... [ ok ]
>>> Unpacking source...
* subversion update start -->
* repository: svn://svn.mplayerhq.hu/ffmpeg/trunk
svn: can't update /usr/portage/distfiles/svn-src/ffmpeg/trunk from svn://svn.mplayerhq.hu/ffmpeg/trunk.
*
*
* ERROR: media-video/ffmpeg-20099999-r1 failed.
* Call stack:
* ebuild.sh, line 48: Called src_unpack
* environment, line 2599: Called subversion_src_unpack
* environment, line 2921: Called subversion_fetch
* environment, line 2888: Called die
* The specific snippet of code:
* ${ESVN_UPDATE_CMD} ${options} || die "${ESVN}: can't update ${wc_path} from ${repo_uri}.";
* The die message:
* subversion: can't update /usr/portage/distfiles/svn-src/ffmpeg/trunk from svn://svn.mplayerhq.hu/ffmpeg/trunk.
*
|
|
|
| Back to top |
|
 |
Spaulding Apprentice


Joined: 16 Apr 2006 Posts: 159 Location: /dev/vagina
|
Posted: Sat Mar 21, 2009 12:57 pm Post subject: |
|
|
try use the ffmpeg-9999 from portage for me works. |
|
| Back to top |
|
 |
Lepaca Kliffoth l33t


Joined: 28 Apr 2004 Posts: 737 Location: Florence, Italy
|
Posted: Sun Mar 22, 2009 10:41 am Post subject: |
|
|
| Quote: | | libavcodec/eatqi.c:166: internal compiler error: Segmentation fault |
Anybody else got this error? Can I disable the bastard? _________________ It isn't enough to win - everyone else must lose, and you also have to rub it in their face (maybe chop off an arm too for good measure).
Animebox! |
|
| Back to top |
|
 |
gruftie Apprentice

Joined: 24 Sep 2002 Posts: 161
|
Posted: Sun Mar 22, 2009 11:27 am Post subject: |
|
|
| Lepaca Kliffoth wrote: | | Quote: | | libavcodec/eatqi.c:166: internal compiler error: Segmentation fault |
Anybody else got this error? Can I disable the bastard? |
seems to be this bug.
re-emerge gcc and try again. _________________ --
Notebook: Sony VAIO VGN-AR71S
Intel Core2 Duo T9300@2.5GHz; 4GB RAM; 2x250GB HD; Blu-Ray Recorder; GeForce 8600M GT; Gentoo64 unstable
Server: AMD Athlon64 3500+; 3GB RAM; 1TB storage; Gentoo64 unstable
. |
|
| Back to top |
|
 |
Lepaca Kliffoth l33t


Joined: 28 Apr 2004 Posts: 737 Location: Florence, Italy
|
Posted: Sun Mar 22, 2009 11:41 am Post subject: |
|
|
Just to be perfectly clear, you mean the issue has been fixed and I can just sync and rebuild gcc or do I have to apply some patch manually? Thanks for your help
edit: I rebuilt gcc and that was enough to fix the problem. Thanks again. _________________ It isn't enough to win - everyone else must lose, and you also have to rub it in their face (maybe chop off an arm too for good measure).
Animebox! |
|
| Back to top |
|
 |
yngwin Retired Dev


Joined: 19 Dec 2002 Posts: 4176 Location: Suzhou, China
|
Posted: Sun Mar 22, 2009 3:26 pm Post subject: |
|
|
Works for me. Try again, and if it fails again, you could remove /usr/portage/distfiles/svn-src/ffmpeg/ - that sometimes solves such issues. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
yngwin Retired Dev


Joined: 19 Dec 2002 Posts: 4176 Location: Suzhou, China
|
Posted: Sun Mar 22, 2009 3:29 pm Post subject: |
|
|
| gruftie wrote: | | Lepaca Kliffoth wrote: | | Quote: | | libavcodec/eatqi.c:166: internal compiler error: Segmentation fault |
Anybody else got this error? Can I disable the bastard? |
seems to be this bug.
re-emerge gcc and try again. |
Just for clarity: anyone that gets an "internal compiler error" in ffmpeg, mplayer or other packages that use libavcodec and friends, should sync portage and remerge gcc-4.3.3-r1. It was a mistake of the gcc maintainer not to do a revbump upon fixing this issue. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
annunaki2k2 Tux's lil' helper

Joined: 14 Oct 2003 Posts: 118 Location: Tooting, London, UK
|
Posted: Sun Mar 22, 2009 4:37 pm Post subject: |
|
|
Hi everyone,
Hope some one can help, I'm having a strange problem whilst emerging xine-lib from this overlay (and not a problem that I've found posted here yet).
Here is the error:
| Code: | >>> Emerging (1 of 5) media-libs/xine-lib-1.2.9999_p247 from berkano
* xine-lib-1.2-vdpau-r247.diff.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
* Cloning http://hg.debian.org/hg/xine-lib/xine-lib-1.2 to /usr/portage/distfiles/hg-src/xine-lib/xine-lib-1.2
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial@selenic.com
** Mercurial Distributed SCM (version 1.2.1)
** Extensions loaded:
Traceback (most recent call last):
File "/usr/bin/hg", line 27, in <module>
mercurial.dispatch.run()
File "//usr/lib64/python2.5/site-packages/mercurial/dispatch.py", line 16, in run
sys.exit(dispatch(sys.argv[1:]))
File "//usr/lib64/python2.5/site-packages/mercurial/dispatch.py", line 25, in dispatch
return _runcatch(u, args)
File "//usr/lib64/python2.5/site-packages/mercurial/dispatch.py", line 41, in _runcatch
return _dispatch(ui, args)
File "//usr/lib64/python2.5/site-packages/mercurial/dispatch.py", line 372, in _dispatch
return runcommand(lui, repo, cmd, fullargs, ui, options, d)
File "//usr/lib64/python2.5/site-packages/mercurial/dispatch.py", line 247, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "//usr/lib64/python2.5/site-packages/mercurial/dispatch.py", line 417, in _runcommand
return checkargs()
File "//usr/lib64/python2.5/site-packages/mercurial/dispatch.py", line 377, in checkargs
return cmdfunc()
File "//usr/lib64/python2.5/site-packages/mercurial/dispatch.py", line 371, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "//usr/lib64/python2.5/site-packages/mercurial/util.py", line 718, in check
return func(*args, **kwargs)
File "//usr/lib64/python2.5/site-packages/mercurial/commands.py", line 603, in clone
update=not opts.get('noupdate'))
File "//usr/lib64/python2.5/site-packages/mercurial/hg.py", line 120, in clone
src_repo = repository(ui, source)
File "//usr/lib64/python2.5/site-packages/mercurial/hg.py", line 61, in repository
repo = _lookup(path).instance(ui, path, create)
File "//usr/lib64/python2.5/site-packages/mercurial/httprepo.py", line 239, in instance
inst.between([(nullid, nullid)])
File "//usr/lib64/python2.5/site-packages/mercurial/httprepo.py", line 160, in between
d = self.do_read("between", pairs=n)
File "//usr/lib64/python2.5/site-packages/mercurial/httprepo.py", line 124, in do_read
fp = self.do_cmd(cmd, **args)
File "//usr/lib64/python2.5/site-packages/mercurial/httprepo.py", line 100, in do_cmd
proto = resp.headers['content-type']
File "/usr/lib64/python2.5/rfc822.py", line 384, in __getitem__
return self.dict[name.lower()]
KeyError: 'content-type'
*
* ERROR: media-libs/xine-lib-1.2.9999_p247 failed.
* Call stack:
* ebuild.sh, line 48: Called src_unpack
* environment, line 2822: Called mercurial_src_unpack
* environment, line 2451: Called mercurial_fetch
* environment, line 2438: Called die
* The specific snippet of code:
* die "failed to clone ${EHG_REPO_URI}"
* The die message:
* failed to clone http://hg.debian.org/hg/xine-lib/xine-lib-1.2
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/media-libs:xine-lib-1.2.9999_p247:20090322-163207.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/xine-lib-1.2.9999_p247/temp/environment'.
* This ebuild is from an overlay named 'berkano': '/usr/local/portage/layman/berkano/'
*
>>> Failed to emerge media-libs/xine-lib-1.2.9999_p247, Log file:
>>> '/var/log/portage/media-libs:xine-lib-1.2.9999_p247:20090322-163207.log'
* Messages for package media-libs/xine-lib-1.2.9999_p247:
*
* ERROR: media-libs/xine-lib-1.2.9999_p247 failed.
* Call stack:
* ebuild.sh, line 48: Called src_unpack
* environment, line 2822: Called mercurial_src_unpack
* environment, line 2451: Called mercurial_fetch
* environment, line 2438: Called die
* The specific snippet of code:
* die "failed to clone ${EHG_REPO_URI}"
* The die message:
* failed to clone http://hg.debian.org/hg/xine-lib/xine-lib-1.2
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/media-libs:xine-lib-1.2.9999_p247:20090322-163207.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/xine-lib-1.2.9999_p247/temp/environment'.
* This ebuild is from an overlay named 'berkano': '/usr/local/portage/layman/berkano/'
* |
The most confusing thing is, if I run the command: | Code: | | hg clone --quiet --pull --noupdate http://hg.debian.org/hg/xine-lib/xine-lib-1.2 xine-lib-1.2 | (exactly as portage should/does), it works fine.
Anyone got any ideas?
I kinda need this to get my Freevo box up and running.
In case it's any use, here is my emerge --info output:
| Code: | Portage 2.2_rc26 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r3-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-glibc2.2.5
Timestamp of tree: Sun, 22 Mar 2009 11:45:02 +0000
app-shells/bash: 4.0_p10-r1
dev-lang/python: 2.5.4-r2
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.4.3-r1
sys-apps/sandbox: 1.6
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://gentoo.virginmedia.com http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://mirror.bytemark.co.uk/gentoo http://mirror.qubenet.net/mirror/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en_GB en"
MAKEOPTS="-j3"
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="/usr/local/portage/layman/berkano /usr/local/portage/default"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi alsa amd64 amr berkdb bidi bzip2 caps ccache cdda cddax cddb cdparanoia cli cracklib crypt css cups custom-cflags custom-cpuopts custom-cxxflags custom-optimization dbus dga divx djbfft dri dvb dvd exif ffmpeg flac fortran gdbm gif gpm hal iconv ipv6 isdnlog javascript jbig jpeg jpeg2k libnotify lirc live lzo mad matroska midi mixer mmap mmx mmxext mng motif mp2 mp3 mp4 mpeg mpeg2 mudflap multilib musepack mysql ncurses network network-cron nls nptl nptlonly ogg ogm opengl openmp pam pcre perl pic png pppd pvr python readline reflection sdl sdl-image sdl-sound sdlaudio session speex spl sqlite sse sse2 ssl sysfs tcpd theora threads tiff truetype tv tvtime uk_bleb uk_rt unicode v4l v4l2 vcd vdpau vim vim-syntax vorbis wav wavpack x264 xattr xcb xine xml xorg xosd xv xvid zlib" ALSA_CARDS="hda-intel" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" LIRC_DEVICES="all" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
Thanks in advance... _________________ The great thing about standards is there are so many to choose from..... |
|
| Back to top |
|
 |
tmazzoni n00b

Joined: 20 Sep 2005 Posts: 21 Location: Italy
|
Posted: Sun Mar 22, 2009 8:43 pm Post subject: |
|
|
| Gusar wrote: | | x264 is an encoder only. For decoding ffh264 (part of ffmpeg's libavcodec) is used. |
Ok, in your opinion, which are the best USE flags to get an optimized x264 and ffmpeg?
I have a Core 2 Duo and wonder if -O3 -march=core2 -mtune=core2 -mssse are enough.. _________________ tommex:x86_64|2.6.28-gentoo|E6600@3000|ASUS Striker Extreme|2GB Corsair|NVIDIA 8600GT 256MB| |
|
| Back to top |
|
 |
loftwyr l33t


Joined: 29 Dec 2004 Posts: 970 Location: 43°38'23.62"N 79°27'8.60"W
|
Posted: Mon Mar 23, 2009 12:40 am Post subject: |
|
|
If you're using gcc 4.3.x, -O2 -march=native are all the flags you need. _________________ 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 |
|
 |
Gusar Veteran

Joined: 09 Apr 2005 Posts: 1732 Location: Slovenia
|
Posted: Mon Mar 23, 2009 12:05 pm Post subject: |
|
|
| tmazzoni wrote: | | Gusar wrote: | | x264 is an encoder only. For decoding ffh264 (part of ffmpeg's libavcodec) is used. |
Ok, in your opinion, which are the best USE flags to get an optimized x264 and ffmpeg?
I have a Core 2 Duo and wonder if -O3 -march=core2 -mtune=core2 -mssse are enough.. |
The compiler optimizations don't mean much, if anything, because all speed-critical parts of x264 and ffmpeg are hand-tuned assembly. Fox x264 no special handling is necessary, all optimizations will be built by default and then runtime cpu detection will determine which will get used. For ffmpeg, the --cpu configure flag sets everything up. So check the output of ffmpeg's configure to see if the correct cpu was set and if all optimizations were activated. |
|
| Back to top |
|
 |
Benni123 Tux's lil' helper

Joined: 13 Mar 2005 Posts: 110
|
Posted: Wed Mar 25, 2009 12:32 am Post subject: |
|
|
| yngwin wrote: |
Works for me. Try again, and if it fails again, you could remove /usr/portage/distfiles/svn-src/ffmpeg/ - that sometimes solves such issues. | It appears to me that the problem is either located st the side of the computer center of my university (it has some firewall which all data must go through) or the problem is on the side of the mplayerhq webmasters.
There seem to be other people who also cannot connect:
http://www.google.de/search?hl=de&q=svn+mplayerhq+connection+&btnG=Suche&meta= |
|
| Back to top |
|
 |
justinkb Apprentice

Joined: 23 Dec 2008 Posts: 160
|
Posted: Fri Mar 27, 2009 3:26 pm Post subject: |
|
|
i have an ebuild for gst-plugins-ffmpeg 0.1.7 (requires gstreamer bump, and bump of about 10 more plugins). should i post it?
| Code: | paul@yoga ~ $ ls /usr/local/portage/media-libs/
gst-plugins-base gstreamer
paul@yoga ~ $ ls /usr/local/portage/media-plugins/
gst-plugins-alsa gst-plugins-libvisual gst-plugins-vorbis
gst-plugins-cdparanoia gst-plugins-ogg gst-plugins-x
gst-plugins-ffmpeg gst-plugins-pango gst-plugins-xvideo
gst-plugins-gio gst-plugins-theora
gst-plugins-gnomevfs gst-plugins-v4l
|
PS. mplayer-99999999 fails here now, following patch fixes it till upstream fixes this issue (commit r18199 in ffmpeg/libavformat broke it)
http://pastebin.com/m59d4e263
EDIT: fixed upstream |
|
| Back to top |
|
 |
yngwin Retired Dev


Joined: 19 Dec 2002 Posts: 4176 Location: Suzhou, China
|
Posted: Fri Mar 27, 2009 8:06 pm Post subject: |
|
|
| justinkb wrote: | | i have an ebuild for gst-plugins-ffmpeg 0.1.7 (requires gstreamer bump, and bump of about 10 more plugins). should i post it? |
I suppose you mean 0.10.7. For that you'd best get in touch with the gstreamer maintainers, so it can get into portage. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
dreadlorde Apprentice


Joined: 16 Dec 2008 Posts: 243 Location: /adm/timezone/US_Michigan
|
Posted: Sun Mar 29, 2009 7:16 pm Post subject: ndiswrapper fails to compile |
|
|
I figured this was the right place to post this, since I'm using hitchhiker-sources; if not, please make it a new thread.
I'm having problems getting ndiswrapper to compile today. I noticed the version in portage was behind from the stable version on sourceforge, so I unmerged the version from portage and went to go compile the version from sourceforge, and I get this error:
| Code: |
[~/ndiswrapper-1.54]# make
make -C driver
make[1]: Entering directory `/root/ndiswrapper-1.54/driver'
*** WARNING: This kernel uses 4K stack size option
(CONFIG_4KSTACKS); many Windows drivers will not work
with this option enabled. Disable CONFIG_4KSTACKS
in kernel's .config file, recompile and install kernel
make -C /usr/src/linux-2.6.28-hitchhiker-r5 M=/root/ndiswrapper-1.54/driver
make[2]: Entering directory `/usr/src/linux-2.6.28-hitchhiker-r5'
LD /root/ndiswrapper-1.54/driver/built-in.o
MKEXPORT /root/ndiswrapper-1.54/driver/crt_exports.h
CC [M] /root/ndiswrapper-1.54/driver/crt.o
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /root/ndiswrapper-1.54/driver/ntoskernel.h:22,
from /root/ndiswrapper-1.54/driver/crt.c:16:
include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory
include/linux/mmzone.h:256:5: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /root/ndiswrapper-1.54/driver/ntoskernel.h:22,
from /root/ndiswrapper-1.54/driver/crt.c:16:
include/linux/mmzone.h:277: error: 'MAX_NR_ZONES' undeclared here (not in a function)
In file included from include/linux/scatterlist.h:6,
from /usr/src/linux-2.6.28-hitchhiker-r5/arch/x86/include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:57,
from include/linux/dmaengine.h:29,
from include/linux/skbuff.h:29,
from include/linux/if_ether.h:120,
from include/linux/netdevice.h:29,
from /root/ndiswrapper-1.54/driver/ntoskernel.h:25,
from /root/ndiswrapper-1.54/driver/crt.c:16:
include/linux/mm.h:437:63: warning: "NR_PAGEFLAGS" is not defined
include/linux/mm.h:485:62: warning: "NR_PAGEFLAGS" is not defined
make[3]: *** [/root/ndiswrapper-1.54/driver/crt.o] Error 1
make[2]: *** [_module_/root/ndiswrapper-1.54/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.28-hitchhiker-r5'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/ndiswrapper-1.54/driver'
make: *** [all] Error 2
[~/ndiswrapper-1.54]#
|
When I first compiled ndiswrapper from portage I was still in the chroot (I had just installed) and had not yet done 'make clean' in /usr/src/linux and everything compiled fine, but now I'm using the install with hitchhiker-sources-2.8.26-r5, and have done 'make clean' in /usr/src/linux. Anyone know what could have happened that caused ndiswrapper to fail to compile? I don't think 'make clean' removes any header files, and I stumped on this problem.
edit: Here's my .config if it helps. _________________ Ludwig von Mises Institute | Quote: | | I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead. |
|
|
| Back to top |
|
 |
yngwin Retired Dev


Joined: 19 Dec 2002 Posts: 4176 Location: Suzhou, China
|
Posted: Sun Mar 29, 2009 7:46 pm Post subject: Re: ndiswrapper fails to compile |
|
|
| dreadlorde wrote: | | I'm having problems getting ndiswrapper to compile today. I noticed the version in portage was behind from the stable version on sourceforge, so I unmerged the version from portage and went to go compile the version from sourceforge, and I get this error: |
So use the version in portage. WFM. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
dreadlorde Apprentice


Joined: 16 Dec 2008 Posts: 243 Location: /adm/timezone/US_Michigan
|
Posted: Sun Mar 29, 2009 8:58 pm Post subject: Re: ndiswrapper fails to compile |
|
|
| yngwin wrote: | | dreadlorde wrote: | | I'm having problems getting ndiswrapper to compile today. I noticed the version in portage was behind from the stable version on sourceforge, so I unmerged the version from portage and went to go compile the version from sourceforge, and I get this error: |
So use the version in portage. WFM. |
Just tried that, same problem.
edit: found this.
and this. Going to try << out now.
^^ worked. _________________ Ludwig von Mises Institute | Quote: | | I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead. |
|
|
| Back to top |
|
 |
grant123 Apprentice

Joined: 23 Mar 2005 Posts: 186
|
Posted: Tue Mar 31, 2009 4:43 pm Post subject: |
|
|
Is anyone else having trouble compiling xine-vdpau? I get this:
ff_video_decoder.c:123: warning: 'AVPaletteControl' is deprecated
ff_video_decoder.c: In function 'ff_convert_frame':
ff_video_decoder.c:653: error: 'PIX_FMT_RGBA32' undeclared (first use in this function)
ff_video_decoder.c:653: error: (Each undeclared identifier is reported only once
ff_video_decoder.c:653: error: for each function it appears in.)
ff_video_decoder.c: In function 'ff_handle_special_buffer':
ff_video_decoder.c:1021: warning: 'AVPaletteControl' is deprecated
ff_video_decoder.c:1025: warning: 'AVPaletteControl' is deprecated
ff_video_decoder.c: In function 'ff_handle_buffer':
ff_video_decoder.c:1299: error: 'PIX_FMT_RGBA32' undeclared (first use in this function)
ff_video_decoder.c:1355: warning: passing argument 1 of 'pp_postprocess' from incompatible pointer type
ff_video_decoder.c: In function 'init_video_plugin':
ff_video_decoder.c:1652: warning: dereferencing type-punned pointer might break strict-aliasing rules
make[3]: *** [xineplug_decode_ff_la-ff_video_decoder.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.9999/work/xine-vdpau/src/combined/ffmpeg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.9999/work/xine-vdpau/src/combined'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.9999/work/xine-vdpau/src'
make: *** [all-recursive] Error 1 |
|
| Back to top |
|
 |
grant123 Apprentice

Joined: 23 Mar 2005 Posts: 186
|
|
| Back to top |
|
 |
|
|
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
|
|