Quantcast Stuttering Video ? - digitalFAQ.com Forums [Archives]
  #1  
02-24-2004, 04:53 PM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
I converted an xvid .avi to SKVCD MPEG2 but on the stand alone the video is acting weird.

It seams like there are frames "missing". Like the video is "jumping"/actors are moving as in "slow-motion", but not quite.....I don't know how to describe it better.

Strange thing is that the audio is perfectly synch...

Below is my log................Please don't tell me it's a codec issue .........

PS: I used GOP settings 1-25-2-1-24 (source is 23.97 FPS)...

Code:
GENERAL INFO
- Source:		AVI (xvid)
- Movie Offset:		2 sec
- CD Overlap seconds:	No
- Startup delays:	Video: 180 ms Audio 1: 180 msAudio 2: 180 ms
- Video format:		NTSC
- Length:		01:49:14
- CD Images:		1

IMDB INFO:
Movie title:		
User rating:		
Directed by:		
Writing credits:	
Genre:			
Tagline:		
Plot outline:		

VIDEO INFO:
- Encoder:		TMPGEnc 2.513.53.162
- Rate Control Mode:	Constant quality (CQ)
- Max. bitrate:		2100
- CQ Value		73.00
- Min. bitrate:		300
- Motion search prec.:	Motion estimate search (fast)
- Field order:		Yes
- DC component prec.:	8 bits
- Output YUV as YCbCr:	No
- Floating point DCT:	Yes
- No motion search:	False
- Soften block noise:	No
- iDCT Algorithm:	
- NTSC Field Operation:	
- Deinterlace:		None
- Pulldown:		Yes, TMPGEnc internal
- Width:		352
- Height:		480
- Matrix:
			Intra:
			 8  9 12 22 26 27 29 34 
			 9 10 14 26 27 29 34 37 
			12 14 18 27 29 34 37 38 
			22 26 27 31 36 37 38 40 
			26 27 29 36 39 38 40 48 
			27 29 34 37 38 40 48 58 
			29 34 37 38 40 48 58 69 
			34 37 38 40 48 58 69 79 
			Non-Intra:
			16 18 20 22 24 26 28 30 
			18 20 22 24 26 28 30 32 
			20 22 24 26 28 30 32 34 
			22 24 26 30 32 32 34 36 
			24 26 28 32 34 34 36 38 
			26 28 30 32 34 36 38 40 
			28 30 32 34 36 38 42 42 
			30 32 34 36 38 40 42 44 

AVISYNTH SCRIPT:
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
AVISource("C:\PROGRA~1\eMule\Incoming\SCHOOL~1.AVI",False)
ConvertToYUY2()
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max=3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(352, 232+124+124, overscan=1, source_anamorphic=false, dest_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
GripBorders()
function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12 (c) }
Textsub("D:\workdirectorymovie\subtitle.srt")


AUDIO INFO:
- Audiostreams:		1
- Audio 1 Language:	Unspecified
- Audio 1 Bitrate:	112
- Audio 1 Sample freq:	44100
- Audio 1 Mode:		Dual channel
- Audio 1 Besweet:	"C:\Program Files\DVD2SVCD\BeSweet\besweet.exe" -core( -input "D:\WorkDirectoryMovie\Encoded_audio_1.mp2.wav" -output "D:\WORKDI~1\Encoded_audio_1.mp2" -logfile "D:\WORKDI~1\Encoded_audio_1.log" ) -ota( -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 112 -m d )

SUBTITLE INFO:
- Subtitlestreams:	0
- Type:			
- Sub. 1 Language:	
- Sub. 2 Language:	
- Sub. 3 Language:	
- Sub. 4 Language:	

AUTHORING INFO:
- CD Image program:	VCDXBuild
- Entrysvd:		No
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
02-25-2004, 04:54 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
THere is nothing wrong in this log. Check if the problem wasn't present in the source.
Reply With Quote
  #3  
02-25-2004, 04:55 AM
gamma gamma is offline
Free Member
 
Join Date: Nov 2003
Location: Rotterdam (The Netherlands)
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Paul,

