Home > Archive (Community help, from old helpdesk) > Recording from WebCam generates shorter time video than record time measured

Recording from WebCam generates shorter time video than record time measured

Avatar image
Aug 24, 2015
Archive Agent wrote
Dear sirs,

Using your Video Capture SDK .NET WPF trial demo we have been evaluating your product.

Recording from a high end notebook WebCam generates a video that is shorter than the time of capture.

Last test results:
- 00:08:18.174 recording time
- 00:07:23.055 file duration
- Difference: 55.119 seconds

This are the capture settings:

.Video_CaptureFormat = "640x480 YUY2, 16 bit"
.Output_Format = VFVideoCaptureOutputFormat.MP4_H264

.MP4_Video_Profile = VFH264Profile.ProfileMain
.MP4_Video_Level = VFH264Level.LevelAuto
.MP4_Video_Target_Usage = VFH264TargetUsage.Auto
.MP4_Video_PictureType = VFH264PictureType.Auto
.MP4_Video_RateControl = VFH264RateControl.CBR
.MP4_Video_MBEncoding = VFH264MBEncoding.CABAC
.MP4_Video_GOP = False
.MP4_Video_BitrateAuto = False

.MP4_Video_IDR_Period = 15
.MP4_Video_P_Period = 3
.MP4_Video_Bitrate = 2000

' Audio AAC settings
.MP4_Audio_AAC_Version = VFAACVersion.MPEG4
.MP4_Audio_AAC_Output = VFAACOutput.RAW
.MP4_Audio_AAC_Object = VFAACObject.Low
.MP4_Audio_AAC_Bitrate = 96

.Video_FrameRate = 25
.Audio_RecordAudio = False

We plan to use your libraries to tag over video and this result extreme imprecise with this figures.

What is the way you suggest to solve this?

Thanks in advance!

Jordi Urquijo on May 5, 2014 4:38 PM
Completed
0
Vote
Reply
4 Answers
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Hi

Checking it now.

on May 05, 2014 16:53
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Does it worked better on frame rate = 5 or 10 for example?

on May 05, 2014 20:32
Aug 24, 2015
Archive Agent agent wrote
Jordi Urquijo

I have checked with frame rate 30, 25, 15, 10, 5 and always with the same result.
I have checked with an external USB ElGato video capture and seems to work quite well (only captures 25 and 30 fps).
During the week I will check it with CUDA enabled computer.
I will send you results.

Thanks a lot for your support.

on May 06, 2014 00:42
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Yeah, we got one camera (iMac 2013 27'' internal cam) that shows similar results. Really, camera just drop frames. So, that's bad for camera, it must provide correct frames or drop them using correct way in DirectShow.

We can made some modifications in our software to make workaround for this, but I'm not sure how much time we need.

For example Logitech C920 and a lot of other cameras worked perfectly.

We have same results for CUDA encoder, all ok with Logitech and all bad with iMac camera.

on May 06, 2014 11:43