Update: TMPGEnc accurate file size prediction. » Sporty indywidualne » Forum


����������   Users   Rejestracja   Wejście
Dzisiaj: 06.04.2025 - 04:39:47
Strony:  1  

Update: TMPGEnc accurate file size prediction.

Ogłoszenie

.
AutorWiadomość

Karabin

users




Statystyka:
Wiadomości: 3
Rejestracja: 07 lip 2013, 8:33

TMPGEnc VBR. Accurate file size prediction. Updated 3 OCT 2002. Most people encode a sample of a movie to ascertain visual quality and to estimate final file size. The problem is where to take this sample from, taking only one sample does not give a good overall view of the movie and does not give reliable size prediction. Simple explanation of the script: The script takes a x second sample, every x seconds of the movie, then splices them together. Brief, how to: (a) Use DVD2AVI to generate your d2v file. (b) Open the d2v file in FitCD, check and adjust settings if necessary, then save in FitCD to get your basic script. (c) Edit, copy and past your script and mine,(See note 1.) save as whatever.avs. (d) Open the avs file in TMPGEnc. (e) Check and view the source range in TMPGEnc, hit the default button, move to end frame, adjust the slider to an even minute mark, then set end frame. (f) Set TMPGEnc to encode - System (video only). (g) Encode test file. (h) Divide, encoded test file size by source range time, then multiply by full movie time. (i) Use a data rate calculator to establish audio only file size. (j) Add calculated video and audio files sizes together for full movie file size. (See note 2.) Notes: 1. Anything after a # is ignored by the program. 2. On an average, the final full movie file size is 5% smaller then estimated. Any comments, questions or suggestions are welcomed. Please feel free to test, modify and post your results. # Start of Script # # Paste your script in here. LoadPlugin("D:\Program files\CDR\MPEG2DEC.dll") Mpeg2Source("D:\Trains_Plains\movie.d2v") Crop(11,0,704,576) TemporalSmoother(2,2) BicubicResize(320,224,0.333,0.333,0,0,704,576) AddBorders(16,32,16,32) FadeOut(75) # PT = 20 # theoretically a higher number=greater accuracy. FR = round(Framerate) # frames per second. IL = (Framecount / FR) /PT # interval length. SL = 17 # sample length in frames. SelectRangeEvery(IL,SL) # # End of script.

---------------------
NIE MYLIĆ MNIE Z KAROLEM
Wiadomość # 1 16.03.21 - 22:14:49
RE: Update: TMPGEnc accurate file size prediction.

zajaczek_k

users




Statystyka:
Wiadomości: 53
Rejestracja: 17 maja 2012, 19:29

What about SelectRange(25*45, 3*25) :D Btw 3sec samples are quite short as the encoder than creates "scene changes".

---------------------
Wiadomość # 2 16.03.21 - 22:20:50
RE: Update: TMPGEnc accurate file size prediction.

realpoland

users




Statystyka:
Wiadomości: 38
Rejestracja: 13 sty 2016, 11:08

SelectRange(25*45, 3*25) 

---------------------
Wiadomość # 3 16.03.21 - 22:30:17
RE: Update: TMPGEnc accurate file size prediction.

eluna95

users




Statystyka:
Wiadomości: 8
Rejestracja: 04 sty 2009, 14:48

You are right, the sample seems quite short. I have tried a variety of sample times, every x seconds in an aim for greater accuracy . Could you please explain: SelectRange(25*45, 3*25), in a bit more detail.

---------------------
Wiadomość # 4 16.03.21 - 22:37:40
RE: Update: TMPGEnc accurate file size prediction.

fhuender

users




Statystyka:
Wiadomości: 66
Rejestracja: 09 kwie 2013, 9:36

Its a function from mpeg2dec.dll which outputs SelectRange(every_n_frames, length_in_frames) Thats the same as Trim(0,length_in_frames) + trim(every_n_frames,every_n_frames+length_in_frames) + .... Clear?

---------------------
Wiadomość # 5 16.03.21 - 22:43:35
RE: Update: TMPGEnc accurate file size prediction.

Mateusz44

users




Statystyka:
Wiadomości: 1524
Rejestracja: 07 maja 2012, 7:01

Thanks for the info WarpEnterprises, Original post has been updated to reflect your suggestions. :)

---------------------
[ Spoiler ]
Wiadomość # 6 16.03.21 - 22:55:08
RE: Update: TMPGEnc accurate file size prediction.

Ewek

users




Statystyka:
Wiadomości: 65
Rejestracja: 28 lip 2009, 16:17

Update: TMPGEnc Accurate file size prediction. 

---------------------
Wiadomość # 7 16.03.21 - 22:59:43
RE: Update: TMPGEnc accurate file size prediction.

Bikerion

users




Statystyka:
Wiadomości: 64
Rejestracja: 19 kwie 2014, 14:30

TMPGEnc Accurate file size prediction. Script updated 3-oct -2002.

---------------------
Wiadomość # 8 16.03.21 - 23:04:56
RE: Update: TMPGEnc accurate file size prediction.
Następny temat: Please fix the pencil mode
Strony:  1  

Administrator zabronił gościom odpowiadać na wiadomości! Aby się zarejestrować, kliknij link: rejestr


Uczestnicy