我有一个来自ip摄像头的rtsp链接。rtsp://admin:admin1234@192.168.2.254:82/cam/realmonitor?channel=1&subtype=1
链接在VLC媒体播放器中工作正常,但不能使用ffplay命令播放。它显示404错误。
但是rtsp://admin:admin1234@192.168.2.254:82/live可以在ffmpeg和vlc中正常工作,没有任何问题。
ffmpeg只支持/live还是别的什么?为什么我的第一个链接不起作用?谢谢您抽时间见我。
反播放代码
ffplay -i rtsp://admin:admin1234@192.168.2.254:82/cam/realmonitor?channel=1&subtype=1我得到的错误
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
[rtsp @ 000002663268f600] method DESCRIBE failed: 404 Not Found/0
rtsp://admin:admin1234@192.168.2.254:82/cam/realmonitor?channel=1: Server returned 404 Not Found
'subtype' is not recognized as an internal or external command,
operable program or batch file.发布于 2021-03-16 01:37:32
逃走!
ffplay -i "rtsp://admin:admin1234@192.168.2.254:82/cam/realmonitor?channel=1&subtype=1“
https://stackoverflow.com/questions/66594263
复制相似问题