Transcoding a video stream with ffmpeg

Good afternoon! There is a need to transcode video rtsp stream from h264 high to h264 baseline profile and such config was made using ffmpeg arguments:

camera:
  - platform: ffmpeg
    name: Transcoded Camera
    input: >-
      rtsp://192.168.1.100:8554/live/webcam
    extra_arguments: >-
      -c:v h264_v4l2m2m -profile:v baseline -b:v 2M

However, not using h264_v4l2m2m not h264_omx produced no result, the video is not transcoded.

I am sitting on the latest Home Assistant and Raspberry pi 5 8gb

Check the HA system logs.

I would start with working this local experimentation with verbose logs.

Lastly, I would suggest to try go2rtc add-on, it would generate many different stream types.

As I understand it, the decoder does not start at all. And I don’t understand the reason for that

System logs? (Journalctl)