Opened 3 years ago

Closed 2 years ago

#5400 closed defect (invalid)

rtsp url path arguments not accepted

Reported by: derekward Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hi

I am trying to transcode the rtsp feed from my cctv dvr to mp4 but the url I use is not accepted. It works with a host of other programs for viewing the rtsp feed.

Below is the command I used and the result

ffmpeg -i rtsp://192.168.10.200:554/user=admin&password=xxxxxxx&channel=1&stream=1.sdp?real_stream--rtp-caching=100 -r 15 d:\stream\2013-04-30 17_18_34.703.mp4

ffmpeg version N-79209-gb3eda69 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable
-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx
264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib

libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 33.100 / 57. 33.100
libavformat 57. 29.101 / 57. 29.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 40.102 / 6. 40.102
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100

[rtsp @ 00000000004ba7c0] method DESCRIBE failed: 451 ERROR
rtsp://192.168.10.200:554/user=admin: Server returned 4XX Client Error, but not one of 40{0,1,3,4}
'password' is not recognized as an internal or external command, operable program or batch file.
'channel' is not recognized as an internal or external command, operable program or batch file.
'stream' is not recognized as an internal or external command, operable program or batch file.

Thanks

Derek

Change History (1)

comment:1 Changed 2 years ago by cehoyos

  • Resolution set to invalid
  • Status changed from new to closed

I believe the command line is just missing the quotation marks that the shell requires.

Note: See TracTickets for help on using tickets.