Please check with version 0.8.23 as the video decoding has been updated.
If the issue is still reproduced, could you send me a short sample for analysis. joan at kinovea dot org.
Thanks
796 2015-01-12 14:56:17
Re: 2 video playback not in sync (6 replies, posted in Bug reports)
797 2015-01-09 12:58:48
Re: 2 video playback not in sync (6 replies, posted in Bug reports)
Hi,
There are several possible cause for mis-synchronization.
What Kinovea version are you using ? (While we are at it, what Windows version ?)
Re: real time playback, do you mean that the speed slider decreases by itself or do you mean that at 100% speed the action is played in too slow/fast motion ?
When in dual playback, both speed slider should be locked (unless specified in the preferences).
Would you happen to be comparing a video taken with a high speed camera with a video taken with a normal camera ? If so, what is the capture framerate of the highspeed video ?
798 2015-01-09 12:52:41
Re: Canon Hv40 - Streaming HDV (12 replies, posted in Cameras and hardware)
I'm guessing that this issue never got resolved - as my Canon HV30 has the same issue.
Unfortunately I never got the chance to try and test an HDV camcorder first hand and see what the problem was. Now it seems all manufacturers have stopped producing them years ago, Firewire is no longer supported on new computers, etc…
799 2014-12-10 23:08:16
Re: Vertical calibration (3 replies, posted in Ideas and feature requests)
1. Add a perspective grid
2. Place its corners on the corners of a rectangular object visible in the scene and on the same plane as the plane that you want to make measurements on.
3. Right click the grid and use "Calibrate", enter the physical dimensions of the rectangle.
You can display the coordinate system with Image > Coordinate system.
800 2014-12-10 22:16:47
Re: Vertical calibration (3 replies, posted in Ideas and feature requests)
Hello,
The calibration by line does not have any notion of horizontal or vertical. It maps a 2D distance in pixels to a distance in the specified unit. At the bottom of it it is just a scaling factor from pixels to centimeters or whatever. 2D distances are computed using the usual Euclidean distance.
This can give wrong results if you have a video with rectangular pixels that has not been automatically detected, (video looks squashed or stretched). More commonly, if the plane of motion is not perpendicular to the camera optical axis. For this you can use the perspective coordinate system.
801 2014-12-09 15:58:39
Re: Trying to synchronize simultaneous videos - exception occurs (10 replies, posted in Bug reports)
Are you working with AVCHD / H.264 videos perhaps ? There are several issues with them that haven't been addressed yet.
Depending on the flavor of the encoder and the parameters used, they are more or less critical. Sometimes the working zone in/out points can't be set properly.
802 2014-12-08 23:00:01
Re: Trying to synchronize simultaneous videos - exception occurs (10 replies, posted in Bug reports)
Hi,
Please try this with 0.8.23. Both the dual screen synchronization code and the recording code have changed since.
Note that this type of error:
937 - ERROR - [5] - VideoFile - GetThumbnail Error : Frame reading failed
is specific to the home screen with the thumbnails. It is not super critical. It does hint at a problem, but it might not be related to your issue.
803 2014-12-05 12:36:11
Re: Logitech C920 - Cameras speed (fps) unstable when using two webcams (27 replies, posted in Cameras and hardware)
Upcoming in Kinovea
The configuration dialog now shows the various available stream formats (RGB24, MJPG, H264, etc.). On the C920, this allows the use of the streams that are compressed on-board by the camera, decreasing the bandwidth requirements.
For some specific stream formats (currently RGB24 and MJPG), the DirectShow's Intelligent Connect is not used and the plumbing is done manually. This has proven to be more reliable.
The vendor-specific exposure property from Logitech is now supported, allowing the configuration by 100µs increments instead of the default DirectShow property which is imprecise and badly supported by Logitech cameras. On the C920 the minimum value is 300µs.
A new capture pipeline has been implemented and integrated to streamline capture and recording.
For the MJPEG stream of the C920 and other cameras, the frames received are only decompressed for the preview. When recording they are directly pushed to the final file. The recording is given higher priority than the preview where a frame drop is not catastrophic. This greatly increases the throughput. I am able to record the full 1920x1080 @ 30 fps on my machine. We are still doing tests with Milan for the dual record scenario.
MJPEG is probably going to become the application perferred codec for output. It is simpler to implement and debug, mature JPEG libraries can be used, and its intraframe-only compression scheme makes it more suitable for frame-by-frame playback.
804 2014-12-05 11:59:12
Re: Logitech C920 - Cameras speed (fps) unstable when using two webcams (27 replies, posted in Cameras and hardware)
Some more updates
USB topology
If you plan on using several webcams or if you have a lot of other USB devices connected to your computer, it is important to understand a bit about the USB topology to get the best of your system.
I want to write a longer piece about this because it will be best with schematics. In a nutshell, you want to connect each webcam to a separate root hub so that it gets its full bandwidth and power.
USB works with host controllers (piece of hardware), root hubs (one per host controller), regular hubs and devices. A root hub will source several USB ports on the computer. All of these ports will share the bus bandwidth. Cameras need a lot of bandwidth so it's best if you connect them to ports that belong to different root hubs.
Do not bother connecting the camera to a regular hub. The camera will share the bandwidth with other devices on the same root hub in addition to the devices connected downstream to the hub. A bus powered hub will also usually not be able to source enough current to a camera connected downstream.
To better understand a comptuer USB topology, I like to use USB tree viewer, it will show you the whole USB tree from controllers to devices. It also shows low level USB descriptors which can help understand what capabilities are supported by a camera at the USB level, especially for UVC compliant cameras like the C920.
USB 3.0 ports won't provide increased bandwidth to USB 2.0 devices. There is an entire USB 2.0 compatibility lane inside the USB 3.0 pipe.
805 2014-12-02 09:45:21
Re: Video Capture Cards? (12 replies, posted in Cameras and hardware)
Thanks for the report.
Many cards from AVerMedia are advertised as "DirectShow compatible" which seems to be in contrast to other brands. Do you have any experience with these ?
806 2014-12-01 01:04:08
Topic: Hardware donations program (0 replies, posted in Cameras and hardware)
The hardest part of making sure Kinovea works well with all kinds of cameras is to get the actual hardware for testing and debugging.
Although donations and my personal investments cover the cost for hosting and bandwidth of the website, getting cameras to test the software with is still an issue. There are many cameras on the market and I cannot justify to buy them just to make Kinovea work with a particular product.
And this is where you may enter the picture :-)
With hardware donations you help Kinovea support more cameras and help it become a better solution for you and for everyone else; in the spirit of open source.
This program is mostly oriented towards improving the capture module because this is where being a spare-time project makes things difficult.
You can order hardware through the Amazon Wish List or send it yourself directly using the project postal address listed below.
In any case please do look at the Amazon wish list to get an idea of what is currently needed.
Amazon Wish List
The wish list contains items that I think would be most interesting to get in order to make progress. There is a small comment on the right of the item to explain why it would be useful and the type of work that will be done with the donated device.
Direct shipping
You can also directly send your hardware to Kinovea postal address. Do not send hardware expecting a return shipment later unless we have formally agreed to such.
Kinovea
14 rue Jean Jacques Rousseau
App 723
33400 Talence
France
Camera manufacturers
If you are a camera manufacturer and your cameras have an SDK, donating a device is a great way to promote your brand and models. Kinovea has been downloaded more than 100 000 times and is a software of choice in many sport science universities.
Get in touch: asso@kinovea.org
Recently donated
One Logitech C920 HD – October 2014.
I bought the 70€ camera with a year’s worth of donations so I consider this the first donated hardware.
It has boosted the development of a better model for the Capture module and helps testing HD streaming and recording of USB 2.0 cameras.
Thanks
Permalink : http://www.kinovea.org/en/hardware-donations/
807 2014-11-26 20:10:04
Re: Let's tackle lens distortion (9 replies, posted in General)
Hi,
You can export the calibration parameters from within the calibration dialog using menu File > Save. The default directory is under "CameraCalibration" in the application data directory. Then from the second PC open a video, open the calibration dialog again and do File > Open and point it to the xml file.
To be clear, when you "Open" or "Save" it uses Kinovea format. When you "Import" it imports Agisoft Lens format. You can also directly reuse the Agisoft file and import it from the second PC.
You need to open/import it for each video.
The same file can be used for the same camera as long as the camera configuration doesn't change focal length, aspect ratio, etc.
For example on the PS3Eye there are two zoom positions by turning the ring.
On the GoPro depending on the configuration you can end up in Wide or Medium, 170° and 127° respectively I think. A different file is needed.
Technically each camera unit will have slightly different values. For example one of the computed parameters is the center of the lens relatively to the center of the sensor. It will not be exactly the same from one camera to the next.
That being said, the error introduced by these microscopic differences is probably less than the error of the calibration process itself, and less than the error introduced during coordinates digitization. So it may be fine to reuse a file created for a different camera unit unless you are already in an extremely controlled setting.
I'll gladly publish contributed calibration files on a dedicated page on the site so we can share them and experiment. Send them to joan at kinovea dot org and add details on the configuration with which they were created. If you validate that they also work at other configurations please mention it as well.
808 2014-11-21 16:34:28
Re: Video stream upside down, B&W and striated. (9 replies, posted in Bug reports)
Interesting.
In AForge the filter graph is built using Intelligent Connect, the capture source and sample grabber are added to the graph, then a call to Render is made which asks the filter graph manager to do the connection. Can you tell if the CodeLabs sample use DirectConnect instead by any chance ?
I've seen that even when doing RGB24 to RGB24 there are extra filters added by the manager for some reason, including a color space converter…
I'm thinking of bypassing the Intelligent Connect for media types supported natively by the application, it would avoid extra copies and allocations along the way, in addition to avoid this type of surprises.
809 2014-11-20 01:17:11
Re: Video stream upside down, B&W and striated. (9 replies, posted in Bug reports)
With regards to flipping, it's a known difficulty with DirectShow. Some formats needs to be flipped, others not.
Currently the code assumes the image is flipped (as it should for RGB24) and during the creation of the bitmap it inverts it. As it works on other machines I believe that assumption is correct but maybe there is another filter upstream that makes a faulty conversion…
810 2014-11-19 20:00:06
Re: Video stream upside down, B&W and striated. (9 replies, posted in Bug reports)
OK, I still have a PS3Eye around. Although the lens is dead it's still good for testing.
I'm using CL-Eye-Driver-5.3.0.0341. In Graph studio, Graph > Insert filter, I have it listed under "PS3Eye Camera" in the DirectShow filters category and in the Video Capture Sources category. You can change the category in the top left combo box.
I also have it listed as "USB Camera-B4.04.27.1" in the WDM Streaming Capture devices. This is the actual name of the device at the USB level. It's not UVC compliant though, so Windows cannot automatically wrap it in a DirectShow capture source filter (hence the need for a third party driver). This filter only has the audio source.
Anyway, the list of supported media types is presented strangely, each framerate is a different media type. Normally there would be a list of media types for the various frame sizes, and a list of framerates supported at each frame size.
I can see that the main media types supported are RGB32 and RGB24, with two resolutions each.
We can also see this in the demo application, under Options > Video capture pin. Half of the entries are listed as "(32 bits)" and the lower half as "(24 bits)".
One way to get the problem you are having would be if some component is interpreting an RGB32 sample as an RGB24 image. Unfortunately due to a limitation in the current version, the RGB32 is automatically chosen in Kinovea. I'm experimenting with a version that lifts this limitation so I might contact you off-list for testing if it's ok with you.