1

Hello,
I want to use this camera for analysis of walking / running patients. This camera, infact intended for surveillance, is delivered with visual replay software , which indeed can decode the produced files, in a stable way. However, it does not offer not the movement analysis features of kinovea, eg angle measurements.

However Kinovea thumbnails stay gray or show an image, but the video does never start, when launched. VLC player cannot play the videos neither, except 1 video (over 5 Gigabyte) . Then VLC shows DIVX, although HIKVISION claims MPEG-4/3000002196 and all files get .mp4 extension. This video is advancing in Kinovea by 1 small movement each time I click the >! icon, but is never really playing.

This is the log, which shows just the default header:


2011-03-04 20:36:08,714 - INFO  - Kinovea.Root.RootKernel - Kinovea version : 0.8.7, (Production)
2011-03-04 20:36:08,722 - INFO  - Kinovea.Root.RootKernel - .NET Framework Version : 2.0.50727.4952
2011-03-04 20:36:08,722 - INFO  - Kinovea.Root.RootKernel - OS Version : Microsoft Windows NT 6.1.7600.0
2011-03-04 20:36:08,722 - INFO  - Kinovea.Root.RootKernel - Primary Screen : {Width=1600, Height=900}
2011-03-04 20:36:08,722 - INFO  - Kinovea.Root.RootKernel - Virtual Screen : {X=0,Y=0,Width=1600,Height=900}


May be you know a solution, thanks for looking at my problem.

2

Hello,
I don't know if it will fix the problem (especially considering VLC cannot play the video) but the experimental versions have an updated decoding library. They also have the logs in debug mode so it will be more helpful.
If it still doesn't work, can you get a failing sample of manageable size ?

3 (edited by joan 2011-03-05 15:00:14)

Joan,
thank you for looking at my problem.
I installed, as you proposed, an experimental version, Kinovea version : 0.8.13, (Experimental), the latest I could find.
I loaded a very short video (1,8 Mbyte) and click on >start. Just a grey screen shows with some lighter dots.
I pressed 10 x on >, but it made no difference. In the log below, every start is marked by : "VideoFile - Seeking to [0]".
I only copied 2 of them in the log below.

I think I could mail the video file, if you indicate a mail address.

thanks again



<edit (joan) - log attached to bug 239>

4

Please mail the sample to : joan at kinovea dot org.
Thanks

5

Hi,
I tried to progress on this one, but I'm afraid there nothing I can do at this point.
Copying what I wrote in the bug tracker. If any one has other ideas…

First issue : file reports negative duration.
Due to this we were having the end of selection before the start of selection and were stuck on frame 1.
The duration might be computed using the super seeking trick (seeking to 10 hours forward in the future to find the last P-frame)
(This gives me 4.72s for your file)

Second issue : backward seek errors out.
Due to this, the super seeking technique is not usable after all, because we can't reset to start of file after we have used it.

Assigning an arbitrary duration (ex: 15 seconds) allow the file to be read, but only once.
Conclusion: as far as I can see, this cannot be fixed at Kinovea's level. The duration must be properly stored in the file or ffmpeg to support this type of files.

---
VideoFile - [Container] - Duration (s): -9223372036854,78

VideoFile - Seeking to [0]
VideoFile - Error during seek: -1

6 (edited by Zoah 2011-03-12 23:48:17)

Joan,
thanks again for looking into my problem.
Yesterday I found a work around, that allows me to use Kinovea with this camera HIKVISION DS-2CD852MF-E.
It might be usefull to other users of this camera too: I found on the site of hikcision usa  a file converter :http://www.hikvisionusa.com/fileconverter.html

It is open for download and very flexible. it allows to convert the Hikvision files to wmv or avi or RM (I do not know this last format), with renaming the target file, placing in any folder, defining the image size and bitrate. The quality of the target file , if filesize and bitrate are set equivalent to the input file, is the same as the input file. The target file shows perfectly in Kinovea !
The angle measurement is very usefull in podology.

I do not understand why these manufacturers do not implement standards in a decent way!
Thanks again.

Zoah