Spinlogic / AMR-WB_extractor

Extracts AMR / AMR-WB frames from RTP inside PCAP files and builds a .amr file that complies with the storage format in RFC4867
MIT License
14 stars 12 forks source link

extracted sound from pcap is noise #3

Closed energygreek closed 1 week ago

energygreek commented 1 year ago

hello, this tool always works file and help me a lot, but not works on this pcap file and no error reported, could you help find why?

python pcap_parser.py -i /tmp/error5.pcap  -o output-err.amr -c amr-wb -f ietf  

sound.zip

Spinlogic commented 1 year ago

Are you sure that the payload is really AMR-WB or AMR? e.g. does the signalling show that AMR-WB is the selected codec?, Have you tried decoding manually some of the packets to verify that this is actually AMR-WB? , this checking can be done quickly with Wireshark, decoding the packets as RTP and matching the RTP payload against RFC4867.

energygreek commented 1 week ago

it's my fault, this tool is very helpful.