Hi all,
I'm having some trouble with the transcoding. I need to stream ulaw audio via RTP protocol. I've tried to transcode the original mp3 files and it looks like it's working properly but when I listen to the stream sent, I can hear a periodic noise. To check wether the noise was coming at the transcodification or when sending it with RTP I've tried saving the transcoded audio into a file, which has this annoying noise already. The sout string I use is :
:#sout=transcode{vcodec=none,acodec=ulaw,ab=64,channels=1,samplerate=8000}:rtp{dst=1.1.1.1,port=5004}
However, I knew that VLC uses FFMPEG so I downloaded it and tried to do the transcodification with this program. This is the string I used:
ffmpeg -i <input_file> -ac 1 -ar 8000 -ab 64 -acodec pcm_mulaw <output_file> -f mulaw
And after transcoding the audio, I sent it via RTP and the audio was fine, no noise at all! So, I have been googling and searching at the forum how to use the ffmpeg transcoding modules instead of VLCs own ones. I've seen the --demux ffmpeg option, but wasn't enough to get rid of the noise...
How could I achieve this?
Thanks a lot in advance,
Ben.