@wendy2702 @eastcoast
Ich habe den ffmpeg Server nochmal mit einem Ubuntu 18.04 aufgesetzt.
Das läuft jetzt soweit besser durch.
Den Loglevel habe ich aber auch mal auf debug gesetzt.
Jetzt bekomme ich eine 404 Meldung:
root@ffmpeg:~# ffmpeg -loglevel debug -i "rtsp://ffmpeg:stream123@10.0.0.21:554/Streaming/Channels/102/" http://10.0.0.17:8090/eingang.ffm
ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --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-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --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-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
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://ffmpeg:stream123@10.0.0.21:554/Streaming/Channels/102/'.
Reading option 'http://10.0.0.17:8090/eingang.ffm' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url rtsp://ffmpeg:stream123@10.0.0.21:554/Streaming/Channels/102/.
Successfully parsed a group of options.
Opening an input file: rtsp://ffmpeg:stream123@10.0.0.21:554/Streaming/Channels/102/.
[tcp @ 0x55d237b01aa0] No default whitelist set
[rtsp @ 0x55d237aff8c0] SDP:
v=0
o=- 1553524705086562 1553524705086562 IN IP6 ::
s=Media Presentation
e=NONE
b=AS:5050
t=0 0
a=control:rtsp://10.0.0.21:554/Streaming/Channels/102/
m=video 0 RTP/AVP 96
c=IN IP6 ::
b=AS:5000
a=recvonly
a=x-dimensions:640,360
a=control:rtsp://10.0.0.21:554/Streaming/Channels/102/trackID=1
a=rtpmap:96 H264/90000
a=fmtp:96 profile-level-id=420029; packetization-mode=1; sprop-parameter-sets=Z01AHppkBQF/y4C3AQEBQAAA+gAAJxA6GAEVwAEVsu8uNDACK4ACK2XeXCg=,aO48gA==
a=Media_header:MEDIAINFO=494D4B48010200000400000100000000000000000000000000000000000000000000000000000000;
a=appversion:1.0
[rtsp @ 0x55d237aff8c0] video codec set to: h264
[rtsp @ 0x55d237aff8c0] RTP Profile IDC: 42 Profile IOP: 0 Level: 29
[rtsp @ 0x55d237aff8c0] RTP Packetization Mode: 1
[rtsp @ 0x55d237aff8c0] Extradata set to 0x55d237b029a0 (size: 56)
[rtp @ 0x55d237b03b40] No default whitelist set
[udp @ 0x55d237b04360] No default whitelist set
[udp @ 0x55d237b04360] end receive buffer size reported is 131072
[udp @ 0x55d237b14800] No default whitelist set
[udp @ 0x55d237b14800] end receive buffer size reported is 131072
[rtsp @ 0x55d237aff8c0] setting jitter buffer size to 500
[rtsp @ 0x55d237aff8c0] hello state=0
[h264 @ 0x55d237b03380] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x55d237b03380] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 0x55d237b03380] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x55d237b03380] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 0x55d237b03380] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x55d237b03380] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 0x55d237b03380] nal_unit_type: 5, nal_ref_idc: 3
[h264 @ 0x55d237b03380] Reinit context to 640x368, pix_fmt: yuvj420p
[h264 @ 0x55d237b03380] nal_unit_type: 1, nal_ref_idc: 3
[h264 @ 0x55d237b03380] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x55d237b03380] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 0x55d237b03380] nal_unit_type: 5, nal_ref_idc: 3
[h264 @ 0x55d237b03380] nal_unit_type: 1, nal_ref_idc: 3
Last message repeated 3 times
[rtsp @ 0x55d237aff8c0] All info found
Input #0, rtsp, from 'rtsp://ffmpeg:stream123@10.0.0.21:554/Streaming/Channels/102/':
Metadata:
title : Media Presentation
Duration: N/A, start: 0.310000, bitrate: N/A
Stream #0:0, 28, 1/90000: Video: h264 (Main), 1 reference frame, yuvj420p(pc, bt709, progressive, left), 640x360 (640x368) [SAR 1:1 DAR 16:9], 0/1, 20 fps, 25 tbr, 90k tbn, 40 tbc
Successfully opened the file.
Parsing a group of options: output url http://10.0.0.17:8090/eingang.ffm.
Successfully parsed a group of options.
Opening an output file: http://10.0.0.17:8090/eingang.ffm.
[NULL @ 0x55d237b3ce00] Opening 'http://10.0.0.17:8090/eingang.ffm' for reading
[http @ 0x55d237bf21a0] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[http @ 0x55d237bf21a0] request: GET /eingang.ffm HTTP/1.1
User-Agent: Lavf/57.83.100
Accept: */*
Range: bytes=0-
Connection: close
Host: 10.0.0.17:8090
Icy-MetaData: 1
[http @ 0x55d237bf21a0] HTTP error 404 Not Found
http://10.0.0.17:8090/eingang.ffm: Server returned 404 Not Found
Bei dieser Konfig:
HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 200
MaxClients 100
MaxBandwidth 4096
# CustomLog -
########################################
# IP camera feed...
<feed eingang.ffm>
File /tmp/eingang.ffm
FileMaxSize 1M
ACL allow 127.0.0.1
</feed>
#########################################
# Streams...
<stream eingang.rtsp>
Feed eingang.ffm
Format rtsp
#VideoCodec libx264 (auch getestet)
VideoQMin 1
VideoQMax 4
VideoFrameRate 20
VideoSize 640x360
VideoBufferSize 1024
VideoBitRate 1024
NoAudio
Strict -1
</stream>
<stream status.html="">
# Server status URL Format status
# Only allow local people to get the status
ACL allow 0.0.0.0 255.255.255.255
</stream>
<redirect index.html>
# Just an URL redirect for index
# Redirect index.html to the appropriate site
URL http://www.ffmpeg.org/
</redirect>
Die Status-Seite gibt folgendes aus:

Klicke ich auf "eingang.rtsp" wird diese nicht gefunden...
File '/eingang.rtsp' not found