Log in

View Full Version : Duration and frames change after encoding


mumdigaueln
26th June 2006, 12:26
Hi,

I've got a NTSC .mpg-file with the following video specifications (according to GSpot):

- Length 02:04:34
- Frames ~223,987
- Pics/sec 23.976
- Frms/sec 29.970
- Flds/sec 59.939
- I/L 3:2

I resized the video and brought it to DVD format with this Avisynth (version 2.5.7 Alpha 3) script:

loadplugin("E:\Programme\AviSynth\plugins\FFT3DFilter\fft3dfilter.dll")
DirectShowSource("X:\Streaming\Miyazaki\Chihiros.Reise.ins.Zauberland.RSVCD.mpg")
FFT3DFilter(sigma=2.5,sharpen=0)
limitedsharpen(ss_x=2.0,ss_y=2.0,strength=100)
BicubicResize(720,352,1/3,1/3,0,64,480,352)
AddBorders(0,64,0,64)
ConvertToYUY2()

When I load this script in CCE SP (version 2.70.02.09) it is shown in the main window with duration 2:04:26:10 and 179,194 frames. In Encoder settings 23,976 is marked as frame rate. After encoding, I reloaded the .mpv-file in CCE. Now it's shown with duration 01:02:13:09 and 89.601 frames.

Can anybody tell me what I'm doing wrong here, and why the encoded file has more or less half length and number of frames?

Many thanks in advance for any help.

mumdigaueln

Daodan
26th June 2006, 12:54
I have no experience with CCE unfortunately but seems like the problem is there.
What I can suggest atm is to use resize in limitedsharpen to save you some encoding time (and in my opinion for better results since LS works best if you sharpen at final frame size). Also I would use some IVTC in the script since it is telecined material. Otherwise I'm not sure how you could encode properly at 24 fps in CCE if you input is 30..

Guest
26th June 2006, 12:58
@mumdigaueln

Is this rule 6 material? If not, please explain.

http://forum.doom9.org/forum-rules.htm

mumdigaueln
26th June 2006, 14:05
What I can suggest atm is to use resize in limitedsharpen to save you some encoding time (and in my opinion for better results since LS works best if you sharpen at final frame size).
iCan you show me how to recize in LS ? I'm not aware there is a resize parameter in LS.


I would use some IVTC in the script since it is telecined material. Otherwise I'm not sure how you could encode properly at 24 fps in CCE if you input is 30..

I'm not familiar with ITVC. Why should I use it? I simply want to resize the video, but no deinterlacing, frame rate change, NTSC to PAL conversion, etc. As I mentioned frame rate 23,976 was marked automatically when I loaded the script into CCE, so I left it as is.

mumdigaueln

mumdigaueln
26th June 2006, 14:06
@mumdigaueln

Is this rule 6 material? If not, please explain.

http://forum.doom9.org/forum-rules.htm

Can you briefly explain what you are aiming at?

mumdigaueln

Daodan
26th June 2006, 14:15
In LS you resize using dest_x and dest_y parameters for the final resolution. Of course that doesn't crop for you but you can use the crop after or usually before (it can save some more time this way). For NTSC movies an ivtc would be good (can save some space). Look at Decomb package from neuron2 or TIVTC package from tritical to see how to use it and why. Just remeber you should use it before anything else in your script.
As for the rules..read the rules. I helped you till now to give you a general idea of approach on NTSC movies...since indeed you are rather suspect of rule 6.

Guest
26th June 2006, 14:35
The rules are clear and you've not explained as asked. Thread closed.