Odkopię trochę bo ręce mi już opadają.
Wszystko działało dobrze aż do zmiany na nową wersję. I wszystko nagrywa ok
Skompilowałem jak zawsze, fullmpeg i libx264 i mam taki komunikat
ffmpeg version 4.3.2 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 10.3.0 (OpenWrt GCC 10.3.0 r17467-42ee7d8157)
configuration: --enable-cross-compile --cross-prefix=arm-openwrt-linux-muslgnueabi- --arch=arm --cpu=cortex-a15 --target-os=linux --prefix=/usr --pkg-config=pkg-config --enable-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdevs --disable-runtime-cpudetect --enable-lto --enable-vfp --enable-neon --enable-vfp --disable-x86asm --enable-gnutls --disable-decoder=atrac3 --disable-decoder=h264 --disable-decoder=hevc --disable-decoder=vc1 --disable-muxer=h264 --disable-muxer=hevc --disable-muxer=vc1 --disable-demuxer=h264 --disable-demuxer=hevc --disable-demuxer=vc1 --disable-parser=h264 --disable-parser=hevc --disable-parser=vc1 --enable-small --enable-libmp3lame --enable-libfdk-aac
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
[udp @ 0x157d760] attempted to set receive buffer to size 393216 but it only ended up set as 360448
[udp @ 0x158fd70] attempted to set receive buffer to size 393216 but it only ended up set as 360448
[udp @ 0x15a0420] attempted to set receive buffer to size 393216 but it only ended up set as 360448
[udp @ 0x15b0680] attempted to set receive buffer to size 393216 but it only ended up set as 360448
[h264_v4l2m2m @ 0x157e550] Could not find a valid device
[h264_v4l2m2m @ 0x157e550] can't configure decoder
[rtsp @ 0x157b850] Failed to open codec in avformat_find_stream_info
[h264_v4l2m2m @ 0x157e550] Could not find a valid device
[h264_v4l2m2m @ 0x157e550] can't configure decoder
[rtsp @ 0x157b850] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp://palibrzuch:xxx@192.168.2.222:554/h264/ch1':
Metadata:
title : RTSP Session
Duration: N/A, start: 1630591534.822125, bitrate: N/A
Stream #0:0: Video: h264, none, 90k tbr, 90k tbn, 90k tbc
Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
[segment @ 0x1637920] dimensions not set
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Na drugim identycznym routerze mam starszą wersję
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 8.4.0 (OpenWrt GCC 8.4.0 r16246-9f12e8f1f9)
configuration: --enable-cross-compile --cross-prefix=arm-openwrt-linux-muslgnueabi- --arch=arm --cpu=cortex-a15 --target-os=linux --prefix=/usr --pkg-config=pkg-config --enable-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdevs --disable-runtime-cpudetect --enable-lto --enable-vfp --enable-neon --enable-vfp --disable-x86asm --enable-gnutls --enable-small --enable-libmp3lame --enable-libfdk-aac
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
[udp @ 0xe42e90] attempted to set receive buffer to size 393216 but it only ended up set as 360448
[udp @ 0xe42f10] attempted to set receive buffer to size 393216 but it only ended up set as 360448
[udp @ 0xe65af0] attempted to set receive buffer to size 393216 but it only ended up set as 360448
[udp @ 0xe75d50] attempted to set receive buffer to size 393216 but it only ended up set as 360448
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp://palibrzuch:xxx@192.168.2.222:554/h264/ch1':
Metadata:
title : RTSP Session
Duration: N/A, start: 1630591714.948250, bitrate: N/A
Stream #0:0: Video: h264, yuv420p(progressive), 1920x1080, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
[segment @ 0xea1150] Opening '/mnt/sda3/2021-09-02_16_08_35.mkv' for writing
Output #0, segment, to '/mnt/sda3/%Y-%m-%d_%H_%M_%S.mkv':
Metadata:
title : RTSP Session
encoder : Lavf58.45.100
Stream #0:0: Video: h264, yuv420p(progressive), 1920x1080, q=2-31, 1000 kb/s, 25 fps, 25 tbr, 1k tbn, 25 tbc
Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
o co tu chodzi?