公告
财富商城
积分规则
提问
发文
2020-03-03 06:55发布
劫难
Such as...
rtsp://user:pass@x.x.x.x/VideoString
After digging a lot with ffmpeg I found that long urls with authorization fail in ffmpeg while working good with VLC. Url lenght with auth should be less than 140. So 139 chars worked while 140 failed with method SETUP failed: 401 Unauthorized
method SETUP failed: 401 Unauthorized
P.S. After digging in Source code I found https://github.com/FFmpeg/FFmpeg/blob/415f907ce8dcca87c9e7cfdc954b92df399d3d80/libavformat/rtsp.h#L423
Looks like it is 128 char for url without password.
最多设置5个标签!
After digging a lot with ffmpeg I found that long urls with authorization fail in ffmpeg while working good with VLC. Url lenght with auth should be less than 140. So 139 chars worked while 140 failed with
method SETUP failed: 401 Unauthorized
P.S. After digging in Source code I found https://github.com/FFmpeg/FFmpeg/blob/415f907ce8dcca87c9e7cfdc954b92df399d3d80/libavformat/rtsp.h#L423
Looks like it is 128 char for url without password.