EDIT: These instructions apply for VirtualDub v1.8.11 and VLC v1.1.9.
VirtualDub is definitely the correct choice of program for AVI files. I'll walk you through it.
Run VirtualDub by going to the folder where you saved it and running VirtualDub.exe.
Head to File > Open Video File, and select the AVI file from the file browser, and select Open.
Next, go to the Video drop-down menu, and select Direct Stream Copy (we don't want to re-encode what will be an already pretty poor quality stream).
Next, go to the Audio drop-down menu, and select Direct Stream Copy (with the same rationale as above).
Next, go to Audio > Interleaving. This will bring up a dialog box. Note the box with the label Delay audio track by...
Change the value in this box. If you want to get a good idea of what value to change it to, either keep changing it in VirtualDub and checking the result, or do it in VLC. You can change the audio timings on the fly in VLC by playing the video and then hitting J to reduce the audio offset, and K to increase it. Note the value where they appear to sync up, and then use that in VirtualDub. If you can't get them close enough, you can get more finely-grained control by, still in VLC, going to Tools > Track Synchronization. You can then adjust Advance of audio over video until you sync them up, and then use that value in VirtualDub.
Once done, go to File > Save as AVI, and enter the name you want for the file.
vlc has a command line option you could use
--stop-time= Stop time
The stream will stop at this position (in seconds)
or possibly
--run-time= Run time
The stream will run this duration (in seconds).
One of them likely does what you want. I think you can give extra command line options in the open file/stream (or what it's named) dialogue, otherwise you could use the actual cli.
(source)
Best Answer
EasyCAP DC60 Somagic 1c88:0007 / 1c88:003c
There are many different versions of hardware sold under the name of "EasyCAP". Some do not store the required firmware in EEPROM but expect the driver to feed the firmware into the USB hardware when inserted. The Somagic 1c88:0007 is one such device (there may be others). Once the firmware is loaded, the device ID changes to 1c88:003c.
The lack of firmware is why “VLC 3.0.4 Vetinari” can work with some EasyCAP hardware (those with built-in firmware) but not others. VLC > Open Media > Capture Device tab > Capture mode only lists DirectShow, “TV - digital”, and Desktop. There is no “USB cam”.
Windows 10 1803's Device Manager shows it under Other devices > Unknown device > Details tab > Device instance path> Value = USB\VID_1C88&PID_0007\SMBL007. Events tab will list entries such as: Device not migrated Device installed (smiusbgrabber3f.inf_... Info: Driver Management concluded the process to install driver smiusbgrabber3f.inf_amd64_62fdac16904230b7 for Device Instance ID USB\VID_1C88&PID_0007\SMBL007 with the following status: 0xE0000234.
The Somagic device driver is installed in C:\Windows\System32\DriverStore\FileRepository\smiusbgrabber3f.inf_amd64_62fdac16904230b7\SmiUsbGrabber3F.sys. Right click the .sys file > Properties. You will note there is no “Digital Signatures” tab. That means it is not “signed” which is required for Windows 10 kernel drivers. Compare this with C:\Windows\System32\drivers\storahci.sys which is signed.
You can search to disable Driver Signature Enforcement in Windows 10, but it will make your system less secure / more prone to malware. I’m not even sure if the driver will even work in Windows 10 with Driver Signature Enforcement disabled. It is only marked with Win7-64 on the CD label.
Two places point to the same Microsoft signed driver:
https://www.youtube.com/watch?v=EjXSsv_rOmI
Driver Version:
1.0.8.28 Release Date: 2011-01-26
File Size: 546.04K
Supported OS: Windows 10 64 bit, Windows 8.1 64bit, Windows 7 64bit
Download https://www.driverscape.com/files/share/3f52a8986e882143628ad42e0a84c0a1.zip
https://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings/i-need-sm-usb-007-driver/5746cf9b-b0c4-4a09-b15f-b66e82655e2e
TonestarDeluxe 4/17/2017 9:58:25 PM
Driver Version: 1.0.8.28
Release Date: 2011-01-26
File Size: 546.04K
Supported OS: Windows 10 64 bit, Windows 8.1 64bit, Windows 7 64bit
Windows 10 1809 (as of 2018-11-18) did not complain about the digital signature, but it complained about the Widows 95 era *.INF file and not being able to migrate the driver. Perhaps an older version of Windows 10 may work (until Microsoft pushes it to update).
Ubuntu 18.04.1 information about the EasyCAP device I bought via eBay:
$ sudo lsusb -d 1c88:0007 -v Bus 003 Device 011: ID 1c88:0007 Somagic, Inc. SMI Grabber (EasyCAP DC60+ clone) (no firmware) [SMI-2021CBE] Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x1c88 Somagic, Inc. idProduct 0x0007 SMI Grabber (EasyCAP DC60+ clone) (no firmware) [SMI-2021CBE] bcdDevice 1.00 iManufacturer 1 Somagic, Inc. iProduct 2 SM-USB 007 iSerial 3 SMBL007 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 18 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 200mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0000 (Bus Powered)
Unfortunately, Linux support for this device is complicated to set up: