Go Back    Forum > Digital Video > Video Project Help > Capture, Record, Transfer

Reply
 
LinkBack Thread Tools
  #1  
09-24-2022, 10:02 PM
FleshWound FleshWound is offline
Free Member
 
Join Date: Jun 2021
Posts: 23
Thanked 9 Times in 4 Posts
_________________

Using AmaRecTV for video capture as an alternative to VirtualDub


Introduction

I've put this little guide together to help those of you that are at their wits' end with audio and video not being in sync when capturing with VirtualDub. I've dumped hours and hours into trying to get the recommended software configuration to work, and it just doesn't work for me. From some of the threads I've seen, others are in a similar boat.

AmaRecTV is an alternative capture software to VirtualDub. It has worked where VirtualDub has failed. I went from having horribly out-of-sync audio/video with VirtualDub to rock-solid captures with AmaRecTV. I was able to capture a full-length film, from beginning-to-end, two times in a row, with 0 framedrops and perfect audio/video sync from beginning to end using AmaRecTV.

I'm not claiming to be an expert at VHS archival and I'm not recommending doing what I outline below as a first option. You should have already tried everything LordSmurf recommends. I'm just an engineer who has researched ad nauseam, got fed up with VirtualDub's problems, and has learned a lot by reading posts on this forum. Hopefully this helps some of you:

This guide IS for you if you are:
  • Using good equipment (A recommended VCR, a recommended frame TBC, and a good capture device like an ATI USB 600)
  • Having 0 framedrops during capture
  • Finding that audio is not synced with video in the resulting capture file and you've tried everything you can think of to remedy the problem without success
This guide IS NOT for you if you are:
  • Getting framedrops during capture. Framedrops will 100% cause audio/video sync issues. You probably don't have a frame TBC, are using a defective frame TBC, and/or are using a subpar capture card. You'll need to upgrade your capture hardware to avoid framedrops, unfortunately.

My Equipment

I'm using capture hardware refurbished and sold directly to me by LordSmurf. I've also included my PC specs so maybe we can figure out some common ground for those of us that are having this issue.
  • VCR: JVC SR-MV45
  • Frame TBC: Early model BigVoodoo TBC10 (basically a Green AVT-8710 and DataVideo TBC-1000 in one)
  • Capture Device: ATI TV Wonder HD 600 USB
  • CPU: Intel Core i7-3770K
  • GPU: AMD Radeon HD 7900
  • OS: Windows 7 64-Bit
What I Tried Before Using AmaRecTV

There are a million factors on the software and PC hardware side that could be contributing to what has been a very frustrating experience for some of us, so none of this should be understood as a challenge to what LordSmurf recommends. This is a backup plan to implement after you've tried everything else. Many of the things I tried are documented in this thread, but here's the "short" version:
  • Installed my ATI USB 600 the correct way with the recommended drivers.
  • Utilized LordSmurf's recommended version of VirtualDub and HuffyUV
  • Worked with LordSmurf to determine optimal VirtualDub settings for my setup
  • Pored over this very thorough VirtualDub Settings Guide
  • Trying various combinations of settings in the Timing area of VirtualDub ("Do not sync...", "Resync...")
  • Unplugging every USB device other than the ATI USB 600. I would literally press F6 to initiate capture (which would insert 8-20+ frames immediately), then unplug my mouse and keyboard, then play the tape, then re-connect my mouse and keyboard after capture was complete.
  • Attempted running VirtualDub in Compatibility Mode (Windows XP)
  • Tried initiating capture after starting the tape playing
  • Killing absolutely every Windows program/task/service (including wifi connectivity) that I could prior to capturing in VirtualDub.
  • Making a new Windows profile just for VHS capture and running minimum-necessary programs.
  • Capturing to an SSD rather than HD, to rule out potential disk i/o issues
  • Utilizing a different encoder than HuffyUV like Lagarith
  • Trying new versions of VirtualDub 32-bit and 64-bit.
  • Capturing via the TV area of ATI's Catalyst Control Center, which captures to mpg, and has virtually no setting customizations, but was a useful diagnostic tool. It had PERFECT video/audio sync. It confirmed for me that VirtualDub was the issue, not my capture hardware or PC.
