Log in

View Full Version : Trim option disabled


dahkiam
18th January 2003, 16:33
the trim option is disabled in the window that pops up when you click on 'save&encode' window in the preview window, is there an option to enable this???

TIA

hakko504
18th January 2003, 16:38
Before clicking 'Save&encode' you must set a 'Credits start' point. After that the trim option should be enabled.

nesskiel
6th May 2003, 17:43
hi,

i did that but i was unable to select it.That was for a Xvid encode.the trim option allows me to cut the credit to save some MB for the movie.i read that xvid had an internal credit handling but do you know how to bypass it?
Ness

N_F
7th May 2003, 08:30
That was a very interesting point you brought up. XviD does indeed have an internal credits system and therefor the trim options are disabled.

I can't think of any nice automatic bypass as it is now. The only way I can think of is to manually edit the avs-script (changing the trim values), but this does require a lot of extra work (unless I'm mistaken you also have to "reconfigure" the XviD configuration to remove the credits option).


Hopefully len0x will read this and come up with something.

len0x
7th May 2003, 11:10
Originally posted by N_F

Hopefully len0x will read this and come up with something.

I don't see a total solution yet since:

1) Some users as above still want to trim...
2) Some users who used to work with Divx5 will be really confused if I enable trimming for XviD, coz even when they save credits avs it will not be used in the job afterwards...

The only way I see is to enable "No Trim" & "Movie Only" for XviD...

nesskiel
7th May 2003, 14:03
Originally posted by len0x

The only way I see is to enable "No Trim" & "Movie Only" for XviD...

yes, it'll be highly appreciated :)

N_F
7th May 2003, 14:07
Originally posted by nesskiel
yes, i'll be highly appreciated :)
No, len0x is the one who's highly appreciated :D

DaveEL
7th May 2003, 14:15
Originally posted by len0x
I don't see a total solution yet since:

1) Some users as above still want to trim...
2) Some users who used to work with Divx5 will be really confused if I enable trimming for XviD, coz even when they save credits avs it will not be used in the job afterwards...

The only way I see is to enable "No Trim" & "Movie Only" for XviD...

You could just change to single pass credits for xvid too. Its slightly faster as well.

DaveEL

nesskiel
7th May 2003, 14:17
Originally posted by N_F
No, len0x is the one who's highly appreciated :D

heh i forgot a "t" :D

len0x
7th May 2003, 14:20
Originally posted by DaveEL
You could just change to single pass credits for xvid too. Its slightly faster as well.
DaveEL

you mean not using internal credits ?
I don't see the point if codec supports that natively...

N_F
7th May 2003, 14:28
Originally posted by nesskiel
heh i forgot a "t" :D

Yeah. Funny how one small letter can change the whole meaning of a sentance. :)

DaveEL
7th May 2003, 17:29
Originally posted by len0x
you mean not using internal credits ?
I don't see the point if codec supports that natively...

I see no disadvantage of doing it externally and
a) If all the codecs work the same its easier for users to switch between codecs also its easier to maintain only one set of credit handling code instead of two.
b) Its faster.

DaveEL

len0x
7th May 2003, 17:49
Originally posted by DaveEL
a) If all the codecs work the same its easier for users to switch between codecs also its easier to maintain only one set of credit handling code instead of two.


c'mon :) You probaly saw the code - not a single piece of code is reused now in GK job mechanism :)

DaveEL
7th May 2003, 17:59
Originally posted by len0x
c'mon :) You probaly saw the code - not a single piece of code is reused now in GK job mechanism :)

Nope not yet :)
1) been using linux nearly all the time
2) time spent in windows has been on my final year project which is due in tommorow!

Anyway we should be reuse the code where possible.

DaveEL

len0x
9th May 2003, 11:57
Originally posted by DaveEL
Anyway we should be reuse the code where possible.


yeah, that's why I'm really looking forward to rewriting job engine completely :)

About trim option: I don't think I'll be doing xvid credits as divx one just yet. And I'm trying to find less painfull way to allow trimming of the main movie for xvid (I hate adding & removing items from groupbox, looking for more elegant solution...)

DaveEL
9th May 2003, 12:30
Originally posted by len0x
yeah, that's why I'm really looking forward to rewriting job engine completely :)

About trim option: I don't think I'll be doing xvid credits as divx one just yet. And I'm trying to find less painfull way to allow trimming of the main movie for xvid (I hate adding & removing items from groupbox, looking for more elegant solution...)

Use seperate radio buttons and hide/disable the ones you don't want?

DaveEL

Doom9
9th May 2003, 12:38
it might actually be that the credits will be removed from the codec again.. they don't always work properly (for instance my test build encodes were undersized, and using the same parameters without internal credits the target size was dead on).

len0x
9th May 2003, 12:45
Originally posted by Doom9
it might actually be that the credits will be removed from the codec again.. they don't always work properly (for instance my test build encodes were undersized, and using the same parameters without internal credits the target size was dead on).

any chance you were doing IVTC in GK ?
(there is (was in 0.28) a bug when recalculating frames for credits if using ivtc in avs)

Master Bates
18th May 2003, 19:20
So if I choose a credits starting point and select Trim Movie Only, will it just cut out the credits all together?

How does the internal credit handling work? Can it see when the credits begin or is that set with credits starting point?

len0x
19th May 2003, 11:17
Originally posted by Master Bates
So if I choose a credits starting point and select Trim Movie Only, will it just cut out the credits all together?


yes, that's right

Originally posted by Master Bates

How does the internal credit handling work? Can it see when the credits begin or is that set with credits starting point?

when you set starting point for credits, that setting is automatically propagated to the XviD codec settings...
(If you selected "No Trim")

nesskiel
19th May 2003, 20:35
Hi Lenox,

first thanks a lot for the return of the trim option :)
i did two encode and when i use the trim option with exactly the same settings than without, i've got always a slight undersize for the movie, 695MB instead of 702MB.Just a stupid question: does the engine calculate the bitrate with the space saved from the sound cut from the credit?
Ness

len0x
20th May 2003, 10:49
Originally posted by nesskiel
Just a stupid question: does the engine calculate the bitrate with the space saved from the sound cut from the credit?


Well, bitrate on the bitrate tab always stays the same regardless of credits settings... I just have to check whether size is being recalculated afterwards...