digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   CCE settings to create KDVDs? (http://www.digitalfaq.com/archives/encode/8203-cce-settings-create.html)

leo 02-16-2004 10:30 PM

CCE settings to create KDVDs?
 
This might not be the right place to ask for this, sorry, but is not CCE tread in the main forum (or other). It would be nice to have some screenshots as well like the ffvfw settings to create KDVDs and KVCDs tread.
I've been trying to encode dvd souce to kdvd with mixed results :cry: and wuold be really helpful to see the experts way.
:wink: thanks in advance

Hydeus 02-17-2004 04:37 AM

Yes, this is not right place for this thread. In fact addressee may never find youre question. Please post this in KVCD or KDVD section, and try to delete this post (or just write to moderator to move it to right section).

Dialhot 02-17-2004 04:41 AM

And when you will be in KDVD forum you will see a sticky post where VMesquita describe his method to do KDVD with CCE. The CCE templates (in fact, they are .reg files) are joined to the PDF guide.

kwag 02-17-2004 08:01 AM

moved

leo 02-17-2004 08:32 AM

Now in the right place.
 
I've read Vmesquita's guide and is great, but it doesn't cover the whole settings of cce, I'm afraid having a wrong setting cause a bad encode.
Thats why I'm asking for a visual quick guide to set CCE properly, so we can be sure of doing it right.
thaks.

Dialhot 02-17-2004 08:37 AM

VMesquita reg file set everything that is necessary for a KDVD encodign with CCE. If an option is not used, it is not because it was forgotten : it's because it is useless ! Or worse : it is harmfull !

So don't change anything in the template.

leo 02-17-2004 10:01 PM

that's not quite right.
 
I think cce could be changing some settings with no aparent reason, when changing template, i open the video page, just to doble check, and discovered framerate changing between 23.976 and 29.97, for both templates kdvd 720x480/576 and kdvd/ksvcd/kvcdx3.
thanks

Lagoon 02-17-2004 10:14 PM

CCE automatically detect the FPS and set it, this has nothing to do with the template.

If it says 29.97 then your source is 29.97 etc.

Jon Read 03-11-2004 08:01 PM

can anyone tell me why all my encodes come out with a big black bar at the bottom of the screen ? I am using CCE 2.67 with the CCE template. I am NOT using any AVS files as none seem to work, I keep getting a parameter line error when using the one done via the author (the one within the PDF page). If I could get rid of the black bar it would be great as I am getting KDVDs done in 30 minutes instead of 7 hours :)

Dialhot 03-11-2004 08:12 PM

Quote:

Originally Posted by Jon Read
I am using CCE 2.67 with the CCE template. I am NOT using any AVS files as none seem to work

2.67 handle avs with no problem. Do you have CCE 2.67 Trial or not ?

I guess your problem comes from the resolution of your source : there is no resize done in CCE (at least with this template) so you must provide a source already well resized. And that is one of the purpose of the script :!:

Jon Read 03-11-2004 08:21 PM

Yep, I am using the 2.67 trial. Also I would use the scripts, but as mentioned they don't seem to work for me, I get a 10 second movie all the time with big red text saying "Script Error:Syntax Error, C:\Downloads\honey.avs, line 1, column 0".

Downloads being where I keep the video file and AVS file and honey.avs being the name of the AVI and AVS file.

Bare in mind I am a total novice, I could be missing something simple. The copy and pasted text below is the script I am trying to use. The file is just a basic divx 4 AVI file, no subs. I am now re-trying with selecting 16:9 in the CCE options (the AVI file is 16:9).



--------------- Beginning of the script. Cut here and past on a .AVS file-------------------------------
################################################## ####################
# Based on Optimized Script to remove DCT Blocks by Girv and DialHot #
################################################## ####################
##############
# Parameters #
##############
#Use 720 or 352 to KDVD, 528 352 to K(S)VCD
m_width=720
#subtitle="name_of_the_subtitle.smi" # Add a # in the beginning of this line if you
#don't need subtitles.movie="honey.avi"
myoverscan=1 # Test values from 0 to 3 here. Bigger files produce more quality but #a value too
big will cause undesirable black borders on your TV.



