Audio Shrinking? >> Game Development >> FORUM for IT
FORUM for IT

FORUM for IT



SearchSearch   Users   Registration   Entrance
Today: 17.07.2025 - 12:18:23
Pages:  1  2  

Audio Shrinking?

Advertising

.
AuthorMessage

blueWRX

user




Statistics:
Messages: 90
Registration: 10.17.2002

Hello, Is it possible to shrink audio as per the duration of the video? For some reason the audio is longer than the duration of the video. I tried changing FPS using BeSweet, but that changes the pitch of the audio. Voices become really heavy. Any way of shrinking the audio as per the duration of the video? Video: 1:42:16 @ 25.000 FPS Audio: 1:42:22 The audio keeps getting delayed every 'x' seconds by itself. How to fix this? Thanks!

---------------------
Steve ---------- 2002 Subaru WRX Sedan w/ mods.
Message # 1 01.05.22 - 18:38:11
RE: Audio Shrinking?

Hornswoggler

user




Statistics:
Messages: 2,422
Registration: 01.19.2003

Hi! What is the format of the file? 2) What is the format of the video? 3) What is the format of the audio? 4) What is the original source material? 5) How did you manage to create the file so that the video and audio lengths don't match? - Surely your original source material doesn't suffer from that problem... 6) What software and procedures did you use to create this problematic file?

---------------------
Message # 2 01.05.22 - 18:46:21
RE: Audio Shrinking?

Luke

user




Statistics:
Messages: 2,065
Registration: 08.15.2003

Oh yea... I forgot to mention those things. My bad! 1. Video: AVI 2. Audio: MP3 3. Video: Movie DVD9 dubbed in Chinese. Audio: English audio from the VCD release. I am trying to put VCD English audio on the DVD quality video. 5. I encoded the video to 25.000 FPS AVI and then tried syncing the audio. Source video was at 29.970. 6. I didn't create the file. I extracted audio from the VCD version of movie. I used BeSweet to change the FPS, but it changes the pitch instead. Any way of auto-adjusting audio as per the video duration? Like we do it for the subtitles :P.

---------------------
Message # 3 01.05.22 - 18:55:47
RE: Audio Shrinking?

huff

user




Statistics:
Messages: 158
Registration: 07.18.2002

It's the Case B here. I set "Change so video and audio durations match", but that doesn't help much. It still is OOS by a few ms. So, I tried cutting the video scene by scene and and then syncing(-ve delay) as the the delay increases with time. It's really hard as the delay increases every 20 secs or so.

---------------------
E21, E30, E36, S52, E39, E70/E90.....
Message # 4 01.05.22 - 19:06:11
RE: Audio Shrinking?

JaySpec7

user




Statistics:
Messages: 66
Registration: 03.24.2002

Hi n0an. I suggest you to use the 'time stretch' filter in vdub. But the audio must matche perfectly in the begining. Vdub: Audio Audio from other file (choose your mp3) Audio use advanced filtering filters: In the order, add: Input-time stretch-output Close the addwindow Doubleclick on time stretch and write 0.99938411 (for more precision divise the real times with the ms) When done, choose your format and bitrate and save the all.

---------------------
Message # 5 01.05.22 - 19:13:04
RE: Audio Shrinking?

///Milk

user




Statistics:
Messages: 431
Registration: 12.18.2002

Thanks for the suggestion, but how to determine the ratio? Did you calculate "0.99938411" as per the durations given in the OP or just a standard guess? I'm using stretch. I believe, you referred to it as "time stretch". Am I right? The movie is being processed. Will post back if I have any doubt(s). P.S. I am on VirtualDubMod. Is VirtualDub preferred for syncing or doesn't make a difference? Update Doesn't work. It's still out of sync - gradual increase in delay.

---------------------
///Mooo
Message # 6 01.05.22 - 19:16:33
RE: Audio Shrinking?

///m42 sport

user




Statistics:
Messages: 641
Registration: 10.09.2003

Ok. Length of your video: 2h42min16s -> 9736s Length of your audio: 2h42min22s -> 9742s 9736/9742=0.99938411 If it doesn't work, adjust manualy the ratio and click on the second play button for previewing and adjusting(I forgot to tell you that!) And don't use interleaving in vdub for sync a/v in the begining, use an audio tool for that (mp3dc, audacity...)

---------------------
Message # 7 01.05.22 - 19:19:54
RE: Audio Shrinking?

M50E30

user




Statistics:
Messages: 281
Registration: 03.23.2002

The starting of audio and video is from starting production credits. They match in the beginning, but then they gradually go OOS. I tried the ratio, but didn't work. Can you teach me how to interleave properly in this case? I always fail to calculate the correct interleaving per ms or per frame. I can keep on (-)delaying the audio as per the correct period of (+)delay per certain frames or MS. How to calculate both of them?

---------------------
**FOR SALE** 1988 325 4-door (Mercedes Benz Brilliant Silver Metallic) 1995 325i engine: -Short Ram intake -Bored out Throttle Body -Lightend flywheel -Full stainless steel exhaust E30 325ix LSD Reiger GTS bumpers w/ M Tech II sides & wing
Message # 8 01.05.22 - 19:31:12
RE: Audio Shrinking?

Red95///M3

user




Statistics:
Messages: 201
Registration: 01.13.2002

Please load the FIRST .AVI that you created into GSpot - and then post screenshots showing video and audio info back here...

---------------------
2004 Silver Gray M3 w/mods 2007 Silver Gray X3 M Sport
Message # 9 01.05.22 - 19:36:39
RE: Audio Shrinking?

M50E30

user




Statistics:
Messages: 281
Registration: 03.23.2002

Your video have lost 1h ???? In your first post it was 2h42!

---------------------
**FOR SALE** 1988 325 4-door (Mercedes Benz Brilliant Silver Metallic) 1995 325i engine: -Short Ram intake -Bored out Throttle Body -Lightend flywheel -Full stainless steel exhaust E30 325ix LSD Reiger GTS bumpers w/ M Tech II sides & wing
Message # 10 01.05.22 - 19:45:08
RE: Audio Shrinking?
Open a session, and \'Locate file...\' comes up..... two questions.... : Previous topicNext topic: Crash on startup : error at memory location
Pages:  1  2  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants