Thanks for your quick response. I could store the audio stream in a buffer and then decode the buffer and output to a new buffer, does that sound OK? BUT I don't know how to decode from a buffer :( you mean the transcoding.c example?
2014-07-31 20:57 GMT+08:00 Dmitry Adjiev <[email protected]>: > FFmpeg has transcoding example, but it doesn't work with network because > it can't detect the output format, you can set it manually (edit the code). > I tested it for udp, so currently I have udp video stream. > Ofcourse I made my code, but after investigation ot transcode example, so > the code is works under android too. > > > 2014-07-31 16:53 GMT+04:00 Xiaofei Yang <[email protected]>: > >> Hi: >> >> I am doing audio stream transcoding things, the scenario is that I keep >> receiving audio data through HTTP protocol, storing it in memory buffer and >> meanwhile I have to transcode it to the required target format for further >> use. The original audio data may come in various formats. So the whole >> process runs like a stream. Could any one show me some hints how to do it? >> What are the key APIs ? >> >> Thanks. >> >> _______________________________________________ >> Libav-user mailing list >> [email protected] >> http://ffmpeg.org/mailman/listinfo/libav-user >> >> > > > -- > Regards, > Dmitry > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
