I had to reflash the SD card for a RPi-4B when its SSD packed-up recently.
I decided to use Bullseye 32-bit but find that 'ffmpeg' (v4.3.6) produces an error in the command line when I try to record a video from a camera on my network.
Here's my simple test flow.
[{"id":"911feac958ad77b0","type":"tab","label":"Flow 20","disabled":false,"info":"","env":[]},{"id":"86872925ba194088","type":"function","z":"911feac958ad77b0","name":"Build ffmpeg command","func":"msg.payload = 'ffmpeg -y -i http://192.168.1.164:8081 -t 5 -c:v h264_omx -b:v 2M /home/pi/test.mp4';\nreturn msg;\n","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":380,"y":240,"wires":[["4e12c1dcd2464c89"]]},{"id":"4e12c1dcd2464c89","type":"exec","z":"911feac958ad77b0","command":"","addpay":"payload","append":"","useSpawn":"false","timer":"","winHide":false,"oldrc":false,"name":"","x":330,"y":300,"wires":[["9efce3ad8f082d8c"],["9efce3ad8f082d8c"],["9efce3ad8f082d8c"]]},{"id":"08d49f3cd12c410a","type":"inject","z":"911feac958ad77b0","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":180,"y":240,"wires":[["86872925ba194088"]]},{"id":"9efce3ad8f082d8c","type":"debug","z":"911feac958ad77b0","name":"debug 20","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":500,"y":300,"wires":[]}]
If I run the same test flow on a RPi-4B running Buster (32-bit) with 'ffmpeg' (v4.1.11) it works fine.
Any ideas as to how I can sort out this incompatibility (?) issue?
Note:
I've tried various ideas I found on the Internet with zero success so far.