digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Mencodeme: a newbie oriented GUI - 0.23 is out! (http://www.digitalfaq.com/archives/encode/9116-mencodeme-newbie-oriented.html)

kwag 04-19-2004 12:15 PM

Quote:

Originally Posted by sertinell

Kwag, are you sure that the kernel can be the problem?

Thanks

It can be a problem, but not exactly the Kernel :!:
It could be a conflict with your binary image, because it was compiled with kernel 2.4.x and not with 2.6.x, which is what you have.
Kernel 2.6 breaks a lot of compatibility with the 2.4.x branch.

-kwag

sertinell 04-19-2004 12:50 PM

Quote:

Kernel 2.6 breaks a lot of compatibility with the 2.4.x branch.

-kwag
OUCH !! :banghead: :banghead: :banghead: :banghead:

I must search a solution :evil: :evil:

Krassi 04-19-2004 01:47 PM

@sentinell:
I think Kwag is right, should be a kernel problem.
You are not already using an AMD64 :?:
Maybe it is a libc problem.

@vmesquita:
Great job 8O :!:
I've planned to implement something like this but hadn't the time to do so.
I wasn't able to follow the mencoder tests and your tool is a great start. Thank you.
My results are great so far :angel: :mrgreen:

sertinell 04-19-2004 02:02 PM

Quote:

You are not already using an AMD64?
Maybe it is a libc problem.
I wish have one !! No I have a P4 1,4 Ghz :(
I'm sorry but I didn't think it. I Know people who changed his kernel from 2.4.x to 2.6.x and hadn't recompile all OS(KDE, Xfree..).
If only was the kernel, the solution is easy: VMesquita lend me the source code :roll: , I promise not show to the public. And I wil post my results and my 2.6.x release.

Thanks

P.S Excuse me my bad english :oops: [/url]

black prince 04-19-2004 03:00 PM

Hi VMesquita,

1) I'm using template DVD to KVCD. Is there a way to override the
height and width crop settings that are grayed out in MEncoderME??

2) I may have asked this before, but is there a way to simulate
overscan??

3) I'm crashing using 2 pass and 1 pass gives me excellent picture
quality. Will 2 pass make a more accurate file size prediction??

4) My file size for video is way under (351MB vs 740MB as correct).
The whole movie is there and looks very good, but how can I
set vrc_maxrate, vbitrate, vrc_minrate, vrc_buf_size, keyint,
for more accurate predictions.
I currently have for 352X240 mpeg-1, vrc_maxrate=2000, vbitrate=(
bitrate calculator), vrc_buf_size=327, keyint=24, and vrc_minrate=300.

Thanks :)

-BP

digitall.doc 04-19-2004 03:47 PM

Quote:

Originally Posted by incredible
...so I will test that tomorrow again (tonight I gonna celebrate my birtday ;-) ).

Happy birthday my friend!!!

Hope you enjoy alone :drink:
...or much better with friends :drunkard:

:lol:

incredible 04-19-2004 04:01 PM

Thanks!! :dunce: :D

vmesquita 04-19-2004 04:03 PM

Quote:

Originally Posted by kwag
FIFO FIFO FIFO
Hint: mkfifo

Actually, I don't think there's a need for that since the method I am using is working very well. The problem with GTK2 is that for some reason the status line of mencoder is not being detected properly, so the log goes on forever (instead of the status line being rewritten every time). But I think this is a problem with wxGTK use of GTK2 , since it's "experimental".

@incredible
Looks like the problem is not related to my GUI, then. :? But in my tests this never happen, I always get a file near to the asked bitrate in both passes. Happy Birthday!

@sertinell
I don't think it's the kernel, because my Kurumin Linux has a package to update to 2.6 and I don't think they would put a precompiled package that makes everythingelse stop working. :roll: I can try to install the package since it keep both kernels and test.

Quote:

Originally Posted by black prince
1) I'm using template DVD to KVCD. Is there a way to override the
height and width crop settings that are grayed out in MEncoderME??

No there isn't. In the previous release they could be set manually but I grayed ou because I thought nobody would want to tweak this. I'll free this control then.
Quote:

2) I may have asked this before, but is there a way to simulate
overscan??
Right now no, because I graied out the controls. :oops: Unless you're using MakeAVIS, of course.
Quote:

3) I'm crashing using 2 pass and 1 pass gives me excellent picture
quality. Will 2 pass make a more accurate file size prediction??
In my experience, yes, specially in fast motion scenes. The accuracy is about the same to me.
Quote:

