[FFmpeg-user] Streaming wav sound with FFMPEG
Nicolas VAMBAIRGUE
nicolas2020 at nv76.info
Wed Jun 17 19:02:38 EEST 2020
Le 17/06/2020 à 16:32, Carl Eugen Hoyos a écrit :
>
>> Am 17.06.2020 um 11:37 schrieb Nicolas VAMBAIRGUE <nicolas2020 at nv76.info>:
>>
>> - [rtp @ 0x7f7d00008040] Protocol 'rtp' not on whitelist 'file,crypto'!
>>
>> And if I finally tried :
>>
>> ffmpeg -protocol_whitelist file,http,rtp,tcp -i http://199.180.75.118:80 -acodec pcm_s16le -ar 44100 -ac 2 -f rtp -sdp_file /home/dr_click/audio.sdp rtp://127.0.1.1:1234
>>
>> But I get the same "whitelist" error.
> (Command line including) complete, uncut console output missing.
> I consider it very unlikely that the same error is shown...
>
> Carl Eugen
>
>
> > Yes, sorry, let me post you what I got exactly. So, with the above command «server side» :
> > ffmpeg -protocol_whitelist file,http,rtp,tcp -i http://199.180.75.118:80 -acodec pcm_s16le -ar 44100 -ac 2 -f rtp -sdp_file /home/dr_click/audio.sdp rtp://127.0.1.1:1234
> >
> > I type the following command «client side» to try to read the stream :
> > ffplay /home/dr_click/audio.sdp
> >
> > And then, I get this error :
> > [rtp @ 0x7f7778008040] Protocol 'rtp' not on whitelist 'file,crypto'!
> /home/dr_click/audio.sdp: Invalid data found when processing input
> nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
>
> > Dr_Click
More information about the ffmpeg-user
mailing list