I have a number of H.264 cameras that output raw h264 data frames. I have made a player based on the OpenH264.NET example, decoding one frame at a time and displaying. This works for all but one of the cameras. There doesn’t seem to be anything unusual about the camera and VLC is able to play it fine from a file or UDP stream. I also built OpenH264 from source on Linux and ran the h264dec utility against the data and it seemed to have no issue decoding. Any ideas as to why there might be an issue with this one camera with OpenH264.NET?
UPDATE: I can see that DecodeFrame2 is returning dsNoParamSets (16)
UPDATE2: It actually seems to alternate between frames, first dsNoParamSets (16) and then dsBitstreamError (4) the next frame...and so on
I have a number of H.264 cameras that output raw h264 data frames. I have made a player based on the OpenH264.NET example, decoding one frame at a time and displaying. This works for all but one of the cameras. There doesn’t seem to be anything unusual about the camera and VLC is able to play it fine from a file or UDP stream. I also built OpenH264 from source on Linux and ran the h264dec utility against the data and it seemed to have no issue decoding. Any ideas as to why there might be an issue with this one camera with OpenH264.NET?
UPDATE: I can see that DecodeFrame2 is returning dsNoParamSets (16) UPDATE2: It actually seems to alternate between frames, first dsNoParamSets (16) and then dsBitstreamError (4) the next frame...and so on