I'm sorry if this is a topic posted elswhere on the forum. I've looked briefly but have run out of time.
I'm capturing with and ATI 128 PRO PCI. I'm using MMC 7.2 (I've tried newer versions but without success--the TV function simply refuses to run).
The problem is the audio is not captured in 48khz. I think it is 22.1 or something. What is the best way to resample it (preferably with freeware). I always convert my audio to AC3. I attempted to do this as well as resample to 48khz with ffmpeg, but the resulting file was significantly out-of-sync with my video.
Is there a way to resample and not alter the length of the audio? Can I resample from the mp2 format it is captured in or would I have to first convert to .wav then resample, then convert to AC3? Thanks
+ Reply to Thread
Results 1 to 19 of 19
-
-
Cool Edit Pro does it just fine but would be a waste to spend $299.00 for just Sample Rate Conversion. I'll bet every application with a lot of zeros in their price could do a good job.
Have you tried SSRC? It should be in the Tools section. SSRC (Shibatch Sample Rate Converter) is made for just one thing. Its FREE, so i know the price is right.
Two versions are included; SSRC.exe, and SSRC_HP.exe (Hi-Precision).
It is a command line utility, but i know there is a GUI around for it. -
wavefs44. Better sounding than SSRC (IMO of course). Pretty slow, it's the same routines that DVD2Avi uses to resample. It's a CLI program, or can be used by TMPGenc. If you can read Japanese (bablefish
) http://hemiolapei.free.fr/Music/src/src.html compares SSRC and WaveFS44. With WaveFS44 coming out on top, though slower. There's a link on the page for it, the package is called WCONV04A.LZH
Other than SSRC and WaveFS44, there aren't many freeware apps to do a quality job. Most usually just set the new sample rate and apply clipping. You'll end up with bad sound and different length file.
For payware, try Cool Edit or Sound Forge. -
I use SSRC_HP.exe (Hi-Precision) with TMPGEnc. It requires only a quick edit of the "TMPGEnc.acf" file.
-
Originally Posted by au7usa
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
Wave sampling frequency converter(wavefs44) version 0.4
Copyright (c) 2000 by WTC
usage : wavefs44 <name1> <name2> [g<gain>] [p<0..3>]
name1 : source wave file name
name2 : destination wave file name
ggain : amplitude parameter
p<0..3> : precision(0:low, 1:mid, 2:High, 3:UltraHigh)
s<{32|48}> : output Fs(32:32kHz, 48:48kHz, none:44.1kHz)
q : quiet(suppress in-progress message)
C:\Documents and Settings\disturbed1> -
I thought from the name that is was specifically designed to change the sample rate to 44.1. Guess i never looked.
See kids, this is what happens when we ASS-U-ME!
Shibatch Audio Tools Homepage:
http://shibatch.sourceforge.net/
The package available here (ssrc-1.29.zip) contains both SSRC.exe, and SSRC_HP.exe, as well as source. -
to disturbed1:
Try the "--twopass" option, it might be clipping that your hearing. -
Thanks, did SSRC_HP in 2pass mode.
I must say it does sound better than an SSRC single pass. Though I still think the edge belongs to waveFS44. However the speed difference is incredible (2x maybe 3x faster). For perfect results I'll use waveFS44, and when in a hurry looks like SSRC_HP will be the way.
I used these 2 commands (anything I should change?)
ssrc_hp.exe --rate 48000 --twopass --dither 3 --bits 16
dither 3 is the ath based noise shaping which didn't work the way I thought it should.
and this one
ssrc_hp.exe --rate 48000 --twopass --dither 1 --pdf 1 --bits 16
The latter one produced the better results, with less high frequency noise and clipping. I think SSRC dithering is broken. -
Yeah, the speed advantage comes at a price. When you turn all of the switches on works fine though.
Recommended settings for SSRC are here:
http://www.hydrogenaudio.org/index.php?showtopic=17135&
They seem to agree with you on SSRC dithering being broken.
From what i gather of WaveFS44.exe (i don't read Japanese), it supports just the three sampling frequencies? Not really a problem if your using with TMPGEnc, its interface only supports the three. 48kHz / 44.1kHz / 32kHz
Looks like it was made with TMPGEnc in mind!
WaveFS44 seems to do a descent job, but i'll have to continue torture testing it.
Looks like i got another toy, Thanks! -
I just don't know which precsion level TMPG uses by default.
I use AZZA Gui, and made a custom GUI for waveFS44. Shame the azza site seems to be down. This is a great little GUI writer for CLI programs.
Heres a screen shot
And the .gui file for it
Code:[Main] Description=Wavefs44 Folder=wavefs\ CMDLineProgram=wavefs44.exe Path=C:\Documents and Settings\disturbed1\Desktop\Vid Apps\Wavefs44\ [Page1] Description=Options Item1=Option1 Item2=Option2 Item3=Option3 Item4=Option4 Item5=Option5 [Option1] Description=Wav File Input Type=Edit Subtype=File Parameter="%1" [Option2] Description=Wav File Output Type=Edit Subtype=File Parameter="%1" [Option3] Description=44khz? Type=Check Parameter=s44 [Option4] Description=48khz? Type=Check Parameter=s48 [Option5] Description=Precsion? Type=List Description1=1 Parameter1=p1 Description2=2 Parameter2=p2 Description3=3 Parameter3=p3
-
Those settings are in the "TMPGEnc.acf" file.
[wavefs44:resample:param]
" %s":SrcFileName
" %s":DestFileName
" g1"
" p2"
" s32":SamplingFrequency_32000
"":SamplingFrequency_44100
" s48":SamplingFrequency_48000
I alter the settings all the time, go ahead and chang em.
(Just remember to backup you old file: TMPGEnc.acf.BAK)
Here's what i added for SSRC_HP.exe:
---------------------------------------------------------------------
First i just added a new line to the index section at the top;
[info]
toolame*.exe=tooLAME
LAME.exe=LAME
SCMPX.exe=SCMPX
WaveFS44.exe=WaveFS44
SSRC.exe=SSRC
SSRC_HP.exe=SSRC_HP
---------------------------------------------------------------------
Then i just copied the SSRC section and pasted it below, renaming SSRC to SSRC_HP, (and added a few tweaks)
[SSRC_HP:info]
Name="SSRC HiPrecision"
SupportMethod=resample
Resample.InterfaceType=CommandLine
Resample.SupportInput=all
Resample.SupportOutput=all
Resample.SupportChannels=all
[SSRC_HP:resample:param]
" --rate %s":SamplingFrequency
" --bits 16"
" --twopass"
" --dither 1"
" --pdf 1"
" %s":SrcFileName
" %s":DestFileName
---------------------------------------------------------------------
Yes, i'm a control freak! -
Should of thought to change that file.
Here's another sample rate converter. Been a few years since I tried it out. I remember it being pretty decent though. Another tool to play with
http://www.vlsi.fi/other/VS_SRC/#Package
Some others I've tried but didn't really like
http://www.voxengo.com/r8brain/
http://www.harmony-central.com/Software/Windows/sound_file_converters.html (bunches of stuff)
Have fun 8) -
see how that audio sounds and whether you can work around capturing it at 22. depending on what it is, it could sound anywhere from decent to just bad, even if you could upsample it.
-
Hi Everyone,
I know this is one MAJOR bump i know but for anyone who drops in on the this post & would like to obtain a copy of AZZA-Gui I have found what is still a working link & here it is, grab a copy before it disapears for ever!
http://afnm.netii.net/quick.html
Scroll down the page and you will find it right click on it and save as viola you will have AZZA-Gui
Regards & Best wishes,
ispyLife is Like a Box of Chocolates.....
Similar Threads
-
Losslees Audio on DVD player without resampling
By ITISRAVI in forum AudioReplies: 7Last Post: 22nd Jun 2011, 23:28 -
[Audio] Capturing, editing, keeping a/v in sync and dynamic resampling
By rmdeboer82 in forum Capturing and VCRReplies: 1Last Post: 20th Mar 2011, 14:16 -
Resampling audio
By siluet in forum Newbie / General discussionsReplies: 5Last Post: 19th Oct 2009, 11:24 -
Audio Issues: Resampling, etc.
By tacman1123 in forum ProgrammingReplies: 3Last Post: 21st May 2008, 06:36 -
Audio sync issue even when dynamically resampling audio
By purpleman in forum Capturing and VCRReplies: 4Last Post: 19th Mar 2008, 10:18