[FFmpeg-user] Unsupported codec pcm_s24be when RTP used

Moritz Barsnick barsnick at gmx.net
Thu Nov 12 09:42:26 CET 2015


On Wed, Nov 11, 2015 at 17:45:27 -0800, tech at rvoc.org wrote:

> The pcm_s24be codec doesn't work when RTP muxer is used: 
> [root at rdhost ~]# ffmpeg -vn -sn -f jack -ac 1 -i ffmpeg -ac 2 -acodec pcm_s24be -ar 48000 -f rtp rtp://localhost:5004
[...]
> [rtp @ 0x3cee2c0] Unsupported codec pcm_s24be
> Why am I getting the error message "Unsupported codec pcm_s24be" only when
> using RTP? 

It seems it wasn't implemented for ffmpeg's RTP:
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavformat/rtpenc.c;h=31569d60b7c496b9eb27f862c05d2f9d659841c1;hb=HEAD#l49
although RFC 3190 does support it. (I have no idea how hard it is to
implement it. You could open a trac ticket.)

Moritz


More information about the ffmpeg-user mailing list