Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recording feature bugs #11

Closed
rkantos opened this issue Sep 17, 2018 · 4 comments
Closed

Recording feature bugs #11

rkantos opened this issue Sep 17, 2018 · 4 comments

Comments

@rkantos
Copy link

rkantos commented Sep 17, 2018

I'm trying out qarv with a Basler acA1920-155uc and experiencing the following issues when recording:

All of these issues have been noticed with a AOI of 1920x200.

First when rotating the image from the transform menu and recording, the result looks something like when the x y axis are incorrectly rotated, or the other axis is rotated twice, as a result the image looks scrambled.

Second, when recording with the AOI=1920x200, the recorded image starts rolling over on itself like this:
Image of Yaktocat

It seems to do this periodically at a set interval of a few hundred ms. By recording 10s @ 500fps (actual closer to <100fps (probably because of hardware limitations), the image rolls over about 20% of the height of the recorded AOI.

In both cases the picture in the preview in qarv looks like it should according to the settings.

@exzombie
Copy link
Member

We noticed this "rolling" occasionally, but were never able to reproduce it on purpose, which made it hard to track down. Especially because it only happens on the recording path, the live image is always fine. You seem to be saying it happens more often with a smaller AOI; if I could reproduce that, it would help a lot towards finding the cause. It'll take some time because I don't have a camera at the moment. In the meantime, can you please try recording undecoded video? Somewhere in the back of my mind is an unverified claim that I have only seen glitches with 16-bit decoded videos, but never 12-bit packed (undecoded) or bayer formats.

@rkantos
Copy link
Author

rkantos commented Sep 18, 2018

I'll come back with a recorded Bayer RG 8 and 12, which the camera is capable of. (my use doesn't require bit depth, but all the speed possible)

@rkantos
Copy link
Author

rkantos commented Sep 26, 2018

I ran more tests with Ubuntu 18.04, and was able to reproduce the problem with similar AOI. I’m not sure what I am doing differently, but now it seems to roll over less per “rotation” Maybe it has something to do with past version of some dependency of QArv that exists on 16.04. I will try to test on that too.
image

image

Also either QArv Video Player needs some work, or something definitely is not right when trying to rotate the image.. I get this:

Without rotation:
image
With raw (nothing happens):
image

With 90 degrees and 8-bit raw decoded:
image
It seems to be rolling over too:
image

with huffyuv:
image

The only video format that functions with rotation is the “TIFF images”.

@exzombie
Copy link
Member

We've finally had some time to deal with this. Please test and thanks again for a detailed report :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants