恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 472|回复: 8

[iptv信源 资源分享或寻求] 求助,openwrt装好udpxy无法看iptv

[复制链接]
发表于 2022-6-8 22:42 | 显示全部楼层 |阅读模式
我用的新三刷的openwrt,已经获取到iptv专用IP,但是这用手机打开iptv的时候转一会圈就提示无法打开频道
http://192.168.3.1:4022/status显示又是正常的,如下
udpxy status:
[size=14.399999618530273px]
Server Process IDAccepting clients onMulticast addressActive clients
49370.0.0.0:402210.131.7.520
Available HTTP requests:
Request templateFunction
http://address:port/udp/mcast_addr:mport/Relay multicast traffic from mcast_addr:mport
http://address:port/status/Display udpxy status
http://address:port/restart/Restart udpxy

[size=11.520000457763672px]udpxy v. 1.0 (Build 23) standard - [Wed Jun 8 22:40:31 2022]
udpxy and udpxrec are Copyright (C) 2008-2013 Pavel V. Cherenkov and licensed under GNU GPLv3

我用手机打开一次,电脑端vlc打开一次,都无法播放
udpxy运行的完整日志如下:
root@OpenWrt:~# udpxy -T -p 4022 -S -m eth0.2 -B 1Mb -v
2022-06-08 22:35:08.669495 CST        S(4926)        udpxy 1.0-23.10 (prod) standard [Linux 5.4.188 mips]: udpxy -T -p 4022 -S -m eth0.2 -B 1Mb -v
2022-06-08 22:35:08.670093 CST        S(4926)        Server is starting up, max clients = [3]
2022-06-08 22:35:08.672978 CST        S(4926)        Setting up listener for [0.0.0.0:4022]
2022-06-08 22:35:08.673578 CST        S(4926)        Setting low watermark for server socket [7] to [10]
2022-06-08 22:35:08.674146 CST        S(4926)        Created server socket=[7], backlog=[16]
2022-06-08 22:35:08.674630 CST        S(4926)        Entering server loop [pselect(2)]
2022-06-08 22:35:08.675069 CST        S(4926)        Waiting for input from [2] fd's, NO timeout
2022-06-08 22:35:21.832487 CST        S(4926)        No children exited since last check
2022-06-08 22:35:21.833171 CST        S(4926)        Got 1 requests
2022-06-08 22:35:21.833528 CST        S(4926)        Accepting new connection
2022-06-08 22:35:21.834049 CST        S(4926)        Accepted socket=[8] from 192.168.3.249:45174 n=1/nmax=16
2022-06-08 22:35:21.834420 CST        S(4926)        Accepting new connection
2022-06-08 22:35:21.834948 CST        S(4926)        Nothing more to accept
2022-06-08 22:35:21.835364 CST        S(4926)        accept_requests: Sockets accepted: [1]
2022-06-08 22:35:21.835704 CST        S(4926)        Waiting for input from [3] fd's, with timeout
2022-06-08 22:35:21.836641 CST        S(4926)        No children exited since last check
2022-06-08 22:35:21.837239 CST        S(4926)        Got 1 requests
pre-process sockets [1]: 8
2022-06-08 22:35:21.837859 CST        S(4926)        acting on accepted socket [8] (1/1)
2022-06-08 22:35:21.838328 CST        S(4926)        Reading command from socket [8]
2022-06-08 22:35:21.838972 CST        S(4926)        HTTP buffer [216 bytes] received
GET /rtp/239.93.0.184:5140 HTTP/1.1
Host: 192.168.3.1:4022
Accept: */*
Accept-Language: en_US
User-Agent: Mozilla/5.0 (Linux; Android 10; HUAWEI PCT-AL10 Build/HUAWEIPCT-AL10) IPTV Pro/6.1.11
Range: bytes=0-

2022-06-08 22:35:21.839622 CST        S(4926)        Request=[rtp/239.93.0.184:5140], length=[21]
2022-06-08 22:35:21.840138 CST        S(4926)        Command [rtp] with params [239.93.0.184:5140], tail [] read from socket=[8]
2022-06-08 22:35:21.840728 CST        S(4926)        udp_relay : new_socket=[8] param=[239.93.0.184:5140]
2022-06-08 22:35:21.842038 CST        S(4926)        Added client: pid=[4928], maddr=[239.93.0.184], mport=[5140], saddr=[192.168.3.249], sport=[45174]
2022-06-08 22:35:21.842309 CST        S(4926)        Client process=[4928] started for socket=[8]
2022-06-08 22:35:21.843421 CST        S(4926)        process_requests: closing accepted socket [8]
2022-06-08 22:35:21.844149 CST        c(4928)        min socket buffer = [65536], max space to use = [1500], Rmsgs = [1]
2022-06-08 22:35:21.844506 CST        S(4926)        Processed [1/1] accepted sockets
newly-accepted sockets [1]: -1
2022-06-08 22:35:21.845003 CST        c(4928)        Setting up multicast listener
2022-06-08 22:35:21.845535 CST        S(4926)2022-06-08 22:35:21.845797 CST        c(4928)                current receive buffer size is [180224] bytes for socket [5]
All accepted sockets processed
2022-06-08 22:35:21.846607 CST        S(4926)        2022-06-08 22:35:21.846725 CST        c(4928)        Waiting for input from [2] fd's, NO timeout
multicast-group [ADD]
2022-06-08 22:35:21.847591 CST        c(4928)        Mcast listener socket=[5] set up
2022-06-08 22:35:21.848237 CST        c(4928)        min socket buffer = [65536], max space to use = [1500], Rmsgs = [1]
2022-06-08 22:35:21.848876 CST        c(4928)        Data buffer will hold up to [1] messages
2022-06-08 22:35:21.849438 CST        c(4928)        RTP (over UDP) stream assumed, no checks
2022-06-08 22:35:21.850045 CST        c(4928)        socket 5: RCV timeout set to 5 sec, 0 usec
2022-06-08 22:35:21.850624 CST        c(4928)        socket 5: SEND timeout set to 5 sec, 0 usec
2022-06-08 22:35:21.851122 CST        c(4928)        current send buffer size is [44800] bytes for socket [8]
2022-06-08 22:35:21.851609 CST        c(4928)        current receive buffer size is [180224] bytes for socket [5]
2022-06-08 22:35:21.852104 CST        c(4928)        send buffer size set to [180224] bytes for socket [8]
2022-06-08 22:35:21.853109 CST        c(4928)        Sent HTTP response code=[200], reason=[OK] to socket=[8]
HTTP/1.1 200 OK
Server: udpxy 1.0-23.10 (prod) standard [Linux 5.4.188 mips]
Content-Type:application/octet-stream


2022-06-08 22:35:21.853791 CST        c(4928)        Relaying traffic from socket[5] to socket[8], buffer size=[1048576], Rmsgs=[1], pauses=[0]
2022-06-08 22:35:26.912534 CST        c(4928)        read_buf: socket time-out on read2022-06-08 22:35:26.913142 CST        c(4928)        read_data - EOF
2022-06-08 22:35:26.913700 CST        c(4928)        Exited relay loop: received=[-1], sent=[0], quit=[0]
2022-06-08 22:35:26.914723 CST        c(4928)        multicast-group [DROP]
2022-06-08 22:35:26.915429 CST        c(4928)        Mcast listener socket=[5] closed
2022-06-08 22:35:26.916381 CST        c(4928)        Child process=[4928] exits with rc=[0]
2022-06-08 22:35:26.917712 CST        S(4926)        *** Caught SIGCHLD (18) ***
2022-06-08 22:35:26.918262 CST        S(4926)        Waiting on exited children
2022-06-08 22:35:26.918959 CST        S(4926)        Client [4928] has exited.
2022-06-08 22:35:26.919524 CST        S(4926)        Deleted client: pid=[4928]
2022-06-08 22:35:26.920050 CST        S(4926)        Cleaned up 1 children, 0 still running
2022-06-08 22:35:26.920481 CST        S(4926)        INTERRUPTED, yet will continue.
2022-06-08 22:35:26.920961 CST        S(4926)        Waiting for input from [2] fd's, NO timeout
2022-06-08 22:36:51.639720 CST        S(4926)        No children exited since last check
2022-06-08 22:36:51.640341 CST        S(4926)        Got 1 requests
2022-06-08 22:36:51.641136 CST        S(4926)        Accepting new connection
2022-06-08 22:36:51.642006 CST        S(4926)        Accepted socket=[8] from 192.168.3.249:49912 n=1/nmax=16
2022-06-08 22:36:51.642635 CST        S(4926)        Accepting new connection
2022-06-08 22:36:51.643341 CST        S(4926)        Nothing more to accept
2022-06-08 22:36:51.644102 CST        S(4926)        accept_requests: Sockets accepted: [1]
2022-06-08 22:36:51.644778 CST        S(4926)        Waiting for input from [3] fd's, with timeout
2022-06-08 22:36:51.645359 CST        S(4926)        No children exited since last check
2022-06-08 22:36:51.646050 CST        S(4926)        Got 1 requests
pre-process sockets [1]: 8
2022-06-08 22:36:51.646790 CST        S(4926)        acting on accepted socket [8] (1/1)
2022-06-08 22:36:51.647483 CST        S(4926)        Reading command from socket [8]
2022-06-08 22:36:51.648260 CST        S(4926)        HTTP buffer [153 bytes] received
GET /udp/239.93.0.184:5140 HTTP/1.1
Host: 192.168.3.1:4022
User-Agent: VLC/3.0.6 LibVLC/3.0.6
Accept: */*
Accept-Language: en_US
Range: bytes=0-

