Lost frames in h264 export

Lost frames in h264 export

Lost frames in h264 export
Lost frames in h264 export
2025-09-14 12:02:02 - last edited 2025-09-19 08:56:21
Tags: #Missing frames
Model: VIGI C300HP  
Hardware Version: V2
Firmware Version: 1.0.11

Dear Support Team,

 

I have a security system with four VIGI C300HP-4 2.0 cameras and a VIGI NVR1008H(UN) 2.0 recording device.

All cameras have 1.0.11 Build 23041 Rel 57861n firmware, the VIGI NVR has 1.1.1 Build 241127 Rel.76336n firmware.

 

I use 10fps h264 recording because of compatibility and quicker export, without conversion.

 

To find something interesting, I ocassionally export files to analyse, search them with an opencv application.

 

I recognized a strange behaviour during processing, it looks many frames are missing from the mp4 file, where processing stops becuase of no more frames in the file.

[h264 @ 000001ff2b555980] no frame!
[h264 @ 000001ff2b555980] no frame!
[h264 @ 000001ff2b6760c0] no frame!
[h264 @ 000001ff2b676580] no frame!

 

They processing app was written in Python. I use  fvs = FileVideoStream(videoFileName).start() function from imutils.video to read the video.

Formerly when I used cameras in 1fps mode, I have not experienced similar problem, but in 1 fps mode the movements were smooth enough.

 

I tried tor repair (convert) files with ffmepg and ffmpeg reported similar issue, see below:

[NULL @ 000001bd851e5b80] missing picture in access unit with size 23470.6kbits/s dup=0 drop=5912 speed=17.3x
[h264 @ 000001bd8535d1c0] no frame!
[NULL @ 000001bd851e5b80] missing picture in access unit with size 8
[h264 @ 000001bd85f4e400] no frame!
Error while decoding stream #0:0: Invalid data found when processing input

 

But regardless the problems reported by ffmpeg, it was able to create a usable errorless file, but it is very time consuming to repair each file regardless I have a quite powerfull desktop computer to cope with it.

Could you look after this problem please?
 

  0      
  0      
#1
Options
1 Accepted Solution
Re:Lost frames in h264 export-Solution
2025-09-17 01:56:38 - last edited 2025-09-19 08:56:21

  @McHP 

H.264 relies on GOP-based encoding, in which I-frames (key frames) play a critical role. When OpenCV decodes with FFmpeg (its default), missing  I-frames can lead to frame drops. In addition, anomalies during MP4 remuxing/export may also cause dropped frames.

Because the video compression is performed by the IPC, the NVR only stores the stream. To ensure the NVR’s decoding process is not at fault, please check the recorded video for the problematic time period directly in the NVR’s local GUI or web interface and confirm whether playback is smooth.

 

Recommended Solution
  0  
  0  
#2
Options
6 Reply
Re:Lost frames in h264 export-Solution
2025-09-17 01:56:38 - last edited 2025-09-19 08:56:21

  @McHP 

H.264 relies on GOP-based encoding, in which I-frames (key frames) play a critical role. When OpenCV decodes with FFmpeg (its default), missing  I-frames can lead to frame drops. In addition, anomalies during MP4 remuxing/export may also cause dropped frames.

Because the video compression is performed by the IPC, the NVR only stores the stream. To ensure the NVR’s decoding process is not at fault, please check the recorded video for the problematic time period directly in the NVR’s local GUI or web interface and confirm whether playback is smooth.

 

Recommended Solution
  0  
  0  
#2
Options
Re:Lost frames in h264 export
2 weeks ago - last edited 2 weeks ago

  @McHP 

Hi, I’m experiencing the same issue with missing frames on H264 exports using the VIGI C300HP cameras. My Old roll setup and firmware versions match yours. It seems like the exported MP4s are incomplete or corrupted, especially at 10fps. I also had better luck at 1fps, but it's not ideal for motion capture. Hope support can fix this soon!

  0  
  0  
#3
Options
Re:Lost frames in h264 export
2 weeks ago

  @Ethan-TP 

Playback on the NVR is smooth. I can also download files from the NVR and continuously play them on my PC with the VLC player without any problems. The problem only appears during processing with OpenCV. I can do conversions/repair with ffmpeg, but there are plenty of warnings and errors. However, ffmpeg is always able to repair the files. After the repair, I can process the files with OpenCV or anything else.


If you send me your email address, I can provide you with a link to a clip and the NVR configuration.

It's easy to identify the problematic clip or time period because it's always problematic.

  0  
  0  
#4
Options
Re:Lost frames in h264 export
Yesterday

  @Ethan-TP Ethan, 

 

Do you still need the sample videos?

  0  
  0  
#5
Options
Re:Lost frames in h264 export
Yesterday

  @McHP 

After analysis, we recommend using the NVR itself for playback.

  0  
  0  
#6
Options
Re:Lost frames in h264 export
Yesterday

Hi  @Ethan-TP ,

 

Thank you for the quick response. As you will see from my previous messages, our problem is not with the playback. The NVR and the Windows VIGI client can play video footage without any problems. @smithcarl214 and I discovered the frame loss/encoding problem independently while processing the exported videos. That is the problem for which we are looking for a solution  We would like the exported files to be error-free. Playback is not actually a problem.

 

Is there any chance that TP-Link will fix this issue? The cameras in question are still being sold, and we would prefer a homogeneous system. We are also satisfied with the image quality. Therefore, it would be very important to know whether this issue will be repaired. Waiting a few weeks or months for a fix is not a problem.

 

Best regards,

 

 Pal

 

  0  
  0  
#7
Options