I am having problems with the continuous recording feature of the camera. I find that many of the continuous recording video files are not correctly constructed. Trying to play the video files back using VLC reveal that often the start of the video fails to show. Further I have examined the video files using ffmpeg and it shows the errors in the files (that the video content is not well formed). I believe that this problem is in the actual recording of the video files and not during later transfer (see further notes).
The files can be run through FFMPEG to see errors using the following command (substituting test.avi with the filename):
$ ffmpeg -v error -i test.avi -f null -
Steps to reproduce:
- Factory reset.
- Insert SD card.
- Format SD card on camera.
- Enable SD recording (Default Settings: Trigger Always, Video, Profile 2, AVI, 1 minute per file, Keep free space 200MB, Cyclic).
- Wait a couple of minutes for two full videos to record.
- Download recordings using web interface.
- Play with vlc or ffmpeg as described.
I believe that often the first video recording is fully valid (i.e. the first minute), but most of the subsequent video recordings are invalid (contain corruption). Please note that not every file is corrupt, but my experience shows that about 90% of them contain some form of "corruption".
I have tried the following measures to rectify the problem:
- I originally tried this under the original firmware (DCS-942L_1.12_1608).
- I tried upgrading the firmware to the latest available release (DCS-942L_1.20_patch01_2615).
- I have tried two different SD cards (2GB SanDisk no speed rating, 32GB SanDisk Class 4 speed rating).
- I have tried both downloading videos from the web interface and removing the card from the camera and transferring directly to the computer.
- I have tried the following video settings (H.264+AVI, H.264+MP4, MPEG4+AVI, MPEG4+MP4) and found all of them to exhibit similar problems. I have attached the errors reported by ffmpeg at the bottom of this post.
None of these measures has been able to rectify the fault.
For other owners of the camera I ask that you please repeat the above steps using ffmpeg to identify whether this is a genuine fault with the firmware.
For Dlink support I ask can you please indicate whether this is a known issue with this camera and/or firmware? If this is a know fault can you please indicate whether it will be rectified and if so give an indication on how long before we can expect corrected firmware.
I sent a similar request to my local dlink support, however I didn't receive a satisfactory reply and apologize if you receive this in duplicate, but believe this to be a serious and genuine problem.
Thanks everyone for your help.
-----
FFMPEG Output
$ ffmpeg -v error -i 20130101_000500.avi -f null -
[h264 @ 000000000265f060] non-existing PPS referenced
[h264 @ 000000000265f060] non-existing PPS 0 referenced
[h264 @ 000000000265f060] decode_slice_header error
[h264 @ 000000000265f060] no frame!
[h264 @ 000000000265f060] non-existing PPS referenced
[h264 @ 000000000265f060] non-existing PPS 0 referenced
[h264 @ 000000000265f060] decode_slice_header error
[h264 @ 000000000265f060] no frame!
[h264 @ 000000000265f060] non-existing PPS referenced
[h264 @ 000000000265f060] non-existing PPS 0 referenced
[h264 @ 000000000265f060] decode_slice_header error
[h264 @ 000000000265f060] no frame!
[h264 @ 000000000265f060] non-existing PPS referenced
[h264 @ 000000000265f060] non-existing PPS 0 referenced
[h264 @ 000000000265f060] decode_slice_header error
[h264 @ 000000000265f060] no frame!
[h264 @ 000000000265f060] non-existing PPS referenced
[h264 @ 000000000265f060] non-existing PPS 0 referenced
[h264 @ 000000000265f060] decode_slice_header error
[h264 @ 000000000265f060] no frame!
[h264 @ 00000000025516a0] Missing reference picture, default is 0
[h264 @ 00000000025516a0] decode_slice_header error
$ ffmpeg -v error -i 20130101_001500.mp4 -f null -
[h264 @ 000000000034f060] Missing reference picture, default is 0
[h264 @ 000000000034f060] decode_slice_header error
[h264 @ 00000000050cba60] Missing reference picture, default is 0
[h264 @ 00000000050cba60] decode_slice_header error
$ ffmpeg -v error -i 20130101_002600.avi -f null -
[mpeg4 @ 000000000258f060] hmm, seems the headers are not complete, trying to guess time_increment_bits
[mpeg4 @ 000000000258f060] my guess is 4 bits
[mpeg4 @ 0000000002518840] warning: first frame is no keyframe