I simply could not get VirtualDub to capture rock-solid video. I had seen some mention of AmaRecTV in various threads, and lollo2 also mentioned it in a thread I made seeking help, so I gave it a shot, and boy am I happy I did.


Configuring AmaRecTV

Which Version of AmaRecTV to Use
You can obtain AmaRecTV 3.10 from this VideoHelp download page. There are newer versions of AmaRecTV, but you SHOULD NOT use them.
You'll be shooting yourself in the foot if you download and install a newer version. To understand why, you can read the comments on the download page linked above.

How Should I Configure AmaRecTV?
AmaRecTV's configuration is arguably a bit wonky. Hopefully my setup helps you as you decide how to configure yours. It's geared toward VHS capture.


Initial Setup

All of the configuration you're about to set up will be stored in the amarectv310 folder that you unzip. The config file is named "AmaRecTV.ini", so if you ever want to reset things you can just delete that and relaunch the program. Or, if you want to hold onto a couple of different configurations, you can just swap multiple copies of this file in and out as needed.

If you don't see a tab mentioned here, it's because I didn't change any settings on it.

When you first launch AmaRecTV 3.1 you'll be met with this window:


Click OK.

Graph 1(Device) Tab

Clicking OK will automatically take you to the "Graph 1(Device)" tab of configuration where you can select your capture device and define the resolution, framerate, video format, and audio bitrate you want to capture in. Here's what mine looks like:


Graph 2(Preview) Tab

As the tab name indicates, I believe these settings only affect the video preview, not the actual video capture, but since I'm paranoid, I made changes to the aspect ratio, deinterlacing, and scan line doubling as shown below:


Recording Tab

This is where you can set up your video and audio compression. I don't know what's up with the "Frame rate" on this tab, but I'd leave it as-is. It is the "Graph 1(Device)" tab that affects your capture framerate, not this one. HuffyUV is generally the recommended codec around here. You'll need to have installed it first (scroll down after clicking), but if you have, you should be able to select the "Other Codec" radio button, click the "Update Codec List" button below, and you'll see it in the list of available codecs.

I was concerned that I couldn't specify the color space in AmaRecTV's codec options. I really didn't want to capture in 4:2:0 when the ATI USB 600 can capture 4:2:2. However, it WILL capture in 4:2:2 if you specify HuffyUV, as you'll see later.

Leave audio on "(Uncompress)".


General Tab
You can set the base path and filename prefix for your recorded files here. AmaRecTV will automatically add a datetime suffix to the filenames every time you capture, so you don't have to worry about overwriting existing files if you forget to change the filename, as you might with VirtualDub.

Capturing and Capture Results

There's not as much info during capture as there is in VirtualDub. All you have available is what shows at the bottom of the window:
  • Capture Time
  • Capture Size
  • Remaining Available Disc Space
  • Preview Window Resolution
  • Preview Window Approximate FPS
  • Approximate Capture FPS (Don't worry, it'll say 30, but if you specified 29.97, it'll be 29.97, as I'm about to show)
  • Number of frame drops
Here's a screenshot of the final moments of full-length film VHS I captured. It had perfect audio/video sync throughout all of the spot checks I did. I captured the same film a second time and it was perfect again. However, I could NEVER get this film to capture properly with VirtualDub:



When I was first capturing, that "30 FPS" concerned me (it should be 29.97), but that number is not really representing what is being captured. In the attachments below you'll see example_clip.avi

