音视频拉流时,客户端输入
ffplay -i -rtsp_transport tcp rtsp://127.0.0.1:8554
ffplay报错如下:
[rtsp @ 00000286454cd5c0] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
从上面看出是stream0即video有问题,就是服务器端的video发的有问题。有可能只发了音频数据,而没发视频数据