On date Thursday 2010-07-22 09:51:37 +0300, P.Muge Ersoy encoded: > Hi; > > I ve checked google for libavcodec samples for converting to pcm ulaw or > alaw.. all i could find is about encoding and decoding.. > > I know i can convert it with *"ffmpeg -i" *command .. > > Mine aim is to transcoding as i suppose.. Is there any libavcodec tutorial > or example code with libavcodec. Also i am trying to transcode amr stream to > pcma or pcmu.. > > Thanks indeed.
There is nothing special about PCM a/mu-law and AMR encoding/decoding. You just need to open the right encoder/decoder and set its context. You can check: ffmpeg.org/documentation.html in the section tutorials are linked some resources (maybe outdated). And of course there is doxygen and you can check the code of the *many* applications using libav*. Regards. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
