使用 FFMPEG 记录网络摄像机流 [英] Recording IP Camera stream with FFMPEG

查看:58
本文介绍了使用 FFMPEG 记录网络摄像机流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,我正在尝试使用 FFMPEG 录制 IP 摄像机流.但它给了我输入/输出错误.这是命令

Hey I am trying to record the IP camera stream using FFMPEG . But it is giving me Input/Output error . Here is the command

ffmpeg -i http://admin:@ip:81/livestream.cgi E:Videomy.h264

我的相机是 H264 编码的.现在请帮助如何消除此错误.任何帮助将不胜感激.

My camera is H264 encoded. Now Please help how to remove this error . Any Help would be appreciated .

推荐答案

我正在使用它保存我的内容并且它工作正常.检查输入是否正确或在接收流时尝试放置视频的细节.

I am saving my content using this and its working fine. Check if the input is correct or try to put the specifics of the video while receiving the stream.

ffmpeg -i http://admin:admin@192.2.2.1:554/dd-a -c copy -map 0 -f segment -segment_time 300 -segment_format mp4 "outfile.mp4"

这篇关于使用 FFMPEG 记录网络摄像机流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