1 (edited by joan 2014-12-08 22:42:44)

Here's the background: I'm videoing a process with two identical cameras
from different positions; after I get the two videos synchronized, I'll make
a video of the dual-frame screen for a later presentation.

It's hard for me to start the cameras simultaneously without help, so I have
to start the cameras before I start the action. Similar problem at the end, as
I can't stop them simultaneously. That's the starting point.

On to Kinovea:

I open both videos with the dual screen feature. I find the correct place to
start with the right-hand screen, and mark the working space at that time.
Then I start both videos again and pause them both when the left hand one
reaches the appropriate time in the original video; I mark the working space
for the left hand video. Now I run them from that common starting time and
stop them both when the right-hand screen reaches the correct end point.
Then I mark the working space for that end point on the right-hand screen.
Lastly I restart both videos and stop them both when the right-hand one
reaches its selected end point, and then I repeat the re-start and mark the
end point for the left hand video.

All is well to here.  I then save the left-hand video ... OK. But when I try to
save the right-hand video, I get an "exception" screen that gives me the
option to quit or continue with dire circumstances. From that point on I
cannot save the right-hand video.

Here's the Kinovea Log:

156 - INFO  - [1] - RootKernel - Kinovea version : 0.8.15, (Experimental)
156 - INFO  - [1] - RootKernel - .NET Framework Version : 2.0.50727.3655
156 - INFO  - [1] - RootKernel - OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
156 - INFO  - [1] - RootKernel - Primary Screen : {Width=1366, Height=768}
156 - INFO  - [1] - RootKernel - Virtual Screen : {X=0,Y=0,Width=1366,Height=768}
968 - ERROR - [5] - VideoFile - GetThumbnail Error : Frame reading failed
1000 - ERROR - [5] - VideoFile - GetThumbnail Error : Frame reading failed
1093 - ERROR - [5] - VideoFile - GetThumbnail Error : Frame reading failed
1125 - ERROR - [5] - VideoFile - GetThumbnail Error : Frame reading failed
1140 - ERROR - [5] - VideoFile - GetThumbnail Error : Frame reading failed
216218 - ERROR - [5] - VideoFile - Conversion error during selection import.

