First post of this thread updated with new parameters.
-kwag |
@bigggt it's human to make mistakes :P I've also had that error a couple of times before :P
|
Re: Mimicking Motion Adaptiveness blur with Mencoder.
Quote:
|
Quote:
If it opens a dos window and closes it real quick, it means there's an error in the bat file (usually a file name incorrect, or a directory name incorrect, or the bat file is not in the right directory itself). If nothing hapens at all, try right clicking, and selecting "open" in the menu that pops up. If it's the first problem, post your bat file here for us to read, and also make sure yourself that it's in the same folder as mencoder, AND the paths in the bat file that refer to your movie input and output are correct. |
Better way :
Go so "Start" menu of windows. Select "Run..." There type "cmd". A DOS windows will popup. Type "cd path_where_your_bat_is" Then type the name of the bat. This way you will have to error message that stays on the screen if there is any problem. |
@Fluffbutt he allready found out what was wrong :P
|
thanx guys i did get it going but thanx for all your hints :D
|
Here's my latest test sample, with the latest settings. Only difference is that I lowered the noise from 3th to 2th. Seems that lower resolutions require lower noise to maintain the same noise floor (min bitrate).
At 352x480, 3th is a little heavy, so I suggest 2th for 352x and 480x, and anything higher, 3th. This is my first KSVCD test encode with mencoder (same clip, Red Planet), trying 352x480 resolution. There are no buffer errors at mux time. Clip was "pulled down" for SVCD burning compatibility. Audio is 44.1Khz. Sample here: http://www.kvcd.net/red-planet-ksvcd-352x480.mpg Average bitrate of 918Kbps, and MAX bitrate set to 2,500Kbps. Peak is ~2,214Kbps. Settings used: vf=yuvcsp,pullup,softskip,crop=720:360:0:58,scale= 336:272,hqdn3d,sab=.5:.5:1,noise=2th,expand=352:48 0 lavcopts=vcodec=mpeg2video:vstrict=-1:vmax_b_frames=2:vrc_maxrate=2500:aspect=4/3:keyint=18:vrc_buf_size=917:preme=2:precmp=2:auto aspect=1:vrc_eq=tex:scplx_mask=0.01:vqmin=1:mbqmin =1:lmin=0.01:[Matrix Follows Here....] -kwag |
So to tell that there is no setting of avg bitrate in your line but probably an error of cut/paste.
|
Quote:
I didn't paste the "encode.bat" that I use. I assume is standard operating procedure ;) -kwag |
Quote:
<Fluffbutt was watching a mouse as he typed...> :oops: |
Code:
pullup,softskip 2) Are you removed vqblur=0? 3) noise=2th also for KSVCD (480x576)? 4) scplx_mask=0.01 and lmin=0.01? I use scplx_mask=0.3 and lmin=0.3. Are your setting best for KSVCD for 1 CD 80 min, with lower bitrates (900-1300)? Thanks. -Maurus |
Quote:
I dont understand why do you perform an IVTC on a not telecined DVD source?? As Your sample just gots the pulldown flag but not a real pulldown to "real" 29.97fps :?: |
Quote:
As stated in the manual, "pullup" takes care of any material that is either mixed, hard telecined, 24 fps progressive and 30 fps progressive. So this covers all my bases, in case of any future weird source ;) In this case, as in Red Planet that is processing a true progressive FILM material, "pullup" is not a problem, and doesn't do any changes on the stream. -kwag |
Ok, I didnt beleive before that pullup is that intelligent ;-)
|
NOTE: Presently pullup lacks any way to cap the output framerate, so during 30 fps progressive sequences or stills, it will output more than 24 fps, meaning you’ll have trouble if you use it with mencoder −ofps 23.976.
|
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 |
The known path ;-) :
http://www.mplayerhq.hu/homepage/design7/info.html#docs and there "manual" (but that softskip subject already is included in the manual for maaany weks now.) |
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 |
@kwag
So this command should be able to deal with hybrid material too I guess? Could you please post your *.bat file (2 pass of course :wink: )? |
Quote:
mencoder -include temp.conf -lavcopts vbitrate=859:vhq:vpass=1 "k:\Back to the Future\VTS_01_1.VOB" -o "K:\back.m2v" My configuration (included file): # Find cropping. #vf=yuvcsp,pullup,softskip,cropdetect # Test Back to the Future vf=yuvcsp,pullup,softskip,crop=720:460:0:6,scale=3 36:320,hqdn3d,sab=.5:.5:1,noise=1th,expand=352:480 of=rawvideo=1 ovc=lavc=1 nosound=1 sws=2 #sws=9 #KSVCD #lavcopts=vcodec=mpeg2video:vstrict=-1:vmax_b_frames=2:vrc_maxrate=2500:aspect=4/3:keyint=18:vrc_buf_size=917:preme=2:precmp=2:auto aspect=1:vrc_eq=tex:scplx_mask=0.01:vqmin=1:mbqmin =1:lmin=0.01:intra_matrix=8,9,12,22,26,27,29,34,9, 10,14,26,27,29,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,3 4,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38, 40,48,58,69,79:inter_matrix=16,18,20,22,24,26,28,3 0,18,20,22,24,26,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,3 2,34,36,38,40,42,44 # KDVD lavcopts=vcodec=mpeg2video:vstrict=-1:vmax_b_frames=2:vrc_maxrate=5000:aspect=4/3:keyint=18:vrc_buf_size=1835:preme=2:precmp=2:aut oaspect=1:vrc_eq=tex:scplx_mask=0.01:vqmin=1:mbqmi n=1:lmin=0.01:intra_matrix=8,9,12,22,26,27,29,34,9 ,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,2 6,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,79:inter_matrix=16,18,20,22,24,26,28, 30,18,20,22,24,26,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,2 6,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30, 32,34,36,38,40,42,44 ofps=23.976 |
@kwag
Thanks a lot, Maestro! :) I just came out of bed and saw your new discovery, helpful indeed. BTW Which version of MEncoder do you use? |
Good morning Audioslave :)
I'm using MEncoder dev-CVS-040430-00:00-3.3.1 (C) 2000-2004 MPlayer Team -kwag |
Thanks again! :D
|
And thats the point why only a crop detection is very risky:
Quote:
IF you go from 720 width to PAR 128/117 (no matter if overscan will be added) means in this case to a 352 width you have to crop the width by 8 before IF u use cropping as first command! crop=704:460:0:6,scale=336:320,...........,expand= 352:480 ;-) |
Quote:
704/352 = 2. But 720/352 is not even :!: Isn't resizing a bitch :lol: -kwag |
Quote:
|
Actually the correct line for "Back to the Future" is: vf=yuvcsp,pullup,softskip,crop=704:460:0:6,scale=3 36:336,hqdn3d,sab=.5:.5:1,noise=1th,expand=352:480
The original is 1.85:1 ;) -kwag |
Quote:
When it must to be present in the script? -------------------------- 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:
-kwag |
@Kwag: I already read that, but i don't understand it. I'm sorry. It is too technic for my english.
-------------------------- 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:
http://www.mplayerhq.hu/DOCS/man/es/manpage.html#CODEC%20SPECIFIC%20ENCODING%20OPTIONS %20(MENCODER%20ONLY) :) |
Hi all :D .
Hi Kwag. Already tested your MA mencoder filter chain. With a resolution 704x576, it slowed mencoder to 4-5 fps (you already advised it). I wanted to compare it with mencoderAVS, but after upgrading my PC (a big 160 GB HDD) mencoderAVS is not working for me ( :x ), even avisynth is working OK. I still have to compare it (speed) with makeavis way... and with vmesquita filter chain (image quality). But this filter chain would work more like hybridfupp than MA (in a way), since it just blurs some portions of the picture, am I wrong?. Other thing I'm curious (sorry, it's OT): from your last posts in this thread, I can see you're using a different approach related to mencoder parameters - using mbd=1 (vhq), we were using default mbd=0. I didn't compare them. Is it slower?. Does it improve quality (it's supposed to)?. It's even better with mbd=2, but sloooow. - you dropped vqblur=0 (so you're using default 0.5). With vqblur=0 mencoder is supposed to raise quantizer immediately whenever it's needed; with vqblur=0.5 quantizers are averaged with previous values. Why do you want mencoder to do so?, in what way does it improve the stream?. - you're using scplx_mask=0.01, very little mask is applied. scplx_mask is used with deblocking purpose. Does it mean that the filter chain is enough to avoid blocks?, does it make mencodings faster?. - finally, you're using a lmin=0.01 value. I tested really low values earlier (0.1), not so low, and with them I got a planar Q curve, as when using vqscale. And it also made bitrate peaks raise a lot. What's your purpose when using this very low value?, don't you get a planar Q curve, and high bitrate peaks?. Kwag, I make all this questions to learn from your experience. Sorry if I did too much questions, but I want to understand your way. And as I don't have much time now to test, I need you tell us the result of your way (even there's already a sample to see the result :lol: ) Thanx in advance |
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
-kwag |
Already tested your MA mencoder filter chain.
The quality is good, but it is very very slow in PCs < 1 GHz. I look for another chain alternative with decent quality: Code:
SCALE, CROP, unsharp=l3x3:0.6,hqdn3d=3:6:2,unsharp=l3x3:-0.7:c3x3:-1.5,noise=2th, EXPAND Code:
vhq I can optimize something this? Thanks. -Maurus |
Same problem here: two slow. I've got an athlon xp 2400 and with this script i've got only 10 fps and with 2 pass it takes 8 or 9 hours. The quality is very good but I can't wait so long.
|
Is anyone getting buffer underflows in mencoder with these filters? I get alot of them and the audio isn't sync anymore after half an hour :? Reducing the noise to 1th has helped a bit with the buffer underflows in mencoder but the bitrate drops below 200 :(
|
I allways (with this filter chain and with all filters chain than I try) get a lot of "buffer underflowin", but in the PC and in the player the KSVCD seems good.
-Maurus |
No problems with your audio?
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.