digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD DId not work for me - bad picture quality (http://www.digitalfaq.com/archives/encode/6531-kvcd-work-bad.html)

ssarwar12 11-04-2003 06:20 PM

KVCD DId not work for me - bad picture quality
 
I tried to encode 121 minute movie to a KVCD(352x240) and KSVCD(480x480) picture quality was very bad not watchable. I saw noise around images and overall picture quality was very bad. I used latest KVCD notch matrices and used KVCD suggested GOP structure as well. Not sure if I am expecting too much from these KVCD templates.

kwag 11-04-2003 11:30 PM

Re: DId not work for me - bad picture quality
 
Quote:

Originally Posted by ss
I tried to encode 121 minute movie to a KVCD(352x240) and KSVCD(480x480) picture quality was very bad not watchable.

What was your source :?:

-kwag

Jellygoose 11-05-2003 08:53 AM

And did you use AviSynth?

ssarwar12 11-05-2003 01:08 PM

Hi Kwag,

My source was DVD and I used DVD2SVCD. I believe it uses AviSynth. I also tried it with Bicubic resize frameserve method and also used MA script posted in other sections of this forum.

I also tried it with DVD2KVCD plugin template to make sure that i am using correct settings. I deleted the log file for 120min movie but I have it for one I tried last night for 175min movie. please see below, I thought this might help you figure out if I am doing anything wrong.

WNASPI32.DLL 4.6.0.1021
WNASPI32.DLL 4.6.0.1021
--------------------------------------------------------
- 11/4/2003 9:48:06 PM
- DVD to SVCD Conversion
- DVD2VCD ver. 1.2.1 build 2
--------------------------------------------------------
Initializing
- G:\DVD2SVCD\Movies\khel\VTS_01_0.IFO
- G:\DVD2SVCD\Movies\khel\VTS_01_1.vob
- G:\DVD2SVCD\Movies\khel\VTS_01_2.vob
- G:\DVD2SVCD\Movies\khel\VTS_01_3.vob
- G:\DVD2SVCD\Movies\khel\VTS_01_4.vob
- G:\DVD2SVCD\Movies\khel\VTS_01_5.vob
- G:\DVD2SVCD\Movies\khel\VTS_01_6.vob
Initializing finished.

--------------------------------------------------------
- 11/4/2003 9:48:10 PM
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- C:\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"C:\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -CS=2 -YR=1 -EXIT -OF=[G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\DVD2AV I_Project_file] -IF=[G:\DVD2SVCD\Movies\khel\VTS_01_1.vob,G:\DVD2SVCD\M ovies\khel\VTS_01_2.vob,G:\DVD2SVCD\Movies\khel\VT S_01_3.vob,G:\DVD2SVCD\Movies\khel\VTS_01_4.vob,G: \DVD2SVCD\Movies\khel\VTS_01_5.vob,G:\DVD2SVCD\Mov ies\khel\VTS_01_6.vob]
Analyzing DVD2AVI Project file
Force Film NOT activated!
Framerate: 29970
DVD2AVI processing done.

--------------------------------------------------------
- 11/4/2003 9:50:44 PM
- Free on drive G: 27688.46 mb
- AUDIO Extraction
--------------------------------------------------------
Found AC3 stream id: 0x80
Filename: G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\Extrac ted_audio_1.ac3
Audio1 delay: 0 ms
Analyzing DVD2AVI Project file
Force Film NOT activated!
Framerate: 29970
Audio extraction finished.

--------------------------------------------------------
- 11/4/2003 9:53:45 PM
- Free on drive G: 27208.30 mb
- AUDIO conversion
--------------------------------------------------------

Encoding Audio. Filename: G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\Extrac ted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\Extra cted_audio_1.ac3" -output "G:\DVD2SVCD\Movies\khel\KVCD35~1\Encoded_audio_1. mp2" -logfile "G:\DVD2SVCD\Movies\khel\KVCD35~1\Encoded_audio_1. log" ) -azid( -L -3db -C 0db -S 0db -c normal -s surround -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 112 -m d )
Audio conversion of G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\Extrac ted_audio_1.ac3 finished.

Audio conversion finished.

--------------------------------------------------------
- 11/4/2003 10:16:31 PM
- Free on drive G: 27068.48 mb
- Video Encoding using TMPGEnc
--------------------------------------------------------
- Encoding Test Clip G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\AviSyn th_Script_file_CQ_TEST.avs
Executing TMPGEnc. Commandline:
"C:\TMPGEnc Plus-2.58.44.152\TMPGEnc.exe" "G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\TMPGE nc_Project_file.tpr" /Encode /Close
Video Encoding finished.

- Encoding Test Clip G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\AviSyn th_Script_file_CQ_TEST.avs
Wanted: 669850480 (654151kb)
Predicted: 841480525 (821758kb) Using CQ Value: 65.00
Calculated next CQ Value: 57.20
Executing TMPGEnc. Commandline:
"C:\TMPGEnc Plus-2.58.44.152\TMPGEnc.exe" "G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\TMPGE nc_Project_file.tpr" /Encode /Close
Video Encoding finished.

- Encoding Test Clip G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\AviSyn th_Script_file_CQ_TEST.avs
Wanted: 669850480 (654151kb)
Predicted: 713137237 (696423kb) Using CQ Value: 57.20
Calculated next CQ Value: 55.16
Executing TMPGEnc. Commandline:
"C:\TMPGEnc Plus-2.58.44.152\TMPGEnc.exe" "G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\TMPGE nc_Project_file.tpr" /Encode /Close
Video Encoding finished.

- Encoding Test Clip G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\AviSyn th_Script_file_CQ_TEST.avs
Wanted: 669850480 (654151kb)
Predicted: 673701039 (657911kb) Using CQ Value: 55.16
Calculated final CQ Value: 54.97
- Encoding G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\AviSyn th_Script_file.avs
StreamSectors: 833934864
AudioSectors: 148682548
VideoPAPO: 10614924
ScanOffsetBytes: 0
SeqAligningBytes: 4786908
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 1.00
PureMPEGStream: 669850480.16
Seconds: 10478.37
CalcMPEGStream: 669850480.16
Frames: 313827
CDSize: 800.00
Number of CDs: 1
Cut point 795.00
Using CQ Value: 54.97
Aspect Ratio: Anamorphic (no borders, encoded as 16:9)

---AVS Begin---
LoadPlugin("C:\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG 2D~1.DLL")
mpeg2source("G:\DVD2SVCD\Movies\khel\KVCD35~1\DVD2 AV~1.D2V")
nf=0
GripCrop(352, 240+0+0, overscan=1, source_anamorphic=true, dest_anamorphic=false)
GripSize(resizer="BiCubicResize")
Undot()
Asharp(1, 4)
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(1.58))
MergeLuma(blur(0.1))
SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = round(YDifferenceToNext())"+chr(13)+ "((nf >= SwitchThreshold) && (nf < 30)) ? unfilter(-(fmin(nf*2,100)),-(fmin(nf*2,100))) : TemporalCleaner(6+nf,11+nf) ")
GripBorders()
function fmin(int f1, int f2) { return (f1<f2) ? f1 : f2 }
function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) }
----AVS End----

