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.![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Giuseppe
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