Quantcast MencodeME Bug Reports Thread - Page 2 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #21  
05-09-2004, 06:46 AM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Prodater64
Theoretically, vbv must to be fixed in last version. (IMHO it is fixed more or less) Mpeg1 as mpeg2 would be now 917 both, but i don't still check it .
VBV value is assigned inside MencodeMe, it's not in the templates.
VM did a good work, following advise by kwag, and with resolution greater than 480 it gives a VBV of 112 (buf_size=917). But resolution 352x288(240) gives a VBV of 40.
My question/problem is that with a resolution of 352x288 I also got buffer underflowmin errors on 2nd pass. And as it was a mpeg2 encoding, I wondered if it also need a VBV of 112 even at a low resolution.
I'll reencode the film with vrc_buf_size=917 instead 327, and see what happens...
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
  #22  
05-09-2004, 07:03 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi VM,
The cropped width and height are for manual cropping, right?
Being in PAL land my sources are always 720x576.
Let's say that I pick a DVD source and I load it into Moviestacker.
Let's also say that I want to crop 12 on top and 12 on bottom because of black bands.
Let's say that I want to go for a non-anamorphic 4:3 encode.
Moviestacker will tell me to resize to 688x400.
So my command line in mencoder would be something like crop=720:552,scale=688:400,expand=720:576, right?
But MencodeMe is switching the order of crop and scale and that is "screwing" the AR.
Can you check that Vinicius?
TIA
Cheers buddy
__________________
Rui
Reply With Quote
  #23  
05-10-2004, 12:39 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 rds_correia
crop=720:552,scale=688:400,expand=720:576, right?
Almost!
Like In avisynth you MUST specify the coordinates x and y where it will be cropped.

crop=720:552:0:12,scale=688:400,expand=720:576

Reply With Quote
  #24  
05-10-2004, 04:11 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
@Inc.,
Eheh .
You got me there buddy
I was just too sleepy to finish my thought
Anyway let's see if V has seen this happening with him and if he can change/fix whatever is wrong.
Maybe it's me
Cheers
__________________
Rui
Reply With Quote
  #25  
05-10-2004, 04:15 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
If you don't specify, it will center the crop: so if ask to take away 32 pixels from width it will take 16 from each side. Generally this is what we want to do.
Reply With Quote
  #26  
05-11-2004, 04:15 PM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
I admit that I havent read all of this thread

I have sugestions, not bug report:
1. There is no sense of seting min quantizer to 1, quality will be no beter than with vqmin=2. So there is no gain of quality, but this raises overal bitrate (not too much but always it is something). I think that vqmin=2 specialy tof fullDVD resolutions is enought.

2. Also I think that libavcodec has B-frame bug. I've noticed this in ffvfw, and mencoder have this also. If you set some Bframes (1 or 2) overal filesize will be higher than without Bframes. Difference isn't much (about 3%) but egzists.

3. Another thing: you can add vhq optional mode. It's slower but for some might be useful. Speed drops about one/third, but quality rises a bit (useful for low resolutions).

Thx for great tool VM

EDIT: ... if only vhq works Documentatios says it does what does, but I get no speed slowdown , and quality improve. Maybe I'm using this wrong way
__________________
Go for SECAM =)
Reply With Quote
  #27  
05-11-2004, 05:23 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Hydeus
1. There is no sense of seting min quantizer to 1, quality will be no beter than with vqmin=2. So there is no gain of quality, but this raises overal bitrate (not too much but always it is something). I think that vqmin=2 specialy tof fullDVD resolutions is enought.
According to tests did by Bilu, digitall.doc and others, vqmin=1 prevents blocks in low quantization areas. I know the manpage doesn't recommend it.
Quote:
2. Also I think that libavcodec has B-frame bug. I've noticed this in ffvfw, and mencoder have this also. If you set some Bframes (1 or 2) overal filesize will be higher than without Bframes. Difference isn't much (about 3%) but egzists.
I always use B-Frames and filesize is more or less accurate... 3% is acceptable I think...
Quote:
3. Another thing: you can add vhq optional mode. It's slower but for some might be useful. Speed drops about one/third, but quality rises a bit (useful for low resolutions).
The same tests done by Bilu and others showed that vhq doesn't improve quality.

Please search for user Bilu in this forum, you'll see a lot of tests have been done by him and many others to come to this options
Quote:
Thx for great tool VM
You're welcome.

Quote:
EDIT: ... if only vhq works Documentatios says it does what does, but I get no speed slowdown , and quality improve. Maybe I'm using this wrong way
That's what I was talking about.
Reply With Quote
  #28  
