Wireshark-bugs: [Wireshark-bugs] [Bug 7906] New: Nelly Mosser at 11Khz incorrectly displayed as

Date: Tue, 23 Oct 2012 04:09:56 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7906

           Summary: Nelly Mosser at 11Khz incorrectly displayed as 8Khz
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: sergio.garcia.murillo@xxxxxxxxx


Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
Control: 0x66 (Nellymoser 8kHz Stereo 11 kHz 16 bit mono)

>From packet-rtmpt.c

/* [Spec]
http://www.adobe.com/content/dam/Adobe/en/devnet/rtmp/pdf/rtmp_specification_1.0.pdf
      */
/* [DevG] http://help.adobe.com/en_US/flashmediaserver/devguide/index.html
"working with Live Video" */
static const value_string rtmpt_audio_codecs[] = {
        {  0,                               "Uncompressed" },             /*
[DevG] */
        {  1,                               "ADPCM" },                    /*
[DevG] */
        {  2,                               "MP3" },                      /*
[DevG] */
        {  5,                               "Nellymoser 8kHz Mono" },     /*
[DevG] */
        {  6,                               "Nellymoser 8kHz Stereo" },   /*
[DevG] */
        {  7,                               "G711A" },                    /*
[Spec] */
        {  8,                               "G711U" },                    /*
[Spec] */
        {  9,                               "Nellymoser 16kHz" },         /*
[Spec] */
        { 10,                               "HE-AAC" },                   /*
[DevG] */
        { 11,                               "SPEEX" },                    /*
[DevG] */
        { 0, NULL }
};

But in the SWF file formaat spec:
http://www.adobe.com/content/dam/Adobe/en/devnet/swf/pdf/swf_file_format_spec_v10.pdf

Coding format Audio format number Minimum SWF version
Uncompressed, native-endian 0 1
ADPCM 1 1
MP3 2 4
Uncompressed, little-endian 3 4
Nellymoser 16 kHz 4 10
Nellymoser 8 kHz 5 10
Nellymoser 6 6
Speex 11 10

So format number 6 is NellyMoser (which can have different rates depending on
the sample rate field of the sour object).

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.