[FFmpeg-trac] #6770(avformat:open): RTP streaming does not support 24-bit audio
FFmpeg
trac at avcodec.org
Tue Oct 24 14:25:37 EEST 2017
#6770: RTP streaming does not support 24-bit audio
-------------------------------------+------------------------------------
Reporter: steeley | Owner:
Type: enhancement | Status: open
Priority: wish | Component: avformat
Version: git-master | Resolution:
Keywords: rtp | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Comment (by steeley):
Thanks cehoyos - good work :)
A quick test seems to work for big-endian format. I had to specify
pcm_s24be as my file is pcm24le.
Might be good to add support for that as well.
Also tried VLC 2.2.4 but it would not play using the SDP file.
'''Method:'''
Test machine = macbook pro OSX 10.11.6. Everything below works without
error.
FFmpeg from git and apply your patch.
./configure --prefix=/usr/local --enable-gpl --enable-nonfree
make
make install
'''Test string:'''
ffmpeg -re -i voice2448.wav -codec pcm_s24be -f rtp
rtp://239.255.0.10:5004
'''Play with FFplay:'''( SDP info. from FFmpeg into file 'astream.sdp')
ffplay -protocol_whitelist file,udp,rtp -i astream.sdp
'''Play using rtpdump with sox play:'''
rtpdump -F payload 239.255.0.10/5004 | play -c 2 -r 48000 -b 24 -e signed-
integer -B -t raw -
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6770#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list