Quantcast Mencoder: Buffer Underflowing - digitalFAQ.com Forums [Archives]
  #1  
06-01-2004, 06:44 AM
maurus maurus is offline
Free Member
 
Join Date: Oct 2003
Location: Madrid
Posts: 387
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
06-01-2004, 07:01 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
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.
Reply With Quote
  #3  
06-01-2004, 07:28 AM
maurus maurus is offline
Free Member
 
Join Date: Oct 2003
Location: Madrid
Posts: 387
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #4  
06-01-2004, 07:41 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #5  
06-01-2004, 07:50 AM
maurus maurus is offline
Free Member
 
Join Date: Oct 2003
Location: Madrid
Posts: 387
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #6  
06-01-2004, 08:12 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #7  
06-01-2004, 08:49 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
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
Reply With Quote
  #8  
06-01-2004, 09:27 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #9  
06-01-2004, 09:29 AM
maurus maurus is offline
Free Member
 
Join Date: Oct 2003
Location: Madrid
Posts: 387
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #10  
06-01-2004, 10:32 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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 !!!
Reply With Quote
  #11  
06-01-2004, 01:46 PM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Buffer underflow con Mencode-me nogod Convertir y Codificar Video (Español) 47 05-31-2004 01:18 PM
Mencoder: Buffer underflows Boulder Video Encoding and Conversion 39 05-19-2004 07:09 AM
Mencoder: Changing/Setting field order in mencoder tuco1979 Video Encoding and Conversion 1 04-17-2004 09:06 AM
KVCD: Buffer underflow? big Video Encoding and Conversion 3 04-26-2003 12:32 PM
TMPGEnc: Buffer underflow ?? rds_correia Video Encoding and Conversion 3 04-24-2003 08:28 AM

Thread Tools



 
All times are GMT -5. The time now is 07:31 AM  —  vBulletin © Jelsoft Enterprises Ltd