I am currently trying to send video data using UDP sockets to a Qt application and decode the data within the Qt code.

I'm not having problem with the sending of the data but rather the receiving and subsequent decoding. When I start trying to stream video data to the Qt app, it starts giving me errors that I am unfamiliar with.

Qt Code:
  1. mpeg4 @ 0x8dc2220]header damaged
  2. Error while decoding frame
  3. [mpeg4 @ 0x8dc2220]Error, header damaged or not MPEG4 header (qscale=0)
  4. [mpeg4 @ 0x8dc2220]header damaged
  5. Error while decoding frame
  6. [mpeg4 @ 0x8dc2220]hmm, seems the headers are not complete, trying to guess time_increment_bits
  7. [mpeg4 @ 0x8dc2220]my guess is 2 bits ;)
  8. [mpeg4 @ 0x8dc2220]header damaged
  9. Error while decoding frame
  10. Error while decoding frame
  11. Error while decoding frame
  12. Error while decoding frame
  13. Last message repeated 3 times
  14. [mpeg4 @ 0x8dc2220]Error, header damaged or not MPEG4 header (qscale=0)
  15. [mpeg4 @ 0x8dc2220]header damaged
  16. Error while decoding frame
  17. [mpeg4 @ 0x8dc2220]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
  18. [mpeg4 @ 0x8dc2220]warning: first frame is no keyframe
  19. [mpeg4 @ 0x8dc2220]concealing 32 DC, 32 AC, 32 MV errors
To copy to clipboard, switch view to plain text mode 

The error while decoding frame is my own coded error message. I don't know how much experience anyone has with ffmpeg, but any help would be much appreciated. I can post my code if necessary. Thanks!

On a side note, I have the same video that is giving me errors decoded using a separate program.