...if you throw that clip into MediaInfo, you'll see that it has the correct resolution, the correct NTSC framerate, the correct 4:2:2 colorspace, and that it is still interlaced (which is good, because we can use a proper deinterlacer later like QTGMC via Vapour Synth rather than being forced into using a subpar deinterlacing method). At least on paper, all indications are that you are making NO compromises in the quality of your capture if you use AmaRecTV. See for yourself:



...and well... That's it! There could be a typo here or there, or something I missed. ...and I'm not one to think there couldn't be gaps in my knowledge. But, if nothing more, I hope this gives some of you that were feeling hopeless a path forward.

If you see any problems with this guide, or have any other input, by all means post a comment.

Godspeed!


Attached Images
File Type: png Settings_01.png (87.2 KB, 296 downloads)
File Type: png Settings_02.png (82.1 KB, 290 downloads)
File Type: png Settings_03.png (80.9 KB, 288 downloads)
File Type: png Full_Film_Capture.png (317.3 KB, 290 downloads)
File Type: jpg MediaInfo.jpg (69.4 KB, 290 downloads)
File Type: png Launch_Window.png (49.5 KB, 298 downloads)
Attached Files
File Type: avi example_clip.avi (49.17 MB, 13 downloads)

Last edited by FleshWound; 09-24-2022 at 10:49 PM. Reason: typo, missing image link
Reply With Quote
The following users thank FleshWound for this useful post: bar72 (08-17-2023), cbracer (12-20-2023), Glitchy Windows 3.1 (06-06-2023), Hushpower (01-15-2023), jump (10-13-2022), lollo2 (09-25-2022)
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
09-25-2022, 03:41 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
Excellent guide, FleshWound. It should be placed by the admins in the "Sticky" section.

I do not wish to "dirty" your post, but just an addition for some important setting in "Advanced" tab:
  • set "Priority" to High, to run AmarecTV with appropriate resource allocation
  • enable "Use Null frame.", to insert an empty frame if and when a frame drop occurs, keeping audio and video in synch
  • specify to write a report of the capture activity enabling "Make a report file.", where you can find all info and debug accordingly to what happened if something went wrong, and also useful for post-processing operations
general.jpg



Last edited by lollo2; 09-25-2022 at 03:52 AM.
Reply With Quote
The following users thank lollo2 for this useful post: cbracer (12-20-2023)
  #3  
09-25-2022, 08:37 AM
KhAoS182 KhAoS182 is offline
Free Member
 
Join Date: Oct 2021
Location: Spain
Posts: 99
Thanked 4 Times in 4 Posts
Thanks FleshWound for your post, but I have the same problem. You can see that I have 7Drop. I have a high end setup but I don't have Frame TBC, only Line TBC. Is that the problem? Can you make the same capture test without your Frame TBC and see if you have the same issue as me? Cheers.

Drop.PNG


Reply With Quote
  #4  
09-25-2022, 08:56 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
Quote:
Originally Posted by KhAoS182 View Post
I have a high end setup but I don't have Frame TBC, only Line TBC. Is that the problem?
Your problem may be unrelated to the topic. Just to understand, do you have asynch audio/video or not?
Reply With Quote
  #5  
09-25-2022, 08:59 AM
KhAoS182 KhAoS182 is offline
Free Member
 
Join Date: Oct 2021
Location: Spain
Posts: 99
Thanked 4 Times in 4 Posts
Quote:
Originally Posted by lollo2 View Post
Your problem may be unrelated to the topic. Just to understand, do you have asynch audio/video or not?
Why unrelated? I have now A/V synched using AmaRecTV but I have that Drop Frames and Inserted Frames.
Reply With Quote
  #6  
09-25-2022, 09:05 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
Quote:
Originally Posted by KhAoS182 View Post
Why unrelated?
Because too many dropped frames and too many inserted frames lead to asynch audio/video.

You should solve this problem whatever capture software you use, indipendently if it is VirtualDub or AmarecTV.

The topic refers to asynch audio/video issue with VirtualDub in a clean capture, with few or no dropped/inserted frames, that AmarecTV is able to solve.

