Quantcast DVD2SVCD: Strange Video Speed, Increases in AVI to KVCD - digitalFAQ.com Forums [Archives]
  #1  
12-21-2003, 02:50 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 made a KVCD from 2 avi's with D2s. I used CVD resolution and used MPEG1 - VCD stream, muxed as VCD. I made 2 mpg's of 400 Mb's and then used VCDeasy 1.1.6 to make the .bin's. Bitrate is 2200 max, 300 min.

The video quality is OK (CQ of 70 using the V4 script) but strange thing is that watching the KVCD on my stand-alone you see slight increases in video playback speed every 5 seconds or so.

It's very slight but noticeable, especially during "smooth" camera action where the camera moves with constant (slow) speed from left to right or so. It's like the video tries to keep up with the audio because the audio synchronicity is OK.

?? Never had this before with similar projects (2disc AVI -> 1 disc KVCD with MPEG1). Could this be caused by "autopadding" of VCD easy (don't remember seeing this errormessage this time actually) or should I look at BBmpeg settings ? (I used "forced mux rate=0" as mentioned in the KVCD from scratch guide).
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  
12-21-2003, 03:25 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Check that your audio was resampled to 44.1Khz. Not 48Khz.

-kwag
Reply With Quote
  #3  
12-21-2003, 04:42 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
And please Paulus, stop posting in this forum section with you do not use DVD2SVCD for your job
Reply With Quote
  #4  
12-22-2003, 01:51 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
Quote:
Originally Posted by Paulus
I made a KVCD from 2 avi's with D2s. .
I did use D2S, Phil.

I didn't know where the video speed problem came from (VCDeasy ?) so I posted in D2S forum.

@Kwag,

Thanks for replying Kwag, Normally I always resample to 44.1. Will check if it is set correctly in my SweetHead.ini (think so)....
Reply With Quote
  #5  
12-22-2003, 04:46 AM
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 did use D2S, Phil.
Oups, sorry, too fast reading.
Reply With Quote
  #6  
12-22-2003, 12:38 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
Kwag:

I use the SweetheadTemplate.ini below. Where is the sample setting 44.1Khz ?



; HeadAC3he INI File

INIVersion = 10

; Usually the digits mean:
; 0 - Disable
; 1 - Enable

; If an option is left blank, a hardcoded default will be used.

; DON'T change the order of the options!


; Error-details
; 0 - show everything
; 1 - skip infos, but show warnings
; 2 - show only critical errors
; 3 - show nothing (not recommended!)
ErrorDetail = 2

; Start the process automatically/manually? Quit the program automatically/manually?
; 0 - manual start and end
; 1 - auto start, manual end
; 2 - manual start, auto end
; 3 - auto start and end
StartEnd = 3

; Ask "Do you want to quit?"
; StartEnd>1 overrides this setting
ConfirmExit = 0


SourFile =

; leave blank for automatic operation or set value in ms (max/min +/-32000)
SourDelay = 0

; If DestFile is left blank, a name will be generated using SourFile

DestFile =

; 0 - AC3
; 1 - AC3-WAV
; 2 - WAV
; 3 - MP3
; 4 - Vorbis
; 5 - MP2
DestFormat = 5

; Specify bits per sample
; 2 - 16
; 3 - 24
; 4 - 32
WAVBits = 4

; Specify WAV format
; 0 - int
; 1 - float
WAVFormat = 1

; Specify 2pass mode
; 0 - none
; 1 - dumb
; 2 - hybrid
; 3 - float
TwoPassMode = 3

; Values from 1 to 100 allowed
NormalizeTo = 100


StartFrame =
EndFrame =


; Use Boost Function?
UseBooster = 0
; Types 0->3 available
BoostType = 0
; muliply desired values by 100
; allowed ranges are 1->999 resp. 0->100
BoostValue = 140
BoostStrength = 100


; Reading block size for every undefined drive
; Put in the number of 2^x Bytes:
; eg: 13 - 8KB
; 15 - 32KB
; Maximum is 23 (=8192KB)
BlockSizeGlobal = 14

; Reading block size for every defined drive
; format: drive:blocksize and use , as seperator
; eg: C:12,D:15 or leave blank
BlockSizeDrive =

; Same applies for write block settings
WBlockSizeGlobal = 18
WBlockSizeDrive =

; Specify minimum and maximum buffer in MB
; Minimum is 10
MinBuffer = 10
; Maximum buffer has higher priority then minimum
; 0 - unlimited
MaxBuffer = 128

; Specify priority for main and transfer thread (0 - idle -> 6 critical)
PriorityCPU = 3
PriorityIO = 2

; Specify *relative* I/O priority when PCM data is written
; eg. 2 means two steps lower then PriorityIO)
PCMRelPrioIO = 1


