Radek
Radek

Reputation: 1413

PCMU to WAV conversion

I have an IP camera with microphone. I am capturing the sound using open rtsp library but it is saved in PCMU format. Is anybody aware of libraries (C or JAVA) to convert it to WAV? I couldn't find any.. If not then how could I perform such conversion

Upvotes: 1

Views: 1589

Answers (2)

Radek
Radek

Reputation: 1413

Ok I have managed to do it using sox http://sox.sourceforge.net which I can call from java in the same way as I can call it from the command line.

Upvotes: 1

Viktor Latypov
Viktor Latypov

Reputation: 14467

This document (Recommended Practices for Enhancing Digital Audio Compatibility in Multimedia Systems) contains the pseudocode for converting CCITT (a.k.a. PCMU) to plain PCM WAV.

Upvotes: 2

Related Questions