[Libav-user] Problem with playing audio with ao

Nicolas George george at nsup.org
Mon Apr 3 12:05:36 EEST 2017


Le quartidi 14 germinal, an CCXXV, יוסף אלון a écrit :
> I am trying to play an audio udp (HE-AAC) using libavcodec and ao player.
> While trying to play I hear a very noisy channel.

>     Stream #0:0[0xb81]: Audio: aac_latm (HE-AAC) ([17][0][0][0] /
> 0x0011), 48000 Hz, stereo, fltp

A quick glance at ao.h does not show any way of specifying float
samples, so I guess it is not supported.

You need to convert. It can be done with libswresample, possibly wrapped
within libavfilter to perform several treatments at the same time.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170403/e1d40f1b/attachment.sig>


More information about the Libav-user mailing list