How to decode G.729b codec?












0















I am developing an application that listens for RTP data using GStreamer and converts the received raw data packets using FFMPEG.
I works well for codes: PCMA, PCMU, G722 and G729 and converts the received audio files into wav and mp3. But the conversion fails when G729b packet is received. FFMPEG has support for G729 as mentioned here but nothing is mentioned about G729a/b. GStreamer also has not mentioned anything about G729a/b though has a decoder for G729. I also didn't find any other library that can convert G729b to wav or mp3.
Can anyone please suggest any way or any library to convert G729a/b to wav.
Thanks in advance!



Command used:
ffmpeg -f g729 -i .g729 -acodec pcm_s16le -ar 8000 output.wav



Please find the two files here










share|improve this question

























  • Show your ffmpeg command, the complete log, and provide a sample input file

    – llogan
    Dec 3 '18 at 18:07











  • I have edited my answer with the command and files. There are two files. One is g729 that is converted correctly and other is g729b which is not converted properly. thanks for replying @LordNeckbeard

    – Sameer Thapa
    Dec 6 '18 at 10:36











  • What created the file? Can anything else play it?

    – llogan
    Dec 6 '18 at 18:20











  • Cisco call manager (CUCM) sends voip call data to recording server. Our app is on the recording server where gstreamer stores the data. For g729 the gsteramer pipeline is: udpsrc port=5008 caps="application/x-rtp,channels=(int)1,media=(string)audio,payload=(int)18,clock-rate=(int)8000,encoding-name=(string)G729" ! rtpg729depay ! filesink Call is done through cisco IP phones and softphones, which means they can decode and play the codec. Wireshark (from this link wiki.wireshark.org/HowToDecodeG729) was not able to decode g729 b codec but it could decode g729.

    – Sameer Thapa
    Dec 7 '18 at 7:09











  • I don't know anything about G.729, but consider submitting a feature request to support G.729B on the FFmpeg Bug Tracker. You will need to provide: 1) a link to a sample file like you did here 2) the actual command you tried 3) the complete log from the command 4) and make sure you're using the most recent ffmpeg you can. See the FFmpeg Download page for links to builds if you can't compile.

    – llogan
    Dec 7 '18 at 17:48
















0















I am developing an application that listens for RTP data using GStreamer and converts the received raw data packets using FFMPEG.
I works well for codes: PCMA, PCMU, G722 and G729 and converts the received audio files into wav and mp3. But the conversion fails when G729b packet is received. FFMPEG has support for G729 as mentioned here but nothing is mentioned about G729a/b. GStreamer also has not mentioned anything about G729a/b though has a decoder for G729. I also didn't find any other library that can convert G729b to wav or mp3.
Can anyone please suggest any way or any library to convert G729a/b to wav.
Thanks in advance!



Command used:
ffmpeg -f g729 -i .g729 -acodec pcm_s16le -ar 8000 output.wav



Please find the two files here










share|improve this question

























  • Show your ffmpeg command, the complete log, and provide a sample input file

    – llogan
    Dec 3 '18 at 18:07











  • I have edited my answer with the command and files. There are two files. One is g729 that is converted correctly and other is g729b which is not converted properly. thanks for replying @LordNeckbeard

    – Sameer Thapa
    Dec 6 '18 at 10:36











  • What created the file? Can anything else play it?

    – llogan
    Dec 6 '18 at 18:20











  • Cisco call manager (CUCM) sends voip call data to recording server. Our app is on the recording server where gstreamer stores the data. For g729 the gsteramer pipeline is: udpsrc port=5008 caps="application/x-rtp,channels=(int)1,media=(string)audio,payload=(int)18,clock-rate=(int)8000,encoding-name=(string)G729" ! rtpg729depay ! filesink Call is done through cisco IP phones and softphones, which means they can decode and play the codec. Wireshark (from this link wiki.wireshark.org/HowToDecodeG729) was not able to decode g729 b codec but it could decode g729.

    – Sameer Thapa
    Dec 7 '18 at 7:09











  • I don't know anything about G.729, but consider submitting a feature request to support G.729B on the FFmpeg Bug Tracker. You will need to provide: 1) a link to a sample file like you did here 2) the actual command you tried 3) the complete log from the command 4) and make sure you're using the most recent ffmpeg you can. See the FFmpeg Download page for links to builds if you can't compile.

    – llogan
    Dec 7 '18 at 17:48














