Skip to content

frame_size (1024) was not respected for a non-last frame #287

@CDx4f3kCAf3Y

Description

@CDx4f3kCAf3Y

This is with b5ed773.

I have a stream setup with Record Audio enabled.

I see the following in the console output:

[2026-03-12 08:42:50] [INFO] Stream info detected for rtsp://localhost:8554/cam-c100-front: 2 streams
[2026-03-12 08:42:50] [INFO] Including audio stream in MP4 recording
[2026-03-12 08:42:50] [INFO] Attempting to transcode PCM A-law (G.711 A-law) audio to AAC for MP4 compatibility
[2026-03-12 08:42:50] [INFO] Successfully configured transcoding from PCM to AAC for rtsp://localhost:8554/cam-c100-front
[2026-03-12 08:42:50] [INFO] Sample rate: 8000, Channels: 1, Bit rate: 32000
[aac @ 0x7f81cc0c2340] Qavg: nan
[2026-03-12 08:42:50] [INFO] Successfully set up PCM-to-AAC transcoding for MP4 recording
[2026-03-12 08:42:50] [INFO] Recording started...
[2026-03-12 08:42:50] [INFO] Found first key frame, starting recording
[2026-03-12 08:42:50] [INFO] Added recording at segment start (ID: 144777, trigger_type: scheduled) for file: /var/lib/lightnvr/data/recordings/mp4/cam-c100-front/recording_20260312_084246.mp4
[2026-03-12 08:42:50] [INFO] Successfully initialized audio transcoder from PCM to AAC for rtsp://localhost:8554/cam-c100-front
[2026-03-12 08:42:50] [INFO] Sample rate: 8000, Channels: 1, Bit rate: 32000

Then these two lines begin repeating infinitely:

[aac @ 0x7f81cc100440] frame_size (1024) was not respected for a non-last frame
[2026-03-12 08:42:50] [ERROR] Failed to send frame to encoder: Invalid argument

The audio is being recording - I can hear it in the recordings. I'm not just sure what those error lines are about or why they keep repeating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions