Difference between revisions of "Stream audio from 3rd party"
From Zenitel Wiki
Line 11: | Line 11: | ||
<br style="clear:both;" /> | <br style="clear:both;" /> | ||
− | * Trigger the action command: | + | * Trigger the action command: |
[[File:PCStream2.png|thumb|left|700px|Event Handler]] | [[File:PCStream2.png|thumb|left|700px|Event Handler]] | ||
<br style="clear:both;" /> | <br style="clear:both;" /> | ||
+ | |||
+ | {{Code2| | ||
+ | $VAC L165 U8 '10.5.101.133' W1234 W4322 | ||
+ | }} | ||
* From Windows command line, enter: | * From Windows command line, enter: | ||
− | ffmpeg.exe -re -i "C:\Programmer\ffmpeg\media\06 Paradise by the Dashboard Light.mp3" -ac 1 -acodec g722 -ar 16000 -f rtp rtp://10.5.101.30:4322 | + | {{Code|ffmpeg.exe -re -i "C:\Programmer\ffmpeg\media\06 Paradise by the Dashboard Light.mp3" -ac 1 -acodec g722 -ar 16000 -f rtp rtp://10.5.101.30:4322}} |
− | * 165 = the Dummy | + | * 165 = '''the Dummy''' |
− | * U8 = G.722 | + | * U8 = '''G.722''' |
− | * 10.5.101.133 = IP Address of PC | + | * 10.5.101.133 = '''IP Address of PC''' |
− | * 4322 = UDP port for audio | + | * 4322 = '''UDP port for audio''' |
− | * "C:\Programmer\ffmpeg\media\06 Paradise by the Dashboard Light.mp3" = audio source 10.5.101.30 = IP Address of the AlphaCom | + | * "C:\Programmer\ffmpeg\media\06 Paradise by the Dashboard Light.mp3" = audio source 10.5.101.30 = '''IP Address of the AlphaCom''' |
[[Category:AlphaCom Applications]] | [[Category:AlphaCom Applications]] | ||
[[Category:ICX-AlphaCom Applications]] | [[Category:ICX-AlphaCom Applications]] |
Revision as of 14:22, 31 May 2022
This article describes how to stream audio from a 3rd party source to the AlphaCom or ICX using an IP Dummy:
- Install Ffmpeg on PC: http://adaptivesamples.com/how-to-install-ffmpeg-on-windows/
- From AlphaPro, create an IP Dummy, e.g. 165, and set codec = G722.
- In AlphaWeb - Filters, open an UDP port for incoming audio, e.g. 4322.
- Trigger the action command:
Action commands:
$VAC L165 U8 '10.5.101.133' W1234 W4322
- From Windows command line, enter:
ffmpeg.exe -re -i "C:\Programmer\ffmpeg\media\06 Paradise by the Dashboard Light.mp3" -ac 1 -acodec g722 -ar 16000 -f rtp rtp://10.5.101.30:4322
|
- 165 = the Dummy
- U8 = G.722
- 10.5.101.133 = IP Address of PC
- 4322 = UDP port for audio
- "C:\Programmer\ffmpeg\media\06 Paradise by the Dashboard Light.mp3" = audio source 10.5.101.30 = IP Address of the AlphaCom