##########
# script #
##########
AVISource(movie,false)

#Post-Process
Blockbuster(method="noise",detail_min=1,detail_max =8,variance=0.3,seed=5823)
ATC(1,2,4,0.5,false)
TemporalSoften(2,7,7,3,2)
Blockbuster(method="noise",detail_min=1,detail_max =10,variance=0.5,seed=5823)

#Resize, overscan and borders

gripCrop(m_width, 480, overscan=myoverscan,source_anamorphic=false,dest_a namorphic=false)
GripSize(resizer="lanczosresize")
GripBorders()

#Subtitles #
############
#TextSub(subtitle) # Add a # in the begining of this line if you don't need subtitles.

converttoyuy2()
--------------------------------------- end of script -------------------------

Dialhot 03-11-2004 08:26 PM

Quote:

Originally Posted by Jon Read
I get a 10 second movie all the time with big red text saying "Script Error:Syntax Error, C:\Downloads\honey.avs, line 1, column 0".

That has nothing to do with CCE so.
Test the correct installation of avisynth on your PC with a script containing only "Version()".
Open it in wmp or other player, what do you have on the screen ?

Quote:

------- Beginning of the script. Cut here and past on a .AVS file-------------------------------
:!: :!:
This line has to be removed !!!


And cut also the last one :!:

Jon Read 03-11-2004 08:40 PM

Thanks for the help you are giving me, I appreciate it.

Firstly I can't find any script with "Version()". There is nothing in the AVISynth directory other then a gpf named text file and the uninstall icon, the PlugIns directory just has the DLL ones within the zip file in the thread about CCE and KDVD on this forum. The version of AVI Synth I am using is the latest one, 2.5. I removed the two lines you mentioned to me about, but that didn't change anything, it still shows up as a ten second file.

Sorry if I am not helping much but AVS is all new to me. I know it is a pain trying to help a novice, so I really appreciate your help.

By the way, I am so amazed, each file is doing in less then 15 minutes, a whole 1.30 hour movie, how can this be ? It takes 6 to 7 hours in TMPG.

Dialhot 03-11-2004 08:46 PM

Quote:

Originally Posted by Jon Read
Firstly I can't find any script with "Version()". There is nothing in the AVISynth directory other then a gpf named text file and the uninstall icon, the PlugIns directory just has the DLL ones within the zip file in the thread about CCE and KDVD on this forum.

And you didn't have the idea to do it yourself using notepad :?: I never mentioned "opened an existing script that you will find on yuor disc".

You open notepad, you type V/e/r/s/i/o/n/(/), you go in file menu and save under whatever name you want with "avs" as extension.

Quote:

The version of AVI Synth I am using is the latest one, 2.5. I removed the two lines you mentioned to be about, but that didn't change anything, it still shows up as a ten second file.
And this time the message is ... ? I can't guess it ;-)

Jon Read 03-11-2004 08:59 PM

Sorry, I assumed you were asking me to look for a file called "Version", my apologies.

Result is.....

AviSynth 2.54 Build: Jan 26 2004 [09:28:02]
2000 to 2003

Does this help you though ?

Dialhot 03-11-2004 09:01 PM

Quote:

Originally Posted by Jon Read
AviSynth 2.54 Build: Jan 26 2004 [09:28:02]
2000 to 2003

Does this help you though ?

That was just to check if all was okay on your disc.
Now, the text of the 10s message you have when you run the other script ?

Jon Read 03-11-2004 09:05 PM

Right, I am getting there :) A problem on line 12 this time, I will check what it is.

Edit : I think it is because I clicked enter and the text lapped, hang on, I will try again :)

Jon Read 03-11-2004 09:10 PM

Right, now it is telling me.....

I don't know what "movie" means in line 18

We are getting there though, haha. Below is the pasted script again....

################################################## ####################
# Based on Optimized Script to remove DCT Blocks by Girv and DialHot #
################################################## ####################
##############
# Parameters #
##############
#Use 720 or 352 to KDVD, 528 352 to K(S)VCD
m_width=720
#subtitle="name_of_the_subtitle.smi" # Add a # in the beginning of this line if you
#don't need subtitles.movie="honey.avi"
myoverscan=1 # Test values from 0 to 3 here. Bigger files produce more quality but #a value too big will cause undesirable black borders on your TV.