2022-06-08 22:36:51.648985 CST        S(4926)        Request=[udp/239.93.0.184:5140], length=[21]
2022-06-08 22:36:51.649572 CST        S(4926)        Command [udp] with params [239.93.0.184:5140], tail [] read from socket=[8]
2022-06-08 22:36:51.650093 CST        S(4926)        udp_relay : new_socket=[8] param=[239.93.0.184:5140]
2022-06-08 22:36:51.651450 CST        S(4926)        Client process=[4935] started for socket=[8]
2022-06-08 22:36:51.651315 CST        S(4926)        Added client: pid=[4935], maddr=[239.93.0.184], mport=[5140], saddr=[192.168.3.249], sport=[49912]
2022-06-08 22:36:51.652197 CST        c(4935)        min socket buffer = [65536], max space to use = [1500], Rmsgs = [1]
2022-06-08 22:36:51.652571 CST        S(4926)        process_requests: closing accepted socket [8]
2022-06-08 22:36:51.653237 CST        c(4935)        Setting up multicast listener
2022-06-08 22:36:51.653591 CST        S(4926)        Processed [1/1] accepted sockets
newly-accepted sockets [1]: -1
2022-06-08 22:36:51.654167 CST        c(4935)        current receive buffer size is [180224] bytes for socket [5]
2022-06-08 22:36:51.655147 CST        c(4935)        multicast-group [ADD]
2022-06-08 22:36:51.654988 CST        S(4926)        All accepted sockets processed
2022-06-08 22:36:51.655917 CST        c(4935)        Mcast listener socket=[5] set up
2022-06-08 22:36:51.656723 CST        c(4935)        2022-06-08 22:36:51.656487 CST        S(4926)        min socket buffer = [65536], max space to use = [1500], Rmsgs = [1]
Waiting for input from [2] fd's, NO timeout
2022-06-08 22:36:51.657684 CST        c(4935)        Data buffer will hold up to [1] messages
2022-06-08 22:36:51.658374 CST        c(4935)        UDP stream, RTP check enabled
2022-06-08 22:36:51.659099 CST        c(4935)        socket 5: RCV timeout set to 5 sec, 0 usec
2022-06-08 22:36:51.659668 CST        c(4935)        socket 5: SEND timeout set to 5 sec, 0 usec
2022-06-08 22:36:51.660264 CST        c(4935)        current send buffer size is [44800] bytes for socket [8]
2022-06-08 22:36:51.660838 CST        c(4935)        current receive buffer size is [180224] bytes for socket [5]
2022-06-08 22:36:51.661348 CST        c(4935)        send buffer size set to [180224] bytes for socket [8]
2022-06-08 22:36:51.662021 CST        c(4935)        Sent HTTP response code=[200], reason=[OK] to socket=[8]
HTTP/1.1 200 OK
Server: udpxy 1.0-23.10 (prod) standard [Linux 5.4.188 mips]
Content-Type:application/octet-stream