I also saved the error log that WindowsXP (?) produced:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Parameter is not valid.
   at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
   at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
   at Kinovea.ScreenManager.PlayerScreenUserInterface.CloneTransformedImage()
   at Kinovea.ScreenManager.PlayerScreenUserInterface.ReportForSyncMerge()
   at Kinovea.ScreenManager.PlayerScreenUserInterface.ShowNextFrame(Int64 _iSeekTarget, Boolean _bAllowUIUpdate)
   at Kinovea.ScreenManager.PlayerScreenUserInterface.ImportSelectionToMemory(Boolean _bForceReload)
   at Kinovea.ScreenManager.PlayerScreenUserInterface.trkSelection_SelectionChanged(Object sender, EventArgs e)
   at Kinovea.ScreenManager.SelectionTracker.SelectionTracker_MouseUp(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.UserControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
____________________________________________________________

Thanks for thinking about this.  I'll be doing this a lot until I get my handling
of the animation I'm producing right. Takes more than two hands.

Best regards,
George Langford (amenex)

2

More data & clearer picture:

I can progress to saving two truncated videos with identical starting and ending points.
Kinovea can play either one without incident, but gives that "exception" popup when I
try to play both of the saved and re-loaded videos simultaneously.  Here's the error log:

171 - INFO  - [1] - RootKernel - Kinovea version : 0.8.15, (Experimental)
171 - INFO  - [1] - RootKernel - .NET Framework Version : 2.0.50727.3655
171 - INFO  - [1] - RootKernel - OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
171 - INFO  - [1] - RootKernel - Primary Screen : {Width=1366, Height=768}
171 - INFO  - [1] - RootKernel - Virtual Screen : {X=0,Y=0,Width=1366,Height=768}
937 - ERROR - [5] - VideoFile - GetThumbnail Error : Frame reading failed
953 - ERROR - [5] - VideoFile - GetThumbnail Error : Frame reading failed
1062 - ERROR - [5] - VideoFile - GetThumbnail Error : Frame reading failed
1078 - ERROR - [5] - VideoFile - GetThumbnail Error : Frame reading failed
1093 - ERROR - [5] - VideoFile - GetThumbnail Error : Frame reading failed

Next I'll try loading the two screens and playing only one of the two at a time.

All the best,
George Langford (amenex)

3 (edited by joan 2014-12-08 23:05:29)

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.

4

OK - more data.

Kinovea crashes when I try to play either one of the two truncated
videos in the side-by-side display mode... same error log, though.

These same two videos played one at a time in single-screen mode each work fine.

Best regards,
George Langford (amenex)

5

Whoopee !  When I downloaded the experimental version of Kinovea, it was able
to open & run both previous synchronized videos without incident in dual-screen
mode.

Next, I'll try going through the whole editing process, just to be sure.

Thanks for your quick and constructive response.

Best regards,
George Langford (amenex)

6 (edited by joan 2014-12-09 15:46:19)

Another bug pops up ...

Kinovea Expt. runs the original two videos simultaneously w/o incident, but when I tried
the whole process from the beginning - truncating each video in turn so they start and
end together, the left hand image (last step of the process) disappears as soon as I
mark its ending point, preventing me from saving it.

Here's the error log (reflects at least two attempts):

[edit: log snip. I attached the log to http://www.kinovea.org/bugs/view.php?id=342 ]

Thanks & best regards,
George Langford (amenex)

7

At first, when I tried my customary approach of opening both videos, editing the start of first one and then the other,
editing the end of the first one and then the other, as soon as it tried to cut the file length, the screen went black for the
second one (left side in this instance).

If I tried editing the left side first in single screen mode (having memorized the correct starting & ending times) all went
well until I opened the second window w/o saving the first one, whereupon the first window went black.

Not wanting to try every single possibility, I tried editing the second video first and then saving it, which worked OK.
Then I closed it, opened in two-screen mode, opened that video, and then opened what was supposed to be the
controlling video. I could truncate that one OK and save it OK.

Now I can open both of the truncated & saved videos in dual view mode and play them w/o incident.

So ... if ya use the right approach, you can get to home base just fine ...

I'll repeat the wrong approach now and post the log file.

Best regards,
George Langford (amenex)

8

Another positive note: When I do the editing & truncating in dual screen mode, it's essential to save
the first video before embarking upon the second one. Done that way, the second video can be
truncated and run alongside the first one, even before saving the second video. That seems like a
perfectly reasonable way of performing this synchronization process.

I did load both original videos first before starting this process.

If I open just one video (in single-screen mode) and edit that w/o saving it, it disappears as soon as
I ask for the second screen.

The lesson learned is: Don't try to edit the second video before saving the first one.

I apologize if this has already been pointed out ...

Best regards,
George Langford (amenex)

9

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.

10

Hi Joan -

The videos are and will be taken with Sony DSC-H20 still cameras that have the following video
encoding methods:
                                        "Video Formats: ASF, AVI, MPEG, WMV"
Per this link:
https://us.en.kb.sony.com/app/answers/l … 1/c/65,66/

Occasionally I noticed that the first working-space limit tended to detach when I started to edit the
second video, but now that I finish & save the first one before starting the second, it's working
uneventfully.

Next, I'd like to merge the two videos into a single video ... which I'm doing now just by videoing
the 'puter screen ... which has its limitations, but for development purposes, is OK.

Best regards,
George (amenex)

11

Hi Joan -

Here's a better answer:

"video file taken with H20 have the file name: M4V0xxxx.MP4 (i.e. MPEG-4 format)"

Per this source: http://www.dpreview.com/forums/thread/2630463

Which should have been obvious to me a long time ago ...

4WIW, mine are named M4H0xxxx.MP4

Best regards,
George (amenex)