[gentoo-user] Slow not in sync movie playing with mplayer2, ffmpeg, x264 with intel core i5
Hi, I'm trying to play a mkv movie that is encoded with x264 720p. The movie get out of sync very quickly. I tried some suggestions in the gentoo forum, but they didn't help. It seems unreasonable to me that my cpu Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz can't play this files. When playing the movie, I can see clearly that both cores are in ~90% cpu. I tried to compile with -O2, -O3, with use flags 'mmx sse sse2 ssse3 dri dri2 3dnow 3dnowext mmxext' and without. Playing stay the same. I'm using the command: mplayer2 -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all file.mkv After each change I'm running: emerge ffmpeg mplayer2 What are your suggestions? media-video/ffmpeg-0.10 media-video/mplayer2-2.0_p2026 lspci: 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02) 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06) 00:16.3 Serial controller: Intel Corporation 5 Series/3400 Series Chipset KT Controller (rev 06) 00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06) 00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06) 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06) 00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06) 00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6) 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06) 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06) 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06) 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06) 02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35) ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02) ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02) ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02) ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02) Attached is the emerge info. Regards, Kfir emerge-info Description: Binary data
Re: [gentoo-user] Slow not in sync movie playing with mplayer2, ffmpeg, x264 with intel core i5
On 2012-02-12 09:51, Kfir Lavi wrote: I'm trying to play a mkv movie that is encoded with x264 720p. The movie get out of sync very quickly. Is it just this particular video that gets out of sync or does other videos have the same symptoms? If it's only this video, then I would say it's the video file itself that is out of sync... Best regards Peter K
Re: [gentoo-user] Amazon Streaming broken, need hal-0.5.14-gentoo-patches-5.tar.bz2
On Sunday 12 Feb 2012 02:07:28 Grant wrote: SNIP I do recognize my willingness to live with DRM is quite different than many of my Linux friends. For that I apologize. I guess I should be more militant... Nah! No need to apologise. Respecting the wishes of the content creators when you don't *have* to makes you more militant - but in reverse! Ha, ha, ha! :-)) Thanks for your willingness to allow me to continue attending... :-))) Have you tried using the rtmpdump and friends to sniff the stream address and then download it directly to your machine? I don't know if it works with Amazon, because I do not have an account with them. Never heard of it actually, and frankly I'm so enamored of just streaming what I want when I want it that I don't really want to save anything. Just the good stuff at NetFlix+Hulu Plus+Amazon Prime == more than I can watch in the next few years. I just keep on VMWare VM for watching all this stuff and haven't had any problems that I couldn't overcome pretty easily. If rtmpdump works (it may well not) you can pipe its output to mplayer, or wherever you want. Since I don't want to run VMWare, mine goes (Netflix+makemkv)+Hulu Plus+Amazon Prime. Loving it, although this new Amazon problem is a thorn in my side. Let's try to remove this thorn, in case we might be able to: Emerge rtmpdump: $ eix -l rtmp [I] media-video/rtmpdump Available versions: 2.3 amd64 ~arm hppa ppc ppc64 x86 ~x86-fbsd [gnutls polarssl ssl] (~) 2.4 ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd [gnutls polarssl ssl] ** [gnutls polarssl ssl] Installed versions: 2.4(23:23:30 08/12/11)(ssl -gnutls -polarssl) Homepage:http://rtmpdump.mplayerhq.hu/ Description: Open source command-line RTMP client intended to stream audio or video flash content Fire up your browser, or whichever way you normally access your content. Do not start streaming yet. We need to redirect the stream: # iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT Start a server: # rtmpsrv Now try to start playing the content using your browser, flash player or what not. After a few seconds (be patient) there should be a URL stream shown on the terminal you started the server from. Close the server (Ctrl+c) and remove the redirect in your iptables: # iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT Now go to a terminal and paste in the stream. If it succeeds downloading you're in luck! If not try rtmpsuck in case that works. If you are getting adverts at the start of the stream then you may need to wait a bit longer until the main video starts and a different stream shows up. Some times blocking cookies in the browser can screw things up, so beware of that. HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KMail
On Saturday, February 11, 2012 03:18:53 Mick wrote: On Saturday 11 Feb 2012 07:47:41 Volker Armin Hemmann wrote: Am Donnerstag, 9. Februar 2012, 18:33:12 schrieb Daniel D Jones: I was one of those bitten by the upgrade to KMail back in October. After spending nearly two days without access to email while trying to get the upgrade and migration to work, I gave up and pinned KMail to version 4.4.11.1. With the recent upgrade to KDE, I'm curious if anyone knows whether the bugs have been worked out and the KMail upgrade will go smoother now? I switched a long time ago, so I can't say anything about 'smoother' but it does work, as long as you remove all mail ressources and add them back one after another. Unfortunately, it does not work here on my test x86 stable box. I have removed and added each resource more than a dozen times. POP3 seems to broadly work (but it creates duplicate messages which once deleted are recreated) and IMAP4 does not show any messages in the Inbox. The kaddressbook does not show the addresses. I've tried deleting akonadi databases, adding the resources or importing them and starting again many, many times to come to the conclusion that in my set up it just won't work. I hope that code progress eventually restores functionality which I consider absolutely basic - i.e. to be able to read my messages and use my addresses. Having wasted far too much time for no positive result I'm now in hope that trinity desktop will come up with a solution that I was sorry to see left behind - KDE 3.5. Your experience sounds similar to mine. I tried everything I could to get it working with limited success to say the least. I'm using POP3 to a server sitting right here on the same local network, no IMAP. Still had the problem with duplicate emails, unable to import my fairly large archives of old email, etc. I don't have any desire to go back to KDE 3.5 - I like the 4.x changes to KDE. I'm assuming then the upgrade to 4.8 didn't fix KDE and I'll just leave it pinned for now. -- God is omnipotent, omniscient, and omnibenevolent -- it says so right here on the label. If you have a mind capable of believing all three of these divine attributes simultaneously, I have a wonderful bargain for you. No checks, please. Cash and in small bills. - Robert A Heinlein, _Time Enough for Love_
Re: [gentoo-user] Slow not in sync movie playing with mplayer2, ffmpeg, x264 with intel core i5
On Sun, Feb 12, 2012 at 12:42 PM, pk pete...@coolmail.se wrote: On 2012-02-12 09:51, Kfir Lavi wrote: I'm trying to play a mkv movie that is encoded with x264 720p. The movie get out of sync very quickly. Is it just this particular video that gets out of sync or does other videos have the same symptoms? If it's only this video, then I would say it's the video file itself that is out of sync... No, it is all the videos that are 720p x264. Best regards Peter K
Re: [gentoo-user] HTPC and Gentoo
On 12 February 2012 00:11, Alecks Gates fuzzylunk...@gmail.com wrote: On Feb 11, 2012 6:54 PM, Michael Mol mike...@gmail.com wrote: So I've got Inara in position to be my HTPC box. Tried installing MythTV, but I can't make heads or tails of how to have it do the things I'd like it to do: * Play DVDs inserted into the DVD drive * Hit streaming websites like Netflix, Hulu, Amazon Prime, Youtube, etc. * Play video and audio files I already have. * Launch games like StepMania and/or Frets on Fire. XBMC should do everything you're looking for, with a few plugins (launcher, youtube, bluecop?). I don't know the state of Hulu or Netflix (last I checked Netflix doesn't work due to Mono (Moonlight) DRM issues), but the xbmc forums should have that info. It's a very lovely program, and is just about to come out with a new release too. +1 Although you'll need to hack around to get calling to external applications working (Stepmania), and at least historically, XBMC has pretty high CPU usage when in the background. For video capture, you're stuck using Myth, but there's xbmc-myth connectivity in the new release. (I think that it's a new feature, at least)
Re: [gentoo-user] Slow not in sync movie playing with mplayer2, ffmpeg, x264 with intel core i5
On 12 February 2012 08:51, Kfir Lavi lavi.k...@gmail.com wrote: Hi, I'm trying to play a mkv movie that is encoded with x264 720p. The movie get out of sync very quickly. I tried some suggestions in the gentoo forum, but they didn't help. It seems unreasonable to me that my cpu Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz can't play this files. When playing the movie, I can see clearly that both cores are in ~90% cpu. I tried to compile with -O2, -O3, with use flags 'mmx sse sse2 ssse3 dri dri2 3dnow 3dnowext mmxext' and without. Playing stay the same. I'm using the command: mplayer2 -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all file.mkv threads=2 is a nice option to try in most circumstances. :) You should also make sure that XVideo is set up correctly (if that's what you're using). `xvinfo` will inform you of that. Try some other -vo options. You should also try media-video/mplayer (which is a separate project) The console output from mplayer2 itself would also help. Finally, your lspci output would be more useful if you ran `update-pciids` beforehand.
Re: [gentoo-user] Slow not in sync movie playing with mplayer2, ffmpeg, x264 with intel core i5
On Sun, Feb 12, 2012 at 06:57:08PM +0200, Kfir Lavi wrote No, it is all the videos that are 720p x264. Is this a recently installed Gentoo? I had a similar problem trying to play 1080i TV and also with NHL Gamecenter Live. A fresh install will have almost all binaries using generic lowest-common-denominator 32 or 64 bit code, so that it will work on every machine with the target CPU. Once I did emerge system + emerge world + rebuilt kernel and rebooted, it ran fine (for a 4+ year old Dell). Now it can handle at least the minimum speed for NHL Gamecenter Live, and play 1080i from the TV tuner. For CPU flags I use... CFLAGS=-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe CXXFLAGS=${CFLAGS} If that isn't your problem, can we see output from the 2 commands... cat /proc/cpuinfo (1 core is enough, thanks) head /proc/meminfo (does Memtotal: match what your BIOS shows on bootup?) -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] HTPC and Gentoo
On 02/12/2012 12:53 AM, Michael Mol wrote: So I've got Inara in position to be my HTPC box. Tried installing MythTV, but I can't make heads or tails of how to have it do the things I'd like it to do: * Play DVDs inserted into the DVD drive I don't use many DVD but I think it works for me. There's a configuration item to 'scan for DVD insertion' or something. If it doesn't start automatically it should be possible to use 'Optical disk' - 'Play DVD'. * Hit streaming websites like Netflix, Hulu, Amazon Prime, Youtube, etc. You need media-plugins/mythnetvision for that. I haven't tried it myself because it needs multilib and I'm no-multilib. * Play video and audio files I already have. Other than configuring the directories holding the files there wasn't much I needed to do to play local audio/video files. Have you checked the mythtv wiki [1]? For video you can use mythtv's Internal (capital 'I' is mandatory in the config) or any other. I've been using mplayer for years but in mythtv 0.25 Internal is quite good and better integrated than mplayer (and it's able to play almost everything). * Launch games like StepMania and/or Frets on Fire. I had media-plugins/mythgame working with Xmame. Now that Xmame is out of tree I dropped it because I wasn't using it anymore. I am not at all familiar with the two games you mention so I cannot help here. I've used the in-tree mythtv for years but lately it wasn't being updated [2][3] so I switched to the overlay [4] and been happily running 0.25 with that. [1] http://www.mythtv.org/wiki/Video_Library [2] http://rich0gentoo.wordpress.com/2011/06/18/whats-up-with-mythtv-on-gentoo/#more-120 [3] http://rich0gentoo.wordpress.com/2011/12/14/another-mythtv-update/#more-138 [4] I don't remember which, I have to check. Probably the one mentioned in Rich0' blog.