Qnap Surveillance Station Recording q264 to h264

QNAP Surveillance Station recording are marked as q264 but it is easy to change them to play with regular players

Replace 4 byte at offset 0x70 and 0xBC from q264 to h264

Here is python code

f=open("<Filename>.avi","r+")
f.seek(0x70)
f.write('h264')
f.seek(0xBC)
f.write('h264')
f.close()

 Share!