Stas Oskin wrote:
> Hi.
> 
> FFMPEG reports the following errors coming from libavcodec RTP/RTSP stream:
> 
> [NULL @ 0xb8ee760]hmm, seems the headers are not complete, trying to guess
> time_increment_bits
> [NULL @ 0xb8ee760]my guess is 1 bits ;)
> [NULL @ 0xb8ee760]Error, header damaged or not MPEG4 header (f_code=0)
> [mpeg4 @ 0xb8ee760]looks like this file was encoded with
> (divx4/(old)xvid/opendivx) -> forcing low_delay flag
> [mpeg4 @ 0xb8ee760]picture size invalid (0x0)
> [mpeg4 @ 0xb8ee760]get_buffer() failed (-1 0 0 (nil))

How did you stream this, and how can I reproduce the problem? Looks like
the streamer is using global headers, while the SDP does not contain them...

[...]
> I'm using the latest FFMPEG, with the following command:
> ffmpeg -i rtsp://192.168.253.150/16386 test.mp4

What are you using as a streaming server? Is it ffserver? Can you
try to store the audio and video in an avi file (instead of an mp4)
and see if it works better?


> P.S., if I first run FFMPEG and then start streaming via libavcodec, FFMPEG
> reports no errors. It's like it can get the required data only at the moment
> of streaming start, and never later.

If you start the streamer first and the client in a second time, is
the client able to receive the video stream after printing some errors?


                                Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to