Go Back    Forum > Digital Video > Video Project Help > Edit Video, Audio

Reply
 
LinkBack Thread Tools
  #1  
01-22-2016, 05:41 PM
Ohayou Ohayou is offline
Free Member
 
Join Date: Jan 2016
Posts: 10
Thanked 1 Time in 1 Post
So I captured a bunch of NTSC VHS tapes and am happy with the results. The frame rate for the files is 29.970030. However when I re-mux the files the frame rate changes to 29.970628. Does the decimal rounding matter at all when it comes to burning the files on a disk? A few files are also 29.970088.

Last edited by Ohayou; 01-22-2016 at 05:58 PM.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
01-22-2016, 08:39 PM
msgohan msgohan is offline
Free Member
 
Join Date: Feb 2011
Location: Vancouver, Canada
Posts: 1,323
Thanked 334 Times in 276 Posts
Remux from what to what?

DVDs and BDs have to be exactly 30000/1001 fps. But the authoring program may simply take a "close enough" rate and rewrite the header with the exact one.

The drift will be equivalent to 1 frame every 1/(file_fps - 30000/1001) seconds. Therefore small deviations require extremely long durations to actually produce a visible difference. Positive values mean a speedup and negative values mean a slowdown from the standard rate.

1/(29.970628 - 30000/1001) = ~1672 sec = 27 min 52 sec
1/(29.970088 - 30000/1001) = ~17232 sec = 4 hr 47 min 12 sec

Last edited by msgohan; 01-22-2016 at 08:57 PM. Reason: Decided to do the math for you
Reply With Quote
  #3  
01-31-2016, 02:35 PM
Ohayou Ohayou is offline
Free Member
 
Join Date: Jan 2016
Posts: 10
Thanked 1 Time in 1 Post
So when it comes down to the decimal place, the different versions I listed should all be fine since if I were to burn the files the header would just rewrite the decimal if necessary as you said?

I would also like to ask if anyone knows of any program that will allow me to re-mux my avi files while keeping the original 29.970030 fps? I've tried MANY such as avi-mux gui, mkvtoolnix and a few others. All change the frame rate decimal place and I'm somewhat picky about not altering the original files. But if any of the frame rates I posted in my first post are all commonly accepted, then I will happy.

Last edited by Ohayou; 01-31-2016 at 02:47 PM.
Reply With Quote
  #4  
01-31-2016, 02:53 PM
msgohan msgohan is offline
Free Member
 
Join Date: Feb 2011
Location: Vancouver, Canada
Posts: 1,323
Thanked 334 Times in 276 Posts
Quote:
Originally Posted by Ohayou View Post
the different versions I listed should all be fine
If the 29.970628 fps files are longer than half an hour, you will begin to notice a difference.

Likely, there will be audio desync. Your remux programs are probably trying to account for an audio track that is shorter than the video by speeding the video up.

In VirtualDub go to File -> File Information and compare the Length of the video track to the audio track's.
Reply With Quote
  #5  
01-31-2016, 03:10 PM
Ohayou Ohayou is offline
Free Member
 
Join Date: Jan 2016
Posts: 10
Thanked 1 Time in 1 Post
I just checked and both streams are exactly the same length (each file approximately 18mins each) before and after muxing. So I suppose this should be perfectly fine regardless of the decimal place, as long as they are exactly the same length?

What I'm doing is exporting the audio from my avi captured files, removing noise and muxing them back into an avi. I just wish the frame rate didn't change marginally assuming it makes any difference.

Last edited by Ohayou; 01-31-2016 at 03:25 PM.
Reply With Quote
  #6  
02-01-2016, 04:14 PM
msgohan msgohan is offline
Free Member
 
Join Date: Feb 2011
Location: Vancouver, Canada
Posts: 1,323
Thanked 334 Times in 276 Posts
I wouldn't worry about it for an 18-minute video.

Are you aware that you can do the remux you're suggesting using VirtualDub, if your noise-removed files are still in uncompresssed WAV format? (And if they're not, that could be part of the problem.)

Audio -> Audio from other file... You didn't mention trying it, so perhaps that will keep the same frame rate.
Reply With Quote
  #7  
02-01-2016, 08:44 PM
Ohayou Ohayou is offline
Free Member
 
Join Date: Jan 2016
Posts: 10
Thanked 1 Time in 1 Post
I literally just realized I could do that the other day and it works perfectly! As you mentioned I'm simply running a single pass of de-click and not altering the duration. The duration and fps are left completely untouched.

