0

I am trying to record a stream from my camera using ffmpeg but an error is returned.

I am using the command:

ffmpeg -i rtsp://ip_camp:port/user=admin&password=admin&channel=1&stream=0.sdp? -acodec copy -vcodec copy -movflags frag_keyframe+empty_moov -f mp4 C:\backup-cam\test.mp4.

The error returned:

[rtsp @ 0000026490509980] method DESCRIBE failed: 451 ERROR rtsp://ip_cam:port/user=admin: Server returned 4XX Client Error, but not one of 40{0,1,3,4} 'password' is not recognized as an internal command or external, an operable program or a batch file. 'channel' is not recognized as an internal command or external, an operable program or a batch file. 'stream' is not recognized as an internal command or external, an operable program or a batch file.

2
  • 3
    Wrap entire input in quotes. Commented Dec 31, 2018 at 12:21
  • its works, tanks!! Commented Dec 31, 2018 at 12:23

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.