Question about MEncoder 1 pass
The purpose for pass 1 is to create "divx2pass.log" file for pass 2 to apply
bitrate more accurately. My question then is can the output file of pass 1 "KSVCD.m2v" be suppressed to speedup the encoding time or will it make any difference. Quote:
after 15 dropped frames just quit multiplexing. I can't figure out why :?: The final picture quality is excellent and everything fit on 1 80min CDR :mrgreen: -BP |
i tried redirecting the first pass to NUL (with corresponds to /dev/null in linux) and the encode goes slower :!: :D
|
@VM
Is it possible to redirect output mpv to null under windows :?: Is there a command to do this :?: Thx. |
Just use -o NUL in command-line. :wink:
|
@vm,
I used -o /dev/null for redirecting output in pass=1 and it worked, plus Mencoder increased by 2fps 8) -BP |
Interesting... :? I must have done something wrong then. :D
|
Do not mistakn /dev/null that is a true UNIX device that point to nowhere and NUL that is a emulate device created by M$ because people need to have it in their batches.
|
Quote:
-------------------------- Visit: Intermediate guide: MencodeMe/Win32 - Avisynth - MakeAvis by Prodater64. Visit: KVCD - MencodeMe - Auxiliar Task - KVCD Docking Gate by Prodater64. Visit: Mencoder scripting with AVSEdit and Guide for Multiple Files by Prodater64. Visit: Mini-guide quick and easy - DVD to (S)KVCD with MencodeMe by Maurus. Visit: Mencode-me: a newbie oriented GUI - 0.23 is out! by VMesquita. -------------------------- http://www.digitalfaq.com/archives/error.gif |
Quote:
(if output == "/dev/null" then do_not_do_any_output...) |
Quote:
|
Quote:
|
Great! :D :D :D :D
Is it going faster, Dialhot? 8) |
Speed is around 18 fps and that is quite the same I had yesterday for an other movie using the same script. But for sure it does not slow down !
|
Maybe the limitation is in the encode processing and not when writing in HD. This would explain why we don't see speed improvements.
-------------------------- Visit: Intermediate guide: MencodeMe/Win32 - Avisynth - MakeAvis by Prodater64. Visit: KVCD - MencodeMe - Auxiliar Task - KVCD Docking Gate by Prodater64. Visit: Mencoder scripting with AVSEdit and Guide for Multiple Files by Prodater64. Visit: Mini-guide quick and easy - DVD to (S)KVCD with MencodeMe by Maurus. Visit: Mencode-me: a newbie oriented GUI - 0.23 is out! by VMesquita. -------------------------- http://www.digitalfaq.com/archives/error.gif |
Quote:
|
@prodater64,
prodater64 wrote: Quote:
due to MEncoder's filters. I'm testing LOTR-ROTK and using Kwag's temp.conf it's very slow (7fps). The Trem for each pass is 638min. About 10+ hrs for each pass or 23 hrs for the whole process. The picture quality is very good so far, but compared to CCE and Tmpgenc this it taking longer. :roll: In time I guess MEncoder process will become more refined, but except for batch (great for automation) MEncoder is showing less advantages. :) -BP |
Quote:
Thank you. -------------------------- Visit: Intermediate guide: MencodeMe/Win32 - Avisynth - MakeAvis by Prodater64. Visit: KVCD - MencodeMe - Auxiliar Task - KVCD Docking Gate by Prodater64. Visit: Mencoder scripting with AVSEdit and Guide for Multiple Files by Prodater64. Visit: Mini-guide quick and easy - DVD to (S)KVCD with MencodeMe by Maurus. Visit: Mencode-me: a newbie oriented GUI - 0.23 is out! by VMesquita. -------------------------- http://www.digitalfaq.com/archives/error.gif |
@Prodater64,
Quote:
::DVDDecrypter /MODE FILE /DEST "F:\dvd_video\Video_ts\" /START /CLOSE :: Force Film ::DVD2avi -IA=1 -FO=1 -CS=2 -YR=1 -TN=1 -AIF=[F:\DVD_VIDEO\VIDEO_TS\vts_01_1.vob] -CF=4 -DD=1 -DRC=2 -OF=[F:\Temp\movie] -exit :: Interlaced ::DVD2avi -IA=1 -FO=0 -CS=2 -YR=1 -TN=1 -AIF=[F:\DVD_VIDEO\VIDEO_TS\vts_01_1.vob] -CF=4 -DD=1 -DRC=2 -OF=[F:\Temp\movie] -exit ::BeSweet.exe -core( -input "f:\Temp\MOVIE.ac3" -output "f:\Temp\MOVIE.mp2" ) -azid( -c normal -g 0.95 -L -3db ) -ssrc( --rate 44100 ) -boost( /b2=5 ) -toolame( -m s -b 64 -e ) Mencoder.exe -include temp.conf -lavcopts vbitrate=1037:vpass=1 "F:\Temp\KSVCD.avi" -o /dev/null Mencoder.exe -include temp.conf -lavcopts vbitrate=1037:vpass=2 "F:\Temp\KSVCD.avi" -o "F:\Temp\KSVCD.m2v" ::pulldown.exe "F:\Temp\KSVCD.m2v" "F:\Temp\movie.m2v" ::mplex.exe -f 5 -V -o F:\Temp\KSVCD.mpg F:\Temp\KSVCD.mp2 F:\Temp\movie.m2v shutdown.exe temp.conf: vf=yuvcsp,scale=720:480::0:9,crop=672:448:24:16,no ise=3th, unsharp=l3x3:0.6,hqdn3d=3:6:2,unsharp=l3x3:-0.7:c3x3: -1.5,expand=704:480:16:16 of=rawvideo=1 ovc=lavc=1 nosound=1 sws=9 lavcopts=vcodec=mpeg2video:vrc_eq=tex:vmax_b_frame s=2: vrc_maxrate=2500:aspect=1.7777:keyint=18:vrc_buf_s ize=1835: preme=2:precmp=2: vstrict=-1:autoaspect=1:scplx_mask=0.3:vqblur=0:mbqmin=1:vq min=1: mbqmin=1:lmin=1: intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,2 9,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37, 38,40,26,27,29,36,39,38,40,48,27,29,34,37,38,40,48 ,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,7 9: inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,2 6,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32, 32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36 ,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,4 2,44 ofps=23.976 -BP |
BP,
we can "see" it working, you're still a magician too! 8) |
Quote:
You can try (I suppose your film pixel is 672*448): Code:
vf=yuvcsp,crop=672:448:-1:-1, If you still need "scale=720:480::0:9," put it just before "noise=3th". -------------------------- Visit: Intermediate guide: MencodeMe/Win32 - Avisynth - MakeAvis by Prodater64. Visit: KVCD - MencodeMe - Auxiliar Task - KVCD Docking Gate by Prodater64. Visit: Mencoder scripting with AVSEdit and Guide for Multiple Files by Prodater64. Visit: Mini-guide quick and easy - DVD to (S)KVCD with MencodeMe by Maurus. Visit: Mencode-me: a newbie oriented GUI - 0.23 is out! by VMesquita. -------------------------- http://www.digitalfaq.com/archives/error.gif |
Quote:
It's a little the equivalent to our ConvertToYV12(). For the other information I let you read into the manual : http://www.mplayerhq.hu/DOCS/man/fr/manpage.html (note: here we are using lanczos so the 9 is the precision of the filter, that is something taht you can modify in avisynth). But the slower things in all this is the unsharp. You lose 3 fps for each usage and here it is used 2 times :-( |
Quote:
I am always reading manual before posting. In manual, there is not filters that needs rgb colorspace (at less I can't find out it). But I just find out an option explanation that permits to deduce that scale it is not necessary when original and scaled frame size match. Quote:
Quote:
Again from manual, don't would be?: Code:
scale=720:480:-sws 9:filter lenght -------------------------- Visit: Intermediate guide: MencodeMe/Win32 - Avisynth - MakeAvis by Prodater64. Visit: KVCD - MencodeMe - Auxiliar Task - KVCD Docking Gate by Prodater64. Visit: Mencoder scripting with AVSEdit and Guide for Multiple Files by Prodater64. Visit: Mini-guide quick and easy - DVD to (S)KVCD with MencodeMe by Maurus. Visit: Mencode-me: a newbie oriented GUI - 0.23 is out! by VMesquita. -------------------------- http://www.digitalfaq.com/archives/error.gif |
Quote:
As I told you, SOMETIMES you need that conversion. And has I also told you : PERSONNALY I never had any problem. You see, that's not just "saying"... Quote:
But I just find out an option explanation that permits to deduce that scale it is not necessary when original and scaled frame size match. Quote:
Quote:
|
@anyone,
Mencoder.exe -include temp.conf -lavcopts vbitrate=1037:vpass=1 "F:\Temp\KSVCD.avs" -o /dev/null Also, I'm trying to use MEncoderAVS from http://ffdshow.sf.net/ffmpeg_avs.rar and every frame is dropped for "duplicate error" which creates no log and mpv files. Is this compiled version of MEncoder working for Win32 :?: Others claim to have it working, but I can't get it to stop dropping frames for "dup error" :roll: This avs version would allow me to encode directly from an avs script instead of MakeAVIS avi file. :) -BP |
Quote:
Well .... IF you would see the log of the console the forced colorspace conversion seems to be fixed as now the scaler just does a BYpass IMHO as in my case i got NO fps speed loss if not scaling in effective is set due to values different from the orig state!. "YV12 to YV12 colorspace scaling" in case of DVD inpout resizing or similair quoted is written there already since a lot of outcomed builds, means since 1-2 Month! Try to load a strange mpeg4 codec and apply a filter (I dont know which one suffered now but ..) ... that caused a crash in mencoder IF that Scale was not used before! Also ... if you look into mencoder Console log .... Verrry often when mencoder cant recognise the input diata... he uses "scale" to get that input decodable. So as Phil said ... theres mor "in" :scale: than just a scaler. And according to cosmetics ... ;-) Even when using fitcd on a 720 source just beiing cropped to 704 .... you wont find only a "Crop" line in the avs output script generated by Fitcd or Moviestacker, ... no ... the whole Bicubicresize(XXX,YYY,i,i,x,y,XXX,YYY) will be put out with "sclaing" parameters. You tell you read manuals? Nice. Ok. I also do ... but Practice will also give a little overview whats happening. Then you will see that some parts of the manual have not been updated properly ... as the console log output DOES report something different. Generally: Shure Im not everytime right as im just a product of "this" human world. But I do not "just assume" I at least do "say" things if I did try them before :!: :arrow: no offense 8) Quote:
|
Quote:
Quote:
Quote:
-------------------------- Visit: Intermediate guide: MencodeMe/Win32 - Avisynth - MakeAvis by Prodater64. Visit: KVCD - MencodeMe - Auxiliar Task - KVCD Docking Gate by Prodater64. Visit: Mencoder scripting with AVSEdit and Guide for Multiple Files by Prodater64. Visit: Mini-guide quick and easy - DVD to (S)KVCD with MencodeMe by Maurus. Visit: Mencode-me: a newbie oriented GUI - 0.23 is out! by VMesquita. -------------------------- http://www.digitalfaq.com/archives/error.gif |
Quote:
Quote:
"if the scaling method (that is setted by -sws option as you can read in the manual several pages above this one) is bicubic (that correspond to -sws 2) then this parameter represents the sharpness and can take a value from 0 to 100. if the scaling method is gaussian(that correspond to -sws 7) then this parameter represents the sharpness and can take a value from 0 to 100. if the scaling method is lanczos(that correspond to -sws 9) then this parameter represents thefilter length and can take a value from 1 to 10." if the scaling method is something else than the three values above, then this paremeter is not used." As you can see, the manual would have twice the number of pages if everything was expressed like this ! :-D |
@ Dialhot: Thank you.
In Argentina (where I'am from) we say (more or less): Who don't know is like who don't see. Thank for your lessons. -------------------------- Visit: Intermediate guide: MencodeMe/Win32 - Avisynth - MakeAvis by Prodater64. Visit: KVCD - MencodeMe - Auxiliar Task - KVCD Docking Gate by Prodater64. Visit: Mencoder scripting with AVSEdit and Guide for Multiple Files by Prodater64. Visit: Mini-guide quick and easy - DVD to (S)KVCD with MencodeMe by Maurus. Visit: Mencode-me: a newbie oriented GUI - 0.23 is out! by VMesquita. -------------------------- http://www.digitalfaq.com/archives/error.gif |
Quote:
,hqdn3d=3:6:2,unsharp=l3x3:-0.7:c3x3:-1.5,noise=3th, Instead? or am I waaay wrong... :oops: |
I didn't noticed that in the previous post but yes, you are right. I did the same mistake 2 days ago and changed that since then.
|
WOW!!
The Fluffbutt actually got something you guru's didn't!!! :lol: :lol: :lol: :lol: :lol: :lol: <PURRRRRRRRRRRRRRRRRRRRRRRR> !!!! |
Quote:
:-D |
:lol: :lol:
:rotf: |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.