Skip to content

No rtsp stream after h264_mp4toannexb error #7

@firefoot007

Description

@firefoot007

Hi,

After blingbridge with mediamtx keeps running for 1-2 days, the rtsp stream stops and the following error shows up in the docker log files.

[concat @ 0x7fbc917a7600] h264_mp4toannexb filter failed to receive output packet
[NULL @ 0x7fbc918be980] Invalid NAL unit size (-2023640375 > 20454).
[NULL @ 0x7fbc918be980] missing picture in access unit with size 20458
[concat @ 0x7fbc917a7600] h264_mp4toannexb filter failed to receive output packet
[NULL @ 0x7fbc918be980] Invalid NAL unit size (-2023640375 > 20454).
[NULL @ 0x7fbc918be980] missing picture in access unit with size 20458
[concat @ 0x7fbc917a7600] h264_mp4toannexb filter failed to receive output packet
[NULL @ 0x7fbc918be980] Invalid NAL unit size (-2023640375 > 20454).

It keeps on repeating until I restart the container, and then it starts outputting the rtsp stream. I am using local storage with Sync Module 2.

Secondly, as I mentioned before, the RTSP stream when viewed by both Frigate and VLC is very low fps, like 1/6 of the actual scene fps. Maybe I need to change some ffmpeg stream args? Can I change them in the config file?

And, thank you for sharing this project with us, it makes my doorbell useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions