I'd like to send an RTP stream of
g729 audio data using
ffmpeg. I have an existing file of
g729 audio and would like to wrap it with RTP headers and send it over the network. Something like this:
$ ffmpeg -re -i encoded_audio.g729 -acodec copy -f rtp rtp://<address>:<port>
This fails with the message:
[rtp @ 0x55f389dea040] Unsupported codec g729 Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted Stream mapping: Stream #0:0 -> #0:0 (copy) Last message repeated 1 times
Is there something I'm missing?