You are not logged in.

#1 2010-04-25 17:19:33

grimrider
Member
From: Ohio
Registered: 2008-12-09
Posts: 60

DVD -> AVI periodic lag issue

Im trying to backup a DVD i just purchased and the whole rip/transcode process goes flawlessly.  The quality is great, except for 1 issue.  The skips a few frames once or twice a second.  here is a screenshot of my dvd::rip settings, and a few seconds of the resulting avi file (dont worry, the video is only the 20th century fox logo, none of the actual movie).

http://www.megaupload.com/?d=33S8KCL0
http://www.megaupload.com/?d=YLKE18JU

If the files are unaccesable, let me know and I will upload them elsewhere.

EDIT:  Google Docs, didnt work, reuploaded to megaupload

Last edited by grimrider (2010-04-25 17:24:29)

Offline

#2 2010-04-25 17:48:06

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: DVD -> AVI periodic lag issue

I can't grab those files for some reason. But FYI, you're not violating any copyright laws for very short film clips for debugging purposes.

Offline

#3 2010-04-25 17:52:43

grimrider
Member
From: Ohio
Registered: 2008-12-09
Posts: 60

Re: DVD -> AVI periodic lag issue

skottish, I can email them to you if you would like,  or if you know of a better uploading service, that would be great too.

Offline

#4 2010-04-25 18:02:47

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: DVD -> AVI periodic lag issue

grimrider wrote:

skottish, I can email them to you if you would like,  or if you know of a better uploading service, that would be great too.

I don't know much about file sharing sites, so I'm not going be too helpful there. Give it a few minutes though. megaupload has a message about the files being temporarily unavailable. If that doesn't change soon, you can e-mail them to me.

Offline

#5 2010-04-25 20:33:53

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: DVD -> AVI periodic lag issue

megaupload doesn't work well unless you pay them, but I got the video anyway.

This is probably where your problems lie:

ffmpeg is reporting:

[mpeg4 @ 0x22e1340]Invalid and inefficient vfw-avi packed B frames detected

and

[mp3 @ 0x7f634ceec320]incomplete frame16 378/378  2% 96%  0.3% 0 0

The mp3 error probably isn't anything to concern yourself about, but the mpeg4 error is. It seems to be indicating that the issue is within the avi container itself. May I ask why you're encoding to avi? It looks as if you're attempting to make a file compatible with older versions of DivX. Is that correct?

--EDIT--

Whoops. The file the written with the version before the current release of xvid, so it's been around for a while.

Offline

#6 2010-04-25 20:53:05

grimrider
Member
From: Ohio
Registered: 2008-12-09
Posts: 60

Re: DVD -> AVI periodic lag issue

Haha to be honest, I have no clue what I'm doing. I took that screenshot using xvid4, but I've also tried xvid, ffmpeg/h264 and a few other combinations with the same results. How should I set everything to avoid problems?

Last edited by grimrider (2010-04-25 21:00:08)

Offline

#7 2010-04-25 21:02:19

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: DVD -> AVI periodic lag issue

grimrider wrote:

Haha to be honest, I have no clue what I'm doing. I took that screenshot using ffmpeg, but I've also tried xvid4 with the same results. How should I set everything to avoid problems?

Don't use avi for starters. It's a crappy, old, grumpy container that simply won't acknowledge it's own death.

To see if it's the container itself and not the stuff inside simply:

ffmpeg -i example.avi -vcodec copy -acodec copy example2.mp4

I'm suggesting mp4 here and not mkv because ffmpeg's matroska implementation has been off and on buggy for a long time.

Offline

#8 2010-04-25 21:04:25

grimrider
Member
From: Ohio
Registered: 2008-12-09
Posts: 60

Re: DVD -> AVI periodic lag issue

all recovered from my hdd crash big_smile

Last edited by grimrider (2010-04-26 00:09:29)

Offline

#9 2010-04-26 00:08:45

grimrider
Member
From: Ohio
Registered: 2008-12-09
Posts: 60

Re: DVD -> AVI periodic lag issue

unfortunately that didnt help, it still jumps skips frames on an interval.

Offline

#10 2010-04-26 01:02:13

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: DVD -> AVI periodic lag issue

grimrider wrote:

unfortunately that didnt help, it still jumps skips frames on an interval.

I'm seeing it here too with that sample and this system can easily decode much more compressed streams. In short, the encoding is probably bad.

Offline

#11 2010-04-26 01:09:34

grimrider
Member
From: Ohio
Registered: 2008-12-09
Posts: 60

Re: DVD -> AVI periodic lag issue

well, what should i do differently to sidestep this problem?  im kinda a n00b with this stuff tongue.  im doing all this straight off the dvd, and the VOB's play just fine, and im not exactly sure when its "encoded",

Offline

#12 2010-04-26 03:00:23

jocheem67
Member
Registered: 2009-11-09
Posts: 250

Re: DVD -> AVI periodic lag issue

I would suggest handbrake, a pretty "foolproof" encoding program. It's , I think , able to use your vobs and encode them to x264/aac/mp4 for example.
I myself use avidemux, which is more or less the same, but requires a bit more input from the user.
There's the CLI tools like ffmpeg/mencoder/transcode, but they all have a steep learningcurve.
Ogmrip might be a good choice too, also graphical.

Offline

#13 2010-04-26 03:20:55

grimrider
Member
From: Ohio
Registered: 2008-12-09
Posts: 60

Re: DVD -> AVI periodic lag issue

well, i would eventually like to learn how to do this from the command line, but im kinda gettin irritated with this movie, so handbreak it is.  do you know of any guides offhand for doing this from cmd line?  a quick google search brought me nothing hmm

Offline

Board footer

Powered by FluxBB