[FFmpeg-user] impossible to read rtsp stream with the type h264

ABDALLAH Moussa Moussa.ABDALLAH at nexeya.com
Tue Feb 26 19:58:10 EET 2019


Thanks you for these response.

[rtsp @ 0x39da4c0] UDP timeout, retrying with TCP

Did you try forcing tcp? It may help if a camera timeout is the issue.

How to force tcp?

Le 26 févr. 2019 à 18:52, Carl Eugen Hoyos <ceffmpeg at gmail.com<mailto:ceffmpeg at gmail.com>> a écrit :



Am 26.02.2019 um 18:07 schrieb ABDALLAH Moussa <Moussa.ABDALLAH at nexeya.com<mailto:Moussa.ABDALLAH at nexeya.com>>:

Hi,

I try to read a stream video with the command line : ffmpeg -i rtsp://192.9.200.121/h264 -y -map 0 -t 5 -c copy -f matroska  _capture.mkv

And I get this error :

ffmpeg version 4.1.1 Copyright (c)

Please remember that only current FFmpeg git head is supported here.

2000-2019 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
configuration:
libavutil      56. 22.100 / 56. 22.100
libavcodec     58. 35.100 / 58. 35.100
libavformat    58. 20.100 / 58. 20.100
libavdevice    58.  5.100 / 58.  5.100
libavfilter     7. 40.101 /  7. 40.101
libswscale      5.  3.100 /  5.  3.100
libswresample   3.  3.100 /  3.  3.100

[rtsp @ 0x39da4c0] UDP timeout, retrying with TCP

Did you try forcing tcp? It may help if a camera timeout is the issue.

[rtsp @ 0x39da4c0] method SETUP failed: 454 Session Not Found
[rtsp @ 0x39da4c0] Could not find codec parameters for stream 0 (Video: h264, none, 1280x720): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options

These are the relevant lines, everything else is just a consequence.
Consider increasing verbosity.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org<mailto:ffmpeg-user at ffmpeg.org>
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org<mailto:ffmpeg-user-request at ffmpeg.org> with subject "unsubscribe".


More information about the ffmpeg-user mailing list