Executing TMPGEnc. Commandline:
"C:\TMPGEnc Plus-2.58.44.152\TMPGEnc.exe" "G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\TMPGE nc_Project_file.tpr" /Encode /Close
Video Encoding finished.

--------------------------------------------------------
- 11/5/2003 12:19:54 AM
- Free on drive G: 26423.25 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 11/5/2003 12:19:57 AM
- Free on drive G: 26423.25 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 11/5/2003 12:19:59 AM
- Free on drive G: 26423.25 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 11/5/2003 12:20:02 AM
- Free on drive G: 26423.25 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: C:\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 0
Executing bbMPEG.
Variable Settings:
Movie offset: 0 seconds
Cut point: 795 mb

Executing RunbbMPEG. Commandline:
"C:\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\bbMPE G_Muxed_File.mpg"
Multiplexing and cutting finished.

--------------------------------------------------------
- 11/5/2003 12:23:03 AM
- Free on drive G: 25626.88 mb
- Determining length of audio
--------------------------------------------------------
Analyzing: G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\bbMPEG _Muxed_File00.mpg
10317.857 seconds G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\bbMPEG _Muxed_File00.mpg
Analyzing: G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\bbMPEG _Muxed_File01.mpg
20.038 seconds G:\DVD2SVCD\Movies\khel\kvcd352x240mascript\bbMPEG _Muxed_File01.mpg
Analyzing finished.

--------------------------------------------------------
- 11/5/2003 12:23:36 AM
- Free on drive G: 25626.87 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 27

CD image #1: CD_Image_File_CD1.bin

Executing VCDXBuild. Commandline:
"C:\DVD2SVCD\VCDImager\vcdxbuild.exe" --verbose --cue-file="G:\DVD2SVCD\Movies\khel\KVCD35~1\CD_Image_Fi le_CD1.cue" --bin-file="G:\DVD2SVCD\Movies\khel\KVCD35~1\CD_Image_Fi le_CD1.bin" "G:\DVD2SVCD\Movies\khel\KVCD35~1\VCDXBU~1.XML "
--------------------------------------------------------
- 11/5/2003 12:26:12 AM
- Free on drive G: 24760.30 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 1

CD image #2: CD_Image_File_CD2.bin

Executing VCDXBuild. Commandline:
"C:\DVD2SVCD\VCDImager\vcdxbuild.exe" --verbose --cue-file="G:\DVD2SVCD\Movies\khel\KVCD35~1\CD_Image_Fi le_CD2.cue" --bin-file="G:\DVD2SVCD\Movies\khel\KVCD35~1\CD_Image_Fi le_CD2.bin" "G:\DVD2SVCD\Movies\khel\KVCD35~1\VCDXBU~2.XML "
Image creation finished.

--------------------------------------------------------
- 11/5/2003 12:26:16 AM
- Free on drive G: 24757.21 mb
- Conversion done!
--------------------------------------------------------

Dialhot 11-05-2003 02:23 PM

Your aspect ratio is wrong : select "16:9 (borders added, encoded as 4:3)"


Note: did you change the settings of tmpgenc to have the correct GOP ? And also the Matrix (DVD21SVCD knows the KVCD matrix but it is the old one and you have to update it to the KVCD-Notch matrix manually - see homepage of KVCD.net for KVCD specifications).

ssarwar12 11-06-2003 12:47 PM

I used MA script which adds borders, not SVCD standard script. Although I do not want to add borders but I did a test run to see if thats what I am doing wrong. Please see "AVS begin" section in the log file posted in the previous post.

I also used KVCD notch matrix and the latest GOP structure which is 1-24-2-1-24. I also tried it with DVD2KVCD plugin thats out there just to make sure I am using latest script. Still bad quality picture.

Its nowhere near the quality of KVCD test clips that I downloaded.

Boulder 11-06-2003 01:15 PM

Analyzing DVD2AVI Project file
Force Film NOT activated!
Framerate: 29970


This could be the problem, with a framerate of 29.97 you don't get nearly as good quality as with 23.976 or 25fps. Check your settings, try with Force FILM activated.


All times are GMT -5. The time now is 06:10 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.