; 0 - nothing
; 1 - Azid Configuration
; 2 - MP2enc/Lame/Vorbis Configuration
ShowOptions = 0

; Show the Log window?
ShowLog = 0


; Azid Defaults:

; set to less than -2db (min is -127) to prevent clipping with wrongly(?) mastered ac3s
AzidGainCorrect =-2

; Current Preset

; Select input channels
InLeft = 1
InCenter = 1
InRight = 1
InRearLeft = 1
InRearRight = 1
InLFE = 1

; Input channel gain (-60db to 60db)
InLeftGain = 0
InCenterGain = -3
InRightGain = 0
InRearLeftGain = -3
InRearRightGain = -3
InLFEGain = -3

; Input channel DRC
; 0 - none
; 1 - light
; 2 - normal
; 3 - heavy
; 4 - inverse
InLeftDRC = 0
InCenterDRC = 0
InRightDRC = 0
InRearLeftDRC = 0
InRearRightDRC = 0
InLFEDRC = 0

; Select output channels
OutLeft = 1
OutCenter = 0
OutRight = 1
OutRearLeft = 0
OutRearRight = 0
OutLFE = 0

; Output channel gain (-60db to 60db)
OutLeftGain = 0
OutCenterGain = 0
OutRightGain = 0
OutRearLeftGain = 0
OutRearRightGain = 0
OutLFEGain = 0

; Output channel DRC
; 0 - none
; 1 - light
; 2 - normal
; 3 - heavy
; 4 - inverse
OutLeftDRC = 2
OutCenterDRC = 0
OutRightDRC = 2
OutRearLeftDRC = 0
OutRearRightDRC = 0
OutLFEDRC = 0

; global gain, needed for one pass mode (-120db to 120db)
GlobalGain = 0

; 0 - Mono
; 1 - Surround
; 2 - Stereo
; 3 - Surround 2
DownmixType = 3

; Use 7kHz low-pass for rear channels?
LowPassFilter = 0


; 2Ch Preset

; Select input channels
2ChInLeft = 1
2ChInCenter = 1
2ChInRight = 1
2ChInRearLeft = 1
2ChInRearRight = 1
2ChInLFE = 1

; Input channel gain (-60db to 60db)
2ChInLeftGain = 0
2ChInCenterGain = -3
2ChInRightGain = 0
2ChInRearLeftGain = -3
2ChInRearRightGain = -3
2ChInLFEGain = -3

; Input channel DRC
; 0 - none
; 1 - light
; 2 - normal
; 3 - heavy
; 4 - inverse
2ChInLeftDRC = 0
2ChInCenterDRC = 0
2ChInRightDRC = 0
2ChInRearLeftDRC = 0
2ChInRearRightDRC = 0
2ChInLFEDRC = 0

; Select output channels
2ChOutLeft = 1
2ChOutCenter = 0
2ChOutRight = 1
2ChOutRearLeft = 0
2ChOutRearRight = 0
2ChOutLFE = 0

; Output channel gain (-60db to 60db)
2ChOutLeftGain = 0
2ChOutCenterGain = 0
2ChOutRightGain = 0
2ChOutRearLeftGain = 0
2ChOutRearRightGain = 0
2ChOutLFEGain = 0

; Output channel DRC
; 0 - none
; 1 - light
; 2 - normal
; 3 - heavy
; 4 - inverse
2ChOutLeftDRC = 2
2ChOutCenterDRC = 0
2ChOutRightDRC = 2
2ChOutRearLeftDRC = 0
2ChOutRearRightDRC = 0
2ChOutLFEDRC = 0