2022-06-08 22:36:51.662988 CST        c(4935)        Relaying traffic from socket[5] to socket[8], buffer size=[1048576], Rmsgs=[1], pauses=[0]
2022-06-08 22:36:56.672526 CST        c(4935)        read_buf: socket time-out on read2022-06-08 22:36:56.673262 CST        c(4935)        read_data - EOF
2022-06-08 22:36:56.673819 CST        c(4935)        Exited relay loop: received=[-1], sent=[0], quit=[0]
2022-06-08 22:36:56.674805 CST        c(4935)        multicast-group [DROP]
2022-06-08 22:36:56.675359 CST        c(4935)        Mcast listener socket=[5] closed
2022-06-08 22:36:56.676227 CST        c(4935)        Child process=[4935] exits with rc=[0]
2022-06-08 22:36:56.677485 CST        S(4926)        *** Caught SIGCHLD (18) ***
2022-06-08 22:36:56.678094 CST        S(4926)        Waiting on exited children
2022-06-08 22:36:56.679222 CST        S(4926)        Client [4935] has exited.
2022-06-08 22:36:56.679810 CST        S(4926)        Deleted client: pid=[4935]
2022-06-08 22:36:56.680298 CST        S(4926)        Cleaned up 1 children, 0 still running
2022-06-08 22:36:56.680769 CST        S(4926)        INTERRUPTED, yet will continue.
2022-06-08 22:36:56.681447 CST        S(4926)        Waiting for input from [2] fd's, NO timeout
^C2022-06-08 22:37:07.242607 CST        S(4926)        *** Caught SIGNAL 2 ***
2022-06-08 22:37:07.243291 CST        S(4926)        Must quit now
2022-06-08 22:37:07.243886 CST        S(4926)        Exited server loop [pselect(2)]
2022-06-08 22:37:07.244481 CST        S(4926)        No children exited since last check
2022-06-08 22:37:07.245069 CST        S(4926)        No children exited since last check
2022-06-08 22:37:07.245799 CST        S(4926)        Server exits with rc=[0]
2022-06-08 22:37:07.246515 CST        S(4926)        udpxy is exiting with rc=[0]
2022-06-08 22:37:07.247106 CST        S(4926)        udpxy 1.0-23.10 (prod) standard [Linux 5.4.188 mips]: udpxy -T -p 4022 -S -m eth0.2 -B 1Mb -v
root@OpenWrt:~#



我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-6-9 09:45 来自手机 | 显示全部楼层
是不是绑定源/IP那里设置不对?你或者在那里改成192.168.3.1试试。

补充内容 (2022-6-9 09:46):
绑定源端口/IP
我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-6-9 10:12 | 显示全部楼层
https://blog.lishun.me/iptvhelper-guide,这里说的很明白了。
我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-6-9 11:25 | 显示全部楼层
大概率是防火墙没有打开
我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-6-9 15:42 | 显示全部楼层
防火墙要打开igmp
我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-6-9 21:13 | 显示全部楼层
用超级密码进光猫后台打开igmp
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2022-6-10 21:33 | 显示全部楼层
开了防火墙还是不行,我换个op试试
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2022-6-11 15:51 | 显示全部楼层
换了个OP就可以了,反正
我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-6-21 10:37 来自手机 | 显示全部楼层
大概率是路由器没有IPTV透传
我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )|网站地图

GMT+8, 2022-7-7 04:16

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表