ffmpeg拉rtsp
时间: 2023-07-30 09:08:39 浏览: 101
要使用FFmpeg拉取RTSP流,可以使用以下命令:
ffmpeg -i rtsp://127.0.0.1/stream output.mp4
其中,rtsp://127.0.0.1/stream是RTSP流的URL,output.mp4是输出文件的名称。这个命令将会拉取RTSP流并将其保存为MP4文件。请确保你已经正确安装了FFmpeg,并且RTSP流的URL是正确的。
#### 引用[.reference_title]
- *1* [ffmpeg推流和拉流rtsp](https://blog.csdn.net/ljjjjjjjjjjj/article/details/124776061)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [Python进行ffmpeg推流和拉流rtsp、rtmp + AI模型推理](https://blog.csdn.net/weixin_54338498/article/details/127733496)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文