; global gain, needed for one pass mode (-120db to 120db)
2ChGlobalGain = 0

; 0 - Mono
; 1 - Surround
; 2 - Stereo
; 3 - Surround 2
2ChDownmixType = 3

; Use 7kHz low-pass for rear channels?
2ChLowPassFilter = 0


; 4Ch Preset

; Select input channels
4ChInLeft = 1
4ChInCenter = 1
4ChInRight = 1
4ChInRearLeft = 1
4ChInRearRight = 1
4ChInLFE = 1

; Input channel gain (-60db to 60db)
4ChInLeftGain = 0
4ChInCenterGain = -3
4ChInRightGain = 0
4ChInRearLeftGain = 0
4ChInRearRightGain = 0
4ChInLFEGain = -3

; Input channel DRC
; 0 - none
; 1 - light
; 2 - normal
; 3 - heavy
; 4 - inverse
4ChInLeftDRC = 0
4ChInCenterDRC = 0
4ChInRightDRC = 0
4ChInRearLeftDRC = 0
4ChInRearRightDRC = 0
4ChInLFEDRC = 0

; Select output channels
4ChOutLeft = 1
4ChOutCenter = 0
4ChOutRight = 1
4ChOutRearLeft = 1
4ChOutRearRight = 1
4ChOutLFE = 0

; Output channel gain (-60db to 60db)
4ChOutLeftGain = 0
4ChOutCenterGain = 0
4ChOutRightGain = 0
4ChOutRearLeftGain = 0
4ChOutRearRightGain = 0
4ChOutLFEGain = 0

; Output channel DRC
; 0 - none
; 1 - light
; 2 - normal
; 3 - heavy
; 4 - inverse
4ChOutLeftDRC = 1
4ChOutCenterDRC = 0
4ChOutRightDRC = 1
4ChOutRearLeftDRC = 1
4ChOutRearRightDRC = 1
4ChOutLFEDRC = 0

; global gain, needed for one pass mode (-120db to 120db)
4ChGlobalGain = 0

; 0 - Mono
; 1 - Surround
; 2 - Stereo
; 3 - Surround 2
4ChDownmixType = 1

; Use 7kHz low-pass for rear channels?
4ChLowPassFilter = 0


; 6Ch Preset

; Select input channels
6ChInLeft = 1
6ChInCenter = 1
6ChInRight = 1
6ChInRearLeft = 1
6ChInRearRight = 1
6ChInLFE = 1

; Input channel gain (-60db to 60db)
6ChInLeftGain = 0
6ChInCenterGain = 0
6ChInRightGain = 0
6ChInRearLeftGain = 0
6ChInRearRightGain = 0
6ChInLFEGain = 0

; Input channel DRC
; 0 - none
; 1 - light
; 2 - normal
; 3 - heavy
; 4 - inverse
6ChInLeftDRC = 0
6ChInCenterDRC = 0
6ChInRightDRC = 0
6ChInRearLeftDRC = 0
6ChInRearRightDRC = 0
6ChInLFEDRC = 0

; Select output channels
6ChOutLeft = 1
6ChOutCenter = 1
6ChOutRight = 1
6ChOutRearLeft = 1
6ChOutRearRight = 1
6ChOutLFE = 1

; Output channel gain (-60db to 60db)
6ChOutLeftGain = 0
6ChOutCenterGain = 0
6ChOutRightGain = 0
6ChOutRearLeftGain = 0
6ChOutRearRightGain = 0
6ChOutLFEGain = 0

; Output channel DRC
; 0 - none
; 1 - light
; 2 - normal
; 3 - heavy
; 4 - inverse
6ChOutLeftDRC = 0
6ChOutCenterDRC = 0
6ChOutRightDRC = 0
6ChOutRearLeftDRC = 0
6ChOutRearRightDRC = 0
6ChOutLFEDRC = 0

; global gain, needed for one pass mode (-120db to 120db)
6ChGlobalGain = 0

; 0 - Mono
; 1 - Surround
; 2 - Stereo
; 3 - Surround 2
6ChDownmixType = 1

