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 28 Dec 2002, 09:03 PM   #1
Junior Member
Junior Member
 
Join Date: Dec 2002
Posts: 16
Default DivX movie audio skips every couple of seconds

Trying in here since i got no response in the junior member forum

Help!

i'm totally new to the encoding thing, but i am relativly competent at following guides and the like. My problem is this....i am ripping a dvd for my sister so she can watch it on her laptop that doesn't have a dvd drive

when the encode is finished, i notice that the audio seems to "skip" or choke or something...closest i can come to really discribing it is a hiccup or a trip.


Movies run fine on the system, so i know the problem is in the encoding. When i do an encode, i make sure nothing else is runnig on the system besides DVDx, explorer, and systray. I'm totally lost as to why i'm getting this sound problem. it normally doesn't start till about 30 seconds into the film. I've been trying multiple ways of encoding this thing, messed with all the settings i could find documents on, consulted multiple sources of settings to find an average of the "best" settings, used the bit-rate calculator to determine that, so on and so forth.

my goal is to be able to do a 1- or 2-step dvd rip, primarily good with anime films. DVDx lends itself nicely towards this goal, but i can't seem to get this right yet....i'm driving myself nuts i think.

please note: just because i tweaked out all the settings doesn't nessescerily mean i know what exactly they do, or why they are set that way. I processed a lot of info when i started having problems encoding this thing, and these are the settings that came up the most for encoding anime films.

*On a side note, i found that when doing 2-pass mode, the whole move wasn't encoded using the "Whole Movie" option....it cut the film off about 10 minutes from being finished...so i added 10 minutes to the time to try and get around that...anyone have a better solution?

thank you!

Settings:

Movie: Vampire Princess Miyu: The Haunting (Anime, 1:42:17)
Source: Ripped VOB Files

Encoding Program: DVDx 2.0
Input Settings:
DeMacrovision
KeySearch: Each VOB/Cell
iDCT: SSE/3DNow+
Audio/Video Sync
Output Framerate: 23.976

Output Settings:
Audio Codec: Lame MP3 3.92 MMX
128 kb/s 44.1 KHz 16Bits Q3
Resolution: 640 x 480
Zoom: Full
Resize: BiCubic SSE/3D Now
*Max Frame: 147164
*Target Time to Encode: 01:42:17

Video Codec: Divx 5.02 Pro
1 Pass VBR, 831 kbs
Keyframe Interval: 150
Basic Video Deinterlace
Max Quantizer: 8
Min Quantizer: 4
(Everything else default)

Current Resolution: 1280 X 1040, High Color (16 bit)
Monitor: Princton Ultra 72 17"
System Specs:
OS: Windows 98 SE
AMD Athlon XP 1700+
256 MB DDR RAM
80 GB hard drive with plenty of space
NVidia GeForce 2 MX Based video card
AMurderOfCrows is offline   Reply With Quote
Old 30 Dec 2002, 12:06 PM   #2
Super Moderator
 
UncasMS's Avatar
 
Join Date: Nov 2001
Posts: 9,047
Default

since i dont (nor intend to) use DVDx, i can hardly tell critical settings in dvdx.

maybe you should look for a detailed guide on dvdx or try routines that have proven to be reliable (like gordianknot for example). in case you want to give GK a try follow my guide if you like (upper anigif)
__________________
UncasMS is offline   Reply With Quote
Old 30 Dec 2002, 07:48 PM   #3
Junior Member
Junior Member
 
Join Date: Dec 2002
Posts: 16
Default

Can someone use GK to do a 1 or 2 step encode? like i said, that was my goal...all i want to do is change a couple of settings depending on the movie, press "Start", go to bed and wake up with it done, since the only time the system is really free to do encodes is when i'm unconsious.

Have you ever run into a problem with the sound like this before? It starts out fine for maybe a minute but then starts to skip regularly...

i suppose if i can't make anything else work, i'll try GK, just to get it done....but if someone out there was willing to do a more in-depth FAQ about using DVDx, i'd really appreciate it

thank you
AMurderOfCrows is offline   Reply With Quote
Old 4 Jan 2003, 09:31 AM   #4
Junior Member
Junior Member
 
Join Date: Dec 2002
Posts: 16
Default

*bump*

