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. |
![]() |
#1 | Link |
Registered User
Join Date: Mar 2003
Posts: 194
|
TimeStretch tempo on Multi-channel audio
Hi, I am using TimeStretch tempo on a Quicktime file which has multichannel audio (10 channels) but am having some issues.
Source file is a Quicktime Prores, 1920x1080, 23.98, 10 channels of 24 bit PCM. So I am converting from 23.98 HD to 25 SD keeping the audio pitch. This is the avs script I am using: Code:
QTInput("Prores_10_Channel_Audio.mov", quality=100, audio=2) ColorMatrix(mode="Rec.709->Rec.601", clamp=0) Spline64Resize(720, 576) TimeStretch(tempo = 25.0/(24000.0/1001.0)*100.0) AssumeFPS(25, 1) Or is there a better way to 'stretch' the audio, with a different plugin maybe? Kind regards. |
![]() |
![]() |
![]() |
#2 | Link | |
Moderator
![]() Join Date: Nov 2001
Location: Netherlands
Posts: 6,356
|
Quote:
I think the current sources are based on SoundTouch 1.4.0. There are a lot of improvements since that time, so it will be worthwhile to update the library. However in the changelog of the library I see nothing about multichannel, so i can't tell whether they fixed it or not. You can always ask them and report back to us ![]() edit: sounds like that added it a year ago. Will try to update the library when I have some time ... Last edited by Wilbert; 18th February 2015 at 19:39. |
|
![]() |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: Mar 2003
Posts: 194
|
Thanks for your reply, nice to know it has been fixed. Is there anyway I can use the latest version of SoundTouch now with Avisynth? I see they have a SoundTouch DLL library 1.8.1 for Windows, can I put the SoundTouch.dll in the Avisynth plugins folder and use?
Kind regards. |
![]() |
![]() |
![]() |
#6 | Link |
Moderator
![]() Join Date: Nov 2001
Location: Netherlands
Posts: 6,356
|
Please try and report your findings: http://www.wilbertdijkhof.com/avisyn...ouch_1.8.0.zip
|
![]() |
![]() |
![]() |
#7 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,713
|
I tried the new Avisynth with a few samples and listened to the TimeStretched version after downmixing to mono on playback, and aside from the speed difference I can't pick the timestretched version from the original. I don't have a very good sound system but so far the obvious phasing seems to be gone. Thank you.
The only downside for me is MeGUI uses Avisynth+ by default and that requires a separate TimeStretch.dll plugin. Is Avisynth+ still being developed or is it pretty much dead? Now I wonder if someone will update the foobar2000 SoundTouch plugin. The current version only works with stereo audio (for obvious reasons) but it's also only accurate to two decimal places (time stretching specified as a percentage) and even then I don't think it's particularly accurate anyway. I guess I can only dream...... ![]() |
![]() |
![]() |
![]() |
#8 | Link | |
Registered User
Join Date: Mar 2003
Posts: 194
|
Quote:
I will report back once I've run some tests. Kind regards. |
|
![]() |
![]() |
![]() |
#10 | Link | |
Registered User
Join Date: Mar 2003
Posts: 194
|
Quote:
Kind regards. Last edited by speedyrazor; 28th February 2015 at 15:48. |
|
![]() |
![]() |
![]() |
#13 | Link | |
Registered User
Join Date: Mar 2003
Posts: 194
|
Quote:
Kind regards. |
|
![]() |
![]() |
![]() |
#20 | Link |
Moderator
![]() Join Date: Nov 2001
Location: Netherlands
Posts: 6,356
|
link: http://www.wilbertdijkhof.com/TimeStretch_v258.zip
license: gpl documentation: http://avisynth.nl/index.php/TimeStretch changelog: * version: 2.5.8.0 (requires at least AviSynth v2.58) * filter is named to TimeStretchPlugin * multichannel support * updated SoundTouch library to 1.8.0 usage: Code:
LoadPlugin("D:\AviSynth\Plugins\TimeStretch\Release\TimeStretch.dll") v = BlankClip() a = NicMPG123Source("D:\AviSynth\Plugins\TimeStretch\sample_orig.mp3", false) c = audiodub(v,a) c.TimeStretchPlugin(pitch=100*pow(2.0, 3.0/12.0)) |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|