[FFmpeg-devel] [PATCH] asf-format doesn't work as stream for XBox360
Patric Stout
patric
Mon Oct 15 13:35:53 CEST 2007
Patric Stout schreef:
> Anyway, I will try to find a tool that can capture upnp streams on
> Linux, so I can check what Windows sends as header values and compare it
> to the result of ffmpeg.
>
>
>
As promised, I did lookup what Windows sends in its streams, and
surprisingly, it sends '50' too as data-chunk-size. Here are snippets
from the stream (tcpdump):
Stream from Windows:
0x0360: 0031 002d 0070 0061 0073 0073 0020 0043 .1.-.p.a.s.s...C
0x0370: 0042 0052 0000 0002 0061 0136 26b2 758e .B.R.....a.6&.u.
0x0380: 66cf 11a6 d900 aa00 62ce 6c*32 0000 0000* f.......b.l2....
0x0390: *0000 00*73 4ffd 74ce ac21 44b9 e0bf ae67 ...sO.t..!D....g
0x03a0: 0c2a 4f00 0000 0000 0000 0001 0182 0000 .*O.............
To make sure I had the right bytes, I modified ffmpeg to send
0x8FFFFFFFFFFFFFFF (easy to spot ;)), which resulted in:
0x0230: 0061 0020 0041 0075 0064 0069 006f 0020 .a...A.u.d.i.o..
0x0240: 0056 0038 0000 0000 0002 0061 0136 26b2 .V.8.......a.6&.
0x0250: 758e 66cf 11a6 d900 aa00 62ce 6c*ff ffff* u.f.......b.l...
0x0260: *ffff ffff* *8f*00 0000 0000 0000 0000 0000
................
0x0270: 0000 0000 0000 0000 0000 0000 0001 0182 ................
As you can see, the specs are wrong. 0 is not the correct value to send
in case you don't know the length yet, 50 is. I hope this is enough
'proof' to accept my latest patch.
With kind regards,
Patric Stout
More information about the ffmpeg-devel
mailing list