Already tried changing VBR to CBR, no difference in result. As I wrote, it is unlikely that this is on NAS-side problem, because there are no changes when recording to another device via different protocol. Also, I have no complaints to my NAS as a home file storage, recording speed is little...