[MPlayer-users] Re: RealVideo Stream truncated <at> 82 seconds.

adland123 adland123 at yahoo.com
Thu Nov 17 20:45:27 CET 2005


EFlyers <flyers <at> sympatico.ca> writes:

> 
> On November 15, 2005 11:18 pm, RC wrote:
> 
> > Use CVS, it's probably already fixed.
> 
> Nope. but thanks for the suggestion...
> 
> Gary
> 
> rdt chunk not recognized: got 0x4f 0.136 964/964  5%  0%  0.9% 0 0 13%
> rdt chunk not recognized: got 0x2a
> ds_fill_buffer: EOF reached (stream: video)  /1025  5%  0%  0.9% 0 0 0%
> EOF code: 1  81.8 A-V:  0.023 ct:  0.138 1025/1025  5%  0%  0.9% 0 0 0%


Stops because it thinks it has reached the end of Stream.

I found the code where the errors are printed in libmpdemux/realrtsp/real.c
function int real_get_rdt_chunk(rtsp_t *rtsp_session, char **buffer) 

here we attempt to read 8 bytes (RDT chunk header) from stream

n=rtsp_read_data(rtsp_session, header, 8);

  if (n<8) return 0;
  if (header[0] != 0x24)
  {
    printf("rdt chunk not recognized: got 0x%02x\n", header[0]);
    return 0; 
  }

added some more debugging to get this output when running sample stream
rtsp://mms.sonix.de/universal/rock/apocalyptica_lifeburns_300.rm?start=60

rdt chunk not recognized: got 0x4f 
hexdump> 4f50 5449 4f4e 5320  or OPTIONS{SP} where {SP} is space character
 
rdt chunk not recognized: got 0x2a 
hexdump> 2a20 5254 5350 2f31 or * RTSP/1

Think the issue could be receipt of a packet from the server which is not RDT
but RTSP at which point processing the stream fails shortly afterwards.

Hope this might help someone debug further.





More information about the MPlayer-users mailing list