[FFmpeg-user] Reading rtp server with ffplay

Al-buharie Amjari harieamjari at gmail.com
Sat Oct 16 14:00:16 EEST 2021


Currently, I'm able to transcode an audio into an video with:

```
C:\Users\User6> ffplay -f lavfi "amovie=t.mp3, asplit[a][out1];
[a]showcqt[out0]"
```
I was thinking of having ffplay to read my microphone and do a real time
showcqt of it but I don't think it's possible.

Bu I had an idea of establishing an rtp server with ffmpeg which reads my
microphone:

```
C:\Users\User6>ffmpeg -re -f dshow -i audio="Microphone (Intel SST Audio
Device (WDM))" -acodec mp3 -ab 128k -ac 2 -f rtp rtp://192.168.254.124:8000
```

And I manage to read it with ffplay:

```
C:\Users\User6>ffplay rtp://192.168.254.124:8000
```

I was thinking of applying the showcqt filter to this with:

```
C:\Users\User6> ffplay -f lavfi "amovie=rtp://192.168.254.124:8000,
showcqt[out0]"
```

But ffplay greeted me with `[Parsed_amovie_0 @ 00000280613dcb40] Failed to
avformat_open_input 'rtp'`

Could you help me accomplish this?


More information about the ffmpeg-user mailing list