[FFmpeg-user] streaming rtsp from a Sat2ip server

Paul Harmsworth paul at harmsworth.com
Sat Apr 27 14:17:46 EEST 2019


Hi,

vlc "rtsp://
192.168.2.90/?src=2&freq=11343&pol=v&ro=0.35&msys=dvbs&mtype=qpsk&plts=off&sr=27500&fec=56&pids=0,17,18,277,2644,2645"
plays successfully.

But ffplay fails with "could not find codec parameters" as below
paul at paulpc:~$ ffplay -loglevel debug "rtsp://
192.168.2.90/?src=2&freq=11343&pol=v&ro=0.35&msys=dvbs&mtype=qpsk&plts=off&sr=27500&fec=56&pids=0,17,18,277,2644,2645
"
ffplay version 3.2.12-1~deb9u1 Copyright (c) 2003-2018 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --prefix=/usr --extra-version='1~deb9u1'
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping
--enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libebur128 --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg
--enable-libopenmpt --enable-libopus --enable-libpulse
--enable-librubberband --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq
--enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2
--enable-libdc1394 --enable-libiec61883 --enable-chromaprint
--enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
[tcp @ 0x7f4910002a60] No default whitelist set
[rtsp @ 0x7f4910000920] SDP:
v=0
o=- 434173653 434173653 IN IP4 192.168.2.90
s=SatIPServer:1 8,0
t=0 0
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
a=control:stream=3242
a=fmtp:33
ver=1.0;src=2;tuner=1,208,1,15,10964.00,h,dvbs,qpsk,off,0.35,22000,56;pids=0,17,18,258,2325,2326,2327
a=sendonly
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
a=control:stream=3248
a=fmtp:33
ver=1.0;src=2;tuner=2,208,1,15,10964.00,h,dvbs,qpsk,off,0.35,22000,56;pids=0,17,18,258,2325,2326,2327
a=sendonly

[rtp @ 0x7f4910003040] No default whitelist set
[udp @ 0x7f4910030560] No default whitelist set
[udp @ 0x7f4910030560] end receive buffer size reported is 131072
[udp @ 0x7f49100302c0] No default whitelist set
[udp @ 0x7f49100302c0] end receive buffer size reported is 131072
[rtsp @ 0x7f4910000920] setting jitter buffer size to 500
[rtp @ 0x7f4910050da0] No default whitelist set
[udp @ 0x7f4910051000] No default whitelist set
[udp @ 0x7f4910051000] end receive buffer size reported is 131072
[udp @ 0x7f4910030360] No default whitelist set
[udp @ 0x7f4910030360] end receive buffer size reported is 131072
[rtsp @ 0x7f4910000920] setting jitter buffer size to 500
[rtsp @ 0x7f4910000920] hello state=0
rtsp://
192.168.2.90/?src=2&freq=11343&pol=v&ro=0.35&msys=dvbs&mtype=qpsk&plts=off&sr=27500&fec=56&pids=0,17,18,277,2644,2645:
could not find codec parameters
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0

Regards

Paul Harmsworth


On Sun, Mar 31, 2019 at 7:38 PM Paul Harmsworth <paul at harmsworth.com> wrote:

> paul at paulpc:~/.kodi/temp$ vlc "rtsp://
> 192.168.2.90/?src=2&freq=10964&pol=h&ro=0.35&msys=dvbs&mtype=qpsk&plts=off&sr=22000&fec=56&pids=0,17,18,259,2333,2334,2336
> "
> This plays successfully
>
> But the following results in the "could not find codec parameters" error
> that I also see in Kodi....
> aul at paulpc:~/.kodi/temp$ ffplay -loglevel debug "rtsp://
> 192.168.2.90/?src=2&freq=10964&pol=h&ro=0.35&msys=dvbs&mtype=qpsk&plts=off&sr=22000&fec=56&pids=0,17,18,259,2333,2334,2336
> "
> ffplay version 3.2.12-1~deb9u1 Copyright (c) 2003-2018 the FFmpeg
> developers
>   built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
>   configuration: --prefix=/usr --extra-version='1~deb9u1'
> --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
> --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping
> --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
> --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
> --enable-libcdio --enable-libebur128 --enable-libflite
> --enable-libfontconfig --enable-libfreetype --enable-libfribidi
> --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg
> --enable-libopenmpt --enable-libopus --enable-libpulse
> --enable-librubberband --enable-libshine --enable-libsnappy
> --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora
> --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack
> --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq
> --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2
> --enable-libdc1394 --enable-libiec61883 --enable-chromaprint
> --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
>   libavutil      55. 34.101 / 55. 34.101
>   libavcodec     57. 64.101 / 57. 64.101
>   libavformat    57. 56.101 / 57. 56.101
>   libavdevice    57.  1.100 / 57.  1.100
>   libavfilter     6. 65.100 /  6. 65.100
>   libavresample   3.  1.  0 /  3.  1.  0
>   libswscale      4.  2.100 /  4.  2.100
>   libswresample   2.  3.100 /  2.  3.100
>   libpostproc    54.  1.100 / 54.  1.100
> [tcp @ 0x7f87bc002a60] No default whitelist set
> [rtsp @ 0x7f87bc000920] SDP:
> v=0
> o=- 2419416590 2419416590 IN IP4 192.168.2.90
> s=SatIPServer:1 8,0
> t=0 0
> m=video 0 RTP/AVP 33
> c=IN IP4 0.0.0.0
> a=control:stream=1641
> a=fmtp:33
> ver=1.0;src=2;tuner=1,202,1,15,10964.00,h,dvbs,qpsk,off,0.35,22000,56;pids=0,17,18,258,2325,2326,2327
> a=sendonly
>
> [rtp @ 0x7f87bc002b20] No default whitelist set
> [udp @ 0x7f87bc019be0] No default whitelist set
> [udp @ 0x7f87bc019be0] end receive buffer size reported is 131072
> [udp @ 0x7f87bc0199c0] No default whitelist set
> [udp @ 0x7f87bc0199c0] end receive buffer size reported is 131072
> [rtsp @ 0x7f87bc000920] setting jitter buffer size to 500
> [rtsp @ 0x7f87bc000920] hello state=0
> rtsp://
> 192.168.2.90/?src=2&freq=10964&pol=h&ro=0.35&msys=dvbs&mtype=qpsk&plts=off&sr=22000&fec=56&pids=0,17,18,259,2333,2334,2336:
> could not find codec parameters
>
>
> On Sun, Mar 31, 2019, 17:40 Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>
>> 2019-03-31 11:03 GMT+02:00, Paul Harmsworth <paul at harmsworth.com>:
>>
>> > Whilst the ffplay command I have used is probably not
>> > correct the error is the "same"
>>
>> Not sure I understand this sentence but please test a
>> command line that works with vlc with current FFmpeg
>> git head.
>>
>> Carl Eugen
>> _______________________________________________
>> 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