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

adland123 adland123 at yahoo.com
Fri Nov 18 01:00:55 CET 2005


adland123 <adland123 <at> yahoo.com> writes:

> 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

test change below
which processes the OPTIONS RTSP message from server allowing file 
to play to end without previous issue

in libmpdemux/realrtsp/rtsp.c
function
int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size)
replace
if ((buffer[0]=='S')&&(buffer[1]=='E')&&(buffer[2]=='T')&&(buffer[3]=='_'))

with

if  (((buffer[0]=='S')&&(buffer[1]=='E')&&(buffer[2]=='T')&&(buffer[3]=='_'))
  || ((buffer[0]=='O')&&(buffer[1]=='P')&&(buffer[2]=='T')&&(buffer[3]=='I')))






More information about the MPlayer-users mailing list