[FFmpeg-user] rtsp stream interruption

Luciano Nascimento luciano_nas at hotmail.com
Thu Apr 16 19:34:52 EEST 2020


this is the ouput:

[2020-4-16_11-14-56-833]stderr: No more output streams to write to, finishing.
frame=710175 fps= 67 q=31.4 Lsize=11484914kB time=13:09:05.00 bitrate=1987.2kbits/s dup=331418 drop=0 speed=4.49x
video:11484914kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
Input file #0 (rtsp://admin:UMLEIV@192.168.1.43:554/cam/realmonitor?channel=1&subtype=0&authbasic=YWRtaW46VU1MRUlW):
  Input stream #0:0 (video): 58771 packets read (95099855 bytes); 58771 frames decoded;
  Input stream #0:1 (audio): 61218 packets read (15242793 bytes);
  Total: 119989 packets (110342648 bytes) demuxed
Output file #0 (pipe:):
  Output stream #0:0 (video): 710175 frames encoded; 710175 packets muxed (11760551655 bytes);
  Total: 710175 packets (11760551655 bytes) muxed

[2020-4-16_11-14-56-834]stderr: 58771 frames successfully decoded, 0 decoding errors

[2020-4-16_11-14-56-834]stderr: [Parsed_fps_0 @ 0x556010519400] 58771 frames in, 378757 frames out; 27431 frames dropped, 347417 frames duplicated.

[2020-4-16_11-14-56-834]stderr: [AVIOContext @ 0x5560105af680] Statistics: 0 seeks, 710178 writeouts

[2020-4-16_11-14-56-834]stderr: [rtsp @ 0x5560104e9100] Sending:
TEARDOWN rtsp://192.168.1.43:554/cam/realmonitor/?channel=1&subtype=0&authbasic=YWRtaW46VU1MRUlW RTSP/1.0
CSeq: 397
User-Agent: Lavf58.29.100
Session: 256509267
Authorization: Digest username="admin", realm="180d2cd0094b", nonce="d2fdbadd2b8a9ce8382aac0674477d45", uri="rtsp://192.168.1.43:554/cam/realmonitor/?channel=1&subtype=0&authbasic=YWRtaW46VU1MRUlW", response="1db0cdc90c6615ea9a9044ae71f4794c"


________________________________
De: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> em nome de Luciano Nascimento <luciano_nas at hotmail.com>
Enviado: quinta-feira, 16 de abril de 2020 11:32
Para: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
Assunto: Re: [FFmpeg-user] rtsp stream interruption

sorry for 99, it was just a crazy test that i forgot to remove. I will try to be more clear, i'm trying to capture each frame from a rtsp stream,so  it works for something like 1 hour or a little more, then it suddenly stops, the same thing happen when i try on vlc, i open the stream on vlc client and after some time rtsp stream stops, i dont think its a camera problem because it happen on another camera

________________________________
De: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> em nome de Ted Park <kumowoon1025 at gmail.com>
Enviado: quinta-feira, 16 de abril de 2020 11:25
Para: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
Assunto: Re: [FFmpeg-user] rtsp stream interruption

Hi,

> i'd like to know how to configure rtsp as a input, beacause all the time it stops after some aleatory time, how to make it stable ?
> i'm using these options:
>
>    "-rtsp_transport", "tcp",
>    "-i", rtspUrl,
>    "-r", "15",
>    "-b:v", "1M",
>    "-maxrate", "1M",
>    "-bufsize", "2M",
>    "-vf", "fps=480/60",
>    "-f", "image2pipe",
>    "-loglevel", "99",
>    "-",

Why does it say it stopped? loglevel doesn't have an option 99, I don't know what happens when you put in 99 but you might end up with binary 99&56 (56 being the as verbose as possible option, if my memory serves me right)

Regards,
Ted Park

_______________________________________________
ffmpeg-user mailing list
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 with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
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 with subject "unsubscribe".


More information about the ffmpeg-user mailing list