If I understand correctly, your problem is different.
Reply With Quote
  #7  
09-25-2022, 09:08 AM
KhAoS182 KhAoS182 is offline
Free Member
 
Join Date: Oct 2021
Location: Spain
Posts: 99
Thanked 4 Times in 4 Posts
Quote:
Originally Posted by lollo2 View Post
Because too many dropped frames and too many inserted frames lead to asynch audio/video.

You should solve this problem whatever capture software you use, indipendently if it is VirtualDub or AmarecTV.

The topic refers to asynch audio/video issue with VirtualDub in a clean capture, with few or no dropped/inserted frames, that AmarecTV is able to solve.

If I understand correctly, your problem is different.
I have that Droped frames as soon as I start the preview, without recording anything, if it goes well for you, I can make a screen recording so you can see it more clearly.
Reply With Quote
  #8  
09-25-2022, 09:14 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
Post the AmarecTV log file of a long capture, and a segment at the end where audio and video are asynch

A channel on S-VHS / VHS capture and AviSynth restoration https://bit.ly/3mHWbkN
Reply With Quote
  #9  
09-25-2022, 10:04 AM
FleshWound FleshWound is offline
Free Member
 
Join Date: Jun 2021
Posts: 23
Thanked 9 Times in 4 Posts
Quote:
Originally Posted by KhAoS182 View Post
You can see that I have 7Drop. I have a high end setup but I don't have Frame TBC, only Line TBC. Is that the problem?
I think lollo2 has you on the right track with troubleshooting, but yes, lack of frame TBC and/or bad capture card are likely explanations. The necessity of a recommended frame TBC is almost a mantra around here.

Quote:
Originally Posted by lollo2 View Post
Excellent guide, FleshWound. It should be placed by the admins in the "Sticky" section.

I do not wish to "dirty" your post, but just an addition for some important setting in "Advanced"...
Not at all! This is exactly the kind of feedback I was hoping for. Thank you very much!

Let me do some additional testing to factor in the great information you provided, then I'll work with the mods to see if I can regain edit privileges to this post since it is no longer available to me.

As I re-read things, I also realize I inaccurately referred to 4:2:2 as a colorspace rather than chroma subsampling. I'll get to work on all of that, then will integrate your notes into the original
Reply With Quote
  #10  
09-25-2022, 01:17 PM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
Quote:
The necessity of a recommended frame TBC is almost a mantra around here.
It really depends on the tape conditions. I do not (generally) use a frameTBC and I have 0 dropped and 0 inserted frames 99% of the time (just 1 or 2 inserted frames on 2 hours capture 1% of the time, having no effect on anything).

Quote:
I also realize I inaccurately referred to 4:2:2 as a colorspace
A color space is RGB or YUV or other, a chroma subsampling is 4:4:4 or 4:2:2 or 4:2:0 or other; often they are related. Do not worry, we understood what you meant

A channel on S-VHS / VHS capture and AviSynth restoration https://bit.ly/3mHWbkN
Reply With Quote
  #11  
09-25-2022, 01:28 PM
KhAoS182 KhAoS182 is offline
Free Member
 
Join Date: Oct 2021
Location: Spain
Posts: 99
Thanked 4 Times in 4 Posts
Quote:
Originally Posted by lollo2 View Post
Post the AmarecTV log file of a long capture, and a segment at the end where audio and video are asynch
Okay! I will do a capture now and post the log file and I will attach a YouTube link with the example.

Using AmaRecTV I don't have desynchronization, but it does tell me about drop and +1 adds up.
Reply With Quote
  #12  
09-25-2022, 01:54 PM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
Quote:
Okay! I will do a capture now and post the log file and I will attach a YouTube link with the example..
No please, just a sample of the raw capture showing the asynch (if any)

