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) 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
[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
Input #0, rtsp, from 'rtsp:// 192.9.200.121/h264':
Metadata:
title : h264
comment : Network Camera Streamer
Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264, none, 1280x720, 90k tbr, 90k tbn, 180k tbc
Stream #0:1: Data: none
[matroska @ 0x3a20fc0] Only audio, video, and subtitles are supported for
Matroska.
Could not write header for output file #0 (incorrect codec parameters ?):
Invalid argument
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Last message repeated 1 times
[root@localhost Téléchargements]#
Is it a problem from my camera ?
Thank you for your help,
Moussa.
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".