none
using C# to create MPEG1 Video & MP2 Audio Decoder RRS feed

  • Question

  • Hi there

    I need to develop MPEG1 Video & MP2 Audio Decoder and renderer from a stream (websockets and System.IO.Stream)

    Also there is one important thing: this decoder should not use non-native libraries.

    Can you point out correct libraries to use for this project?

    Thanks
    Friday, July 12, 2019 12:42 AM

All replies

  • There is no native library for this. And you excluded everything else. So you need to write it from scratch.

    You can find a C++ library and rewrite to C#. But that will take you several years and it would probably be too slow to be used practically. 

    Nowadays video and audio decoding are usually done by hardware if not in C++. What is the point of this exercise? 



    Visual C++ MVP

    Friday, July 12, 2019 2:03 AM
  • Okay non-native libraries can be included.

    Can you suggest the fastest of them? 

    Saturday, July 13, 2019 5:41 AM
  • that would the user to install a DXVA codec. And you use it via Media Foundation or DirectShow. 

    From what I see people are handling audio/video in C++ DLL and C# is just there to feed file name/url/parameters. 



    Visual C++ MVP


    Saturday, July 13, 2019 8:51 PM