05-11-2004, 05:56 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
@VMesquita,
Hi V
Yesterday I was testing with MencodeMe when I got terrified when I looked at the log and saw it was encoding @ 2fps!
Look at my options in MencodeMe:
http://www.freewebs.com/kvcdguides/mencodeme_screen.jpg
Please, "save target as:" to your harddisk to see the picture.

And look at my log:
Code:
Mencoder.exe -include temp.conf -lavcopts vbitrate=5276:vpass=1 "D:\BTTF\VOBS\VTS_01_1.VOB" -o "D:\BTTF\VOBS\VTS_01_1.mpv" MEncoder dev-CVS-040508-05:00-3.3.1 (C) 2000-2004 MPlayer Team
 
 CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 1973 MHz (Family: 6, Stepping: 1)
Can't open '/home/rds_correia/.mplayer/codecs.conf': No such file or directory
 Detected cache-line size is 64 bytes
File not found: 'frameno.avi'
 CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Failed to open frameno.avi
 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
: No such file or directory
 
The selected video_out device is incompatible with this codec.
 Reading /home/rds_correia/.mplayer/codecs.conf: Reading mplayer//codecs.conf: 66 audio & 175 video codecs
 Reading config file /home/rds_correia/.mplayer/mencoderReading config file temp.conf
 font: can't open file: /home/rds_correia/.mplayer/font/font.desc
 font: can't open file: /usr/local/share/mplayer/font/font.desc
 success: format: 0  data: 0x0 - 0x3FFBC000
 MPEG-PS file format detected.
 VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  9800.0 kbps (1225.0 kbyte/s)
 [V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
 Opening video filter: [expand osd=1]
 Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
 Opening video filter: [expand w=704 h=576 x=-1 y=-1 osd=1]
 Expand: 704 x 576, -1 ; -1  (-1=autodetect) osd: 1
 Opening video filter: [noise=2uh]
 Opening video filter: [unsharp=l3x3:-0.7:c3x3:-1.5]
 Opening video filter: [hqdn3d=3:6:8]
 Opening video filter: [unsharp=l3x3:0.6]
 Opening video filter: [crop w=720 h=552 x=-1 y=-1]
 Crop: 720 x 552, -1 ; -1
 Opening video filter: [scale w=688 h=400 interlaced=0 chr-drop=0 param=60]
 Opening video filter: [yuvcsp]
 ==========================================================================
 Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
 VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
 Could not find matching colorspace - retrying with -vf scale...
 Opening video filter: [scale]
 VDecoder init failed :(
 Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
 Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
 ==========================================================================
 Writing AVI header...
 VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
 VDec: using Planar YV12 as output csp (no 0)
 Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
 SwScaler: reducing / aligning filtersize 127 -> 116
 SwScaler: reducing / aligning filtersize 127 -> 116
 SwScaler: reducing / aligning filtersize 174 -> 156
 SwScaler: reducing / aligning filtersize 174 -> 156
 
 SwScaler: Lanczos scaler, from Planar YV12 to Planar YV12 using MMX2
 unsharp: 3x3:0.60 (sharpen luma) 
 unsharp: 0x0:0.00 (don't touch chroma)
 unsharp: 3x3:-0.70 (blur luma) 
 unsharp: 3x3:-1.50 (blur chroma)
 videocodec: libavcodec (704x576 fourcc=3267706d [mpg2])
 Pos:   0.1s      4f ( 0%)   3fps Trem:   0min   0mb  A-V:0.000 [0:0][mpeg2video @ 0x805270]rc buffer underflow
 Pos:   2.9s     74f ( 0%)   2fps Trem: 251min 147mb  A-V:0.000 [889:0]
And look at my temp.conf file:

Quote:
vf=yuvcsp,scale=688:400:0:0:60,crop=720:552:-1:-1,unsharp=l3x3:0.6,hqdn3d=3:6:8,
unsharp=l3x3:-0.7:c3x3:-1.5,noise=2uh,expand=704:576:-1:-1:1
of=rawvideo=1
ovc=lavc=1
nosound=1
sws=9
lavcopts=vcodec=mpeg2video:vrc_eq=tex:vmax_b_frame s=2:vrc_maxrate=9800:aspect=1.3333:keyint=15:vrc_b uf_size=1835reme=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,79:
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,42,44
ofps=25
As you can see my cropping and scaling are in the "wrong" order.
I tried these options in different order with Incredible helping me and we concluded that the order of crop and scale affect the aspect ratio and the speed of the encoder.
Can you check that buddy?
TIA pal.
Cheers
__________________
Rui
Reply With Quote
  #29  
05-12-2004, 02:39 AM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
Thx VM.
I wasn't on shedule with mencoder testing, so that's why I posted this sugestions
I got one more: to set custom target along with KVCD, 2KVCD, SKVCD, ... cause only way to produce (for instance) 50MB file is to "unlock advanced" and set bitrate. If it's possible try to add this.
I've also readed somewhere, that someone sugested pararel preview of encoding (like in TMPG). It's possible or not to use mplayer for this?
Thx
__________________
Go for SECAM =)
Reply With Quote
  #30  
05-12-2004, 07:35 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
It would be cool an option for "no audio" in drop down box, for people that uses ac3 audio. Then they will obtain a only video predicted file that conbined with the media size advanced settings, it will permit obtain the final size needed (of course they must to know ac3 file size and make a sum like "Final Size = Media Size Settings + AC3 File Size")
Reply With Quote
  #31  
05-12-2004, 04:11 PM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
... and (sorry for this wish list ) maybe it is good to add second pass option. After one pass encoding , mencoder creates divx2pass.log, so if someone isn't satisfied with results (like me -> joke ) can always do another pass.
__________________
Go for SECAM =)
Reply With Quote
  #32  
05-12-2004, 07:18 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Hydeus
... and (sorry for this wish list ) maybe it is good to add second pass option...
Maybe You mean an "only second pass" option".
Reply With Quote
  #33  
05-13-2004, 02:09 AM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
Yes Pro, that exactly what I was thinking
__________________
Go for SECAM =)
Reply With Quote
  #34  