if anyone can give me info on DVDx and DivX Pro 5.02 (and why the audio starts hiccuping, let me know
AMurderOfCrows is offline   Reply With Quote
Old 9 Jan 2003, 09:10 AM   #5
Junior Member
Junior Member
 
Join Date: Jan 2003
Posts: 23
Default

Force 24 hz button in the input of dvdx, will work for you ( Uncheck them both) try it
Cheers

Last edited by xvid; 18 Jan 2003 at 07:42 PM
xvid is offline   Reply With Quote
Old 9 Jan 2003, 12:44 PM   #6
Junior Member
Junior Member
 
Join Date: Dec 2002
Posts: 16
Default

thank you for your advice....i still get the sound skipping at about the same place though.

any other ideas?

thank you
AMurderOfCrows is offline   Reply With Quote
Old 9 Jan 2003, 01:03 PM   #7
Super Moderator
 
UncasMS's Avatar
 
Join Date: Nov 2001
Posts: 9,047
Default

have you tried gordianknot yet?
UncasMS is offline   Reply With Quote
Old 9 Jan 2003, 02:27 PM   #8
Junior Member
Junior Member
 
Join Date: Dec 2002
Posts: 16
Default

hi

no i haven't as i don't have the time to work through all the settings and do each part seperately. since the audio is in japanese i need the sub titles, and doing them in a seperate process is just going to make me not want to do this.

i'm *REALLY* hoping someone out there has an idea about my dvdx problem. dvdx is a lot more simple to use and doesn't require as much space or as many steps as a GK seems to need. My end goal is a "adjust a couple of setting depending on the movie, press a button to start it, go to sleep and wake up with a finished divx movie" way of doing things, because i truly do not have the time to do this in the hours i'm awake

If i have to use GK, i will, as i said before, but i won't have the time for awhile. still, what i am looking for is a no-brainer way to do this, one that works especially well with anime films. And i did modify the dvd info when i ripped it....i mapped the japanese audio to the english audio channel. one of the programs in GK told me that if i modified the vob files that i can't go any further

tell me, does your FAQ (or do you personally) recomend settings for Interlaced NTSC Anime films done in 24 fps, original resolution being 720 x 480 16x 9 but being only being properly displayed at 4:3, encoding to be done with DivX Pro 5.02 for NTSC, subtitles needed, black bars cut out of the encode, video formatted for 4:3, VOB file having the japanese audio replace the english, when you need the file to fit on a 700 mb 80 min cd-r at the highest possible resolution?


if you can help me with those settings, then i'll use GK right now...because for at least one of the movies, i just want to get it done....and having the settings force fed to me is about as close to no brain/sleep and wake up finished that GK looks like it will be able to do.


thanx again for your help, all of you

happy new year

/<
AMurderOfCrows is offline   Reply With Quote
Old 9 Jan 2003, 02:55 PM   #9
Junior Member
Junior Member
 
Join Date: Oct 2002
Posts: 15
Default

a possible cause for this might be differing audio & video lengths
If these are different but the interleaving between them is timed so they both end at the same time, this can cause the audio to reset to a slightly new location at each interleave (you don't list this setting in your run-down). try turning off audio/video sync, or try opening the audio and video in separate editors to see if the lengths differ and trim/insert silence the end of the audio so that the lengths match.

If you're wondering why the stream lengths may not match? I'm guessing about your case because in my experience, the audio on a DVD typically ends a few seconds earlier than the video.

I don't use the program you're talking about so I don't know the specific results of what I'm mentioning here, but I've gotten similar "hiccup" symptoms in an audio stream using VirtualDub when trying to sync audio & video streams of different lengths.
demise is offline   Reply With Quote
Old 9 Jan 2003, 03:22 PM   #10
Junior Member
Junior Member
 
Join Date: Dec 2002
Posts: 16
Default

thank you for responding man!

your idea seems to have worked...i don't get the hiccuping any longer, though i did run into an audio dcoding error instead. i was asked if i wanted to continue...if i choose continue, it leaves a crappy audio hole for a second (fill with blank), but seems to go on from there fine.

if i don't continue the movie stops encoding there.

here is the full error message:

Sample not found or audio decoding error.
It happens sometimes at begining or end of movie.
Select continue will fill audio buffer with blank.
Continue?
Yes No


does this mean i did a bad rip of the movie? is there any way to repair it? can this be the result of my mapping the japanese language to the english audio channel?

in watching the playback of what i had encoded up to that point, one character started speaking before her lips started to move...

obviously, i'm only doing a sample of the movie each time, about 2 minutes worth, just enough to see if the skipping problem happens or not.

thank you for your help

/<

Last edited by AMurderOfCrows; 9 Jan 2003 at 03:28 PM
AMurderOfCrows is offline   Reply With Quote
Old 9 Jan 2003, 03:40 PM   #11
Junior Member
Junior Member
 
Join Date: Oct 2002
Posts: 15
Default

with what program did you get the audio decoding error?
demise is offline   Reply With Quote
Old 18 Jan 2003, 07:41 PM   #12
Junior Member
Junior Member
 
Join Date: Jan 2003
Posts: 23
Default

Okay, after encountering another movie file, and getting the hiccuping sound, i unchecked the "force 24hz" button and unchecked the "Detect 24hz" button and . . . . . .
just like magic, the sound is perfect again. Back on track.
Murder hope you haven't given up on this old two step dvdx2.0
cheers
xvid is offline   Reply With Quote
Old 19 Jan 2003, 05:10 AM   #13
Junior Member
Junior Member
 
Join Date: Dec 2002
Posts: 16
Default

i treid it again last night after reading this

I gave up on Vampire Princess Miyu and instead tried to encode Vampire Hunter D: Bloodlust.

it worked, and i encoded with a minimum of 830 kb/s, and ended up with a divx file of less than 500 MB. So i encoded again, this time at 1000 kb/s. and again at 1200 kb/s. and then 1500. and then 1800. then 2200. and then 3500

the last 2 were the most confusing....it almost seems as if the encode at 2200 is better than the one at 3500...there is noticable pixelation on the 3500 that wasn't in the 2200

oh, and the size differance between them? 2200 was 586MB, 3500 was 593MB.

but, it worked. anyone know how i can squeeze a bit more quality out of this movie?

as for the sound problems i had, i'm giving up on using DVDx with that anime. removing the Detect 24 option cause the film to error with "too much sample" or something silly like that


so, i give up. How on earth do i use Gordian Knot to encode an anime movie with an altered DVD Rip to DivX with NTSC video, english subtitles, and a target size of around 700MB?

gordian knot just seems like such a huge undertaking...

thank you all

/<
AMurderOfCrows is offline   Reply With Quote
Old 19 Jan 2003, 08:38 AM   #14
Junior Member
Junior Member
 
Join Date: Oct 2002
Posts: 15
Default

Here's how I rip a DVD. You'll find thousands of these lists posted, but at least I know the following will work. Unfortunately, there is no magic DVD ripping software that actually works yet, and so ripping a DVD is a huge undertaking, but when you find the scheme that works for you, you just jump step to step as though its all logical. It just takes some getting accustomed to. Everything in the following list with the exception of SoundForge can be downloaded for free from divx-digest.com (I don't know of any free visual sound editors, but the step is necessary for verifying the length and volume of the audio)

1. SmartRipper
a. Decryption/Extraction of VOB -> M2V video + ACM audio
(Make sure to check off seperate files in stream processing)

2. DVD2Avi
a. create compatible .d2v file for vfapi
(SmartRipper makes a .d2v file, but vfapi or any other program
that uses .d2v files can't seem to read it) If anyone has
another suggestion for this step, I'm open to ideas.

3. VFAPI
a. create virtual .avi for VirualDub using .d2v file

4. BeSweet
a. AC3 audio -> PCM audio (don't downsample or normalize)
(NOTE: without Soundforge you can downsample, normalize,
and encode to mp3 using this and the 'Lame' mp3 codec)

5. SoundForge (or CoolEdit, or etc...)
a. PCM audio -> MP3 audio
b. normalize (bring avg. RMS to 18~20)
c. downsample 48kHz -> 44.1kHz
d. trim/insert silence to end of file to make length = to video

6. MP3trim
a. create wav embedded mp3 audio
(I use this because I've noticed problems with using the wav
embedded mp3 file from any normal sound editor) If anyone
has another suggestion for this step, I'm open to ideas.

7. Virtual Dub
a. M2V video -> DivX video
b. trim filter (trim extra black from sides, usually 12 left, 4 right)
c. resize filter (set to 640x480)
c. inverse telecine filter (in framerate options)

I don't know why you couldn't get your target size with those settings. sounds like a problem i used to run into on occaasion when using divX (version 3) hacked mp43 compression. Is this what you're using? If so try with version 4 or 5. If you're already using those then I'm clueless. Also try the 2 pass VBR, as CBR can yield unexpected results sometimes in file sizes. another option is Xvid (non proprietary divx) which will allow you to specify an end file size instead of a bitrate on 2 pass VBR encoding.
demise is offline   Reply With Quote
Old 29 Jan 2003, 01:08 AM   #15
Junior Member
Junior Member
 
Join Date: Jan 2003
Posts: 1
Lightbulb

i had the same problem before, and i had tried changing all the settings and came to this forum but still failed. but the problem is fixed now. how i did it? re-install my operating system n all softeware. coz something must be wrong with my/your computer!
louiechan 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 03:59 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