JudgeHolden wrote:It all depends on the video. One might sutter in VLC and then play great in mplayer or may not play at all in one and play in the other
As you may appreciate, H.264 requires more processing power than MPEG-4 ASP (eg XviD/DivX). In addition to this, that complexity can vary a lot between two videos. For example XviD uses 2 reference frames (which is an option you do not see or can change); in x264 you can set it to 0, or way up to 16. There's even options such as how the bitstream is coded, you can use CAVLC which is more efficient than Huffman (Huffman is the algorithm used in Zip files), but doesn't require huge amounts of processing power, and then you have CABAC which gets awesome savings but eats CPU time. Even the bitrate has effect since the higher the bitrate, the more stuff there is to decode with CABAC.
JudgeHolden wrote:Like some people trying to do to much and not really undersatnding what they are doing. Confused Anyway, if you are on a PC, you would never see these issues.
I appreciate you may not be familliar with opensource, or the community or people who write these programs, but they are all very well capable of what they are doing, and unlike MKV where there may be an amount of guessing at how things are handled, stuff like H.264 and MP4 is fully documented by MPEG, and these developers have a copy of those documents (it's simply in .pdf format), so it's not as though they are reverse engineering. Trust me on this one, but please show some more respect for the people who are doing this for free. Without them you wouldn't have VLC, FFDShow, XviD, x264, MP4box, MKVMerge, Virtualdub, AVISynth, DGIndex, or even the org itself. If you doubt the ability of the developers, pengvado the developer of x264 now works at Nero (the CD/DVD writing software people) after seeing x264; and MP4Box has seems to have some kind of ties with ENST, which I think is some French telecom company (but since I don't know French, I can't look into it).
JudgeHolden wrote:Oh, and mplayer seems to be the more relaible player for mp4s on a Macs, so it could also be a problem with VLC.
I had a sneaking suspicion this would end up being CPU related, but this seems to be a coincidence. mplayer usually has lower CPU requirements than VLC, so that may be why VLC stutters and mplayer doesnt. That isn't inconsistant implementation, that's your CPU being too slow to run the file in VLC. Given a fast enough CPU, I would lay money that VLC would run fine too; after all MP4 has been around since 2000, and has had major usage in the last 2 or 3 years. Do you think the developers would still not have got it right by now despite having the documents?
trythil wrote:such as the ffmpeg decoder (used in mplayer and VLC)
That's the other thing; both players use the same decoder, so the fact that it plays in one and not the other seems fishy.
JudgeHolden wrote:Now, why the difference? It can't be processing power, cuz then the first two wouldn't work in any player.
As I said, processing requirement can vary a lot between files of even the same framerate and resolution, not to mention that even players that use the same decoders have different CPU and memory requirements.
JudgeHolden wrote:Now h264 became big on this site AFTER the new intel processors, so maybe there is a glitch between intel macs and G5/4 macs?
lol what? H.264 became big here in particular because I was continually pimping it in the AMV channel, wrote a guide and would help people if they wanted it (although I do not want to come across as big headed, but I have tried pretty damn hard to put the wheels in motion). They saw how awesome the codec was, and it spread via word of mouth. In addition to that, I was also doing my damndest to promote it to some fansub groups, and there is a hugeass thread on Animesuki where I discuss it extensively, so hopefully people can gain something from that. Not to mention it's being used in iPod, PSP, HD-DVD, Bluray and some hardware players (like KiSS 1600); it's generally the buzzword now.
Also not everyone who is encoding and playing back H.264 is doing so on a Mac, so the fact that Mac now has Intel CPUs has little to no bearing.
What is likely the issue (and trythil may well confirm or deny my theory) is the architecture difference between the G4/G5 and Intel Macs. Programs like VLC, mplayer, or rather the decoder, are written for x86 instruction sets, and generally not optimised for Mac because it's a relative minority. If the Intel Macs are similar or the same CPUs as Windows PCs, then performance shouldn't be an issue because it's a similar architecture. Having said that, I'm not that keyed up on CPU architecture so it would be great to get another opinion.
I hate to come across abruptly, but you are blaming things without fully understanting what or why it's happening.
JudgeHolden wrote:You see this is what it comes down to. To me a "Standard" encode will be as cross-platform and cross-player as possible.
To me a "Standard" encode is anything I produce that complies with what MPEG specify. That is pretty much any encode I've produced using x264; and I could probably verify that if I had a compile of the H.264 reference software (where if it decodes with that, it's standard as far as MPEG are concerned).
I'm doing my part right; I'm complying with MPEG's specification (which is available to any company that wants to implement H.264 and/or MP4) as best I can, even using the recommended audio and container, if Apple only has a partial implementation of a decoder that's a shame for Mac users, but it's not my problem, they need to bitch at Apple to give them a full decoder.
There has to be a cutoff point somewhere. I mean do you expect me to release stuff in 320x240 DivX 3.11 just because there is a minority still with 500Mhz CPUs? If you don't take H.264 for everything it's worth, you may as well stick with XviD and just have larger filesizes.
Also Alternate Dimensions plays flawlessly with CoreAVC, FFDShow and VLC, having said that it's 29.97 fps and is high motion with a high bitrate, so it's likely your CPU is lagging.
Hate the player, not the game