找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2533|回复: 13

[其它网络视频相关] 用udpxy看高清IPTV卡顿

[复制链接]
发表于 2022-5-19 22:55 | 显示全部楼层 |阅读模式
使用这个命令
/usr/bin/udpxy -T -S -p 4022 -m eth0
可以看iptv了,但是看高清明显卡顿,非高清的勉强可看
请问是什么原因
我打开日志看了一下,不止是不是后面有 930多Kb/s那个,按理说不应该这么慢
2022-05-19 22:44:32.238020 CST        S(11566)        udpxy 1.0-23.10 (prod) standard [Linux 3.10.108 i686]: /usr/bin/udpxy -T -S -p 4022 -B 1Mb -m eth0 -R 3 -H 5 -v
2022-05-19 22:44:32.238780 CST        S(11566)        Server is starting up, max clients = [3]
2022-05-19 22:44:32.238926 CST        S(11566)        Setting up listener for [0.0.0.0:4022]
2022-05-19 22:44:32.239102 CST        S(11566)        Setting low watermark for server socket [14] to [10]
2022-05-19 22:44:32.239292 CST        S(11566)        Created server socket=[14], backlog=[16]
2022-05-19 22:44:32.239442 CST        S(11566)        Entering server loop [pselect(2)]
2022-05-19 22:44:32.239558 CST        S(11566)        Waiting for input from [2] fd's, NO timeout
2022-05-19 22:45:16.669075 CST        S(11566)        No children exited since last check
2022-05-19 22:45:16.669149 CST        S(11566)        Got 1 requests
2022-05-19 22:45:16.669193 CST        S(11566)        Accepting new connection
2022-05-19 22:45:16.669239 CST        S(11566)        Accepted socket=[15] from 192.168.10.55:49568 n=1/nmax=16
2022-05-19 22:45:16.669272 CST        S(11566)        Accepting new connection
2022-05-19 22:45:16.669298 CST        S(11566)        Nothing more to accept
2022-05-19 22:45:16.669319 CST        S(11566)        accept_requests: Sockets accepted: [1]
2022-05-19 22:45:16.669344 CST        S(11566)        Waiting for input from [3] fd's, with timeout
2022-05-19 22:45:16.670224 CST        S(11566)        No children exited since last check
2022-05-19 22:45:16.670259 CST        S(11566)        Got 1 requests
pre-process sockets [1]: 15
2022-05-19 22:45:16.670291 CST        S(11566)        acting on accepted socket [15] (1/1)
2022-05-19 22:45:16.670341 CST        S(11566)        Reading command from socket [15]
2022-05-19 22:45:16.670371 CST        S(11566)        HTTP buffer [217 bytes] received
GET /udp/239.93.0.184:5140 HTTP/1.1
Host: 192.168.10.3: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-05-19 22:45:16.670402 CST        S(11566)        Request=[udp/239.93.0.184:5140], length=[21]
2022-05-19 22:45:16.670428 CST        S(11566)        Command [udp] with params [239.93.0.184:5140], tail [] read from socket=[15]
2022-05-19 22:45:16.670465 CST        S(11566)        udp_relay : new_socket=[15] param=[239.93.0.184:5140]
2022-05-19 22:45:16.670550 CST        S(11566)        Added client: pid=[12551], maddr=[239.93.0.184], mport=[5140], saddr=[192.168.10.55], sport=[49568]
2022-05-19 22:45:16.670587 CST        S(11566)        process_requests: closing accepted socket [15]
2022-05-19 22:45:16.670629 CST        S(11566)        Processed [1/1] accepted sockets
newly-accepted sockets [1]: -1
2022-05-19 22:45:16.670665 CST        S(11566)        All accepted sockets processed
2022-05-19 22:45:16.670687 CST        S(11566)        Waiting for input from [2] fd's, NO timeout
2022-05-19 22:45:16.670833 CST        S(11566)        Client process=[12551] started for socket=[15]
2022-05-19 22:45:16.671094 CST        c(12551)        min socket buffer = [65536], max space to use = [4500], Rmsgs = [3]
2022-05-19 22:45:16.671343 CST        c(12551)        Setting up multicast listener
2022-05-19 22:45:16.671469 CST        c(12551)        current receive buffer size is [180224] bytes for socket [5]
2022-05-19 22:45:16.671836 CST        c(12551)        multicast-group [ADD]
2022-05-19 22:45:16.671957 CST        c(12551)        Mcast listener socket=[5] set up
2022-05-19 22:45:16.672095 CST        c(12551)        min socket buffer = [65536], max space to use = [4500], Rmsgs = [3]
2022-05-19 22:45:16.672295 CST        c(12551)        Data buffer will hold up to [3] messages
2022-05-19 22:45:16.672417 CST        c(12551)        UDP stream, RTP check enabled
2022-05-19 22:45:16.672513 CST        c(12551)        socket 5: RCV timeout set to 5 sec, 0 usec
2022-05-19 22:45:16.672684 CST        c(12551)        socket 5: SEND timeout set to 5 sec, 0 usec
2022-05-19 22:45:16.672932 CST        c(12551)        current send buffer size is [22120] bytes for socket [15]
2022-05-19 22:45:16.673141 CST        c(12551)        current receive buffer size is [180224] bytes for socket [5]
2022-05-19 22:45:16.673387 CST        c(12551)        send buffer size set to [180224] bytes for socket [15]
2022-05-19 22:45:16.673612 CST        c(12551)        Sent HTTP response code=[200], reason=[OK] to socket=[15]
HTTP/1.1 200 OK
Server: udpxy 1.0-23.10 (prod) standard [Linux 3.10.108 i686]
Content-Type:application/octet-stream


