Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

video streaming - Recording IP Camera stream with FFMPEG

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

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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:[email protected]:554/dd-a -c copy -map 0 -f segment -segment_time 300 -segment_format mp4 "outfile.mp4"

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...