##########
# script #
##########
AVISource(movie,false)

#Post-Process
Blockbuster(method="noise",detail_min=1,detail_max =8,variance=0.3,seed=5823)
ATC(1,2,4,0.5,false)
TemporalSoften(2,7,7,3,2)
Blockbuster(method="noise",detail_min=1,detail_max =10,variance=0.5,seed=5823)

#Resize, overscan and borders

gripCrop(m_width, 480, overscan=myoverscan,source_anamorphic=false,dest_a namorphic=false)
GripSize(resizer="lanczosresize")
GripBorders()

#Subtitles #
############
#TextSub(subtitle) # Add a # in the begining of this line if you don't need subtitles.

converttoyuy2()

Jon Read 03-11-2004 09:12 PM

Let me guess, I put the movie name in there right :)

kwag 03-11-2004 09:14 PM

Quote:

Originally Posted by Jon Read
Let me guess, I put the movie name in there right :)

Yes :D

Jon Read 03-11-2004 09:26 PM

Arrggghh, haha, I am so close to getting there but I still get an error message. I have typed in "honey.avi" in the place of "movie" on line 18 and instead of telling me it doesn't understand "movie" it is now telling me it doesn't understand "honey". Any more ideas ? honey.avi is the name of the avi file of course. I have tried lots of ways, so please don't think I am giving up after just trying one way.

Perhaps the best idea is for someone to paste a script here with another movie name in it ? Then I will just put my movie name in its place.

kwag 03-11-2004 09:42 PM

You are using the full path to your "honey.avi", right :?:

-kwag

Dialhot 03-11-2004 09:42 PM

You have to type it betweens double quotes :
Code:

Avisource("honey.avi",false)
BTW, and just for your information, your REAL error is there :
Code:

#don't need subtitles.movie="honey.avi"
The part movie="honey.avi" should be on the next line.
If you would have done this, there won't have any error on line 18.

Jon Read 03-11-2004 09:50 PM

YEEEEEEEES, thank you VERY much, it is now sorted.

In my defence though the script within the PDF file does have the subtitle.movie= on the same line, I was just following it. I have no idea when it comes to scripts, HTML, programming or anything so it just looks like lots of words and dashes to me. I know this is hard to understand, as I am an expert in various fields and people come to me with real simple problems that I see instantly, but when you don't know much about something it is very confusing and just take a while to learn. Just in the last half hour I have learnt a lot about this scripts, so it has paid off :)

Loads of thanks again, I appreciate it !!!

jorel 03-12-2004 04:57 AM

Quote:

Originally Posted by Dialhot
VMesquita reg file set everything that is necessary for a KDVD encodign with CCE. If an option is not used, it is not because it was forgotten : it's because it is useless ! Or worse : it is harmfull !

So don't change anything in the template.

Phil,
i'm having problems with the template like posted in portuguese forum:
Posted: Thu Mar 11, 2004 3:14 am
http://www.kvcd.net/forum/viewtopic.php?t=5144&start=64

resuming:
my source is ntsc (in Brasil the dvds are ntsc)

dvd2avi project
aspect radio 16:9
frame rate 29,970 fps
video type film 99%
frame type progressive

encode in cce266(0107) using the vmesquita template KDVD 720X480/576(without changes).
then
using "dopulldown" i got "pulldown finish with errors!"..don't know the reason!
:?
and in tmpgenc dvd author:
the video gop is too long!
for a standard dvd it is necessary that the gop fulfill the following condition:
max 36 fields (18 frames) (ntsc format only)
max 30 fields (15 frames) (pal format only)

then i change the NM 5 to NM 4 in cce "advanced video setting",
i still got the puldown error but the file load in tmpgenc dvdauthor
without any error!

can you help?
what's wrong here?!?!?
:? :? :?

thanks!
:)

Dialhot 03-12-2004 05:01 AM

Quote:

Originally Posted by jorel
encode in cce266(0107) using the vmesquita template KDVD 720X480/576(without changes).
then
using "dopulldown" i got "pulldown finish with errors!"..don't know the reason!