2022-05-19 22:45:16.674010 CST        c(12551)        Relaying traffic from socket[5] to socket[15], buffer size=[1048576], Rmsgs=[3], pauses=[0]
2022-05-19 22:45:16.715210 CST        c(12551)        Established stream as [RTP-TS]
2022-05-19 22:45:16.716941 CST        c(12551)        received new [3984] bytes out of [1048576], last=[0]
2022-05-19 22:45:16.717474 CST        c(12551)        sent [3948] bytes out of [3984], last=[0]
2022-05-19 22:45:20.639477 CST        S(11566)        No children exited since last check
2022-05-19 22:45:20.639553 CST        S(11566)        Got 1 requests
2022-05-19 22:45:20.639584 CST        S(11566)        Received TSTAT={ sender=[12551], bytes=[3948000.000000], seconds=[4.000000] }
2022-05-19 22:45:20.639665 CST        S(11566)        Updated context for pid=[12551]; [963.9] Kb/sec
2022-05-19 22:45:20.639718 CST        S(11566)        Waiting for input from [2] fd's, NO timeout
2022-05-19 22:45:24.569249 CST        S(11566)        No children exited since last check
2022-05-19 22:45:24.569307 CST        S(11566)        Got 1 requests
2022-05-19 22:45:24.569334 CST        S(11566)        Received TSTAT={ sender=[12551], bytes=[3948000.000000], seconds=[4.000000] }
2022-05-19 22:45:24.569416 CST        S(11566)        Updated context for pid=[12551]; [963.9] Kb/sec
2022-05-19 22:45:24.569516 CST        S(11566)        Waiting for input from [2] fd's, NO timeout
2022-05-19 22:45:28.512940 CST        S(11566)        No children exited since last check
2022-05-19 22:45:28.512999 CST        S(11566)        Got 1 requests
2022-05-19 22:45:28.513046 CST        S(11566)        Received TSTAT={ sender=[12551], bytes=[3948000.000000], seconds=[4.000000] }
2022-05-19 22:45:28.513094 CST        S(11566)        Updated context for pid=[12551]; [963.9] Kb/sec
2022-05-19 22:45:28.513125 CST        S(11566)        Waiting for input from [2] fd's, NO timeout
2022-05-19 22:45:32.453925 CST        S(11566)        No children exited since last check
2022-05-19 22:45:32.453983 CST        S(11566)        Got 1 requests
2022-05-19 22:45:32.454011 CST        S(11566)        Received TSTAT={ sender=[12551], bytes=[3948000.000000], seconds=[4.000000] }
2022-05-19 22:45:32.454057 CST        S(11566)        Updated context for pid=[12551]; [963.9] Kb/sec
2022-05-19 22:45:32.454087 CST        S(11566)        Waiting for input from [2] fd's, NO timeout
2022-05-19 22:45:36.377451 CST        S(11566)        No children exited since last check
2022-05-19 22:45:36.377510 CST        S(11566)        Got 1 requests
2022-05-19 22:45:36.377539 CST        S(11566)        Received TSTAT={ sender=[12551], bytes=[3948000.000000], seconds=[4.000000] }
2022-05-19 22:45:36.377592 CST        S(11566)        Updated context for pid=[12551]; [963.9] Kb/sec
2022-05-19 22:45:36.377622 CST        S(11566)        Waiting for input from [2] fd's, NO timeout



