Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Question How to add UDP stream input ?

johri.puneet

Extended Member
Ext. Member
Joined
Feb 1, 2020
Messages
5
Reaction score
2
Points
14
Location
India
Hi
i tried to add source url udp://@224.2.2.2:3004
same as we add http://"xx.xx.xx.xx" stream
Result: Source Down.

do anybody know how to add multicast udp streams in Xtream Ui or xuione
 
Hi
i tried to add source url udp://@224.2.2.2:3004
same as we add http://"xx.xx.xx.xx" stream
Result: Source Down.

do anybody know how to add multicast udp streams in Xtream Ui or xuione
format for multicast source is udp://ip:port .
224.2.2.2:3004 is spts or mpts? So are you receiving one channel per multicast ip or many channels on the same ip?
Have you checked if your linux machine is able to receive multicast?
 
format for multicast source is udp://ip:port .
224.2.2.2:3004 is spts or mpts? So are you receiving one channel per multicast ip or many channels on the same ip?
Have you checked if your linux machine is able to receive multicast?
spts stream, one chanel per ip,
how to check linux machine receiving multicast? i can ping source interface ip.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
spts stream, one chanel per ip,
how to check linux machine receiving multicast? i can ping source interface ip.
[CODE title="Show network interface" highlight="ifconfig"]ifconfig[/CODE]

and check your network interface status :

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500

also try to run manually with ffmpeg:

/home/xtreamcodes/iptv_xtream_codes/bin/ffmpeg -i udp://ip: port

check the results.
There are many ways. Just google search how to verify and optimize your machine for multicast.
 
how to add udp://ip: port whit program id

Stream #0:15[0x2a](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
Program 769
Metadata:
service_name : VTV-2
service_provider: Virtual University
Stream #0:16[0x2c]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
how to add udp://ip: port whit program id

Stream #0:15[0x2a](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
Program 769
Metadata:
service_name : VTV-2
service_provider: Virtual University
Stream #0:16[0x2c]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
Are your streams in MPTS or SPTS?
MPTS = many channels in one single ip
SPTS = each channel has its own ip.
If you are in MPTS , you must use map in order to select channels for streming.
 
Are your streams in MPTS or SPTS?
MPTS = many channels in one single ip
SPTS = each channel has its own ip.
If you are in MPTS , you must use map in order to select channels for streming.
i have MPTS udp how to map in add order input
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Send me your ffprobe output:
/home/xtreamcodes/iptv_xtream_codes/bin/ffprobe udp://ip: port
Input #0, mpegts, from 'udp://224.2.2.101:1001':
Duration: N/A, start: 4605.817100, bitrate: N/A
Program 256
Metadata:
service_name : Dunya News
service_provider: NCS
Stream #0:0[0x21]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 12:11 DAR 15:11], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x22](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 320 kb/s
Program 257
Metadata:
service_name : Lahore News
service_provider: NCS
Stream #0:2[0x26]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:12[0x27](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 320 kb/s
Program 768
Metadata:
service_name : VTV-1
service_provider: Virtual University
Stream #0:13[0x29]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
Stream #0:14[0x2a](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
Program 769
Metadata:
service_name : VTV-2
service_provider: Virtual University
Stream #0:15[0x2c]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
Stream #0:16[0x2d](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
Program 770
Metadata:
service_name : VTV-3
service_provider: Virtual University
Stream #0:17[0x2f]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
Stream #0:18[0x30](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
Program 771
Metadata:
service_name : VTV-4
service_provider: Virtual University
Stream #0:19[0x32]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
Stream #0:20[0x33](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
Program 1024
Metadata:
service_name : Sindh Tv
service_provider: Sindh Tv
Stream #0:4[0x35]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 12:11 DAR 15:11], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:11[0x36](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 85 kb/s
Program 1025
Metadata:
service_name : Sindh News
service_provider: Sindh News
Stream #0:21[0x38]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, bottom first), 720x576 [SAR 12:11 DAR 15:11], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:10[0x39](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 94 kb/s
Program 1280
Metadata:
service_name : HUM News - HD
service_provider: HUM News
Stream #0:6[0x3b]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:9[0x3c](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 384 kb/s
Program 1536
Metadata:
service_name : AJK-TV.
service_provider: Service Provider
Stream #0:22[0x3f]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:23[0x40](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 384 kb/s
Stream #0:24[0x41](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 384 kb/s
Program 1792
Metadata:
service_name : Geo News
service_provider: GeoTV
Stream #0:7[0x43]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 12:11 DAR 15:11], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:5[0x44](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
Program 1794
Metadata:
service_name : Geo Tez
service_provider: GeoTV
Stream #0:3[0x4a]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:8[0x4b](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
 
