用FFMPEG记录IP摄像机流 [英] Recording IP Camera stream with FFMPEG
本文介绍了用FFMPEG记录IP摄像机流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用 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:\Video\my.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记录IP摄像机流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文