Because as you told your source is progressive, so it was not telecined. That is a true 29.970 video and you can't (and don't have to) pulldown it.

Quote:

and in tmpgenc dvd author:
the video gop is too long!
???
I didn't manage to produce GOP longer than 15 (I'm in PAL) with CCE. It's the maximum I can get with it so I don't understand what happens to you.

jorel 03-12-2004 05:39 AM

ok Phil but i did 2 dvd2avis projects:
one with forced film and another without ffilm.
got the same using forced film.

about the gop:
i read thousands...believe,thousands pages and cce guides and can't find
how i change the gop to 18...(where is it?) !!

now about NM 4:
i found in one old d9 guide(updated) showing that for ntsc we have to use 4 for ntsc.
"Set the N/M parameter for the GOP sequence to 4 and leave M to the default of 3 or your authoring program will complain. Also make sure that SEQ header is set to every 1 GOP and leave the other two options unchecked."
http://www.doom9.org/index.html?/mpg/cce-advanced.htm

now my doubt (one more),answer me please:
why nobody that encode ntsc had problems using NM5 with vmesquita template
:?:
:?

give me sugestions please Phil!
what i do and how?
:)

Dialhot 03-12-2004 05:54 AM

Quote:

Originally Posted by jorel
give me sugestions please Phil!

Im' like you and never understand how the length GOP is set in CCE. All I can say to you is :

- In the english guide of his tool (http://www.kvcd.net/forum/viewtopic.php?t=5142), Vmesquita wrote:
Quote:

Before going ahead, you need to know what is your GOP. Don?t be scared, it?s easy! If your using CCE, your GOP is 15. If your are using Tmpgenc, the GOP is 24 for K(S)VCD, 18 for NTSC KDVD and 15 for PAL KDVD.
That suggest that even in NTSC the GOP is 15 and you shoud'nt have any complain by the authoring tool.

- when I did my "KDVD samples for standalone compatibility test", I didn't have any problems to do them in NTSC using the template of Vmesquita.

So I cant help you a lot :-(

jorel 03-12-2004 06:16 AM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by jorel
encode in cce266(0107) using the vmesquita template KDVD 720X480/576(without changes).
then
using "dopulldown" i got "pulldown finish with errors!"..don't know the reason!

Because as you told your source is progressive, so it was not telecined. That is a true 29.970 video and you can't (and don't have to) pulldown it.

Right, is working without use forced film in dvd2avi project with the
vmesquita template...the error was mine,
:cluebat:
:arrow: the vmesquita template is perfect :!:

the .mpv load in tmpgenc dvd author perfect without use pulldown.
i'm using the original ac3 with the .mpv encoded
...is better than using dvdshrink for 3 cartoons:
less size,more quality,more sharpness and without blocks!
is incredible!
:D :D
8)

and you wrote more:
"So I cant help you a lot"

no Phil, you help as always.....a lot!
:bowdown:
thanks Phil!
:D

edited>
i forgot to put "my avatar"
:dark:

Dialhot 03-12-2004 06:19 AM

Quote:

Originally Posted by jorel
is incredible!

No. It's Vmesquita ;-)
Quote:

no Phil, you help as always.....a lot!
:hihi: Thanks.

jorel 03-12-2004 06:20 AM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by jorel
is incredible!

No. It's Vmesquita ;-)
Quote:

no Phil, you help as always.....a lot!
:hihi: Thanks.

8O
:lol:
oh yeah...is vmesquita!
:lol:

incredible 03-13-2004 05:30 PM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by jorel
give me sugestions please Phil!

Im' like you and never understand how the length GOP is set in CCE. All I can say to you is :

