digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Mencoder: Buffer underflowing (http://www.digitalfaq.com/archives/encode/10012-mencoder-buffer-underflowing.html)

maurus 06-01-2004 06:44 AM

Mencoder: Buffer underflowing
 
1) I have allways several errors "buffer underflowin" in second pass when I encode with MEncoder, but in my player the KSVCD seems good quality.

It is important? How I can correct? with vcr_minrate?
I added noise as Kwag explanation.

2) Yesterday I see one error (only one) "1 duplicated frame". The encode is not stoped and the KSVCD also seems good. What is this?

Thanks for all.

-Maurus

I use generic mencoder CVS build included in MEncocdeMe 0.23

incredible 06-01-2004 07:01 AM

Re: buffer undereflowin
 
Quote:

Originally Posted by maurus
1) I have allways several errors "buffer underflowin" in second pass when I encode with MEncoder, but in my player the KSVCD seems good quality.

It is important? How I can correct? with vcr_minrate?
I added noise as Kwag explanation.

vrc_minrate screws up totally the bitrate allocation, so, hands off till mplayer team has fixed that issue.

Quote:

2) Yesterday I see one error (only one) "1 duplicated frame". The encode is not stoped and the KSVCD also seems good. What is this?
That seems to be a "smart" behaviour of mencoder BUT if everything plays fine on your Stand Alone Player so, ... well.

The "problem" is: Mencoder does report every little thing when encoding where other encoders doesnt! And Thats why we dont get confused on such details in case of the usage of other encoders.

maurus 06-01-2004 07:28 AM

Thanks.

But "buffer underflowin" is a mencoder warning or it is an error?

Means than the bitrate (when the error occurs) is down a minimal of 300 Kbps (for sample)?

If it play fine my player, can it not work in anothers playes?

-Maurus

Koekies 06-01-2004 07:41 AM

If you use a high forced muxrate in mplex and you don't get any bufferunderflow errors there they work on all my dvd players. But since I used Kwag's advice to change the noise to 3th I haven't got a single bufferunderflow anymore :)

maurus 06-01-2004 07:50 AM

Quote:

Originally Posted by Koekies
If you use a high forced muxrate in mplex and you don't get any bufferunderflow errors there they work on all my dvd players. But since I used Kwag's advice to change the noise to 3th I haven't got a single bufferunderflow anymore :)

What is high forced muxrate in mplex? I use mplex -f 5 -V.

I get "bufferunderflow errors" in second pass with mencoder, not in mplex.

And I use Kwag's advice to change the noise to 3th, but I still see buffer underflowin errors...


Thanks.


-Maurus

Koekies 06-01-2004 08:12 AM

Forced mux rate is an option in the mplex gui. If you get buffer underflows during the muxing you set it higher and you won't get any underflows.

But since your not getting them during muxing i guess there's nothing wrong unless your dvd player doesn't play them but my dvd players plays them flawlessly and my friends also :)

incredible 06-01-2004 08:49 AM

set -r 0 that causes an automatic bitrate detection by mplex.

OR do

-r =(video bitrate + audiobitrate)*2.59

.... was it 2.59??? Im not shure right now ... do look into mplex.exe Frontend or BBmpeg

Koekies 06-01-2004 09:27 AM

You can choose zero as forced muxrate in mplex gui aswell (it's supposed to detect it automaticly except I sometimes still get buffer under flows so then I use the value kwag suggested somewhere else on kvcd.net and if I still get buffer underflows I just make it a little higher and the buffer underflows are gone and the mpg plays perfect :) On computer and dvd players

maurus 06-01-2004 09:29 AM

What of both aproach is the best?

Code:

--mux-bitrate|-r num
  Specify data rate of output stream in kbit/sec
    (default 0=Compute from source streams)

0 is by default.


Thanks.


-Maurus

Dialhot 06-01-2004 10:32 AM

Quote:

Originally Posted by Koekies
IBut since I used Kwag's advice to change the noise to 3th I haven't got a single bufferunderflow anymore :)

I use that everytime and while doing a KVCD (and not a KDVD, zith max = 3000, avg = 1800, aspect = 1.333, res 544*576) I received ;ore message than my dos window could display. And I use a 80*132 window !!!

Koekies 06-01-2004 01:46 PM

Well I do SKVCD's its better quality and use

Code:

vf=%%FORCEDFILM%%yuvcsp,scale=%%CROPPED_WIDTH%%:%%CROPPED_HEIGHT%%:0:0:60,%%CROP%%unsharp=l3x3:0.6,hqdn3d=3:6:8,unsharp=l3x3:-0.7:c3x3:-1.5,noise=3th,expand=%%WIDTH%%:%%HEIGHT%%:-1:-1:1
as filter in Mencode-ME but I can't use DVD source like you guys :( I have to use xvid :P


All times are GMT -5. The time now is 02:41 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.