[Elphel-support] Determine Datarate of Video Stream while not recording using camogm

2010-05-04 Thread Sebastian Pichelhofer
I want to calculate the current datarate, while camogm is recording I can do that as camogm supplies recording duration and filesize of the video that is being recorded. What would be the best way to calculate datarate without camogm? Is there are a way to get the filesize of a single frame

Re: [Elphel-support] Determine Datarate of Video Stream while not recording using camogm

2010-05-04 Thread Andrey Filippov
Sebastian, There could be many frames in the circbuf buffer (total size is about 19MB), you may try elphel_get_circbuf_pointers() php function You may look at elphel_php or imgsrv source code if you need this data from inside the C program, you may also perform some simple buffer navigation