; Use 7kHz low-pass for rear channels?
6ChLowPassFilter = 0



; Lame defaults:

; 0-6 are alt settings, 7-22 are normal ones
LamePreset = 5

; Available modes:
; 0 - CBR
; 1 - VBR
; 2 - ABR
LameMode = 2

; allowed quality range: 9 (worst) -> 0 (best)
LameVBRQuality = 3

; allowed bitrate range: 0 (32kbps) -> 13 (320kbps)
LameMinBitrate = 0
LameMaxBitrate = 13

; allowed bitrate range: 32kbps -> 320kbps
LameAveBitrate = 112

; Lame channel encoding mode:
; 0 - stereo
; 1 - joint stereo
; 2 - dual channel
LameChannelMode = 1

LameCRC = 0
LameCopyright = 1
LameOriginal = 1
LamePrivate = 0


; Vorbis defaults:

; Available modes:
; 0 - CBR
; 1 - VBR
; 2 - ABR
VorbisMode = 1

; allowed quality range: 0 (worst) -> 1000 (best)
VorbisVBRQuality = 300

; allowed bitrate range: 0kbps -> 511kbps
VorbisMinBitrate = 0
VorbisNomBitrate = 112
VorbisMaxBitrate = 511

;multiplied by 10, range from 0 to 9990
; blank: uses default
VorbisLowpass =

VorbisHoldLowpass = 0


; MP2enc defaults:

; Available modes:
; 0 - CBR
; 1 - VBR
MP2encMode = 0

; allowed quality range: 9 (worst) -> 0 (best)
MP2encVBRQuality = 3

; allowed bitrate range: 0 (32kbps) -> 13 (320kbps)
MP2encMinBitrate = 8

; MP2enc channel encoding mode:
; 0 - stereo
; 1 - joint stereo
; 2 - dual channel
MP2encChannelMode = 2

MP2encCRC = 1
MP2encCopyright = 1
MP2encOriginal = 1
MP2encPrivate = 0

MP2encNoPadding = 0
MP2encAncillary = 0

MP2encPsyModel = 2


; SSRC defaults:

UseSSRC = 1
SSRCFrequency = 1


; End
Reply With Quote
  #7  
12-22-2003, 01:02 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Paulus
Kwag:

I use the SweetheadTemplate.ini below. Where is the sample setting 44.1Khz ?
Good question
Run HeadAC3he manually, and check "Downsample to: 44.1Khz". Save the profile, and look at it in Notepad.
Now save another profile WITHOUT the downsample option, and open it in Notepad. Compare both files and see where the difference is

-kwag
Reply With Quote
  #8  
12-22-2003, 01:43 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
The settings is there :

Code:
; SSRC defaults:

UseSSRC = 1
SSRCFrequency = 1
(SSRC = sound sampling rate change)

I guess that "1" is the second choice in the sampling rate menu (first one is 0). And if we assume that this means 44.1, probably 2 will be for 48Khz.

But use the method of Kwag to be sure.
Reply With Quote
  #9  
12-22-2003, 01:57 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
You just beat me to it Phil...

In my test .ini with no resampling it reads:


; SSRC defaults:

UseSSRC = 0
SSRCFrequency = 1


; End


In the test .ini with resampling the first value (UseSSRC) is "1"
with SSRCFrequency also at "1".

This still doesn't solve my problem because in the .ini file I used both values were also set to "1", so I already did resample correctly I guess.

But, as SweetHead usually crashes and I have to resume with CrashRecovery I will try it manually to be sure, because for this particular project SweetHead DIDN't crash and was actually the first time D2S finished automatically.

Have to start from scratch though because I removed all temporary files and only have a .bin file now......
Reply With Quote
  #10  
12-23-2003, 06:35 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
Well, even after manual doing the audio the "jerky" playback (and the autopadding warning in VCDeasy) still occurs

