<div>When you stream audio over live-555&#39;s RTSP plugin&nbsp; on mplayer, what decides the<br>audio data to be big endian vs little endian? I am developing a server and I am </div>
<div>specifying the format as 97 (dynamic format) with rtpmap being : 96 L16/8000 </div>
<div>for single channel, 16 bit/sample, 8 khz sample rate audio. But mplayer somehow </div>
<div>thinks audio data is in&nbsp; big endian format and attaches a BE -&gt; LE conversion filter:</div>
<p>after getting &quot;describe&quot;:</p>
<p>Initiated &quot;audio/L16&quot; RTP subsession on port 4770<br>....<br>...</p>
<p>after getting &quot;play&quot; command:</p>
<p><br>Building audio filter chain for 8000Hz/1ch/s16be -&gt; 0Hz/0ch/??...<br>[libaf] Adding filter dummy<br>[dummy] Was reinitialized: 8000Hz/1ch/s16be<br>[dummy] Was reinitialized: 8000Hz/1ch/s16be<br>ao_dsound: Output Devices:<br>
0 Primary Sound Driver &lt;--<br>1 SoundMAX Digital Audio<br>2 Bluetooth Audio<br>ao_dsound: DirectSound initialized<br>ao_dsound: format s16be not supported defaulting to Signed 16-bit<br>Little-Endian<br>ao_dsound: Samplerate:8000Hz Channels:1 Format:s16le<br>
ao_dsound: Buffersize:16000 bytes (1000 msec)<br>ao_dsound: primary buffer created<br>ao_dsound: secondary (stream)buffer created<br>AO: [dsound] 8000Hz 1ch s16le (2 bytes per sample)<br>AO: Description: Windows DirectSound audio output<br>
AO: Author: Gabor Szecsi &lt;<a href="mailto:deje@miki.hu">deje@miki.hu</a>&gt;<br>Building audio filter chain for 8000Hz/1ch/s16be -&gt; 8000Hz/1ch/s16le...<br>[dummy] Was reinitialized: 8000Hz/1ch/s16be<br>[libaf] Adding filter format<br>
[format] Changing sample format from big-endian 16-bit signed int to<br>little-endian 16-bit signed int<br>[format] Accelerated endianness conversion only<br>[dummy] Was reinitialized: 8000Hz/1ch/s16be<br>[format] Changing sample format from big-endian 16-bit signed int to<br>
little-endian 16-bit signed int<br>[format] Accelerated endianness conversion only<br>Video: no video<br>Freeing 0 unused video chunks.<br>Starting playback...<br>[libaf] Reallocating memory in module format, old len = 0, new len = 16000<br>
No bind found for key &#39;&#39;.<br>A:&nbsp; -1.0 (unknown) of 0.0 (unknown)&nbsp; 0.0%</p>
<div>&nbsp;</div>
<div>I hear nothing but noise. The data originally is in little endian format.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>When I overwrite the&nbsp;stream type to be s16le in mplayer&#39;s&nbsp;libmpdemux code, it plays but it repeats a section</div>
<div>over and over again. </div>
<div>&nbsp;</div>
<div>If anybody could help, I would appreciate it. Thanks!</div>
<div>&nbsp;</div>
<div>Ratin</div>