Maybe it's because you're using NTSC instead of PAL. It could be your standalone doesn't accept it.

Try AssumeFPS(25) at the end of your script and use a PAL resolution when encoding. Maybe this solves your problem.

Furthermore, a max bitrate of 2100 is quite a lot for the resolution you used. Maybe you should try to up the resolution a bit.
Reply With Quote
  #4  
02-25-2004, 05:07 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
A hint:

If he should speedup the stream he should use

AssumeFPS(25.000,true)
Resampleaudio(44100)

otherweise the audio won't be in sync anymore.

And a max bitrate of 2100 at 352x480 is perfect as thats the 1/2 DVD NTSC Resolution means NTSC CVD

Reply With Quote
  #5  
02-25-2004, 05:30 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Pals, I remember you that Paulus do everything with DVD2SVCD so he just have to check the little box "Convert NTSC to PAL" in the soft
Reply With Quote
  #6  
02-25-2004, 05:31 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible


Thats where he got that very well detailed log from???
I was wondering
Reply With Quote
  #7  
02-25-2004, 02:04 PM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
....Yeah, still using DVD2SVCD Phil I guess I'm just too lazy for manual procedure (although I use that sometimes as well..)

the .avi source plays perfect on BSplayer. Other Xvid sources converted correctly after this particular project, so I don't want to "fiddle" with codecs or anything at this point.

My Cyberhome stand-alone can handle NTSC (S)KVCD's perfectly (most of them are NTSC), although I have an issue with quality of permanent subs, but that's another story.....

PS: I mostly use CVD res nowadays, because a lot of times I can't keep the CQ above 70 with SVCD res.

I guess I just need to try it again, maybe my CPU was "overloaded" at the time and some weird thing happened to the conversion process.......

Or maybe use GOP 1-25-2-1-30 because of Pull down of TMPGenc ?? (source is 23.97 FPS)...

I used to do all conversion with GOP 1-25-2-1-25 eventhough my source was NTSC........Maybe use that ?

Any last advice before next attempt is always appreciatet
Reply With Quote
  #8  
02-25-2004, 02:56 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Paulus
I guess I just need to try it again, maybe my CPU was "overloaded" at the time and some weird thing happened to the conversion process.......
That is a urban legend !
Video conversion is a mathematical operation ! Nothing can interfer it. Two encoding done at two different moment will give EXACTLY THE SAME RESULTS.

Quote:
Or maybe use GOP 1-25-2-1-30 because of Pull down of TMPGenc ?? (source is 23.97 FPS)...
The shuttering is on the PC or on your standalone ?
That's sure that the problem can come from pulldown but that has nothing to do with gop length.

Quote:
I used to do all conversion with GOP 1-25-2-1-25 eventhough my source was NTSC........Maybe use that ?
24 is the best, but 25 isn't really a problem.
Reply With Quote
  #9  
02-26-2004, 01:27 AM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
.....the stuttering happens on the DVD stand-alone. I think the muxed.mpg file also had this problem on the PC

It's a realy weird effect...like there's a new video picture on the tv every other half second or so.....sometimes in video clips you see this effect, but then it's done deliberately...

I just try again I think and see what happens.....
Reply With Quote
  #10  
02-29-2004, 08:37 AM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
Well, second attempt also failed.

Source plays fine ("fluently") and is an Xvid 23,976. After transcoding the muxed .mpg (29.97 FPS) the movie is still stuttering (video not fluently).

Audio is synch though. It's like during encoding every other video image is removed or something....

Any last advice......?
Reply With Quote
  #11  
02-29-2004, 09:00 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Definitely a pulldown problem. Encode it by hand and not with DVD2SVCD. I really don't know how this one deal with pulldown (I think it uses pulldown flag in tempgenc + use pulldown.exe on the video !)
Reply With Quote
  #12  
03-23-2004, 03:24 PM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
I've been real busy at work lately so little time for KVCD work .

I think a lot of my .avi transcodes were not done correctly (using D2S) indeed. Even the ones without stuttering video. Most of them were encoded as 29,97 fps were they should have been encoded as 23,976 with pulldown. So quality (size) could have been better I think.

