VLC does not parse the SDP so far.This is entirely up to what your version of (lib)live555 does. I would expect it supports any sample rate. Then again, remapping static payload types dynamically via SDP is a very bad idea for interoperability; and maybe live555 does not support it. You should really use payload types from 96 upward.Is it true that the VLC media player, when presented with audio of payload type L16 (code 11), assumes that it is at 44100 samples per second and ignores the sample rate given in the "a=rtpmap:11 L16/8000" SDP line?
You raise an interesting point... but I'm not convinced.Then again, remapping static payload types dynamically via SDP is a very bad idea for interoperability; and maybe live555 does not support it. You should really use payload types from 96 upward.
The RTP/AVP specification states that, payload type 11 is L16/44100/1, while dynamic payload types are in the 96-127 range: http://tools.ietf.org/html/rfc3551#section-6You raise an interesting point... but I'm not convinced.Then again, remapping static payload types dynamically via SDP is a very bad idea for interoperability; and maybe live555 does not support it. You should really use payload types from 96 upward.
If payload type 11 completely specified the stream, including the sample rate, there would be no point in having an rtpmap line; it would be completely tautologous. As far as I can see from the RFCs I've found, there is nothing set in stone to say that payload type 11 must always be at 44100 samples per second. But if you know differently, please tell me!
That error comes from liblive555, not from VLC. It simply means your live555 library version does not support L16 decapsulation. You will need to update it. VLC supports L16 since version 0.7.0.Anyway, assuming you're correct: I've tried payload type 96 specified either as "a=rtpmap:96 L16/8000" or as "a=rtpmap:96 L16/8000/1". Both result in a message that ends in "Unknown codec name for payload type 96". Is there a different name I should use for 16 bit LPCM?
L16 is always big-endian.Perhaps VLCMP needs a codec name that specified the endian-ness too?
If you mean static payload types, there iare PCMU and PCMA, i.e. A-law and µ-law.Is there any other codec name and type that I can use for 8000 samples per second, that VLCMP understands?
Return to “General VLC media player Troubleshooting”
Users browsing this forum: Baidu [Spider] and 23 guests