0












0








0








I am developing an application that listens for RTP data using GStreamer and converts the received raw data packets using FFMPEG.
I works well for codes: PCMA, PCMU, G722 and G729 and converts the received audio files into wav and mp3. But the conversion fails when G729b packet is received. FFMPEG has support for G729 as mentioned here but nothing is mentioned about G729a/b. GStreamer also has not mentioned anything about G729a/b though has a decoder for G729. I also didn't find any other library that can convert G729b to wav or mp3.
Can anyone please suggest any way or any library to convert G729a/b to wav.
Thanks in advance!



Command used:
ffmpeg -f g729 -i .g729 -acodec pcm_s16le -ar 8000 output.wav



Please find the two files here










share|improve this question
















I am developing an application that listens for RTP data using GStreamer and converts the received raw data packets using FFMPEG.
I works well for codes: PCMA, PCMU, G722 and G729 and converts the received audio files into wav and mp3. But the conversion fails when G729b packet is received. FFMPEG has support for G729 as mentioned here but nothing is mentioned about G729a/b. GStreamer also has not mentioned anything about G729a/b though has a decoder for G729. I also didn't find any other library that can convert G729b to wav or mp3.
Can anyone please suggest any way or any library to convert G729a/b to wav.
Thanks in advance!



Command used:
ffmpeg -f g729 -i .g729 -acodec pcm_s16le -ar 8000 output.wav



Please find the two files here







ffmpeg






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 6 '18 at 10:34







Sameer Thapa

















asked Nov 16 '18 at 11:39









Sameer ThapaSameer Thapa

416




416













  • Show your ffmpeg command, the complete log, and provide a sample input file

    – llogan
    Dec 3 '18 at 18:07











  • I have edited my answer with the command and files. There are two files. One is g729 that is converted correctly and other is g729b which is not converted properly. thanks for replying @LordNeckbeard

    – Sameer Thapa
    Dec 6 '18 at 10:36











  • What created the file? Can anything else play it?

    – llogan
    Dec 6 '18 at 18:20











  • Cisco call manager (CUCM) sends voip call data to recording server. Our app is on the recording server where gstreamer stores the data. For g729 the gsteramer pipeline is: udpsrc port=5008 caps="application/x-rtp,channels=(int)1,media=(string)audio,payload=(int)18,clock-rate=(int)8000,encoding-name=(string)G729" ! rtpg729depay ! filesink Call is done through cisco IP phones and softphones, which means they can decode and play the codec. Wireshark (from this link wiki.wireshark.org/HowToDecodeG729) was not able to decode g729 b codec but it could decode g729.

    – Sameer Thapa
    Dec 7 '18 at 7:09











  • I don't know anything about G.729, but consider submitting a feature request to support G.729B on the FFmpeg Bug Tracker. You will need to provide: 1) a link to a sample file like you did here 2) the actual command you tried 3) the complete log from the command 4) and make sure you're using the most recent ffmpeg you can. See the FFmpeg Download page for links to builds if you can't compile.

    – llogan
    Dec 7 '18 at 17:48



















  • Show your ffmpeg command, the complete log, and provide a sample input file

    – llogan
    Dec 3 '18 at 18:07











  • I have edited my answer with the command and files. There are two files. One is g729 that is converted correctly and other is g729b which is not converted properly. thanks for replying @LordNeckbeard

    – Sameer Thapa
    Dec 6 '18 at 10:36











  • What created the file? Can anything else play it?

    – llogan
    Dec 6 '18 at 18:20











  • Cisco call manager (CUCM) sends voip call data to recording server. Our app is on the recording server where gstreamer stores the data. For g729 the gsteramer pipeline is: udpsrc port=5008 caps="application/x-rtp,channels=(int)1,media=(string)audio,payload=(int)18,clock-rate=(int)8000,encoding-name=(string)G729" ! rtpg729depay ! filesink Call is done through cisco IP phones and softphones, which means they can decode and play the codec. Wireshark (from this link wiki.wireshark.org/HowToDecodeG729) was not able to decode g729 b codec but it could decode g729.

    – Sameer Thapa
    Dec 7 '18 at 7:09











  • I don't know anything about G.729, but consider submitting a feature request to support G.729B on the FFmpeg Bug Tracker. You will need to provide: 1) a link to a sample file like you did here 2) the actual command you tried 3) the complete log from the command 4) and make sure you're using the most recent ffmpeg you can. See the FFmpeg Download page for links to builds if you can't compile.

    – llogan
    Dec 7 '18 at 17:48

















