Ronald S. Bultje <rsbul...@gmail.com> added the comment:

Attached patch screws up rtpdec_asf.c to play this stream. Things to 
note:
- this is actually RDT, not RTP ;-)
- each data packet comes with 8 bytes of ?? before the actual ASF data
- each ASF packet is 4 bytes short (according to the ASF muxer), and 
then has 4 padding bytes in the RTP packet. My hack to asfdec.c fixes 
that.
- the ASF header specifies only 1 stream, but the RDT specifies 2 (see 
ASMRuleBook). I can request both from the server; they appear mostly 
identical. Not sure how to expose that, since rdt.c automatically 
generates a second AVStream, but that currently isn't filled in
- the discard flag isn't set correctly, or rtsp.c screws up, so without 
my hack in rtsp.c, you hear "duplicate packet music"
- I should probably implement this in rdt_wmt.c or so, but was too lazy 
to properly separate it for now, hence my hacky patch. At least we know 
how it works now. ;-).

________________________________________________
FFmpeg issue tracker <iss...@roundup.ffmpeg.org>
<https://roundup.ffmpeg.org/issue1607>
________________________________________________

Attachment: wmt.patch
Description: Binary data

Reply via email to