05-13-2004, 06:20 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Please check the new "To-Do" list:

http://www.kvcd.net/forum/viewtopic.php?p=78469
Reply With Quote
  #35  
06-04-2004, 10:16 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Hi:
@VMesquita: You will see if the following is a bug or not. I don't know.
When you load an avi file and select combo no filter, make your settings and press encoding, target file has same resolution as original one.
This is, as i can see, because in temp.conf we have:
Quote:
vf=,scale=720:324,crop=0:0:-1:-1,expand=720:576:-1:-1:1
and we don't will obtain a correct resize until change this line as following:
Quote:
vf=yuvcsp,scale=720:324,crop=0:0:-1:-1,expand=720:576:-1:-1:1
This also was reported by Maurus in http://www.kvcd.net/forum/viewtopic.php?p=77981#77981 but question was not answered.

Is it a bug?



--------------------------
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.
--------------------------

Reply With Quote
  #36  
06-28-2004, 05:18 PM
centella centella is offline
Free Member
 
Join Date: Jun 2004
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
Hi

I have the source

demosist.avi
576x240
25fps
DivXPro 5.1.1
728kbps
110 minutes
Audio: 44.1 kHz, mp3, 128kbs

I use MencoderMe v0.23
AVI: e:\video\demosist.avi
Filtering combo: AVI
Target: 2CD-KSVCD
Overhead:32
Movie Lenght(min):110
MediaSize:1590
AudioBitRate:128
BitRate:1852
Resized width:480
Resized height:264
CROPPED
Width:0
Height:0
CENTER
X:-1
Y:-1
Final Resolution: 480x480
FrameRate:29.97
Field Operation:None
Aspect Ratio: 4:3
(x) 2 Pass VBR

The encode generate me 1 file of
770 MB and not 2 files what you total is 1590.

Why ? is MencodeMe error or me ?
__________________
Siempre que alguien te ayude: Da las Gracias...
Reply With Quote
  #37  
06-28-2004, 05:20 PM
centella centella is offline
Free Member
 
Join Date: Jun 2004
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
The one error found for me is that MencodeMe not open AVI file with attribute read only !!!

I need for encode AVI from CD-ROM unit .... jejejeje
__________________
Siempre que alguien te ayude: Da las Gracias...
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Paranoia: Bug reports incredible Video Encoding and Conversion 177 05-14-2006 08:49 AM
WeatherWatcher desktop weather reports black prince Computers 0 02-08-2006 06:10 PM
MovieStacker Bug Reports - (MStacker 2.1.0) muaddib Video Encoding and Conversion 18 04-19-2004 06:48 PM
Bitrates: CQMatic Version 1.2.03 Reports kwag Video Encoding and Conversion 24 11-16-2003 05:33 AM
Bitrates: CQMatic Bug Reports kwag Video Encoding and Conversion 251 09-29-2003 01:00 PM




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