[FFmpeg-devel] Realmedia patch
Luca Abeni
lucabe72
Wed Sep 10 15:59:04 CEST 2008
Hi Ronald,
Ronald S. Bultje wrote:
> Hi,
>
> On Wed, Sep 10, 2008 at 9:36 AM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
>> 80 E1 41 DA 7B 90 27 FE 35 31 D4 12 20 00 00 00
>> 80 E1 41 DB 7B 90 3F 6E 35 31 D4 12 2E 00 00 00
>> 80 61 41 E7 7B 91 58 AE 35 31 D4 12 0E 14 00 00
Are you testing with rtsp://streamr.hitpops.jp/ngc/mov/m0609.mov?
Is the IP address of the server 218.45.142.19?
If yes, then the server is sending us different streams for
the same request...
> Just to be clear, these are byte 5-16 of the first packet where byte
> 13 is a 0x20 (first packet), 0x2e (packet 2-10 or 20 or so) and 0xe0
> (rest of the stream, sometimes interleaved with a single 0x2e packet).
Can you add
av_log(s, AV_LOG_ERROR, "%x %x %x %x\n", buf[0], buf[1], buf[2], buf[3]);
in tcp_read_packet(), immediately before the "/* find the matching stream */"
comment, and look at the ffmpeg output?
(obviously, you will have to comment out "rt->need_subscription = 1"
to avoid an early crash).
I see:
...
tcp_read_packet:
ret=1 c=24 [$]
id=0 len=1130
[rtsp @ 0x87da1f0]84 ff 8 0
which is consisten with what wireshark is showing, and different
from your stream...
Also, can you uncomment "#define DEBUG" in rtsp.c, and send the complete
output?
Luca
More information about the ffmpeg-devel
mailing list