I think Incredibles guide (http://www.incredible.de.tf/pulldown.html) explains the (manual) pulldown procedure very good. I'm gonna try it as soon as possible. (I realy want to convert this particular .avi/divx.... ).
Reply With Quote
  #13  
03-26-2004, 10:37 AM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
Damn. ....The particular Xvid I'm trying to encode now is in 25 Fps so it can't be a pulldown problem this "stuttering" I keep on having on some files....

What Xvid codec is best ? and how to try and solve this problem (remove present codec / re-install codec).

I have ACE codec pack.....Is it's Xvid codec good ?
Reply With Quote
  #14  
03-26-2004, 10:47 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Xvid is the codec that sometimes gives stange framerates that we can see in some source (25.003 insteed of 25 for instance). So I'm not sure the codec is so good on this point. But I really don't know more, i never do MPEG4 myself.

did you check if tmpgenc is really using ReadAvs and not DirectShowSource ? Because your problem can be due to the DirectSHowFilter called "Divx antifreeze"
Reply With Quote
  #15  
03-26-2004, 01:26 PM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
I am running another encode manually right now (was using D2S before ).

........Readavs.dll is on top of the list in environmental settings in TMPGenc. Should I uncheck "Directshow MultiMediaFileReader" to be sure it's not used....?

Strange thing is that in TMPGenc the "encode mode" (in settings) was set on "interlace" (? ). This is strange, because I never use it. Maybe this is not handled correctly by D2S ?

Hope I can report the good news in an hour or so, when I have a "smooth" .mpg.........
Reply With Quote
  #16  
03-27-2004, 05:46 AM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
....well it didn't work......Still the same.

I even started fiddling with setting codec priorities with Zoomplayers codec utilities but also that is no good.

Don't know what to do now.......No one has this experience before with Xvids ?
Reply With Quote
  #17  
03-27-2004, 08:17 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
All my xvids are correct ! I don't know if you still deal the the same one from the beguining but you should drop this one.

Note: I encode everything in MPEG1 23.976. But I did also MPEG2 29.970 with pulldown for friends and all was correct.
Reply With Quote
  #18  
03-27-2004, 08:18 AM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Paulus
........Readavs.dll is on top of the list in environmental settings in TMPGenc. Should I uncheck "Directshow MultiMediaFileReader" to be sure it's not used....?
Hi as far as settings in tmpge go you should check here

http://www.kvcd.net/forum/viewtopic.php?t=2223

the last pic has everything unchecked except readavs

As far as xvid's go i have done many with no problems to kvcd only not ksvcd
Reply With Quote
  #19  
03-27-2004, 08:28 AM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
I have done maybe 10 - 15 Xvids conversions with no problem. But I have dozens of .avi's which are very rare tv/vhs rips of a 70's tv series and the first episode gives me this problem. Unfortunately I cannot just "drop" these .avi's as they are so unique .

(PS: same problem also appears on other Xvids so it's not just these particular .avi's)


I keep on searching / trying......maybe "someday" I will have success
Reply With Quote
  #20  
03-27-2004, 08:51 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Perhaps you should try to use an intermediate Huffyuv avi file. The quality won't suffer as it is a lossless codec.
Use Vdub to go from Xvid to Huffyuv and use this one as source for your KVCD.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Stuttering video on kdvd? gamma Video Encoding and Conversion 10 12-08-2004 06:55 PM
DVD2SVCD: Stuttering video conversion? password Video Encoding and Conversion 0 07-02-2004 06:25 PM
KVCD: Possible fix for my stuttering video? falcon Video Encoding and Conversion 15 10-31-2003 02:45 PM
KDVD: Stuttering video and audio? Rotellian Video Encoding and Conversion 2 07-02-2003 03:45 AM
KDVD: TMPG video stuttering problem? Jon Read Video Encoding and Conversion 5 03-13-2003 10:24 PM

Thread Tools



 
All times are GMT -5. The time now is 05:25 PM  —  vBulletin Jelsoft Enterprises Ltd