Menu

Play mpeg2 Videos in MediaFoundation

Anonymous
2014-04-11
2016-01-11
  • Anonymous

    Anonymous - 2014-04-11

    I like to open mpeg2 videofiles in my project.
    Should this be possible with MFNode?
    I am not shure at the moment.
    I build the solution and registered the dlls but TopoEdit and MFPlayer failed to read my testfile.

    Any idea?

    regards
    marco

     
  • david

    david - 2014-04-14

    Hello.

    Here is the state of MFNode project about mpeg2 decoding :

    there is two video decoders : MFTMpeg2Decoder and MFTCudaDecoder. MFTMpeg2Decoder works well, but MFTCudaDecoder doesn't handle interlaced video. So if your mpeg2 file is interlaced, be sure to use MFTMpeg2Decoder.

    About the mpeg2 splitter : for now, it fails if multiple audio/video streams...
    I have to rewrite it according to flv parser, but keeping asynchronous model.

    MFSrMpeg2Splitter doesn't handle text. It just ignores it.

    For audio, mp1/mp2/mp3 seems to work well. I update my project for audio AC3 file. But i have to improve it. MFSrMpeg2Splitter doesn't handle wav audio, but i think it will be easy to add this feature.

    For now, it can decode a mpeg2 file encoding with VLC, using one audio and one video stream, according to audio types i spoke about.

    It is not fully DVD compliant...

    You can send me your mpeg2 file. I will check it and update my project if possible.

    To resume : this project works well with this mpeg2 files :

    • one audio stream (mp3)
    • one video stream (interlaced : MFTMpeg2Decoder, progressive : MFTMpeg2Decoder or MFTCudaDecoder)
    • no chapters, just a simple file.
     

    Last edit: david 2014-04-14
  • Anonymous

    Anonymous - 2015-08-24

    Hi, we have afxres.h missing in all projects. Could you please upload those. thanks.

     
  • Anonymous

    Anonymous - 2016-01-11

    MFTMpeg2Decoder seem to decode mpeg2 fine in WMP but not in Store app using mediaelement.

     
  • david

    david - 2016-01-11

    Hello.

    Sorry, but i only tested this project under Windows Seven.

     

Anonymous
Anonymous

Add attachments
Cancel





Monday.com Logo