Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Combining Many Clips With Different Properties, frame rate, sample rate, sample size etc
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
aodhanloki
  Posted: Oct 11 2012, 10:58 PM


Newbie


Group: Members
Posts: 1
Member No.: 35547
Joined: 11-October 12



Thanks in advance for your advice;

I'm new to video editing and I am trying to make a video about 10 minutes long with 20 - 25 different "scenes". I've taken a 15 minute long video that I took with a point and shoot camera and sliced it up into the different scenes that I want and created separate avi's for each. I am also taking video that I have had on my computer some time which has been taken with different cameras (some from camcorders, some from other point and shoot cameras) and I have sliced that up into different scenes and created separate avi's for those.

In the end, I have 20 - 25 different AVI's that have varying properties. Here's what I've done so far:

1)
Error: Video size doesn't match
Solution: Easy - resized video so they match

2)
Error: Frame Rate doesn't match
Solution: Obvious - select full processing and change frame rates to 30fps

3)
Error: Sample Rate doesn't match
Solution: Select full processing on audio and change sample rate to 48000hz for everything

4)
Error: Sample Size doesn't match
Solution:

This is where I'm at. Besides the fact that I feel like there are way too many steps to make these compatible, I still don't know if I'm de-syncing the audio and causing other problems that I'll find when I finally get these two things to combine. And I'm just on the first two scenes!

Can anyone else help me out with a better solution/best practice for this kind of thing?

Thanks again for any help you can provide!

-Matt
 
     Top
-vdub-
Posted: Oct 13 2012, 01:28 AM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



Joining video clips

Get information from each video using MediaInfo, GSpot or Virtualdub. (MediaInfo preferred atm)

Video
Video Framerate (fps)
Aspect Ratio (16:9 etc)
Frame Size (width:height)

Audio
Sample Rate (KHz)
Bitrate (kbps)
Audio Framerate (fps) [see below - Audio Other]

Video Other
Video source Progressive or Interlace
Video destination Progressive or Interlace

Audio Other Audio (fps)
Audio has framerate (fps) also and will be the same as the video. When change the video (fps) also need to change the audio (fps). To keep the audio aligned (sync and duration) to the video as it was originally. MediaInfo can show both the video and audio fps (if known by MediaInfo).

Changing audio frame rate using external audio editor
Load audio into an external audio editor, set/change the fps to what you need. Export the audio to desired format add to video in virtualdub using Audio - Audio From Other File...

Changing audio frame rate using Virtualdub Time Stretch audio filter
Full Audio Processing - Use advanced Filtering - Filters - [Add (in order)] Input - Time Stretch - Output
This will ensure if any of the video have different fps will stretch to new fps if changed.

Notes
Video Other not needed to join video clips, although can keep the video quality with each joined video clip.
Audio Other not needed to join video+audio clips. Although can keep the audio sync and duration correct to each joined video clip.
 
    Top
websmrf
Posted: Oct 25 2012, 12:05 PM


Newbie


Group: Members
Posts: 3
Member No.: 35610
Joined: 25-October 12



I don't remember having seen the "Sample Size doesn't match" error before, but you could go through an AVISynth script which might report the difference between clip's characteristics in a more detailed way.

Otherwise go to virtualdub's File -> File information menu for two of your different clips which won't join, and post the screenshots here.

w.
 
     Top
dloneranger
Posted: Oct 25 2012, 12:29 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Sample size not matching is when one clip has 16 bit audio and the other has 8 bit
In the audio conversion page just change the sample size to 16 bit, just like you do for changing the rate to 48000

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
3 replies since Oct 11 2012, 10:58 PM Track this topic | Email this topic | Print this topic

<< Back to Advanced Video Processing