Input #0, mpegts, from 'udp://224.2.2.101:1001':
Duration: N/A, start: 4605.817100, bitrate: N/A
Program 256
Metadata:
service_name : Dunya News
service_provider: NCS
Stream #0:0[0x21]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 12:11 DAR 15:11], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x22](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 320 kb/s
Program 257
Metadata:
service_name : Lahore News
service_provider: NCS
Stream #0:2[0x26]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:12[0x27](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 320 kb/s
Program 768
Metadata:
service_name : VTV-1
service_provider: Virtual University
Stream #0:13[0x29]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
Stream #0:14[0x2a](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
Program 769
Metadata:
service_name : VTV-2
service_provider: Virtual University
Stream #0:15[0x2c]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
Stream #0:16[0x2d](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
Program 770
Metadata:
service_name : VTV-3
service_provider: Virtual University
Stream #0:17[0x2f]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
Stream #0:18[0x30](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
Program 771
Metadata:
service_name : VTV-4
service_provider: Virtual University
Stream #0:19[0x32]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
Stream #0:20[0x33](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
Program 1024
Metadata:
service_name : Sindh Tv
service_provider: Sindh Tv
Stream #0:4[0x35]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 12:11 DAR 15:11], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:11[0x36](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 85 kb/s
Program 1025
Metadata:
service_name : Sindh News
service_provider: Sindh News
Stream #0:21[0x38]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, bottom first), 720x576 [SAR 12:11 DAR 15:11], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:10[0x39](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 94 kb/s
Program 1280
Metadata:
service_name : HUM News - HD
service_provider: HUM News
Stream #0:6[0x3b]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:9[0x3c](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 384 kb/s
Program 1536
Metadata:
service_name : AJK-TV.
service_provider: Service Provider
Stream #0:22[0x3f]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:23[0x40](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 384 kb/s
Stream #0:24[0x41](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 384 kb/s
Program 1792
Metadata:
service_name : Geo News
service_provider: GeoTV
Stream #0:7[0x43]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 12:11 DAR 15:11], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:5[0x44](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
Program 1794
Metadata:
service_name : Geo Tez
service_provider: GeoTV
Stream #0:3[0x4a]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:8[0x4b](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
Create a stream as usual:
On stream url : udp://udp://224.2.2.101:1001
on Advacned tab -> Custom FFmpeg Command add for each corresponding channel the following custom line:
Dunya News

-i {INPUT} -map 0:0:p:256 -c copy -analyzeduration 3000000 -probesize 3000000

Lahore News
-i {INPUT} -map 0:2:p:257 -c copy -analyzeduration 3000000 -probesize 3000000

VTV-1
-i {INPUT} -map 0:13:p:768 -c copy -analyzeduration 3000000 -probesize 3000000

VTV-2
-i {INPUT} -map 0:15:p:769 -c copy -analyzeduration 3000000 -probesize 3000000

Try with one channel and make sure video and audio correspond.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Create a stream as usual:
On stream url : udp://udp://224.2.2.101:1001
on Advacned tab -> Custom FFmpeg Command add for each corresponding channel the following custom line:
Dunya News

-i {INPUT} -map 0:0:p:256 -c copy -analyzeduration 3000000 -probesize 3000000

Lahore News
-i {INPUT} -map 0:2:p:257 -c copy -analyzeduration 3000000 -probesize 3000000

VTV-1
-i {INPUT} -map 0:13:p:768 -c copy -analyzeduration 3000000 -probesize 3000000

VTV-2
-i {INPUT} -map 0:15:p:769 -c copy -analyzeduration 3000000 -probesize 3000000

Try with one channel and make sure video and audio correspond.
udp://224.2.2.101:1001 (there is a typo) not udp://udp://
 
my udp runing fine but xtreamui inpu show error Dead Source, Please replace.
 
Hi
i tried to add source url udp://@224.2.2.2:3004
same as we add http://"xx.xx.xx.xx" stream
Result: Source Down.

do anybody know how to add multicast udp streams in Xtream Ui or xuione
Hello, did you ever got this resolved? I am also trying to add my local town news channels, also in UDP:// and yes, they die as soon as I upload to xtream ui panel.. have to mention that they play in vlc player but because my vlc player is also connected on same local network.. if I change ISP out side my local network UDP dies.

Anyone with greater knowledge on this could advise on how to get this resolved?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
hello experts

i have cesbo astra server i am configure output stream udp STPS Xtream Ui not get my stream and ffmpeg test showing some error stream not run anyone help me please

file in attachment
Unsupported codec with id 0 for input stream
 

Attachments

Download limits

hello experts

i have cesbo astra server i am configure output stream udp STPS Xtream Ui not get my stream and ffmpeg test showing some error stream not run anyone help me please

file in attachment
Unsupported codec with id 0 for input stream
Xui cant run udp without configuration.. you con go to github for more info on this topic.. they even have a guide how to get it done.

Also another way is with flussonic.. need 2 servers running flussonic. One as yes. Main server and the 2nd as then client. From client you upload to xui in regular http. But requires good amount of time to get it done.
 
Last edited:
FastoCloud can convert UDP to HLS
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Hi, I am interested in listening more! May you explain?
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top