翼展电脑服务中心


宽带连接监测程序,防止断网。

2024-3-14 乱云飞 评论(0) 浏览(71) 标签: 批处理 检测网络 断网重连 宽带连接 宽带拨号

@echo off
@title 宽带连接监测程序 2024-03-14 BY wwwylg
@mode con cols=50 lines=10 
color 9F
setlocal enabledelayedexpansion  
  
:QQ5082500 
rem 检测宽带连接状态  
rasdial "宽带连接" /status | findstr "已连接" >nul  
if errorlevel 1 (  
    echo.
    rasdial "宽带连接" 13213610060 123456 
    if !errorlevel! == 0 (  
        echo %date%%time%拨号连接成功。  
    ) else (  
        echo %date%%time%拨号连接失败,请检查账号和密码是否正确。  
    )  
) else (  
    echo %date%%time%宽带已连接。  
)  
  
rem 等待5分钟(300秒)后再次检测  
timeout /t 15 >nul
cls
goto QQ5082500

play_rtsp.bat备份

2024-2-29 乱云飞 评论(0) 浏览(74)

echo off
setlocal enabledelayedexpansion
:-----------------------------------------------------------
if not "%~1"=="" (set "url=%~1"&goto :play)  
if exist "qie.conf" (for /f "skip=1 tokens=*" %%a in (qie.conf) do (set "url=%%a"&goto :play))
set "url=http://bakevision.tpddns.cn:5555/0.m3u8"
:-----------------------------------------------------------
:play
cd /d %~dp0
nircmd.exe setdisplay 1920 1080 32
start play_rtsp.dll -fullscreen --title=VirtualCamera --no-window-dragging !url!
tasklist | find /i "osd.exe" || start C:\ezsoft\lib\osd.exe
ping -n 3 127.0.0.1 >NUL
taskkill /f /im "play_mp4.dll"
endlocal
exit

MPV播放RTSP视频流自动断网重连

2024-2-28 乱云飞 评论(0) 浏览(80)

mpv 是一个强大的多媒体播放器,支持多种协议和格式。当使用 mpv 播放 RTSP 流时,可能会遇到断线重连的问题。为了解决这个问题,你可以使用以下方法:

  1. 使用 -reconnect 选项:

    • mpv 支持 -reconnect 选项,用于在播放流时自动尝试重新连接。
    • 例如:mpv -reconnect infinite rtsp://your_stream_url
    • infinite 表示无限次尝试重连。你也可以指定一个数字,表示尝试重连的次数。
  2. 使用 --reconnect-delay 选项:

    • 当你使用 -reconnect 选项时,你可能还想指定每次重连之间的延迟时间。
    • 例如:mpv -reconnect infinite --reconnect-delay 5 rtsp://your_stream_url
    • 这将在每次重连之间等待 5 秒。
  3. 使用 --stream-reconnect 选项:

    • 这是一个更具体的选项,用于流的重连。
    • 例如:mpv --stream-reconnect=yes rtsp://your_stream_url
  4. 检查其他相关的选项:

    • 你还可以使用其他与网络连接和流播放相关的选项,例如 --network-timeout,以调整网络超时时间。
    • 使用 mpv --help 或查看官方文档来获取更多关于这些选项的信息。
  5. 注意:

    • RTSP 流的质量和稳定性很大程度上取决于源服务器和你的网络环境。即使设置了重连,如果服务器频繁断开或网络条件很差,你也可能会遇到播放问题。
    • 在某些情况下,使用 RTMP 或其他协议可能更为稳定。

希望这些建议能帮助你解决 mpv 播放 RTSP 流时的断线重连问题!

FFMPEG推流参数注释

2024-2-2 乱云飞 评论(0) 浏览(31) 标签: ffmpeg 桌面推流 捕获桌面 RTSP推流 声卡推流

[该内容已加密,请点击标题输入密码访问]

巨爆无人直播推流软件推流电脑屏幕和声卡音频配置文件

2024-1-26 乱云飞 代码 评论(0) 浏览(9) 标签: 配置文件 巨爆软件 无人直播 推流软件 推流电脑屏幕 推流音频

[该内容已加密,请点击标题输入密码访问]

buding

2024-1-26 乱云飞 评论(0) 浏览(88)

https://webcdn.m.qq.com/spcmgr/download/QQSoftMgrInst_patch_20220621.exe

修改配置

2024-1-18 乱云飞 评论(0) 浏览(91)

未命名-2.gif

VB6.0读取配置文件

2024-1-17 乱云飞 评论(0) 浏览(84)

Private Sub Command1_Click()
    Dim fileContent As String
    
    ' 调用函数并获取文件内容
    fileContent = ReadLine("1.conf", 5)
    
    ' 显示指定行数的内容
    If fileContent <> "" Then
        Label1.Caption = fileContent
        MsgBox fileContent
    Else
        MsgBox "文件内容不足指定行数"
    End If
End Sub

Private Function ReadLine(filePath As String, lineNumber As Integer) As String
    Dim fileContent As String
    
    ' 打开文件并读取指定行数的内容
    With CreateObject("Scripting.FileSystemObject").OpenTextFile(filePath)
        For i = 1 To lineNumber
            fileContent = .ReadLine
        Next i
        .Close
    End With
    
    ' 返回指定行数的内容
    ReadLine = fileContent
End Function

最新版本虚拟监控软件下载链接20240116

2024-1-15 乱云飞 评论(0) 浏览(91)

https://pan.baidu.com/s/1I7ClvsmHMBJ-OURDvxONPw?pwd=v5dq
http://v.bakevision.cn/down/onvif_20240116.exe
https://www.123pan.com/s/PCf7Vv-BgRJv.html
http://1.80c.cc:5000/sharing/WrBdIjLJs
https://share.weiyun.com/QgRW8XhG
https://lanzoui.com/iFCp71l6ntxe
http://1.80c.cc:5100/

批处理读取配置文件

2024-1-15 乱云飞 评论(0) 浏览(92)

@echo off  
setlocal enabledelayedexpansion  
  
set "file=1.txt"  
set "lineCount=0"  
  
for /f "tokens=*" %%a in (%file%) do (  
    set /a lineCount+=1  
    if !lineCount!==1 set "param1=%%a"  
    if !lineCount!==2 set "param2=%%a"  
    if !lineCount!==3 set "param3=%%a"  
)  
  
echo Parameter 1: %param1%  
echo Parameter 2: %param2%  
echo Parameter 3: %param3%

cmd/k

===========================================

@echo off 
::------------------------------------------
setlocal enabledelayedexpansion  
set "line=0"  
for /f "tokens=*" %%a in (1.txt) do (
set /a "line+=1"
if !line!==1 set "url=%%a"
)
::------------------------------------------
echo %url%  
cmd/k


===========================================


@echo off
set /p url=<1.txt
for /f "skip=2 delims=" %%a in (1.txt) do set url=%%a&goto next
:next
echo %url%
cmd/k

预ICP备10086-001号 © 翼展网/80C.CC 技术支持/洛阳翼展科技
TEL / 13213610060 QQ / 345794501
Powered by emlog