revmischa / rtsp-server

Lightweight RTSP/RTP streaming media server
https://metacpan.org/release/RTSP-Server
426 stars 112 forks source link

FFPLAY error #24

Closed crymates closed 6 years ago

crymates commented 7 years ago

When I try to start the rtsp stream using VLC media player or ffplay, it does not run. ffplay.exe gives me the following issue:

PS C:\Users\itzme\Desktop\ffmpeg-test> .\ffplay.exe rtsp://example.com:5545/test
ffplay version 3.3.2 Copyright (c) 2003-2017 the FFmpeg developers
  built with gcc 7.1.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --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-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
[udp @ 0596bb20] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[udp @ 0596bbc0] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[rtsp @ 059696a0] method SETUP failed: 455 Method Not Valid In This State
rtsp://example.com:5545/test: Server returned 4XX Client Error, but not one of 40{0,1,3,4}
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0

Hopefully u can help fixing that :) I'm lovin ur project!

Using Windows 10 64-bit, but ffmpeg 32-bit version.

revmischa commented 7 years ago

I don't know, is there a RTSP server running on example.com port 5545?

crymates commented 7 years ago

Of course :) Start the stream with ffpmeg.exe works fine, but I cannot play it using e.g. ffplay.exe :/

revmischa commented 7 years ago

You could try --log_level 4 i think it is to see more debugging output from the server. only seeing the client logs is less helpful. also you could tcpdump port 5545 or wireshark it and see what is being sent from the client/server. SETUP should be valid if there is a stream at that address i believe?

crymates commented 7 years ago

I'll give it a try and respond here ;)