[MPlayer-users] Update RealVideo Stream truncated <at> 82 seconds.
Roberto Togni
r_togni at tiscali.it
Tue Nov 22 20:24:24 CET 2005
On Fri, 18 Nov 2005 00:00:55 +0000 (UTC)
adland123 <adland123 at yahoo.com> wrote:
> 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')))
>
Applied.
Ciao,
Roberto
More information about the MPlayer-users
mailing list