Log in

View Full Version : How to avoid high pitched, sped up audio


Kim Brandstetter
19th March 2015, 21:51
Using Trim(DirectShowSource("test.MOV",audio=true,convertfps=30), 30*2, 30*7,true) I get a mickey mouse voice. How to sync audio and video?

creaothceann
19th March 2015, 21:56
Does it happen without the Trim part?

Kim Brandstetter
20th March 2015, 11:23
It does happen without the Trim part.

sneaker_ger
20th March 2015, 11:52
On my system I seem to have the same problem. Source is Stereo AAC-LC, decoder is Microsoft DTV-DVD Audio. info() says it's 6 channel audio and audio is going crazy. ???
Maybe it can be fixed by increasing merit of/installing LAV Audio or similar. But it's probably easier to switch from DirectShowSource to something more reliable like ffms2 or L-Smash-Works (http://forum.doom9.org/showthread.php?t=167435):
a=LSMASHAudioSource("test.mov")
v=LSMASHVideoSource("test.mov")
AudioDub(v, a)
Trim(30*2, 30*7)

LSMASHVideoSource has fpsnum and fpsden parameters for controlling fps in case of VFR->CFR, but usually you don't need them at all or AssumeFPS() is the better choice. If you are not opening mov or mp4 you need to replace "LSMASH" with "lwlibav".

Kim Brandstetter
16th March 2025, 23:34
It took me some years, but now I could make it work.

FranceBB
17th March 2025, 09:33
It took me some years, but now I could make it work.

A grand total of 3,649 days. "A" for persistence, I guess. XD

Emulgator
17th March 2025, 09:55
This is the average time it takes to get anything classified to work X-}}

johnmeyer
17th March 2025, 16:55
this is the average time it takes to get anything classified to work x-}}Hah! ;)