i m working on c# .net windows application.
i want to convert avi video file format to mpeg video file format.
By converting avi header to mpeg header this is possible.
but i am not getting that how to do this.
please reply if any one have any solution...
+ Reply to Thread
Results 1 to 7 of 7
changing the header info doesn't convert an avi into an mpg. might as well just change .avi to .mpg--
"a lot of people are better dead" - prisoner KSC2-303
If the avi file your are talking about is Divx or Xvid, and the mpeg format is MPEG-4, I suppose you could change headers using MPEG4 Modifier. Otherwise... no way.
Last edited by filmboss80; 28th Jul 2010 at 16:03.
Just "re-wrapping" new headers is going about this all wrong. Media files aren't only [Header]+[Media], they are compartmentalized into many sections with each section having it's own separate kind of header or meta-data.
Plus, unless you have common audio + video codecs to both containers, it won't work. MPEG only supports MPEG-encoded video, whereas AVI supports MPEG1, MPEG4 ASP, and many MANY other kinds of codecs. Same way with audio.
And even if you could take all this material and rewrap it from AVI to MPEG, you know what that would be called? Demuxing & Remuxing, just like everyone else does on a regular basis, but they'll be doing it with more speed and less possibility of error.
And I have to ask, WHY?
Yes, like I just told you.