4) My file size for video is way under (351MB vs 740MB as correct).
The whole movie is there and looks very good
Sometimes mencoder just can't quantisize less than he's doing. It is already not dropping near any information (except for the scenes that could use more bitrate but max won't allow), so it just can't get the file bigger. If you're using a 352x240 with widescreen matherial, this is very possible. :wink:

digitall.doc 04-19-2004 04:47 PM

vmesquita,
When using makeAVIS template, it encodes mpeg2. It would be nice to have the option to encode either mpeg1 or mpeg2. Or better create a template with makeAVIS and mpeg1. I know it's very easy to make a new .conf template with one's settings. Just tell you if you want to add it to your next version.
Quote:

Originally Posted by vmesquita
Sometimes mencoder just can't quantisize less than he's doing. It is already not dropping near any information (except for the scenes that could use more bitrate but max won't allow), so it just can't get the file bigger. If you're using a 352x240 with widescreen matherial, this is very possible. :wink:

A way to solve this may be adding noise, because we cannot raise maxrate when encoding KVCD.
Somehow, in my tests (maybe because encoding mpeg2) mencoder is blockier than TMPGEnc when encoding with makeAVIS and aiming KVCD. These are my first tests with mencoder for KVCD. I think we can try to improve this (maybe higher scplx_mask value,...)

vmesquita 04-19-2004 05:01 PM

@digitall.doc
Nice idea (mpeg1 MakeAVIS), I'll add that to the next release. It's very simple, anyway. :D

bigggt 04-19-2004 05:41 PM

@ BP

I had the same problem

my first encoed was 352x240 and got only 299 mb of video for an 89 minute movie

Not glad its happining to you but i am glad i'm not alone because i thought i was doing something wrong :D

fozzieb 04-19-2004 05:52 PM

when i do avi to kdvd, i choose 720x576 but it says cropped size is 720x588
this is not standard dvd size and looks crap on stand alone player, i had 6 episodes of hustle at 640x368 8O the first four encoded to 720x576 but the last two don't (588 not 576)

any ideas?

bloody great gui by the way

vmesquita 04-19-2004 06:43 PM

@fozzieb
Are you sure all the source movies had the same width/height? Because I don't see how this could happen if both movies have the same width/height. Could you please confirm this?

fozzieb 04-20-2004 04:55 AM

it looks like the first four were 640x360 and the last two are 640x368

so it looks like that this is the problem, any ide how i can change the res quickly before i open in MencoderME?

cheers

vmesquita 04-20-2004 06:59 AM

Right now, cropped resolution is locked. I'll unlock it. :D
Actually, the problem is that your source has a distorted aspect ratio: it should be minimmum 1.7777 at the most (for 16:9 encoding), but it's 1.739!

This happended because the person who did the AVI decided to do macroblock optimization. To do that, width and height are a bit distorted to be divisible by 16, optimizing compression. But this also created a "bigger" than 16:9 A.R. movie. :roll: I can add a check for this. :wink:

incredible 04-20-2004 07:37 AM

Quote:

Originally Posted by vmesquita
Looks like the problem is not related to my GUI, then. :? But in my tests this never happen, I always get a file near to the asked bitrate in both passes. Happy Birthday!

Hi Vmesquita,

well ... do you use the build you do provide within the downloadable GUI mencoderME package?

I have the mencoderME.exe AND the mencoder.exe in the same folder, ... also that cgywin1.dll .... this folder is also settet in my systemVariables settings ... Ill do make an extra Folder somewhere else which will contain ONLY MencoderME.exe, cgywin1.dll, The Templates AND the mencoder.exe (your last generic build) ... so MencoderME GUI will look for mencoder.exe and will use ONLY that one in the same folder. :idea:

incredible 04-20-2004 02:32 PM

NOW IM GETTING INTO CRISIS!!!! :evil:

Even when using 2pass :arrow: never will get above 2000kbit avg eben if 3500kbit is set as bitrate :cry:

I tried all my builds of mencoder I have 8O Whats going on on my Machine :screwy:

vmesquita 04-20-2004 02:38 PM

Quote:

Originally Posted by incredible
NOW IM GETTING INTO CRISIS!!!! :evil:

Even when using 2pass :arrow: never will get above 2000kbit avg eben if 3500kbit is set as bitrate :cry:

I tried all my builds of mencoder I have 8O Whats going on on my Machine :screwy:

Probably mencoder just "can't quantisize more". Happens sometimes.Check with BV, probably the average quantisizer will be very close to 2, it just won't be exactly 2 because sometimes there're bitrate peaks and mencoder needs to quantize more to respect max bitrate. :wink:

EDIT:Forgot to answer you last questioon. MencodeME calls mencoder without specifying path, so it will use the mencoder build in the same folder. I think that if it doesn'r find, then any mencoder.exe in the path will be used, but I not sure about that. :?

incredible 04-20-2004 04:35 PM

Interesting!!!

No matter if source is VOB or Makeavis (treid 4 diff. sources) --- it wont get above 2000kbit! (as said the weeks before I could get above) .

NOW I did an example and did set to Bitrate 400 and ..... it ends up in 1pass at 401!!! (Hell that 1pass is veeery exactly 8O )

AHA!

Id did ad at the end of the Matrix values of the config file a

:vb_qfactor=0.7:vi_qfactor=0.8

Which lowers the quantisation and at least it goes up to 3300 when set 5500 ;-)

Another test using this adding by setted 2500kbit! and 2489kbit resulted (1pass) .... now lets see how the bitrate peaks will behave :)

Dano 04-20-2004 08:43 PM

@Incredible

I set scplx_mask=0 in MakeAVIS.conf and my files end up being a couple MB's over, very accurate. I am doing TV caps, about 43 minutes per CD, 704 x 480 IVTc'd mpeg-2. I set vrc_maxrate=3000, desired average bitrate usually around 2400. A setting of 0.3 for masking is rather high but is helpful when doing low bitrate one CD movie encodes. Try something like scplx_mask=0.03 and see if your bitrate goes up.

@Vmesquita

A big thanks for a job well done. :D


All times are GMT -5. The time now is 08:26 AM  —  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.