On Mon, Dec 15, 2008 at 8:20 AM, Luca Abeni <[email protected]> wrote:
> 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).
>
I think he tries to encode too much bytes at once, dividing it by 2
makes a few chunks
encoding fine although the encoding still crashes.. haven't had a
further look at it yet..

Markus

> 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
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to