Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transcoding from dumped G.723.1 packets to PCM and write to wav file

Status
Not open for further replies.

poddo76

Programmer
Sep 11, 2003
1
IT
Hi there,

I've dumped a bunch of VoIP G.723.1 conversations to some files containing just the payload of the RTP packets (one file for each RTP stream). What I need to do is feed a dump file to a JMF application which in turn should transcode to PCM and write the conversation to a wav file. The code I wrote keeps complaining about a failed transcoding.
I believe there's no error in my code (I can be wrong, though...of course) and I noticed that calling the getSupportedFormats on the TrackControls obtained from my Processor, I don't get g723 in the list of the supported formats for outputting to a PCM wav file; so I started thinking that maybe this is simply not feasible. The only workaround I found is to make the JMF application listen for a RTP datasource and use another application to send the RTP packets in a stream (this is the same as using the Java Media Studio app "export" function while having an open RTP session). This way it works but obviously that's not a big deal: for every conversation the time to do the transcoding is very long, since I have to wait for the whole conversation to be streamed out to the JMF app.
I apologize for having to bother you all with a so long post but I do need your help (and it would be really great to have it ASAP). Thank you very much. :)
Giuseppe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top