Show your ffmpeg command, the complete log, and provide a sample input file

– llogan
Dec 3 '18 at 18:07





Show your ffmpeg command, the complete log, and provide a sample input file

– llogan
Dec 3 '18 at 18:07













I have edited my answer with the command and files. There are two files. One is g729 that is converted correctly and other is g729b which is not converted properly. thanks for replying @LordNeckbeard

– Sameer Thapa
Dec 6 '18 at 10:36





I have edited my answer with the command and files. There are two files. One is g729 that is converted correctly and other is g729b which is not converted properly. thanks for replying @LordNeckbeard

– Sameer Thapa
Dec 6 '18 at 10:36













What created the file? Can anything else play it?

– llogan
Dec 6 '18 at 18:20





What created the file? Can anything else play it?

– llogan
Dec 6 '18 at 18:20













Cisco call manager (CUCM) sends voip call data to recording server. Our app is on the recording server where gstreamer stores the data. For g729 the gsteramer pipeline is: udpsrc port=5008 caps="application/x-rtp,channels=(int)1,media=(string)audio,payload=(int)18,clock-rate=(int)8000,encoding-name=(string)G729" ! rtpg729depay ! filesink Call is done through cisco IP phones and softphones, which means they can decode and play the codec. Wireshark (from this link wiki.wireshark.org/HowToDecodeG729) was not able to decode g729 b codec but it could decode g729.

– Sameer Thapa
Dec 7 '18 at 7:09





Cisco call manager (CUCM) sends voip call data to recording server. Our app is on the recording server where gstreamer stores the data. For g729 the gsteramer pipeline is: udpsrc port=5008 caps="application/x-rtp,channels=(int)1,media=(string)audio,payload=(int)18,clock-rate=(int)8000,encoding-name=(string)G729" ! rtpg729depay ! filesink Call is done through cisco IP phones and softphones, which means they can decode and play the codec. Wireshark (from this link wiki.wireshark.org/HowToDecodeG729) was not able to decode g729 b codec but it could decode g729.

– Sameer Thapa
Dec 7 '18 at 7:09













I don't know anything about G.729, but consider submitting a feature request to support G.729B on the FFmpeg Bug Tracker. You will need to provide: 1) a link to a sample file like you did here 2) the actual command you tried 3) the complete log from the command 4) and make sure you're using the most recent ffmpeg you can. See the FFmpeg Download page for links to builds if you can't compile.

– llogan
Dec 7 '18 at 17:48





I don't know anything about G.729, but consider submitting a feature request to support G.729B on the FFmpeg Bug Tracker. You will need to provide: 1) a link to a sample file like you did here 2) the actual command you tried 3) the complete log from the command 4) and make sure you're using the most recent ffmpeg you can. See the FFmpeg Download page for links to builds if you can't compile.

– llogan
Dec 7 '18 at 17:48












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53337141%2fhow-to-decode-g-729b-codec%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53337141%2fhow-to-decode-g-729b-codec%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

If I really need a card on my start hand, how many mulligans make sense? [duplicate]

Alcedinidae

Can an atomic nucleus contain both particles and antiparticles? [duplicate]