Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th June 2020, 17:44   #1  |  Link
stephen22
Registered User
 
Join Date: Jan 2007
Posts: 59
Appending AVI

Anybody any idea how to deal with this bit of nonsense? Both clips recorded on a cheap webcam as wmv and converted with ffms2. Using assumefps or virtualdub to correct the framerate - same problem with either.
Attachments Pending Approval
File Type: jpg error.jpg
stephen22 is offline   Reply With Quote
Old 1st July 2020, 14:22   #2  |  Link
stephen22
Registered User
 
Join Date: Jan 2007
Posts: 59
Dunno how long it takes to get approval for a jpeg, but I've sussed it.

The error report said Can't append avi because different sampling rates, quoting 2 sample rates identical to 6 decimal places. I forgot framerate is a rational value. Interestingly the 2 hex numbers in the error report (which did the trick) do not divide to give the stated fps (29.85614), but precisely 29. Maybe someone can make sense of that.
stephen22 is offline   Reply With Quote
Old 1st July 2020, 15:06   #3  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 8,247
You can change framerate of clip by eg
Code:
a=AviSource("...")
b=AviSource("...")
bnew=AssumeFps(b,a) # ,sync_audio=true)  # change b to same as a fps. change audio rate too if sync_audio=true, might need Resampleaudio to original rate.
EDIT:
Quote:
change audio rate too if sync_audio=true
Well it changes audio length/duration to match new fps, but that also results in changed audio samplerate.

Approval, best use some image host and directly embed in post.
PostImage.org, can create account or no expire upload without account, but cannot delete and some other stuff without account:- https://postimages.org/
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 1st July 2020 at 15:10.
StainlessS is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.