Questions tagged [g.711]

6 questions
2
votes
0 answers

Converting mp3 file to wav (G.711) file using LibAV API?

I need to write C++ function to transcode any mp3 file to G.711 encoded wav file using LibAV API. Since we run on custom ARM board, I can use only specific available cross compiled version of LibAV library (pretty old, not the latest one). Here is…
Steeve007
  • 71
  • 1
  • 2
  • 5
2
votes
0 answers

FFMPEG - Encode a .wav file to G711

My question is the following: how to encode a .wav file to G.711/PCM A-law? I tried to edit this example file, but I got an EINVAL error when tried to call av_frame_get_buffer(frame, 0) with frame->nb_samples = c->frame_size which is 0 (I think this…
aebner
  • 31
  • 4
2
votes
1 answer

How to Transcode Opus codec to G.711 codec in C#

I am currently working with Mumble VoIP 1.2.X server-client communication protocol. My job is to create a desktop client where the client is connected with the server and receive other client's audio streams. I am receiving the stream in opus codec.…
sebu
  • 2,824
  • 1
  • 30
  • 45
1
vote
1 answer

Convert PCM to AAC while streaming

I'm looking to use Python to convert audio that's in PCM (G.711U to be specific) to AAC so it can be streamed using HLS. What options are there for doing this conversion in memory so the streaming can be continued in real-time.
Dave Johansen
  • 889
  • 1
  • 7
  • 23
0
votes
0 answers

How to play received raw PCM Audio coming through Web Socket in the browser

Having a spring-boot project which has to stream audio coming from a SIP client connected to asterisk with codec G711 ALAW. I am able to get and send the pcm data through a UDP connection between the sip client and spring-boot project. The goal is…
Flamur Dervishi
  • 181
  • 1
  • 6
  • 18
0
votes
1 answer

Choppy sound when converting g711 packets to wave file

I'm getting packets from a SIP call using Sharppcap library. So far, so good. But, when I join those packets (G.711 Alaw packets inside a MemoryStream) and convert it with the AlawDecoder dll I got from…