FAQ - LOGIN - REGISTER
MovieCodec.com Forums; Discuss audio/video codecs, file sharing, media players and more!
MovieCodec Forums/Downloads MovieCodec Navigation » Editing/Conversion Editing/Conversion
Navigation » Audio Glitching when changing over to xvid [ Multipage First ]

Audio Glitching when changing over to xvid

Bookmark and Share
[Quote] #1
20 Apr 2008 02:33 pm
Entree
Rep: 0thumbs-side

Joined: 20 Apr 2008
Posts: 2
OFFLINE
I have some video files that im trying to add a border around for the Xbox 360 so that it can get around the overscan. That ive been doing, but the recent batch of videos that ive been working on were natively in divx 3.0 low-motion codec, and that is incompatible with my xbox 360, so i decided when editing in virtualdub to put the border in, i would also change the video format to xvid L5. The audio from Gspot came up as Mpeg-4 (bunch of numbers) and anyway i put the same exact codec that Gspot sayed the audio was in because that audio works perfectly with the xbox.

Then i converted the file with the Avisynth script putting the border in, and the resulting file plays fine other then one big issue...

Everyone in the video sounds like chipmunks....

The video is perfectly on time with the audio, but the audio sounds very squeeky... almost like it was recorded on a really old microphone which was about to die.

I did this with about 9 of the 26 videos and only 6 of them have the squeek, the other 3 work prefectly. Ive tried reconverting the source file again and the same ones keep on glitching up.

Does anyone know why my audio sounds like a bunch of chipmunks, and does anyone have any tips/suggestions that i can try to get around this problem.

Also im rather new to this vidoe thing, just last month i knew nothing about codecs or what a video container was, and im still self-educating though my editing of the vidoes that i have.

[Quote] #2
20 Apr 2008 03:28 pm
Regular
Rep: 4thumbs-up

Joined: 20 Nov 2004
Posts: 1,244
Why did you re-encode the audio? You could just use a direct stream copy for audio (assuming your xbox can read that specific audio codec). Besides, direct stream copy is the default for the audio stream.
I’m not sure I’ve ever heard of an MPEG-4 codec for audio (maybe AAC = part 3 of the MPEG-4 standard). Could you check that again?
Also: if you’re working with VBR (variable bit rate) audio, you’re probably better off using NanDub, which is almost identical in interface to VirtualDub. (If you have VBR, VirtualDub will give you a warning when opening the file).

[Quote] #3
20 Apr 2008 08:09 pm
Entree
Rep: 0thumbs-side

Joined: 20 Apr 2008
Posts: 2
OFFLINE
In virtualdub, it reads under audio compression Mpeg layer 3 and then i go into that and select 128kb/s 48,000 Hz stereo 16kbs.

This is what the original audio file was in. Also when i tested a direct stream copy of the audio it came out something like PSM... (Don’t have that video file anymore since i deleted it for space...)

Im opening the video files through the Avisynth scripts that ive written through fit2cd. This was the only way that i could seem to be able to make the Avisynth process work when running it though virtual dub.

Also, here is a sample of the script that ive been using for my videos.

# -= AviSynth v2.5.8.0 script by FitCD v1.2.8 =-
AVISource(“F:\Bleach\Bleach Season 3\(70)Return of Rukia! The Substitute Team Revival unformatted.avi”wink
BicubicResize(656,448,0,0.6,0,0,640,480)
AddBorders(32,16,32,16)
#Trim(0,35837).FadeOut(150)

Last edited 20 Apr 2008 08:15 pm by deathgod
[Quote] #4
22 Apr 2008 10:47 pm
Regular
Rep: 4thumbs-up

Joined: 20 Nov 2004
Posts: 1,244
When you do a Direct Stream Copy, the video (or audio) stream gets copied as is - it doesn’t get re-encoded or anything.
One of two things have to be true:
- the original video had PCM audio
- you picked full processing mode under audio, but didn’t pick a codec. the default would be PCM then.
There’s not other way you can get a starting video with MP3 audio and get PCM audio otherwise.

I think you should feed your source video into gspot or avicodec - it will tell you accurately what the audio codec of the original file is.
For direct stream copy of audio, go to Audio, Direct Stream Copy. (That’s different from the Video, Direct Stream Copy)

There’s also the alternative of encoding the audio and video separately. Do no audio under audio when doing the video portion. Do file, save as wav for audio (remember to select audio, direct stream copy - otherwise it saves as PCM). Then combine them later.

Last edited 22 Apr 2008 10:49 pm by anonymous
Post Reply
Moderated by: Admins, Superusers

Quick Reply

Options
More Options
New Topic

Your name/nick:


Spam prevention! Repeat below:


Your Message




MovieCodec.com ©Lundgren IT 2000-8. Privacy Policy - Disclaimer
MVC Network: MovieCodec Forums/Downloads - The Lounge Forums