Digital Video Forums  

Go Back   Digital Video Forums > Video File Formats > AVI, DivX/Xvid

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 29 Nov 2002, 11:54 AM   #1
Member
Member
 
eli2k's Avatar
 
Join Date: Oct 2002
Location: 4th Dimension
Posts: 67
Unhappy Please help me find another way to encode?

I've tried two times with Gordian Knot and every single time the movie is screwed up. The audio will sync, but when I click to go to, say, the middle of the movie, the audio is screwed up. So I think I do not want to use Gordian Knot anymore.

Is there a guide to help me do this with individual tools, figuring out the numbers and settings by myself? Maybe doing this manually will result in "better" divx'es.

Thanks.
__________________
-Eli
eli2k is offline   Reply With Quote
Old 29 Nov 2002, 11:57 AM   #2
Old member
 
Join Date: Feb 2002
Posts: 5,417
Default

Quote:
but when I click to go to, say, the middle of the movie, the audio is screwed up
In what sense is it screwed up?
Enchanter is offline   Reply With Quote
Old 29 Nov 2002, 01:38 PM   #3
Member
Member
 
eli2k's Avatar
 
Join Date: Oct 2002
Location: 4th Dimension
Posts: 67
Default



Well, usually it does not sync up right; sometimes the video is ahead, and sometimes it is behind.

By the way, I tried that method of loading it into Nandub and then fixing it up with the Audio > Interleaving option and changing it to milliseconds instead of frames, and that *seems* to work. However, I think I would prefer to do this on my own instead of letting the program automate it all.
eli2k is offline   Reply With Quote
Old 29 Nov 2002, 02:58 PM   #4
Old member
 
Join Date: Feb 2002
Posts: 5,417
Default

In addition, try this. Set Video -> Frame rate and select "Change so Video and Audio Durations Match."
Enchanter is offline   Reply With Quote
Old 30 Nov 2002, 08:46 AM   #5
Member
Member
 
eli2k's Avatar
 
Join Date: Oct 2002
Location: 4th Dimension
Posts: 67
Default

What does that do, anyways? Will it work if the audio is VBR based. The frame-rates do not match, too. The first one next to FrameRate would say 23.997 (or whatever, that normal number), and next to Change vid/audio to match would say 0.9842 fps, which is a lot lower. Would that affect anything?
eli2k is offline   Reply With Quote
Old 30 Nov 2002, 09:17 AM   #6
Old member
 
Join Date: Feb 2002
Posts: 5,417
Default

Quote:
Originally posted by eli2k
What does that do, anyways? Will it work if the audio is VBR based. The frame-rates do not match, too. The first one next to FrameRate would say 23.997 (or whatever, that normal number), and next to Change vid/audio to match would say 0.9842 fps, which is a lot lower. Would that affect anything?
Now I see the problem. Your audio has an expecially low sampling rate (sub-44.1KHz) and this has always given sync problems.

A few things I can suggest:
1. Upsample the audio to 44.1 or 48 KHz and remux it with nandub
2. Reencode the audio, this time making sure that the bitrate and sampling rate are decent (eg.128kbps and 48KHz)
Enchanter is offline   Reply With Quote
Old 30 Nov 2002, 02:54 PM   #7
Member
Member
 
eli2k's Avatar
 
Join Date: Oct 2002
Location: 4th Dimension
Posts: 67
Default

Heh! Now I'm lost. I don't even know how to do the unsample/remux inside Nandub. I can only seem to open the AVI. There should be a guide somewhere, right?

Is there anyway I can talk to you online through AIM or something like that? Might be easier than to keep posting back and forth. Unless you do not want anyone to bug you online, since you seem to know everything about this DivX stuff
eli2k is offline   Reply With Quote
Old 30 Nov 2002, 10:00 PM   #8
Old member
 
Join Date: Feb 2002
Posts: 5,417
Default

To upsample a given audio file, you need an audio editor such as Cooledit.

However, since you mentioned that you are creating this AVI file yourself, just redo the whole conversion, this time making sure that you use a decent bitrate (so that the MP3 encoder does not automatically downsample the audio. Usually 128kbps will do fine).

