2007-07-03, 23:20 | Link #1 |
Tasuke
Join Date: Dec 2003
Location: singapore
Age: 42
|
need help in playing h264
Hmm... when i play .mkv files my screen got lagging and audio lag too... i check use ctrl alt del to check my cpu process and its reach 100% usage.. Is all the mkv files like this or only just this one i can play??
|
2007-07-03, 23:36 | Link #2 |
Aspiring but lazy
Join Date: Dec 2005
Location: The Internet
|
I'm guessing that you're playing a pretty hi-res h.264 file on a not so adequate processor.
But just in case, what's your processor, codecs you got, and the resolution of the file you're playing? Alternatively, you might want to check the thread below this one (as of this posting, titled "Staggering h.264") |
2007-07-04, 02:02 | Link #3 |
Tasuke
Join Date: Dec 2003
Location: singapore
Age: 42
|
Pentium(R) 4 CPU 2.40GHz 2.41 GHz, 1.50GB ram
Filter 0: Default DirectSound Device Filename: C:\WINDOWS\system32\quartz.dll Filter CRC: EF5A266F Date: 2005-08-30 | 11:54:26 Filter 1: Video Renderer Filename: C:\WINDOWS\system32\quartz.dll Filter CRC: EF5A266F Date: 2005-08-30 | 11:54:26 Filter 2: ffdshow Audio Decoder Filename: C:\Program Files\Combined Community Codec Pack\Filters\FFDShow\ffdshow.ax Filter CRC: 4FD5914D Date: 2007-02-14 | 19:47:32 Filter 3: ffdshow MPEG-4 Video Decoder Filename: C:\Program Files\Combined Community Codec Pack\Filters\FFDShow\ffdshow.ax Filter CRC: 4FD5914D Date: 2007-02-14 | 19:47:32 Filter 4: C:\Documents and Settings\Boon\My Documents\BitTorrent Downloads\Zero no Tsukaima\[SS-AYU]_Zero_no_Tsukaima_01_[DVD_h264_aac][9 Filename: C:\Program Files\Combined Community Codec Pack\Filters\Haali\splitter.ax Filter CRC: 12B13584 Date: 2007-02-15 | 03:25:04 This is the test render Results i get from CCCP insurgent.. I don't understand a single word at all |
2007-07-06, 21:09 | Link #5 |
King of Hosers
Join Date: Dec 2005
Age: 41
|
P4s do suck alot unfortunately , especially the older ones. The specs of this file are accordingly somewhat high because it is a dvdrip, I'm guessing the res listed is only the anamorphic one. So it probably should be something near 704x480. If turning on YV12 in ffdshow does not help...well we can wait for Ledgem's #1 answer...but I'll just say you should look into CoreAVC.
P.S. The file is not slow because it is MKV (or Matroska), the laggy playback is caused from the video codec inside the container. Which in this case is H.264. |
2007-07-07, 05:37 | Link #7 | |
makes no files now
Join Date: May 2006
|
Quote:
Or do you want it step by step using pictures??? n_n
__________________
|
|
2007-07-07, 13:13 | Link #9 | |
Love Yourself
Join Date: Mar 2003
Location: Northeast USA
Age: 38
|
I'll type it up fresh, just for you.
As was already mentioned, your processor sounds like it's struggling to keep up. The only sure-fire fix for this is to upgrade your hardware. But we can try a few free solutions first, to see if you can't squeeze a bit more life out of your current setup: Boost the process priority of your media player. To do this, open the task manager (ctrl+alt+del), with your video player loaded, and go to the Applications tab. Find your video player, right click it, and select "go to process" - this will now take you to the Processes tab, with a process highlighted. This process is your video player. Right click it, and mouse over the "Set Priority" menu - you will see a number of options, with a bullet near "Normal" selected, unless your media player set its own priority differently. Go ahead and set the priority to "Above normal." In my experience, setting it to "High" has very little effect, and anything more than that will cause your computer to slow down massively. Also, what media player are you using? While I've never noticed it myself, popular opinion claims that the media player you use can impact your performance. If you're using Windows Media Player, you may want to consider switching to another player. As Nicholi mentioned, CoreAVC is considered the ultimate player for processor efficiency (it's also the only player currently that will make use of dual cores; this won't help you, though, as your Pentium 4 is a single-core processor). If you've already enabled YV12 in FFDShow (and/or your video player), there is one more tweak you can try. I used BSPlayer as my media player. As unpopular a player as it was, it had some interesting options. Try playing around with the Overlay Modes/Mixer - I had options of Overlay Type 1 and Type 2, and Type 2 gave me better performance. If I remember correctly, you need to adjust the setting in FFDShow as well (in your case, you might only need to adjust it in FFDShow). Sometimes improperly matching the overlay modes caused the video to be skewed for me. Just remember what your original settings were so that you can revert back, if need be. Lastly, there is a contraversial method you can try: use a different build of FFDShow. I found that using a SSE2-optimized build of FFDShow gave me performance improvements over a generic build of FFDShow. The specific build that I used to use can be found here. However, it's a bit old; there may be better current versions that exist. I don't recommend this except as a last resort, since you'll have to change your video setup slightly (removing CCCP and going with this). It shouldn't cause any instability, though. Disclaimer about that last one, given that some people get a bit touchy about it: Quote:
__________________
|
|
2007-07-07, 14:38 | Link #10 | |
makes no files now
Join Date: May 2006
|
Quote:
http://www.cccp-project.net/wiki/ind...?title=CoreAVC
__________________
|
|
2007-07-07, 14:51 | Link #11 | |
Love Yourself
Join Date: Mar 2003
Location: Northeast USA
Age: 38
|
Quote:
__________________
|
|
2007-07-08, 02:13 | Link #12 | |
King of Hosers
Join Date: Dec 2005
Age: 41
|
Quote:
P.S. It's not controversial. The "experts" (see developers) quite clearly say the difference in speed is indistinguishable in regards to plain decoding. The margin of error in the results is acceptable, that means the difference you see in the results (however subtle) is not representative of any "zomg SSE2 means slightly fastar!" There is still no truth in saying that. Otherwise you would consistently see the SSE2 results with the highest numbers, but they are not. Meaning some other small variable was in place which can explain the difference in speeds. Otherwise making them indistinguishable. They even go on to say that "SSE2-optimized builds showed no improvement over SSE builds". Wow, whoda thunk it. Now in my magical happy fun world I call reality, usually only something is controversial when two experts have come to two different conclusions. Though maybe that's too pompous of me to claim Ledgem et al. and their testing does not really count as an expert opinion. Even though Ledgem et al. have submitted no such tests to the prestigious Journal of INTERNET or at least discussed their remarkably different results with anyone else. Please don't point people to ancient celtic_druid builds as something to "just try" because maybe fairies will sprinkle some dust on their CPU ;-;. If there were up to date SSE2 builds, well that might be different, but you'll notice no one makes them. Gaspu...should we use critical thinking to ponder why there aren't any up to date SSE2 builds? NEIN! |
|
2007-07-08, 05:57 | Link #13 |
Tasuke
Join Date: Dec 2003
Location: singapore
Age: 42
|
Currently i'm using mpc.. with this media player is there any setting i can do to improve? I have switch the process to above normal but it seen no different at all.. At first is all right but half way it become lagging again. Btw i have apply the YV12 already but still the same
|
2007-07-08, 07:04 | Link #14 |
makes no files now
Join Date: May 2006
|
Then you have only two choices:
1) Get CoreAVC 2) Upgrade your CPU Or 3) Use mplayer, however this won't help unless it's a softsubbed release that is in question. Otherwise it should be of the same speed as using MPC with ffdshow and the rest.
__________________
|
2007-07-08, 12:24 | Link #15 | ||||
Love Yourself
Join Date: Mar 2003
Location: Northeast USA
Age: 38
|
Quote:
Quote:
Quote:
Quote:
Joking aside, I understand your point (your response would be "you don't see any SSE3-optimized builds, do you?" - I know there is at least one, but again, I get your point). Tell me how I can benchmark this stuff and I'll do it when I can. I know you hate to hear this, but I noticed a huge improvement when changing FFDShow builds. Maybe the builds today have made such vast improvements, as you say, that their performance is even better. I wouldn't know. I will say that I found the graphs on the page I cited to be interesting. As you said, the SSE2 optimized builds occasionally performed worse than the SSE or vanilla builds; occasionally they performed better, but the performance differences were almost always +/- 2%. I don't know if that's a statistically significant number when it comes to decoding, because I don't specialize in that. The author of the website sides with your opinion of claiming that it is not. I found it interesting that there was a difference at all. Don't these all use the same decoding libraries, and are all able to make use of the same processor extensions? Shouldn't the results have all been nearly exactly the same? But then, I'm not a programmer, and I freely admit that. So let me know how I can get some numbers for us to see what's going on, and we'll take it from there.
__________________
|
||||
2007-07-08, 21:03 | Link #16 |
King of Hosers
Join Date: Dec 2005
Age: 41
|
Haali's benchmarking app, as clearly stated on the page you enjoy reading...but not really reading. I believe it has been stated many times before.
Also, just for your benefit be sure to compare plain MPEG4 ASP (Xvid/DivX) decoding and also H.264. The H.264 decoding for that build will be extremely slower because all the optimizations for H.264 decoding came out way after 2005. And I'm quite sure the major reason you are recommending this SSE2 build is when people trying to play H.264 can't because it is laggy. You are in fact telling them to use a build which is slower regardless of what set it is optimized for. |
2007-07-09, 12:17 | Link #19 |
AS Oji-kun
Join Date: Nov 2006
Age: 74
|
It's a "real solution" if the subbers kindly make both formats available, as Eclipse does for instance.
If I'm forced to download an H.264 sub, I re-encode to XviD in AVI with mencoder. That's a solution, too, but an annoying one, and one not easily accessible to most viewers. I never have a problem watching XviD's on my Celeron, even at 1280x720. I can't watch any H.264 encodes, even at lower resolutions, without losing sync. I keep thinking about buying a new computer, but I can't justify spending money just to watch a particular video format. I'm on Linux, so CoreAVC is not really an option for me unless it works well under Wine, which seems unlikely.
__________________
|
2007-07-09, 12:59 | Link #20 |
Senior Member
Join Date: Dec 2004
Location: Portugal
Age: 44
|
I had an athlon xp 2200 + gf4 mx and I couldn't watch those h264 that demanded a lot of resources so I bough a new pc. I bough a C2D 6600 + 8800 GTS 320 e my problems were solved and I am happy! I know I wasted 1200 euros but was worth it. The feeling of having new hardware running things smoothly is refreshing.
__________________
|
|
|