Opened 6 years ago

Last modified 4 years ago

#1941 new defect

unable to receive RTSP stream from VLC

Reported by: rogerdpack Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: rtsp
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: $title
How to reproduce:

# in one terminal:

$ vlc sintel.mpg
":sout=#transcode{vcodec=h264,vb=300,scale=0.25,acodec=mp4a,ab=128,channels=2,samplerate=22050}:rtp{mux=ts,sdp=rtsp://:8554/test.sdp}"

$ ffmpeg -i rtsp://localhost:8554/test.sdp
ffmpeg version N-43576-gaee7b88 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 15 2012 11:12:55 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-libx264 --disable-stripping
  libavutil      51. 69.100 / 51. 69.100
  libavcodec     54. 52.100 / 54. 52.100
  libavformat    54. 23.100 / 54. 23.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  9.100 /  3.  9.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[rtsp @ 0x9505500] method SETUP failed: 459 Aggregate operation not allowed


Of course, I'm not sure if it's a VLC or ffmpeg bug, but at least it's reproducible.

Change History (5)

comment:1 Changed 5 years ago by cehoyos

  • Keywords rtsp added
  • Version changed from unspecified to git-master

Is MPlayer (or any other application) able to receive the stream?

comment:2 Changed 5 years ago by rogerdpack

unfortunately mplayer responds with

rtsp_session: unsupported RTSP server. Server type is 'VLC/2.0.4'.

then rejects it. odd.

comment:3 Changed 5 years ago by cehoyos

Is that with or without live555 support in MPlayer?

comment:4 Changed 5 years ago by rogerdpack

ok, with live555 it seems to sometimes work...after a long pause/delay it started playing it at least once, other times it doesn't work https://gist.github.com/4128685.

$ mplayer.exe  rtsp://localhost:8554/test.sdp
MPlayer Sherpya-SVN-r34401-4.6.2 (C) 2000-2011 MPlayer Team

Playing rtsp://localhost:8554/test.sdp.
Resolving localhost for AF_INET...
Connecting to server localhost[127.0.0.1]: 8554...

rtsp: warning: setting NEW session: 338e96a07fc33214;timeout=60;timeout=60
Timeout! No data from host 0.0.0.0
rtsp_session: unsupported RTSP server. Server type is 'VLC/2.0.4'.
STREAM_LIVE555, URL: rtsp://localhost:8554/test.sdp
Stream not seekable!
 file format detected.
Initiated "video/MP2T" RTP subsession on port 49496
Stream url is not set!
TS file format detected.
VIDEO H264(pid=68) NO AUDIO! (try increasing -tsprobe) NO SUBS (yet)!  PROGRAM N. 1
BUG! Invalid demuxer type in new_demuxer(), big troubles ahead.FPS seems to be: 29.970030
<vo_directx><ERROR>Your card doesn't support overlay
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 01377ea0]using unscaled yuv420p -> bgra special converter
VO: [directx] 176x118 => 210x118 BGRA
V:26526.3 244/244  1%  1%  0.0% 0 0

Exiting... (Quit)

comment:5 Changed 4 years ago by jyavenard

is there any progress on this?

using master as of today, still yield:

ffplay version N-62951-g3316556 Copyright (c) 2003-2014 the FFmpeg developers
  built on May  4 2014 16:31:04 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
  configuration: 
  libavutil      52. 81.100 / 52. 81.100
  libavcodec     55. 60.103 / 55. 60.103
  libavformat    55. 37.102 / 55. 37.102
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  5.100 /  4.  5.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 18.100 /  0. 18.100
[rtsp @ 0x7ff70a809e00] method SETUP failed: 459 Aggregate operation not allowed
rtsp://127.0.0.1:5554/test: Invalid data found when processing input
Note: See TracTickets for help on using tickets.