Open IOTWord opened 2 weeks ago
Here is the translation of the provided GitHub Flavored Markdown text:
Desktop screen appears to be twitching or flickering on Linux
Call the interface /index/api/getSnap parms.put("url","rtsp://192.168.1.108:554/rtp/流ID"); _parms.put("timeoutsec",15); _parms.put("expiresec",15);
``` #Please paste the detailed log here! ```
[ffmpeg] bin=/root/ffmpeg/azffmpeg/bin/ffmpeg cmd=%s -re -i %s -c:a aac -strict -2 -ar 44100 -ab 48k -c:v libx264 -f flv %s log=./ffmpeg/ffmpeg.log restart_sec=0 snap=%s -i %s -y -f mjpeg -frames:v 1 -an %s
```ini #Please paste the contents of the config.ini file here! ```
#Paste the crash information backtrace here
linux上截图出现花屏
调用接口 /index/api/getSnap parms.put("url","rtsp://192.168.1.108:554/rtp/流ID"); parms.put("timeout_sec",15); parms.put("expire_sec",15);
``` #详细日志粘在这里! ```
```ini #config.ini内容粘在这里! ```
#崩溃信息backtrace粘贴至此
TRANS_BY_GITHUB_AI_ASSISTANT
Do not use UDP, if FFmpeg pulls the RTSP stream with RTSP screenshot, you need to specify TCP (details Baidu).
不要使用udp,如果rtsp截图ffmpeg拉取rtsp流需要指定tcp(详情百度)
Here is the translation of the provided GitHub Flavored Markdown text:
Desktop screen appears to be twitching or flickering on Linux
Phenomenon Description
How to reproduce?
Call the interface /index/api/getSnap parms.put("url","rtsp://192.168.1.108:554/rtp/流ID"); _parms.put("timeoutsec",15); _parms.put("expiresec",15);
Related logs or screenshots
Expand to view detailed logs
Configuration
[ffmpeg] bin=/root/ffmpeg/azffmpeg/bin/ffmpeg cmd=%s -re -i %s -c:a aac -strict -2 -ar 44100 -ab 48k -c:v libx264 -f flv %s log=./ffmpeg/ffmpeg.log restart_sec=0 snap=%s -i %s -y -f mjpeg -frames:v 1 -an %s
Please expand to view detailed configuration
Various environment information
现象描述
如何复现?
调用接口 /index/api/getSnap parms.put("url","rtsp://192.168.1.108:554/rtp/流ID"); parms.put("timeout_sec",15); parms.put("expire_sec",15);
相关日志或截图
展开查看详细日志
配置
[ffmpeg] bin=/root/ffmpeg/azffmpeg/bin/ffmpeg cmd=%s -re -i %s -c:a aac -strict -2 -ar 44100 -ab 48k -c:v libx264 -f flv %s log=./ffmpeg/ffmpeg.log restart_sec=0 snap=%s -i %s -y -f mjpeg -frames:v 1 -an %s
展开查看详细配置
各种环境信息
TRANS_BY_GITHUB_AI_ASSISTANT