conio123
11th March 2010, 13:15
Hello,
I'm writing a program that will convert AVI movies to DVD on GPU - I'm using OpenCL to do the job. Conversion on GPU will be much, much faster than on CPU, so if this project succeeded, it would be quite nice (I want of course share my tool if I manage to make it). But I have some problems - the biggest is with actually getting some info about compression algorithm used in AVI files - I found that it is MPEG 4 Part 2 (whatever it means, especially this part 2:) ). On ISO site this specication costs about 400 or 500 swiss franks, so quite expensive thing. That's why I'm writing here - could anybody tell me, or supply some good links, about MPEG4 in general and compression algorithms (how to decompress it) in detail? I found one way - it's reading libavcodec/xvid source code, but it's time consuming and propably the last thing I can do. I also found that different codecs like Divx, Xvid, etc. use different implementations of MPEG4, so they have their own features which makes my project even more complicated - implementing every single feature would be horrible :). So, once more, please help me about MPEG4 and decompressing it (compression to MPEG2 (DVD) is much better documented, I found something about it). I promise that if I finish this tool, I'll share it, so that compression will take few minutes instead of few hours.
Big thanks for help,
Conio
I'm writing a program that will convert AVI movies to DVD on GPU - I'm using OpenCL to do the job. Conversion on GPU will be much, much faster than on CPU, so if this project succeeded, it would be quite nice (I want of course share my tool if I manage to make it). But I have some problems - the biggest is with actually getting some info about compression algorithm used in AVI files - I found that it is MPEG 4 Part 2 (whatever it means, especially this part 2:) ). On ISO site this specication costs about 400 or 500 swiss franks, so quite expensive thing. That's why I'm writing here - could anybody tell me, or supply some good links, about MPEG4 in general and compression algorithms (how to decompress it) in detail? I found one way - it's reading libavcodec/xvid source code, but it's time consuming and propably the last thing I can do. I also found that different codecs like Divx, Xvid, etc. use different implementations of MPEG4, so they have their own features which makes my project even more complicated - implementing every single feature would be horrible :). So, once more, please help me about MPEG4 and decompressing it (compression to MPEG2 (DVD) is much better documented, I found something about it). I promise that if I finish this tool, I'll share it, so that compression will take few minutes instead of few hours.
Big thanks for help,
Conio