我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-5-19 23:59 | 显示全部楼层
路由的问题,之前我用小米路由器(没刷固件)看不了组播,用京东路由器看一会就卡住,用普联路由器就啥事没有
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-5-20 07:05 | 显示全部楼层
估计还是哪里没设置对,我这是openwrt,可以自己搞
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-20 09:49 | 显示全部楼层
会不会是路由器性能不行,没用hwnat
我7621的路由器,开IPTV没问题

点评

奇怪,我是x86软路由,性能多的很,cpu才用了5%,不知道是不是没有igmp代理和那个igmpsnooping? 我只装了udpxy  详情 回复 发表于 2022-5-20 09:55
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-5-20 09:55 | 显示全部楼层
lxh112210 发表于 2022-5-20 09:49
会不会是路由器性能不行,没用hwnat
我7621的路由器,开IPTV没问题

奇怪,我是x86软路由,性能多的很,cpu才用了5%,不知道是不是没有igmp代理和那个igmpsnooping?
我只装了udpxy
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-20 10:05 | 显示全部楼层
tree3 发表于 2022-5-20 09:55
奇怪,我是x86软路由,性能多的很,cpu才用了5%,不知道是不是没有igmp代理和那个igmpsnooping?
我只装 ...

有udpxy就够了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-20 10:13 来自手机 | 显示全部楼层
问题出在播放器的解码
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-20 10:18 | 显示全部楼层
可能真的出现在播放器,播放器开了软解?

点评

不知道,我用kodi,vlc还有安卓手机端的iptv pro这个app看都卡,你们两位说的有道理,很可能是这个问题,我放非高清的就没问题,只要是高清的iptv,就一卡一卡的  详情 回复 发表于 2022-5-20 23:06
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-20 15:56 | 显示全部楼层
用闲置的k2(注意不带p)很流畅,换台秒速
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-5-20 23:06 | 显示全部楼层
lxh112210 发表于 2022-5-20 10:18
可能真的出现在播放器,播放器开了软解?

不知道,我用kodi,vlc还有安卓手机端的iptv pro这个app看都卡,你们两位说的有道理,很可能是这个问题,我放非高清的就没问题,只要是高清的iptv,就一卡一卡的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-5-20 23:28 | 显示全部楼层
我看vlc勾的是硬解,还是卡,和路由器应该也有点关系,我把udpxy换成另外的机子,效果要稍微好一丁点,但是还是有点卡
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-20 23:53 | 显示全部楼层
首先测试电脑播放会不会卡顿,如果电脑播放都卡顿可能是你设置的不够好,我的体验是udpxy有线绝对好于wifi
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-21 07:49 | 显示全部楼层
我的一台x86的,播放倒是跟流畅,就是不能频道换台。连续换台,后面就不能播放了,要等一会儿才行。另一台没问题,等有时间两台互换一下看看。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-5-21 09:05 | 显示全部楼层
已经肉测,不是光猫的问题,不是播放器的问题,
我用同样的播放器同样的光猫,在光猫和软路由之间加了一个新三,用新三来负责IPTV业务,经过软路由之后,下面3台设备同时看高清,都不卡
软路由这里还需要再折腾一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-24 19:06

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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