Consider increasing the value for the 'analyzeduration' and 'probesize' options

It's pretty common to see Channels logs contain that suggestion when problems happen: Consider increasing the value for the 'analyzeduration' and 'probesize' options Is there actually a way to configure different values for either of those options for Channels' use of ffmpeg?

No. They've already been increased.

If you have video files that are not being recognized we need more details about them.

It's mostly just curiosity for a pretty narrow case I ran into over in the ah4c thread.

The HDMI encoder I use emits a stream of a static image with no audio when it is not receiving any HDMI input signal. If I put my device to sleep and wake it up when I want to record something, quirks of timing often make it fail with that message in the Channels log.

I don't really need a solution since I work around it by not putting my device to sleep.

If you can save the stream using curl and share we could investigate. It's probably using a different codec for the still images which we don't enable, hence the confusing message.

I can do that, though I'm not sure it's worth you taking the trouble. FWIW, vlc closes the stream with it switches from that static image to the real video stream. Here's what vlc thinks for the static image:

and here's what it thinks when real video is streaming:

For a sample I captured with curl, ffprobe is complaining about the audio stream. I assumed it was missing based on what vlc was telling me, but maybe it's somehow corrupt.

$ ffprobe /tmp/video_lost.ts 
ffprobe version 6.0-6ubuntu1.1 Copyright (c) 2007-2023 the FFmpeg developers
  built with gcc 13 (Ubuntu 13.2.0-4ubuntu3)
  configuration: --prefix=/usr --extra-version=6ubuntu1.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libvpl --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
[mpegts @ 0x5c7791fc4c40] PES packet size mismatch
[mpegts @ 0x5c7791fc4c40] Packet corrupt (stream = 0, dts = 372841560).
[mpegts @ 0x5c7791fc4c40] PES packet size mismatch
[mpegts @ 0x5c7791fc4c40] Packet corrupt (stream = 0, dts = 372841560).
[mpegts @ 0x5c7791fc4c40] Could not find codec parameters for stream 1 (Unknown: none ([255][0][0][0] / 0x00FF)): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, mpegts, from '/tmp/video_lost.ts':
  Duration: 00:00:07.01, start: 4135.684000, bitrate: 345 kb/s
  Program 1 
  Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuvj420p(pc, bt709, progressive), 1920x1080, 100 tbr, 90k tbn
  Stream #0:1[0x101]: Unknown: none ([255][0][0][0] / 0x00FF)
Unsupported codec with id 0 for input stream 1

Here's the captured stream: Dropbox (I killed curl after several seconds, so any problems are the end of the video are just due to brutality.)