Replies: 4 comments 17 replies
-
|
No, this is a regression -- will report back when fixed. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @matteius, thank you so much for the quick replies and for all the time and dedication you've put into this; I really appreciate it. I'm using the current and latest version: 0.26.5! 1. The Symptoms
2. The "Ghost" Duration BugI have attached a screenshot demonstrating a UI/Playback anomaly that might be related to corrupted file headers:
3. Attempted Fixes (Failed)Suspecting a "dirty" RTSP stream from the older cameras, I attempted to force I updated the stream configuration in the Web UI to use ffmpeg:rtsp://user:pass@IP:554/path...#video=libx264#audio=opus#transport=tcp
The Issue: Relevant Logs:
QuestionsIt appears the system keeps reverting to or merging with the raw RTSP configuration, preventing the FFmpeg transcoding from isolating the bad stream effectively. Is there a way to strictly enforce FFmpeg transcoding for recording and prevent LightNVR from attempting to connect to the raw RTSP stream in the background? If so, what configuration changes or workarounds would you recommend? (If there are specific log lines or config snippets I should paste, tell me which and I’ll add them.) Thank you for your help. |
Beta Was this translation helpful? Give feedback.
-
Please ignore the part about the H.264 payload/decoder choking in my message above. I was looking at the wrong log trace for the grey screen issue. I did a deep dive into the latest v0.27.1 logs during a recording event, and the stream ingestion is actually fine. The MP4 corruption (Grey Screen) is being caused by a phantom audio track issue in the new pipeline. Here is the exact sequence of what is happening when I use the native H.264 stream (
The Bug: The v0.27 MP4 writer/pipeline seems completely incapable of creating a clean Video-Only MP4. It keeps spawning FFmpeg sub-processes trying to force an Opus audio track into the container, even when Probably, if there's any way to force the MP4 writer to strictly write video frames and completely skip the audio muxing attempt, maybe it works? |
Beta Was this translation helpful? Give feedback.
-
|
Hi @matteius, First of all, I want to sincerely apologize for spamming this thread so much over the last couple of days! I really appreciate your patience and all the blazing-fast updates. I'll step back now and let you work, but I wanted to leave this final piece of the puzzle here.
THE FINAL HURDLE: A humble theory / GUESS: Again, I'm sorry for being a bother! You've already fixed the core stability issues and the audio bugs, which is an amazing step forward. I will leave you to it, but if you ever need me to test or even provide more logs for these legacy cameras, I'm fully available here Thanks again for your hard work on this project! |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
Despite successful detection logs (Successfully detected 1 objects), the generated MP4 files are corrupted.
Attempted Fixes (No success):
Forced transcoding with ffmpeg:...#video=h264.
Changed permissions to 777 on all /data subdirectories.
Tested with setenforce 0 (SELinux) to rule out security blocks.
Verified disk space (470GB free) and RAM (usage < 10%).
logs
I suspect the MP4 writer might be struggling with the faststart process on this specific kernel/environment, or the truncated buffer is causing intermittent stream drops during recording.
Beta Was this translation helpful? Give feedback.
All reactions