There are a lot of threads in various forums about autopadding but I haven't read any solutions yet. My Cyberhome standalone apparently doesn't like this "autopadding", anyone else have this problem ? (I can't be the only one).

Maybe use another program to create the .bin file ? Or just add the 2 .mpg files to a Nero VCD project ? (then I won't have chapters but I could test if it works).
Reply With Quote
  #11  
12-23-2003, 06:59 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
Maybe use another program to create the .bin file ? Or just add the 2 .mpg files to a Nero VCD project ? (then I won't have chapters but I could test if it works).
On my pioneer DV454 all taht is authored with Nero plays in slow motion. But I do not have any prob with VCDEasy. In your case it can be the opposite ;
Just try.
Reply With Quote
  #12  
12-24-2003, 07:07 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 tried to use nero and directly put the 2 .mpg's in a Nero VCD project (non standard of course) but the result is the same..

slight but annoying increases of playback speed. Don't know what to do now.

In various threads in various forums it is suggested to separate audio and video again and mux again in TMPG / BBMPEG....but I don't know what to do exactly........any (last) suggestions ?
Reply With Quote
  #13  
12-24-2003, 07:26 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
I don't see why it will change anythign but, by the way, as DVD2SVCD uses bbmpeg for muxing, you can try by using tmpgenc for that.


open TMPGENC, go to file menu, then 'MPEG tools'. Select "simple demultiplex" and load your mpg. Then go.

That creates 2 file : the m1v (or m2v) for the video and the mp2 for the audio.. You have to mux them back. So select "simple multiplex", load the m1v (or m2v) as video source and the mp2 as audio source. AFTER THIS select the format of muxing (MPEG 1VCD non compliant o5 MPEG2 SuperVideo CD) and go.
Reply With Quote
  #14  
12-28-2003, 07:25 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 think I found the answer Phil...

It seems the "KVCD guide from scratch" has some wrong info in it..

The advise in the guide to set the Pack options size of BBmpeg to "0" bytes is the cause, I think. Because when I used the default of D2S (2324 bytes) in another project I have no playback speed problem....Will check this on the standalone later to be sure but on the PC it runs OK now.

Too bad that my "Pirates" project is not 100% OK now but it was watchable anyway (only in some scenes it was noticable).

Can you confirm the pack options size setting just to give me "piece of mind"
Reply With Quote
  #15  
12-29-2003, 10:17 AM
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
Can you confirm the pack options size setting just to give me "piece of mind"
And never use bbmpeg for muxing but when I used to do KVCD with D2S I never modified the default valuer (even if I saw so often that it should be done) and I never had any problem.

So stick to the default value !
Reply With Quote
  #16  
01-02-2004, 01:36 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
Pff....not solved yet....I'm beginning to think my Cyberhome doesn't like KVCD with MPEG1..

to prevent VCD easy complaining about "necessary padding" which leads to weird video playback increases I tried the following:

Have D2S make the .bin file for both .avi conversions (2CD avi to 1CD KVCD project) and then extract the .mpg's from the .bin with IsoBuster. The two .mpg files can now be added in a VCDeasy project without the error message about "padding" showing up. This was promissing BUT -> The resulting KVCD also has the slight video playback speed increases (every 5 seconds or so).

I'm switching to MPEG2 KVCD's again I think......? I still wonder what (and where it) went wrong with my encode ? Is there a way to merge 2 avi's FIRST and than proceed with D2S ?

(PS: Phil, as you doubted that demultiplex -> multiplex in TMPGenc would improve anything, I didn't try that yet Phil. If I have time I will try it as a last attempt.)
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Video has Strange framerate? bigggt Video Encoding and Conversion 7 09-07-2003 08:09 PM
DVD2SVCD: Strange stroboscope effect + script/ini question Paulus Video Encoding and Conversion 13 09-01-2003 04:53 AM
KVCD: Change Framerate but retain Video speed? Bchteam Video Encoding and Conversion 2 05-08-2003 11:03 AM
KVCD: Speed problem - audio and video play too fast? Fred|Flintstone Video Encoding and Conversion 10 03-09-2003 06:48 PM
Recording Video: Strange interleave after capture joinke Video Capturing / Recording 0 09-19-2002 12:10 AM

Thread Tools



 
All times are GMT -5. The time now is 09:03 AM  —  vBulletin Jelsoft Enterprises Ltd