And also, I prefer doing all discussions via this board so that others can have a read and either contribute or learn from it.
Enchanter is offline   Reply With Quote
Old 1 Dec 2002, 07:39 AM   #9
Member
Member
 
eli2k's Avatar
 
Join Date: Oct 2002
Location: 4th Dimension
Posts: 67
Default

Quote:
And also, I prefer doing all discussions via this board so that others can have a read and either contribute or learn from it.
I have a bunch of questions but I don't want to post a bunch of posts about them, hehe But anyway,

Quote:
However, since you mentioned that you are creating this AVI file yourself, just redo the whole conversion, this time making sure that you use a decent bitrate (so that the MP3 encoder does not automatically downsample the audio. Usually 128kbps will do fine).
Hmm, in Gordian Knot I usually pick 128 or 160 and inside the configuration screen where you load the AC3 file, I pick BeSweet and the -alt 160, etc. Do I need to check the other box where it says to downsample to 44.1? I assume the audio on DVDs is already good quality, as in the correct khz, frequency, whatever. Maybe I should just do the audio outside of the program...
eli2k is offline   Reply With Quote
Old 1 Dec 2002, 09:48 AM   #10
Old member
 
Join Date: Feb 2002
Posts: 5,417
Default

Quote:
Maybe I should just do the audio outside of the program...
Sounds like a good idea to me. Here's my recommended method:
1. Rip audio to WAV using Graphedit/Vob2audio
2. If you wish, you can amplify the volume of the audio using an audio editor, such as Cooledit
3. Convert the WAV to MP3 using an mp3 encoder, such as LAME
4. Mux the MP3, with the video you have created, using nandub

I suggest you keep the original sampling rate at 48KHz for best results, unless your soundcard can't specifically handle 48KHz sound streams.
Enchanter is offline   Reply With Quote
Old 1 Dec 2002, 11:16 AM   #11
Super Moderator
 
UncasMS's Avatar
 
Join Date: Nov 2001
Posts: 9,047
Default

and in case you need a guide for the steps mentioned above, take a look here:

http://www.atlandide.net/~uncasms/en...php?page=sound
__________________
UncasMS is offline   Reply With Quote
Old 2 Dec 2002, 11:39 AM   #12
Member
Member
 
eli2k's Avatar
 
Join Date: Oct 2002
Location: 4th Dimension
Posts: 67
Default

Thank you Enchanter and UncasMS for that info.

One more question - can someone explain to me what muxing is, exactly?

I've seen in on the DVD2AVI screen but I've never really figured out what it really meant.

Also, regarding that problem of my divx audio not syncing up, I think it might also be due to the crummy Windows Media Player. I was going to try PowerDivx but their site was down and they only had forums. So I tried BSPlayer and it seems to work much better...

Last edited by eli2k; 2 Dec 2002 at 11:47 AM
eli2k is offline   Reply With Quote
Old 2 Dec 2002, 12:10 PM   #13
Old member
 
Join Date: Feb 2002
Posts: 5,417
Default

Muxing (video and audio) is basically joining both files together to form one single file. Say, you have one soundless video file (AVI) and one sound file (MP3), which you can mux together to form one AVI file that contains video and audio.

Quote:
Also, regarding that problem of my divx audio not syncing up, I think it might also be due to the crummy Windows Media Player.
Try WMP 6.4 (run the command 'mplayer2.exe). BSPlayer is a really good player too.
Enchanter is offline   Reply With Quote
Old 2 Dec 2002, 12:44 PM   #14
Retired
 
setarip's Avatar
 
Join Date: Dec 2001
Posts: 24,955
Default To eli2k

Just in case you might be curious about the strange sounding word "mux" - it is a contraction of the word "multiplex", which in the world of videos is typically a reference to interleaving the audiostream with the videostream (as opposed to simply "joining" them, as described by an earlier post here)...
setarip is offline   Reply With Quote
Old 2 Dec 2002, 02:01 PM   #15
Member
Member
 
eli2k's Avatar
 
Join Date: Oct 2002
Location: 4th Dimension
Posts: 67
Default

Oh, I see. So that must mean demux is to pull out the audio tracks from the VOB files?
eli2k is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT +10. The time now is 08:50 AM.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit dvdloc8.com