#11090: Fail to capture RTSP video stream on a RaspberryPi.
------------------------------------+----------------------------------
Reporter: wenlong | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: 7.0
Keywords: RTSP arm64 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+----------------------------------
Summary of the bug:
I'm trying to capture the RTSP video stream from a CCTV device (TAPO
C200). The stream URL is
rtsp://user:password@192.168.1.7/stream1
I fail to capture the stream using the ffmpeg-7.0.1-arm64-static build
running on a raspberrypi (Pi OS based on Debian 12). I can capture the
stream successfully using the ffmpeg-7.0.1-amd64-static build running on a
AMD machine (Debian 12).
How to reproduce:
{{{
$ ./ffmpeg -loglevel debug -i rtsp://user:password@192.168.1.7/stream1
-vcodec copy -t 60 -hide_banner -nostats /output.mp4
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument
'rtsp://user:password@192.168.1.7/stream1'.
Reading option '-vcodec' ... matched as option 'vcodec' (alias for -c:v
(select encoder/decoder for video streams)) with argument 'copy'.
Reading option '-t' ... matched as option 't' (stop transcoding after
specified duration) with argument '60'.
Reading option '-hide_banner' ... matched as option 'hide_banner' (do not
show program banner) with argument '1'.
Reading option '-nostats' ... matched as option 'stats' (print progress
report during encoding) with argument 0.
Reading option '/output.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option hide_banner (do not show program banner) with argument 1.
Applying option nostats (print progress report during encoding) with
argument 0.
Successfully parsed a group of options.
Parsing a group of options: input url
rtsp://user:password@192.168.1.7/stream1.
Successfully parsed a group of options.
Opening an input file: rtsp://user:password@192.168.1.7/stream1.
[tcp @ 0x325a8fa0] No default whitelist set
[tcp @ 0x325a8fa0] Original list of addresses:
[tcp @ 0x325a8fa0] Address 192.168.1.7 port 554
[tcp @ 0x325a8fa0] Interleaved list of addresses:
[tcp @ 0x325a8fa0] Address 192.168.1.7 port 554
[tcp @ 0x325a8fa0] Starting connection attempt to 192.168.1.7 port 554
[tcp @ 0x325a8fa0] Successfully connected to 192.168.1.7 port 554
[rtsp @ 0x325a6680] method DESCRIBE failed: 401 Unauthorized
[rtsp @ 0x325a6680] CSeq: 3
Date: Fri, Jul 05 2024 12:44:45 GMT
WWW-Authenticate: Basic realm="TP-Link IP-Camera"
WWW-Authenticate: Digest realm="TP-Link IP-Camera",
nonce="9508577e0d7a9ff2ee3b84b78f9eb745"
[in#0 @ 0x325a6420] Error opening input: Server returned 401 Unauthorized
(authorization failed)
Error opening input file rtsp://user:password@192.168.1.7/stream1.
Error opening input files: Server returned 401 Unauthorized (authorization
failed)
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11090>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".