Peeyush Mishra wrote:
> Hi all, 
> 
> I am working on a Distance Learning Application , I have encoded raw data
> into MPEG4 format , But now when I am trying to encode uncompressed audio
> data coming from /dev/dsp/  but it is not working at all ,,, 

As you do not say what "is not working at all", which kind of problems
you are experiencing, etc... it is kind of difficult to give suggestions.
Anyway, your program is almost working here, but it is sampling audio at
the wrong rate (so, the output file plays too fast).

You should really use libavdevice for reading the audio (just open an "oss"
demuxer and use /dev/dsp as an input file).


                                Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to