[OFFENSIVE] AVI versus MP4 container?no war here!
Reply #5 – 2004-05-29 21:01:22
i'm constantly reading bond's stuff on doom9(because i'm keeping my eyes open regarding h.264 which. btw. still has no *nice* implementation,but first clips look promising..in fact they look awesome for a codec this young...) and i don't understand this man!by god i don't! i am looking forward to read your arguments, so lets get it on...but what on earth does this mean,if i expose few simple facts: -mp4 as a container is as new as h.264 (ie pretty new...we can argue about who came first, h264 or mp4 but it doesn't matter..they are both *new*..too new) and a support for new things cannot come overnight,as bond thought(now he doesn't think that anymore) tough both are part of the mpeg-4 standard, the mp4 container is older than h.264 a copy of the mp4 standard i have here is from 2001 (it was long time part of mpeg-4 14996-1, mpeg systems) on the contrary h.264 was standardized in 2003 -a support for new things doesn't come that fast AT ALL if format is protected by some copyright laws (if mp4 is h264's container then it's protected by mpeg la same as codec itself(and same as all mpeg codecs are protected except mpeg1 which is too old to be of any use) yes the mp4 container is patented technology, still patented doesnt mean that you have to pay anything to be allowed to use it to the patent holder in contrary to mpeg-4 part 2/3/10 .mp4 is license free, meaning you can legally offer tools using .mp4 without having to pay anything!same as with other mpeg's!you CAN'T put anything you please in mp4..you just can't!this is LIMITING FACTOR,bond...LIMITING FACTOR! mp4=h264!m1v=mpeg1video!m2v=mpeg2video:mpeg=mpeg1/2 a/v mux! ) again wrong, you can place any codec into .mp4 you want. the mpeg-4 standard defines how to place non-mpeg streams in .mp4 and in fact there exist already 3 tools which make use of this: - nero recode2 places dvd vobsubs in .mp4 - itunes places alac (lossless audio) in .mp4 - a mod of mpeg4ips mp4creator is able to place vorbis in .mp4-avery lee once thought he can put support for one format(asf) in vdub,but microsoft stopped him(not m$,but "microsoft"!a company that makes excellent OS' and gave at least one revolutionary mpeg4 codec...btw. no i'm not using WMV9 because it's too slow,quality is not so good on intermediate/high bitrates,and i only use nice codecs...if it was the best for my purposes i would use it,offcourse!because that codec doesn't cost money like mpeg's!) why would avery want to investigate what will happen if he tries to put mp4 into vdub? no mp4 in vdub=no mp4(mpeg-la,you loose).....vdub stays on avi alone... as i wrote above .mp4 is license free, avery lee wouldnt have to pay anything to be able to offer mp4 support in virtualdub-linked with everything stated above;support for mp4 is LOUSY!i have investigated these things sometime back and i didn't find a)tools to make mp4 files (like vdubmp4 would be...perhaps fcchandler will make that vdub version...in 4 years...) maybe you should have used search a little bit more before making such a statement if you would have a look at my mp4 faq on doom9 you will find not less than 11 tools able to create .mp4 files and i am sure there are much more out thereb)filters to playback that stuff (3ivx?to play what exactly?3ivx codec encodings?or should i play with 3ivx dshow muxers?nope...i don't like graphedit at all,and converting avi to mp4 is useless today...it makes less compatible files) you dont understand how mpeg-4 streams are placed in .mp4 in mp4 all mpeg-4/2/1 streams are placed the same way, meaning it doesnt matter which codec was used to create the video stream, its always the same mpeg-4 compatible stream therefore 3ivx allows the playback of all .mp4 files, no matter whether they carry a stream created with xvid or any other mpeg-4 codec also you can use all big mpeg-4 decoder filters for playback of .mp4 files with 3ivx: divx5, xvid, ffdshow and of course also 3ivx itself no tools,no filters,no opensource support=no mp4 as a container! from the mp4 tools i know more than 10 are opensource and regarding the directshow filters there exist not less than 5 different filters... how much exist fro .avi? - one from m$ and one from gabest... and from the not dshow based players i know able to handle mp4 6 are opensourcebond,your failure to understand mp4 as a container much alike mpeg container is what hurts the most! your failure is that you absolutely have no clue what you are talking aboutif mp4 was the opensource container and a free container and excellent stuff,then we would all be using it by now!(for sure!) mp4 is license free and opensource implementations exist as written above alreadyi'm quite sure avery can put mp4 support in vdub quite easily! where's the document that will explain detailed mp4 structure to him? a doc that says on the end;THIS IS FREEWARE CONTAINER;USE IT AT WILL? he did this for .avi(microsoft made avi specs available long time ago) and we all know that everything went just fine! avi is with us mostly because of vdub(and programs that followed) the mp4 container is defined in iso 14996-14, if someone wants a copy it will not be a problem to get oneyou said;10) How can i play MP4 files? as one of the big advantages of MP4 is interoperability and being an open standard (license free!) but in one of the links at your mp4 faq i find this;What is happening to the licensing of MPEG-4? Patent Holders are currently working on developing the licensing necessary for MPEG-4. The current date for licensing the Simple and Core visual profiles is expected to be early 2002. See www.m4if.org/patents/index.php for the latest information. as i said some parts of the mpeg-4 standard need to be licensed some not, mp4 is license freeWhere can I purchase the standard? The MPEG-4 Standard (ISO/IEC 14496) can be purchased online at the ISO website. Why do I have to buy the standard? Shouldn't be free? Developing a standard takes a lot of time and money. In order for ISO to recover some of the costs associated with the development of the MPEG-4 standard, it sells the specification. Considering the amount of work that has gone into developing this standard, it is certainly well worth the money. to me,these are strong evidences that avery will NOT put mp4 support into vdub! well there are copies of the mpeg-4 standard floating around, if avery wants one it would be easy for him to get ityou said (in same thread)still a commandline encoder with nice gui would be as easy usable well,YES! an encoder capable of doing nice h264..(not so soon i presume...h264 is young..it is also non-free codec!) and nice aac(any nice freeware aac encoders?are they legal too?how if roberto is afraid to host the binaries...and you know what happens with command line only,poor quality aac non-legal encoders?indeed,they stay on my hdd never to be used...) and putting all that to a (proprietary again) mp4 container! yes you have to pay license fees when you want to offer a h.264 and aac encoder! still what does this have to do with .mp4? you will also have to pay licenses if you place h.264 in avi, so whats the point... and as i said before you dont have to pay licenses for using .mp4i think you picked a wrong foe:you should make a signature against mpeg! THEY are monopolizing the a/v encoding! they are responsible for us not having free mpeg2 encoders (mencoder is NOT legal option!it violates every possible law...a laws that mpeg made!) we're hiding like some sort of bastards(you too:xvid is only 'educational'!absolutely illegal!) while instead we should be encoding our stuff with best possible codecs! i am NOT paying for the codecs i use OR for the containers i use;i'm NOT a freaking MGM so i'm making money on mpeg encoding!!! the mpeg companies need money too? no they don't!these companies are making so much money on selling teh devices(that use mpeg) that is makes you sick! microsoft is givinng away their encoders:use it for free and worry not! (at the moment,wmv9 is BEST lo-bitrate codec/format...i will beat any presently available h264 implementation with wmv9!) well than go with m$ and be happyb)provide some mp4 tools so we can use it...(beats me how will you do that...no developer in their right mind will mess with mpeg la!) a decent encoder and dshow decoder would be enough..thanks... as i said already, there are lots of tools availableso bond,you either a)stop cursing avi.(.it did no harm to you...how many xvid's you put to .avi?) or altough i think this thread deserves no more attention, some arguments from my side at the end: avi and/or video for windows (vfw) dont handle the following things at all or only with hacks: - variable framerate (both avi and vfw) - b-frames (both avi and vfw) - variable bitrate audio (including mp3 and aac) - non adjacent references (both avi and vfw) - markers - chapters - subtitles - mpeg-4 video itself has problems (the vol is repeated on each i-frame) and who knows what else more my point is that writting a modern h.264 codec based on outdated technologies, like avi and vfw, will exclude the usage of advanced features right from the beginning, which in the long run hurts the quality which would be possible with the format take for example variable framerate, which would be possible with mpeg-4: avi and vfw are not able to do it, currently nobody thinks about using vfr when encoding, altough it would help a lot, especially on animes, as the two popular mpeg-4 codecs (xvid and divx5) are vfw based and therefore simply are not able to do vfr encodes a lost chance, limiting what mpeg-4 could be able to do, not only manually but also in our brains... the decision on what interface/container to base your codec on has to be made at the beginning and is very important for the future performance of the codec therefore also simply adding .mp4 support to virtualdub would not really help as still vfw would cause lots of problems and limitations virtualdub is a great tool and still more than usefull, but when it comes to encoding with modern technologies, like h.264, its sad but true outdated because of vfw and the strong avi focusif you can prove me wrong on any of the points i put out here,i will be gratefull! because my intention is not to give any wrong info! well basically all your points were wrong, did i leave any point out? next time insults because of a lack of knowledge will not be tolerated anymore, be aware!