06-10-2004, 09:15 AM
|
Free Member
|
|
Join Date: Oct 2003
Location: Madrid
Posts: 387
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
No for the moment....
I use Mplex or bbMpeg for muxing.
-Maurus
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
06-10-2004, 09:39 AM
|
Free Member
|
|
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
The weird thing is that I'm not getting underflows while muxing with mplex
|
06-10-2004, 10:16 AM
|
Free Member
|
|
Join Date: Oct 2003
Location: Madrid
Posts: 387
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
With Mplex the error is under-runs, not owerflows (that is in MEncoder).
I get a lot of overflows in MEncoder and not usually over-runs in MPlex.
-Maurus
|
06-10-2004, 10:50 AM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Koekies
Is anyone getting buffer underflows in mencoder with these filters?
|
What resolution are you encoding to, and what is your VBV size and MAX bitrate
|
06-10-2004, 10:53 AM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by SILK
The quality is very good but I can't wait so long.
|
That's the price we have to pay for motion/object adaptive encoding
-kwag
|
06-10-2004, 11:23 AM
|
Free Member
|
|
Join Date: Oct 2003
Location: Madrid
Posts: 387
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I get a lot of overflows with this settings:
Code:
480x576, vrc_maxrate=2500:keyint=15:vrc_buf_size=917
and I use the next filter chain:
Code:
yuvcsp,scale=480:432::0:9,crop=448:432:16:0,hqdn3d,sab=.5:.5:1,noise=2th,expand=480:576:16:72
The crop, scale and expand parameters ffrom Incredible's MEncalc.
-Maurus
|
06-10-2004, 11:31 AM
|
Free Member
|
|
Join Date: May 2004
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
That's the price we have to pay for motion/object adaptive encoding
|
AS i'm planing for 2 movies on 1 DVD at 704x576 can i adjust the parameters a little to get an improve in speed?
|
06-10-2004, 11:49 AM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by SILK
AS i'm planing for 2 movies on 1 DVD at 704x576 can i adjust the parameters a little to get an improve in speed?
|
Sure
Drop "sab" from the filter chain.
2 movies (~4 hours without adaptive filtering) on one DVD is just fine with the "notch" matrix
-kwag
|
06-10-2004, 11:53 AM
|
Free Member
|
|
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanx a lot for your clear answer Kwag. Just a few questions:
Quote:
Originally Posted by kwag
Quote:
- 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?.
|
To avoid the spikes that many people were seeing.
|
So the effect you found when dropping vqblur was no bitrate spikes, isn't it?. In your tests, did you compare just with and without vqblur, or did you change something else that could make this same effect?. I don't question your results, in fact I don't remember having tested this. But fron a theoretic point of view, when it comes an scene where a raise of bitrate is needed, vqblur=0 allows quantizers raise fast (and moderate bitrate), and default 0.5 will make quantizers average previous, and then more bitrate needed... just if I understood well the theory.
I read somewhere that vratetol lower values would make bitrate more "stable" (even vratetol=0 would be like constant bitrate), I still have to test some values.
Quote:
Originally Posted by Kwag
Quote:
- 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?,
|
With the value I have set lmin and scplx_min, I'm getting better bitrate distribution. Quote:
don't you get a planar Q curve, and high bitrate peaks?.
|
Nope. No crazy peaks at all, and bitrate within the MAX limits every time
|
But in your sample I see you get a planar Q curve. OK it's a small sample, but the encoder behaves just as I expected: lmin=0.01 makes quantizers go always as low as possible. I just don't understand why Q=2 and not Q=1, that is the value of vqmin and mbqmin. MAybe an effect of vqblur=0.5.
If I find the time I'll do some tests just tweaking vqblur and vratetol, and see its effects... and post in another thread, since this is all OT. Sorry.
Well, please tell me what do you think about this.
Cheers
|
06-10-2004, 11:59 AM
|
Free Member
|
|
Join Date: May 2004
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks Kwag
So my parameters should be something like that?
Code:
vf=yuvcsp,scale=688:414:0:0:60,crop=718:576:-1:-1,hqdn3d,noise=3th,expand=704:576:-1:-1:1
|
06-10-2004, 12:01 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by SILK
Thanks Kwag
So my parameters should be something like that?
Code:
vf=yuvcsp,scale=688:414:0:0:60,crop=718:576:-1:-1,hqdn3d,noise=3th,expand=704:576:-1:-1:1
|
As you're doing KDVD, no need to keep the MIN bitrate at ~300Kbps with noise=3th, so change it to noise=1th.
-kwag
|
06-10-2004, 12:05 PM
|
Free Member
|
|
Join Date: May 2004
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ok, thanks again.
And just to be sure, my command line
Code:
2240
of=rawvideo=1
ovc=lavc=1
nosound=1
sws=2
lavcopts=vcodec=mpeg2video:vstrict=-1:vmax_b_frames=2:vrc_maxrate=5000:aspect=1.3333:keyint=15:vrc_buf_size=1835:preme=2:precmp=2:autoaspect=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,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,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44
ofps=%%FPS%%
|
06-10-2004, 12:06 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
That's it
|
06-10-2004, 04:08 PM
|
Free Member
|
|
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
My resolution is 704x480 I'm using pullup and softskip to convert from 29,97 to 23,976.
Keaping the fps at 29,97 gives the same error with audio not being sync after a while :P .
I've encoded this DVD about 7 times now Would lowering the resolution help?
I'm doing skvcd so vbv=917
-Koekies
Edit: and max bitrate is 2200
|
06-10-2004, 05:03 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Koekies
My resolution is 704x480 I'm using pullup and softskip to convert from 29,97 to 23,976.
Keaping the fps at 29,97 gives the same error with audio not being sync after a while :P .
I've encoded this DVD about 7 times now Would lowering the resolution help?
I'm doing skvcd so vbv=917
-Koekies
|
As you're doing 704x480, increase your VBV to vrc_buf_size=1835
-kwag
|
06-10-2004, 05:26 PM
|
Free Member
|
|
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
but that's dvd will would your standalone still be able to play it?
Because one of my dvd players isn't even able to play back my skvcds made with mencoder
And they're both philips :P Should I lower ther resolution?
Or would that lower the quality?
-Koekies
|
06-10-2004, 05:44 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Koekies
but that's dvd will would your standalone still be able to play it?
|
Why don't you try a small clip
|
06-11-2004, 12:51 AM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
The more I work with it, the more in love mencoder
Just finished a full encode of "Back to the Future", and I'm with the quality
Take a look: http://www.kvcd.net/bttf.mpg.cut.45.mpg ( ~10MB MPEG-2 pulled down, 37 seconds @704x480 (2 blocks overscan), clip has audio)
I encoded for KDVD and my complete muxed size is 1,683,362KB
I still have to encode part 2 and part 3, because my goal is to put the trilogy on one DVD-R.
But I'm right on target, and they all should look like that sample
Again, no underrun errors, with the current settings.
Here are some screenshots of the film:
And here's a close up from another scene, for some details:
-kwag
|
06-11-2004, 02:09 PM
|
Free Member
|
|
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Karl those screenshots look awesome I hope you pull off getting them all to one DVD as I want to do the same with my Trilogy box set.
The mpeg I downloaded look excellent quality wise also.
Nice work Karl.
__________________
Regards.
Michael.
|
06-11-2004, 02:15 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks Zyphon,
Yes, all three movies should fit "tightly" on one DVD
I haven't had time to encode the other two movies, but I'll probably do that in the weekend.
I'm still fooling aroung with shape adaptive blur settings, so the ones I used are not final.
But so far, I'm very pleased with the results.
-kwag
|
All times are GMT -5. The time now is 02:39 PM — vBulletin © Jelsoft Enterprises Ltd
|