Quote:
Using AmaRecTV I don't have desynchronization, but it does tell me about drop and +1 adds up.
But then there is no problem! (i suspected since the beginning that your problem is different than the topic started from FleshWound )

A single inserted frame is not a problem at all. If the drops only appear at the beginning of the capture, try several combination of starting before and after the play of the tape or the activation of the capture in the software.
Reply With Quote
  #13  
09-25-2022, 02:27 PM
KhAoS182 KhAoS182 is offline
Free Member
 
Join Date: Oct 2021
Location: Spain
Posts: 99
Thanked 4 Times in 4 Posts
Quote:
Originally Posted by lollo2 View Post
No please, just a sample of the raw capture showing the asynch (if any)



But then there is no problem! (i suspected since the beginning that your problem is different than the topic started from FleshWound )

A single inserted frame is not a problem at all. If the drops only appear at the beginning of the capture, try several combination of starting before and after the play of the tape or the activation of the capture in the software.
Please lollo2, see this. Is very strange. I'm capturing now and I will attach the log file.

https://www.youtube.com/watch?v=hueF0Idnsug
https://www.youtube.com/watch?v=lPeNJoptsGc
https://www.youtube.com/watch?v=vCtlCMcUwcU

EDIT: AmaRecTV log .txt attached


Attached Files
File Type: txt amarec(20220925-2135).txt (7.08 MB, 6 downloads)

Last edited by KhAoS182; 09-25-2022 at 03:11 PM.
Reply With Quote
  #14  
09-25-2022, 03:54 PM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
The drop frames that you show in the youtube videos while you are not capturing are not relevant.

The log file show dropped frames at:
NT=00:03:06.743s(Drop), Total=1
NT=00:03:40.379s(Drop), Total=2
NT=00:07:13.805s(Drop), Total=3
NT=00:10:02.883s(Drop), Total=4
NT=00:12:50.524s(Drop), Total=5
NT=00:13:14.781s(Drop), Total=6
NT=00:13:32.003s(Drop), Total=7
NT=00:20:29.438s(Drop), Total=8
NT=00:21:59.899s(Drop), Total=9
NT=00:30:45.052s(Drop), Total=10
NT=00:31:18.688s(Drop), Total=11

and inserted frames at:
NT=00:25:42.532s(46213f), Total=1
NT=00:25:43.104s(46231f), Total=2
NT=00:26:16.304s(47225f), Total=3
NT=00:26:16.705s(47238f), Total=4

It is possible that the tape has some drop, verify that when playing the tape you do not see a "glitch" at these positions, and verify across multiple captures if the dropped and inserted frames are exactly at the same position.

I found strange the number "Buf=", that for me is always at 1, while in your report is changing. I suspect bad buffering.

I suggest to check all points as in this post https://www.digitalfaq.com/forum/vid...html#post86813, and to double check all settings in AmarecTV (NTSC/PAL, HuffYUV parameters, framerate, colospace, etc)

A channel on S-VHS / VHS capture and AviSynth restoration https://bit.ly/3mHWbkN
Reply With Quote
Reply




Tags
amarectv guide, audio desync, inserting frames, out of sync, virtualdub

Similar Threads
Thread Thread Starter Forum Replies Last Post
Frame inserts due to audio sync correction? RobustReviews Capture, Record, Transfer 11 09-18-2021 06:18 AM
Early captures, disable VirtualDub frame drops/inserts? ukandy Capture, Record, Transfer 3 03-20-2021 04:23 PM
Video/audio works in AmarecTV, but not in VirtualDub? lijeu Capture, Record, Transfer 15 12-31-2020 10:29 AM
Virtualdub desyncs when overlay video is activated unentschieden Capture, Record, Transfer 4 12-17-2018 11:17 AM
Virtualdub with audio preview dropping frames Spektre Capture, Record, Transfer 5 07-16-2012 04:30 PM

Thread Tools



 
All times are GMT -5. The time now is 05:19 AM