From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Slow not in sync movie playing with mplayer2, ffmpeg, x264 with intel core i5
Date: Mon, 20 Feb 2012 22:09:52 -0500 [thread overview]
Message-ID: <20120221030951.GA26793@waltdnes.org> (raw)
In-Reply-To: <CAHNvW1+N5M=qZXzTcWS9nJhHz8NYeJOCfGhGdANim+XT7QDF4A@mail.gmail.com>
On Sun, Feb 19, 2012 at 10:59:27AM +0200, Kfir Lavi wrote
> I did a compilation from the start. 3 times @system and 1 time @world.
> I have used -march=native -mfpmath=sse and now movies do play well.
> I'm still not sure why I had this problem.
> I did use mmx and sse use flags, but did removed them.
> Is it possible that my gcc didn't created good efficient binary before I
> used recompiled world?
> I really don't think so.
It's not just the mediaplayer (mplayer/VLC/Xine/whatever). Your entire
system needs to be optimized. If you're playing a file from your hard
drive, faster disk drive access helps. If you're streaming from the
web, faster networking code helps. Most movies have sound. Faster alsa
code helps. Video uses the X Window libraries. Speeding them up helps.
There are a lot calls to the kernel. Speeding up the kernel helps.
To summarize... your system uses dozens of libraries to render a movie.
Optimizing one library may seem very minor, but it all adds up when you
optimize every library on your system.
--
Walter Dnes <waltdnes@waltdnes.org>
next prev parent reply other threads:[~2012-02-21 3:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-12 8:51 [gentoo-user] Slow not in sync movie playing with mplayer2, ffmpeg, x264 with intel core i5 Kfir Lavi
2012-02-12 10:42 ` pk
2012-02-12 16:57 ` Kfir Lavi
2012-02-13 5:34 ` Walter Dnes
2012-02-19 8:59 ` Kfir Lavi
2012-02-21 3:09 ` Walter Dnes [this message]
2012-02-12 18:59 ` James Broadhead
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120221030951.GA26793@waltdnes.org \
--to=waltdnes@waltdnes.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox