sjlim70 / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

Adding timespan when adding image to 'writevideoframe' method #310

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Add namespaces/librares to enable creating AVI file
2.'Acquire' image object.
3.invoke this method: writer.WriteVideoFrame(_img, new TimeSpan(12, 59, 46));

What is the expected output? What do you see instead?
I expect to see no error. I get though:
Error while writing video frame.

What version of the product are you using?
2.2.4

Please provide any additional information below.
It works when not adding a timespan..

Original issue reported on code.google.com by urlsols%...@gtempaccount.com on 16 Jul 2012 at 8:08

GoogleCodeExporter commented 8 years ago
I really doubt you are using the API correctly. The documentation clearly says: 
"Frame timestamp, total time since recording started" and I doubt you really 
saving single video file for 12 hours 59 minutes and 46 seconds. The time stamp 
has nothing to do with current day time. 

Original comment by andrew.k...@gmail.com on 16 Jul 2012 at 8:37

GoogleCodeExporter commented 8 years ago
Ah! I see. sorry.  Feel a bit stupid now.  What I was trying to establish was 
reading the timestamp of each image as i was reading it back through the 
AVIReader method.  What I had done was to add an EXIF tag to each image that 
contained the timestamp before writing to an AVI file.  But as soon as i read 
it back through the avi all the propertyitems had been cleared down.

Original comment by urlsols%...@gtempaccount.com on 16 Jul 2012 at 9:00

GoogleCodeExporter commented 8 years ago
OK, so no issue then.

Original comment by andrew.k...@gmail.com on 16 Jul 2012 at 9:18

GoogleCodeExporter commented 8 years ago
I was trying to find a way to close this.  Yes, no issue. Thanks for your time.

Original comment by urlsols%...@gtempaccount.com on 16 Jul 2012 at 9:24