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.
mpeg4 @ 0x8dc2220]header damaged
Error while decoding frame
[mpeg4 @ 0x8dc2220]Error, header damaged or not MPEG4 header (qscale=0)
[mpeg4 @ 0x8dc2220]header damaged
Error while decoding frame
[mpeg4 @ 0x8dc2220]hmm, seems the headers are not complete, trying to guess time_increment_bits
[mpeg4 @ 0x8dc2220]my guess is 2 bits ;)
[mpeg4 @ 0x8dc2220]header damaged
Error while decoding frame
Error while decoding frame
Error while decoding frame
Error while decoding frame
Last message repeated 3 times
[mpeg4 @ 0x8dc2220]Error, header damaged or not MPEG4 header (qscale=0)
[mpeg4 @ 0x8dc2220]header damaged
Error while decoding frame
[mpeg4 @ 0x8dc2220]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
[mpeg4 @ 0x8dc2220]warning: first frame is no keyframe
[mpeg4 @ 0x8dc2220]concealing 32 DC, 32 AC, 32 MV errors
mpeg4 @ 0x8dc2220]header damaged
Error while decoding frame
[mpeg4 @ 0x8dc2220]Error, header damaged or not MPEG4 header (qscale=0)
[mpeg4 @ 0x8dc2220]header damaged
Error while decoding frame
[mpeg4 @ 0x8dc2220]hmm, seems the headers are not complete, trying to guess time_increment_bits
[mpeg4 @ 0x8dc2220]my guess is 2 bits ;)
[mpeg4 @ 0x8dc2220]header damaged
Error while decoding frame
Error while decoding frame
Error while decoding frame
Error while decoding frame
Last message repeated 3 times
[mpeg4 @ 0x8dc2220]Error, header damaged or not MPEG4 header (qscale=0)
[mpeg4 @ 0x8dc2220]header damaged
Error while decoding frame
[mpeg4 @ 0x8dc2220]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
[mpeg4 @ 0x8dc2220]warning: first frame is no keyframe
[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.
Bookmarks