Search code examples
c#androidc++mp4h.264

something wrong with the h.264 bytes?


I save h.264 using mediacodec(android) and open it using Elecard Stream analyzer enter image description here

The StreamType is unknown

Is the data not correct?

The mp4 file can not play I open it there will be error:0xc00d36c4

I want to play it. But first I should fix the data error.


Solution

  • Its raw h246, the h246 itself looks good but, its not mp4

    mp4 is a Container Format where h246 or Audio (AAC) is embedded.

    Rename File to .h246 and try to Play it with vlc