- In the english guide of his tool (http://www.kvcd.net/forum/viewtopic.php?t=5142), Vmesquita wrote:
Quote:

Before going ahead, you need to know what is your GOP. Don?t be scared, it?s easy! If your using CCE, your GOP is 15. If your are using Tmpgenc, the GOP is 24 for K(S)VCD, 18 for NTSC KDVD and 15 for PAL KDVD.

Thats a case of CCE where it doesn't allow more then 15 frames in a GOP so you will everytime be in standards! In PAL and for shure in NTSC as it (as we know) alloes a max. framecount in a GOP of 18 (in DVD standard).

I assume "they" at CCE developement did force their code to output best quality be keeping a tight GOP.

jorel 03-17-2004 04:39 AM

:oops:

no way out inc.
lots of friends here try to help me but i never understood! :imstupid:
i'm really need some lessons from the begining:!:

dvd2avi show in the statistics windows using F5 no forced film :
aspect radio 16:9
frame rate 29,970
video type film
frame type progressive

then i open in note pad the .d2v and see the sequences of this project:
7 x x 2 3 0 1 2 3 0 1 2 3 0 1
7 x x 2 3 0 1 2 3 0 1 2 3 0 1
7 0 x 2 3 0 1 2 3 0 1
7 0 xx 2 3 0 1 2 3 0 1 2 3 0
7 0 xx 1 2 3 0 1 2 3 0 1 2
....(the "x" are for trf = 2*tff + rff that don't matter here)

in dvd2avi faq is worte:
"A correctly telecined video should have the sequence ...012301230123..."

:arrow: then i have to do another project using Forced Film or not :?:

:? :? :?

more doubts will come!
please help me (inc,Kwag,Phil,vmesquita.....everybody)!
:wink:

kwag 03-17-2004 05:16 AM

Quote:

Originally Posted by jorel
:oops:

no way out inc.
lots of friends here try to help me but i never understood! :imstupid:
i'm really need some lessons from the begining:!:

dvd2avi show in the statistics windows using F5 no forced film :
aspect radio 16:9
frame rate 29,970
video type film
frame type progressive

then i open in note pad the .d2v and see the sequences of this project:
7 x x 2 3 0 1 2 3 0 1 2 3 0 1
7 x x 2 3 0 1 2 3 0 1 2 3 0 1
7 0 x 2 3 0 1 2 3 0 1
7 0 xx 2 3 0 1 2 3 0 1 2 3 0
7 0 xx 1 2 3 0 1 2 3 0 1 2
....(the "x" are for trf = 2*tff + rff that don't matter here)

in dvd2avi faq is worte:
"A correctly telecined video should have the sequence ...012301230123..."

:arrow: then i have to do another project using Forced Film or not :?:

:? :? :?

more doubts will come!
please help me (inc,Kwag,Phil,vmesquita.....everybody)!
:wink:

If you use "Force FILM, then you'll get a line:
"Frame_Rate=23976" instead of "Frame_Rate=29970"

-kwag

jorel 03-17-2004 05:23 AM

oh yes Kwag, i know it but
i'm in doubt if i have to do another project with forced film or not.

this is my doubt, i ever do mistakes here!
:? :? :?

kwag 03-17-2004 05:48 AM

Hi jorel,

No, you have to create another project.

Look here:
With Force FILM turned ON:
Code:

DVD2AVIProjectFile
1
35 K:\RED_PLANET\VIDEO_TS\VTS_01_1.VOB

Stream_Type=1,0,0
iDCT_Algorithm=5 (1:MMX 2:SSEMMX 3:FPU 4:REF 5:SSE2MMX)
YUVRGB_Scale=0 (0:TVScale 1:PCScale)
Luminance_Filter=0,0 (Gamma, Offset)
Picture_Size=0,0,0,0,0,0 (ClipLeft, ClipRight, ClipTop, ClipBottom)
Field_Operation=1 (0:None 1:ForcedFILM 2:SwapOrder)
Frame_Rate=23976
Location=0,0,0,7FFDE

With Force FILM turned OFF:
Code:

DVD2AVIProjectFile
1
35 K:\RED_PLANET\VIDEO_TS\VTS_01_1.VOB

Stream_Type=1,0,0
iDCT_Algorithm=5 (1:MMX 2:SSEMMX 3:FPU 4:REF 5:SSE2MMX)
YUVRGB_Scale=0 (0:TVScale 1:PCScale)
Luminance_Filter=0,0 (Gamma, Offset)
Picture_Size=0,0,0,0,0,0 (ClipLeft, ClipRight, ClipTop, ClipBottom)
Field_Operation=0 (0:None 1:ForcedFILM 2:SwapOrder)
Frame_Rate=29970
Location=0,0,0,7FFDE

That's the only difference. The rest of the file is the same, so you could edit the changes in the header manually :)

-kwag

jorel 03-17-2004 06:09 AM

"That's the only difference. The rest of the file is the same, so you could edit the changes in the header manually"

ok.....but i
:arrow: still don't know IF i have to change the Frame_Rate to 23976 or not.

.....and why?

:? :?

incredible 03-17-2004 07:55 AM

You don't change the framerate by doing this!! You just tell DVD2AVIs d2v to ignore that pulldownflag every sequence header carries.

Pulldownflag= Doing the pulldown while playback in the SAP, means originally a 23.976 stream will be provided where the pulldown to 29.97 will be done in the SAP internally.

3:2 Pulldown while encoding/frameserving = Already here adding the doubled frames to the stream to get to 29.97 incl. a phaseshift (fileds will be shifted by 1 field) so it gots that interlaced "look" (spoken in easy words).
Code:

(JUST FOR EXPLANATION: Take a progressive stream in avisynth and add the following lines at the end:

separatefields().trim(1,0).weave()

Voilá :arrow: there you got that field shift.)

The RULE (We should write a faq on that ;-) ):

Do open the NTSC vob in DVD2AVI and scroll to a fast moving scene.

- IF there does appear combing :arrow: a real interlaced 29.97 VIDEO OR a telecined 29.97 FILM could be the source, so what do next?
do notice what you are dealing with:
Its a documentation or a Movie?? If its a movie, means originally shot on FILM (23.976) material, then you deal with a telecined movie (= mega bad mastered movie DVD!) on your DVD. In that case NOT forced film but in Avisynth a Telecide().decimate() restores that stream back to 23.976 progressive. which hast to be again encoded in mpeg2 with pulldown while play flag added. IF its a documentation or something else SHOT on VODEO material originally, then also NOT forced film, but in avisynth a 60!!fps deinterlacer and Sharfis_brains 60ito24p function has to be applied = also here then encoding to mpeg2 incl. pulldown while play flag.
And here something for happy hours:
It could in case of combing also be that you are dealing with a NTSC HYBRID stream, very often used in Directors Comments as the interview is shot on video and the shown film parts are just telecined ;-)
That hybrid NTSC 29.97 is a mixture of real interlaced 29.97 and telecined 29.76!! Here also not forced film but do check the Telecide() manual to set the thresholds of IVTC and deinterlacing.

- IF there does no combing appear ... :arrow: use forced film and encode again to 23.976 mpeg2 using the pulldownflag.

Sorry to say that but 29.97 NTSC sucks! :lol:

jorel 03-17-2004 09:23 AM

inc wrote:
"Sorry to say that but 29.97 NTSC sucks! "
oh yes,THIS I KNOW!
and:
"The RULE (We should write a faq on that)"
please!!!!
:lol: :lol: :lol:

and:
"Do open the NTSC vob in DVD2AVI and scroll to a fast moving scene. "
using F5, the preview start from the begining of the first vob,
no matter if you scroll to another scenes, right?

:wink:


...oh God, i need go back to school!

inc,"listen" to me, please:
i have the vobs ripped and i load this vobs in dvd2avi to do a project.
using F5, the statistics window show:
aspect radio 16:9
frame rate: 29,970 fps (in this moment the video field operetion is in "none")
video type: film
frame type: progressive

here,i still don't did the project, it's only the preview, right :?:
:arrow: how can i know IF i do the project using forced film or not :?:

:arrow: all your (cool) explanations posted, will be used AFTER i got the dvd2avi project.

.. but i'm still here in doubt IF i use forced film or not,cos
i don't have the project to load in the script to load in anywhere(vdub) yet.

ok...i'm stup,i know,... but i'm still stuck before the dvd2avi project!!!!!!
:? :? :?

kwag 03-17-2004 09:26 AM

Quote:

Originally Posted by jorel
video type: film
frame type: progressive

That says it all :)
You MUST encode with "Force FILM" on, because :arrow: video type: film

-kwag


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

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