That would require all the code to be rewritten from the ground up and all the compilers etc. Do you seriously expect any software vendor to redevelop their development tools? Would you create new assembler code for C string functions for each new major OS release? That's not how PLEs work. Indeed, some known issues are deliberately kept because legacy software would break. One example is in Video for Windows. There is a bug that limits the maximum file size to 2GB (because of a signed compare instead of unsigned in the VfW dll). Fixing the bug would break many NLEs etc.Originally Posted by deadrats
Well, your understanding is incomplete. Read up on the scheduling and affinity changes introduced in 6.1.my understanding is that Win 7 uses the same amount of resources that Vista did, which is what one would expect. Vista, and as a consequence Win 7, was significantly better threaded than XP, the more threads a piece of software launches the more ram it requires and the more cpu resources, i don't see how Win 7 could improve on this unless it was less threaded than Vista.
+ Reply to Thread
Results 31 to 56 of 56
-
-
@ocgw
do you have any proof whatsoever that win 7 uses less resources than vista and if so by what metric are you measuring resource usage? idle ram used? virtual memory used? lower cpu usage?
if win 7 is just vista sp3, as you said, then why would it use less resources and an even better question is why would you pay full purchase price for a service pack that should have been offered for free? -
Originally Posted by JohnnyMalaria
1) you can only improve your apps so much if you don't improve your development tools.
2) and the biggest reason i expect them to improve their tools is because the same tools they use to create their software, such as word, windows and their compilers they also sell to the general public, i remember being given a full retail copy of visual c (as a gift) when i was in college and the handbook that came with it, in the first couple of pages, had a passage that said:
"did you know we created visual c using visual c?" , a line i just had to chuckle at, i knew what they meant but it still sounded absurd.
furthermore it is absurd to claim that "some known issues are deliberately kept because legacy software would break", you are basically implying that the app in question actually relies on a bug in the OS, i submit to you that if that in fact is the case both the OS and the app in question should be junked immediately, a bug in the OS should be an impediment to an app working properly not aid it nor should fixing the bug prevent the app from functioning.
as far as the bug in vfw that you refer to i am not aware of any limitation on size, in fact i just had to go and test your claim and encoded a 6 gig avi using mp3 audio and the vfw x264 build and it encoded and plays back just fine.
i tried to google "vfw 2 gig bug" (and variations thereof) but all i could find was links back to your post and a couple of obtuse references dating back to 1999 about certain software having that limitations with updates that it had been fixed and the only current (circa 2008/2009) references relate to adobe's software having a similar bug that limits file sizes to 2 gigs when using a vfw codec, but every indication points to it being an adobe bug exclusively and not something wrong with the vfw framework.
Originally Posted by JohnnyMalaria
http://www.tomshardware.com/reviews/intel-core-i5,2410-8.html
as you can see all it does is benefit the nehalem architecture by allowing it to use less power at idle but it also allows the processor to ramp up the turbo boost speeds faster, which in theory should result in a very slight performance edge under full load but also causes more juice to be used.
but for ocgw say that "it isn't a huge resource hog like Vista was", come on, stop the madness.
maybe i've gotten a bit spoiled by linux, which despite having it's issues, the open source community seems to be way more responsive about bugs than microsoft (or apple for that matter), a bug is found, it gets fixed asap, the compilers are constantly being updated and there is no way a bug in the linux kernel from 17 years ago would still exist today.
from a performance perspective, some of the better prepared distros run like stink on a monkey and the bsd variants in many ways point to where windows should be going. i remember installing and testing pc-bsd and thinking to myself that microsoft should buy that company and build vista on top of that, port dx and the whole win api so that it runs on top of bsd (they could have looked at the WINE project for guidance), used the project looking glass 3d desktop and called it a day, they would have had a nice, compact, clean, fast, modular OS that they could improve in parts as they see fit, it would be secure, virus writers wouldn't have experience writing malware for it so it would have that added benefit, it would have the powerful shell scripting for administration and since most of the code would be lgpl they wouldn't even need to release any of the enhancements they made to the code back to the open source community.
alas, we got vista, then win 7, in about a year to 18 months we'll have win 8, then win 9 and if microsoft has their way, as has been their stated vision since the internet's inception, we'll eventually all be using "dumb terminals" that run skeleton OSes, that connect to centralized servers where the software we lease resides (i'm sure you have heard of the whole "the internet is the computer" business plan). -
If you check 'bb' response here (http://forum.doom9.org/archive/index.php/t-49164.html) you see that the 2GB limit is a restriction in the original AVI 1.0 specifications ... the OpenDML extension has since overcome this, and with most software you may not even know which it's creating!
Trev -
Originally Posted by deadrats
1. I have read that Windows 7 assigns less resources by default, the the proof is Windows 7 will run smoothly on almost any PC down to even PIII's w/ 1GB of memory, try that w/ Vista
irl example: My daughter came back home from school, daughter's PC had Vista, a P4 and 1/2 a gig of ram it was excruciating slow, I added to her PC a 1GB stick of ram and it was a little better but it still sucked balls, I loaded Windows 7 on it w/ no other change and it is now fast and responsive
2. The "Vista Service Pack 3" uses less resources because it has performance tweaks to do so
3. I never paid one slim dime for Windows 7, I was given Windows 7 Ultimate "Signature Edition" for free by MS
4. I personally never chose to use Vista on any of my personal PC's because all my PC's are tweaked for maximum performance, I migrated my entire home network from XP to Win 7, and if anyone has Vista and it is working for them I don't recommend paying to upgrade
I do recommend new PC buyers and Vista computer owners w/ marginal hardware to upgrade to 7
I have met ppl like you that will give a 1000 page disertation proving that the sky is black, but when we look up it is still looks blue
ocgw
peacei7 2700K @ 4.4Ghz 16GB DDR3 1600 Samsung Pro 840 128GB Seagate 2TB HDD EVGA GTX 650
https://forum.videohelp.com/topic368691.html -
Originally Posted by TJohns
maybe johnny will expand on his claims... -
VfW, not DirectShow. I can assure you that for the AVI 1.0 specs, the bug remains. I'm not refering to codecs, I'm refering to the VfW file i/o library functions. I know this from a private conversation with the person who devised and led the development DirectShow when he worked for MS.
-
[quote="deadrats"]i expect a developer to continuously improve and update their development tools for 2 reasons
[\quote]
You don't understand "continuous improvement", obviously. All of your preaching is about how continuous improvement rather than ground-up redevelopment is the root of all MS evil. -
Originally Posted by ocgw
http://www.microsoft.com/windows/windows-vista/get/system-requirements.aspx
note that microsoft recommends a minimum of 512mb of ram for vista home basic
http://www.microsoft.com/windows/windows-7/get/system-requirements.aspx
note that the lowest recommendation for win 7 is 1 gig of ram.
by the way, you managed to install win 7 on a P3? that's impressive, just not as impressive as installing vista with just 256mb ram:
http://www.youtube.com/watch?v=IiCZtluZIyY&feature=related
or how about vista with just 48 mb ram using vmware:
http://www.youtube.com/watch?v=aDj7TMfAt68&feature=related
how about vista on an 850mhz P3:
http://www.youtube.com/watch?v=s-QviwKKNL4&feature=related
Originally Posted by ocgw
you're lucky that the afc championship game is about to start in a couple of minutes but rest assured the sky itself has no color, not in the way a car has color:
http://www.sciencemadesimple.com/sky_blue.html
predictions:
afc - colts
nfc - vikings -
Originally Posted by JohnnyMalaria
now i will admit i haven't actually worked with vfw.dll, but i'm assuming that a vfw compatible codec, such as xvid or some builds of x264 or divx, basically invoke vfw.dll to handle the stream reading/writing duties as the file is being processed, and it's vfw.dll that actually places that multiplexes the audio and video streams into one container. i'm also assuming that when this is attempted with an avi 1.0 container, that said read/write operations fail.
if the above is correct, then i fail to see how you can claim it's a vfw bug, especially since the bug disappears once you use a different container, like later iterations of avi, mkv, mp4 or ogm.
i also fail to see how this would "break" a NLE or an encoder if it was fixed, if anything it would add new functionality to the NLE, regardless of whatever any ex-direct show developer may claim (if he no longer works for microsoft it may be because he used to make silly statements like that). -
[quote="JohnnyMalaria"]
Originally Posted by deadrats
basically i expect a developer to fix what can be fixed and replace what can't be fixed, i don't think that's too unreasonable, especially when said company expects you to spend a couple of hundred bucks per license every time they come up with a supposedly new OS, which it's starting to look like microsoft has decided they don't have enough billions and will continue pushing out "new" revisions every 18 months or so.
i wonder how long such a business model can be sustained before people say enough is enough and just stop upgrading their OS? -
Originally Posted by deadrats
off course the sky according to conventional wisdom technically doesn't have color, but who cares as long as the background in my picture is blue, I am just saying you are the kind that will go on about it ad naseum
then again things only have color because we perceive them to have color because they reflect that wavelenght of light, if we perceive the sky to be blue then it is blue, space is black
You forgot who you are talking to, a man that builds, sells and repairs PC's irl instead of "going off" solely on what I read off the interweb, and making wild postulations
you are overeducated and underskilled, you have just enough knowlege to be dangerous and w/o real world experience or wisdom you just come off as foolish
ocgw
peacei7 2700K @ 4.4Ghz 16GB DDR3 1600 Samsung Pro 840 128GB Seagate 2TB HDD EVGA GTX 650
https://forum.videohelp.com/topic368691.html -
Originally Posted by deadrats
-
Originally Posted by deadrats
Codecs have nothing to do with file i/o. VfW is a framework that includes file i/o. The person I spoke to was the inventor of DirectShow not just a "developer". He left MS because he relocated from WA to a different part of the world. -
Originally Posted by ocgw
2) any chimp can build, repair and sell pc's, it doesn't mean you know squat about computer architectures and OS design, as you have repeatedly prove most effectively.
here's a video of a monkey upgrading a video card, i would venture to bet that you both have roughly equivalent levels of general computer knowledge:
http://blogs.amd.com/how-to/2010/01/13/how-to-install-a-graphics-card/ -
Originally Posted by JohnnyMalaria
because i wanted to make sure that i was correct i downloaded the source for x264, which included the source for both the vfw and non-vfw variants of x264.
in the c file that has the comment:
codec.c: vfw x264 encoder
a quick look through the pre-processor directives we see the following:
#include "x264vfw.h"
#include <stdio.h> /* debug only */
#include <io.h>
#define X264_MAX(a,b) ( (a)>(b) ? (a) : (b) )
#define X264_MIN(a,b) ( (a)<(b) ? (a) : (b) )
that's it.
in the c file that has the comment:
x264: h264 encoder
we see the following pre-processor directives:
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#ifdef __WIN32__
#include <windows.h>
#define pthread_t HANDLE
#define pthread_create(t,u,f,d) *(t)=CreateThread(NULL,0,f,d,0,NULL)
#define pthread_join(t,s) { WaitForSingleObject(t,INFINITE); \
CloseHandle(t); }
#define HAVE_PTHREAD 1
#elif defined(SYS_BEOS)
#include <kernel/OS.h>
#define pthread_t thread_id
#define pthread_create(t,u,f,d) { *(t)=spawn_thread(f,"",10,d); \
resume_thread(*(t)); }
#define pthread_join(t,s) wait_for_thread(t,(long*)s)
#define HAVE_PTHREAD 1
#elif HAVE_PTHREAD
#include <pthread.h>
#endif
#include "common/common.h"
#include "common/cpu.h"
#include "set.h"
#include "analyse.h"
#include "ratecontrol.h"
#include "macroblock.h"
#if VISUALIZE
#include "common/visualize.h"
#endif
//#define DEBUG_MB_TYPE
//#define DEBUG_DUMP_FRAME
//#define DEBUG_BENCHMARK
#ifdef DEBUG_BENCHMARK
static int64_t i_mtime_encode_frame = 0;
static int64_t i_mtime_analyse = 0;
static int64_t i_mtime_encode = 0;
static int64_t i_mtime_write = 0;
static int64_t i_mtime_filter = 0;
#define TIMER_START( d ) \
{ \
int64_t d##start = x264_mdate();
#define TIMER_STOP( d ) \
d += x264_mdate() - d##start;\
}
#else
#define TIMER_START( d )
#define TIMER_STOP( d )
#endif
#define NALU_OVERHEAD 5 // startcode + NAL type costs 5 bytes per frame
i included the non stream related directives for the sake of completeness, but as we can see the codec most certainly does handle I/O if vfw isn't used, in fact the x264 developers recommend that people avoid using the vfx x264 variant because they claim it's deprecated, i personally find vfw codecs useful because it lets me use x264 with apps like virtual dub and tmpg express, but from a programming standpoint i prefer non-vfw codecs because i'm from the school of thought that an app should be as self contained as possible, it should require an end user to install additional software in order for it to work.
but that's just me. -
Anyone can cut and paste stuff they have no clue about. A codec transforms data - it doesn't do any file i/o. The appropriate framework does that (VfW, DirectShow etc). Some libraries may appear has codecs and offer additional functionality.
When you have written VfW and DS codecs along with bespoke file i/o modules, developed and sold corresponding applications then I might bother to read your nonsense. -
Originally Posted by deadrats
All jokes aside, you really are some "piece of work"
ocgw
peacei7 2700K @ 4.4Ghz 16GB DDR3 1600 Samsung Pro 840 128GB Seagate 2TB HDD EVGA GTX 650
https://forum.videohelp.com/topic368691.html -
Regarding VfW, 2GB, bug etc...
The original RIFF specification uses unsigned longs for addressing for the various structures which is the origin of the 4GB file size limit.
The implementation of Video for Windows (which is a framework that uses RIFFs) erroneously uses signed longs in the function headers which imposes a 2GB file size limit. VfW exposes COM interfaces that also use signed longs. It is a golden rule of COM that once published an interface definition cannot be changed. MS mistakenly used the wrong data type and could not fix it without introducing a newer but distinctly separate version of the library. To fix the existing library would risk breaking any existing applications that use the library for obvious reasons. The advent of ActiveMovie/DirectShow provided the opportunity to resolve the issue. -
Originally Posted by JohnnyMalaria
here's a question for you genius, how do you think the audio/video streams get read/written from/to the hard disk if the codec in question doesn't use a proprietary framework? if you are such an expert, explain to me how non-vfw, non-direct show codecs, like the standard x264 version, handle input/output.
how do audio/video streams get read from/written to on OS X? on linux? on solaris? on unix?
just because you are a windows "programmer" that has to rely on an api/dedicated framework to handle I/O doesn't mean that every programmer out there is as half-assed.
the code is out there so that you can learn, accept it, ignore it, i couldn't care less, but if you're going to continue to make one dumb statement after another at least do it on a topic that it's not that easy for me to prove you wrong. -
Originally Posted by ocgw
http://www.youtube.com/watch?v=1DPQW0e9ufM -
Originally Posted by deadrats
To answer your diatribe: additional support functions. A codec encodes and decodes. It takes input data and transforms them. Where the data come from is irrelevant to the codec. Supporting functions can be provided in the same library to perform file i/o independent of the usual frameworks.
As for the x264 code, it isn't a codec (I'll let you figure out what it is). Linking to stdio.h doesn't mean file i/o takes place. There are other reasons to include stdio.h. And file i/o operations can be used without writing/reading to disk.
EDIT: By your definition, VLC is a codec - do you really believe that? -
Originally Posted by JohnnyMalaria
seriously, i was going to sit here and explain to you everything that is wrong with what you said but i'll just let your posts and my posts speak for themselves, people that have a programming background can decide for themselves which one of us knows what he's talking about and which one is a windows "programmer".
by your logic any compressing/decompressing app, like winrar, winzip, 7zip, doesn't do it's own I/O, all it does is "transform the data", a truly dumb statement.
as for your statement that x264 is not a codec, what can i say, evidently the guys over at doom9 consider it a codec because it won a codec shootout that had:
http://www.doom9.org/index.html?/codecs-final-105-1.htm -
You clearly have no idea what a codec is.
Read the big letters on this page.
http://www.videolan.org/developers/x264.html
Time to lock this thread, please. -
Originally Posted by JohnnyMalaria
Sadly, yes, this particular point further proves how this thread will continue on its insane path as if there wasn't proof enough already. -
Originally Posted by M Bruner
Similar Threads
-
Windows Media Center .wtv 720p (60fps) to Xvid AVI (24fps) in Windows 7
By cg-realms in forum Video ConversionReplies: 0Last Post: 7th Jan 2010, 18:47 -
Windows 2003 or Windows 2008 based on my server specs & needs...
By retroborg in forum ComputerReplies: 18Last Post: 23rd Jun 2009, 06:29 -
Subtitles in Windows 7 (64) and Windows Vista (64)
By NeoCyrus in forum SubtitleReplies: 2Last Post: 11th Feb 2009, 21:00 -
How similar is Windows Server 2008 to Windows Vista?
By davidsama in forum ComputerReplies: 6Last Post: 12th Nov 2007, 10:25 -
windows mp is not playing sound on videos (but only on one windows account)
By lightsout85 in forum Software PlayingReplies: 0Last Post: 30th Jul 2007, 15:19