Though when I look at the file in MediaInfo there is a new line added titled:

Interleave, preload duration: 500 ms

Not sure what this means. Thank you very much for all your help thus far.
Reply With Quote
  #8  
02-02-2016, 10:46 AM
msgohan msgohan is offline
Free Member
 
Join Date: Feb 2011
Location: Vancouver, Canada
Posts: 1,323
Thanked 334 Times in 276 Posts
I don't know the precise technicalities of interleaving, but that preload duration option is found in Audio -> Interleaving in VDub. 500ms is the default there.
Reply With Quote
  #9  
02-02-2016, 05:23 PM
Goldwingfahrer's Avatar
Goldwingfahrer Goldwingfahrer is offline
Remembered
 
Join Date: Aug 2013
Location: Switzerland
Posts: 453
Thanked 84 Times in 74 Posts
In VDub but stands
Interleaved audio every = 1 Frames [40ms for PAL]

In MediaInfo is also 40 ms

see my picture


Attached Images
File Type: png VirtualDub 1.9.11 - [47.avi]_2016-02-03_00-19-49.png (401.7 KB, 6 downloads)
File Type: jpg interleave.jpg (207.8 KB, 6 downloads)
Reply With Quote
  #10  
02-03-2016, 03:23 PM
Ohayou Ohayou is offline
Free Member
 
Join Date: Jan 2016
Posts: 10
Thanked 1 Time in 1 Post
Here is an example of the changes that happens when I replace the audio using VDub:

Original:

Code:
Audio
ID                                       : 1
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Signed
Codec ID                                 : 1
Duration                                 : 18mn 15s
Bit rate mode                            : Constant
Bit rate                                 : 1 536 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Delay relative to video                  : 1ms
Stream size                              : 201 MiB (13%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 10 ms (0.30 video frame)
Muxed:
Code:
Audio
ID                                       : 1
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Signed
Codec ID                                 : 1
Duration                                 : 18mn 15s
Bit rate mode                            : Constant
Bit rate                                 : 1 536 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Stream size                              : 201 MiB (13%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 33 ms (1.00 video frame)
Interleave, preload duration             : 500 ms
Is this perfectly fine, or would you recommend an alteration?
Reply With Quote
  #11  
02-03-2016, 08:18 PM
msgohan msgohan is offline
Free Member
 
Join Date: Feb 2011
Location: Vancouver, Canada
Posts: 1,323
Thanked 334 Times in 276 Posts
Seems fine to me.
Reply With Quote
  #12  
02-04-2016, 10:09 PM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 13,662
Thanked 2,461 Times in 2,093 Posts
This is often an encoding error or quirks in the source.
The format matters. I'm guessing this is MPEG? Or is it something else? (And from a retail source/disc?)

- Did my advice help you? Then become a Premium Member and support this site.
- For sale in the marketplace: TBCs, workflows, capture cards, VCRs
Reply With Quote
  #13  
02-15-2016, 04:14 PM
Ohayou Ohayou is offline
Free Member
 
Join Date: Jan 2016
Posts: 10
Thanked 1 Time in 1 Post
This was an avi/XviD (MPEG based) capture.

Though interestingly enough when I installed my HDD and booted my OS there was some scan done on the drive to check for errors or something. And when looking at the files the frame rate changed on the raw captures from .970030 to .970029. I'm extremely confused as to what just happened.
Reply With Quote
  #14  
02-16-2016, 05:56 PM
msgohan msgohan is offline
Free Member
 
Join Date: Feb 2011
Location: Vancouver, Canada
Posts: 1,323
Thanked 334 Times in 276 Posts
The frame rate is stored in the header as a fraction, not a decimal. Some applications will round 29.97002997... to 29.970030 while others may just truncate. Some will let you see the actual fraction.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Frame rate and ghosting VHS issues- 60i back to 24p? Tygerbug Restore, Filter, Improve Quality 12 08-27-2014 09:17 AM
Changed frame rate, now have audio sync problems? rand107 Encode, Convert for streaming 1 07-29-2014 08:08 AM
VirtualDub - constant frame rate vs. variable FPS? Zerowalker Capture, Record, Transfer 6 01-10-2014 04:02 PM
Frame rate trouble in DVD Architect Reading Bug Encode, Convert for discs 15 12-31-2009 01:39 PM




 
All times are GMT -5. The time now is 06:16 PM