How to use RTSP stream from ip camera
-
i want to stream camera in qml by using rtsp but it has error
[rtsp @ 0x7fff98002bc0] UDP timeout, retrying with TCP
[rtsp @ 0x7fff98002bc0] method PAUSE failed: 551 Option not supported
[rtsp @ 0x7fff98002bc0] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
qt.multimedia.ffmpeg.mediadataholder: AVStream duration -9223372036854775808 is invalid. Taking it from the metadatathis is my code
MediaPlayer{ id: videoOutput onMetaDataChanged: { console.log("Metadata of the video:", mediaPlayer.metaData) } // captureMode: Camera.CaptureViewfinder source: "rtsp://admin:123456aA@192.168.100.129:554" videoOutput: camera1 } VideoOutput { id : camera1 anchors.fill: parent focus: visible
}
can any1 help me fix it pls
-
i want to stream camera in qml by using rtsp but it has error
[rtsp @ 0x7fff98002bc0] UDP timeout, retrying with TCP
[rtsp @ 0x7fff98002bc0] method PAUSE failed: 551 Option not supported
[rtsp @ 0x7fff98002bc0] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
qt.multimedia.ffmpeg.mediadataholder: AVStream duration -9223372036854775808 is invalid. Taking it from the metadatathis is my code
MediaPlayer{ id: videoOutput onMetaDataChanged: { console.log("Metadata of the video:", mediaPlayer.metaData) } // captureMode: Camera.CaptureViewfinder source: "rtsp://admin:123456aA@192.168.100.129:554" videoOutput: camera1 } VideoOutput { id : camera1 anchors.fill: parent focus: visible
}
can any1 help me fix it pls