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)

audioslave 04-15-2004 04:50 PM

@vmesquita
First of all I wanna thank you for this GUI! But, I'm missing the 480x576 resolution in the "Final resolution" selector. I think every other resolution is there but not this one... And what do you know, that's exactly the resolution I needed :)

vmesquita 04-15-2004 04:56 PM

Quote:

Originally Posted by Zyphon
I used DVD Decrypter to rip it to my HDD and when I tried to convert it to KDVD the DOS box flashed up quickly and nothing happened so im puzzled.

Go copy the command-line in Mencode-me textbox, open a dos box, go to the folder you unpacked Mencode-me, and paste the command and run. Report the error message. :wink:

Quote:

Originally Posted by black prince
1) I used avs MA script and used FakeAVIS as input. The program
failed with stack errors. Is your program only for Divx or VOB's.

The main purpose was use directly VOBs or AVIs. To use AVIs generated by MakeAVIS, you need a special conf file, which will present in next release.
Quote:

2) I tried using just 1 vob for test purposes. The bitrate setting is
what? (Max, Min, or Average).
As Inc already said, it's the average. Min can't be set right now without killing rate control. Max is already set according to what your are doing: KSVCD/KDVD/KVCD.
Quote:

3) After setting DVD4:3 to VCD4:3, force film checked, GOP 18,
width= 352, height=240 (352X240), my output file was always
"movie.m2v" instead of "movie.m1v". Did I do something wrong?
Rename it to m1v. The kvcd template produces MPEG1video, but I forgot to change the extension.

Also, as Inc already asked: Are you doing 1pass or 2pass?

EDIT:
Quote:

Originally Posted by audioslave
First of all I wanna thank you for this GUI! But, I'm missing the 480x576 resolution in the "Final resolution" selector. I think every other resolution is there but not this one... And what do you know, that's exactly the resolution I needed

I forgot this resolutin in next release, I'll fix that, just give me some time. :wink:

audioslave 04-15-2004 05:02 PM

Quote:

Originally Posted by vmesquita
I forgot this resolutin in next release, I'll fix that, just give me some time.

:mrgreen:

In the meantime I'll try another resolution :wink: .

audioslave 04-15-2004 05:27 PM

BTW It (MEncoder) says I'm missing "subfont.ttf" when I'm starting the encode...?

Zyphon 04-15-2004 06:03 PM

@Incredible

Thanks for the info buddy I will I will look for those guides I will probably ude BBmpeg to mux the files and see how it goes. :)

@vmesquita

That was a great idea thanks I didnt think of that I will copy and paste the command in a DOS Box and let you know of the results. :)

vmesquita 04-15-2004 06:12 PM

Quote:

Originally Posted by audioslave
BTW It (MEncoder) says I'm missing "subfont.ttf" when I'm starting the encode...?

It's because the FreeType font to render text-based subs is not included. But since you're not using, don't bother with that. :wink:

audioslave 04-15-2004 06:17 PM

@vmequita
Yep, you're right! :D It works without it (so far :wink: ). I'll let you know when I need it though...

black prince 04-15-2004 10:17 PM

@vmesquita,

VM wrote:
Quote:

Quote:

black prince wrote:

1) I used avs MA script and used FakeAVIS as input. The program
failed with stack errors. Is your program only for Divx or VOB's.
Vmesquita wrote:
The main purpose was use directly VOBs or AVIs. To use AVIs generated by MakeAVIS, you need a special conf file, which will present in next release.
My OS is Windows 2000 Pro using FAT32 which has a file size limit
of 4.2GB and that's why I used FakeAVIS. I'm working with 1 vob
file to test the program. I did use the average bitrate from CalcuMatic
and it seems to be working except CalcuMatic uses .d2v source
and DVD2AVI is needed. I'll try a bitrate calculator from DVDRhelp.com
and compare the results. It's coming together nicely thought, so keep
up the great work!!! :D

-BP

incredible 04-16-2004 01:23 AM

To use avisynth ..... heres a thread:
http://www.kvcd.net/forum/viewtopic.php?t=9078

But you should keep the latest mencoder build as provided with mencoderGUI the other things you can use from there to make avs scripts work via ffvfw makeavis.

Vmesquita in this thread mntioned that you should enter in Makeavis using a YV12 colorspace but I never had to do that .... and as I remember mencoder.exe even prefers more a YUY2 source ..... well so its mentioned in the command window report. :)

kwag 04-16-2004 01:36 AM

Quote:

Originally Posted by black prince
I did use the average bitrate from CalcuMatic
and it seems to be working except CalcuMatic uses .d2v source
and DVD2AVI is needed.

Hi bp,

CalcuMatic can read AVI, D2V, MPEG files and even VFAPI (pseudo AVI) created files :!:, but apparently it can't read MakeAVIS :(
I'll look into that :!:

-kwag

incredible 04-16-2004 02:40 AM

Also when doing your avi from avs via makeavis you see how long the stream is in the window of makeavis .... this movielength you can simply enter in calcumatic's movie length settings.

Livlander 04-16-2004 03:32 AM

@Zyphon

I had exactly the same problem regarding a fast flash of the Command window. I did what Vmesquita suggested to get indications about the error : it is a pathname problem regarding the source file.
My file was in 'Documents and settings\...', and the path was reduced at the first blank to 'Documents\...', which obviously caused an error.

I solved it putting the source file directly under C, and it rocks...

black prince 04-16-2004 06:36 AM

@vm,

What a differance bitrate makes!!! WOW!!! 8O :mrgreen:
My video encode for LOTR-TTT is Great!!! :mrgreen:
I found a program "Meg-1 Bitrate" that comes very darn
close to MovieStacker, CalcuMatic, FitCD and requires
you to enter the movie length in time and calculates
Size>>Bitrate 8) The picture quality is as good and I'd
say better than Tmpgenc. I used 2pass this time, and
frame rate 23.976fps, GOP=18, DVD to KVCD template.
The video's motion is still jerky and I can't figure why :roll:
Also, the time was less than half of Tmpgenc's to encode
(47 min vs 2hr 30min). Including overscan would be nice.
I wondering if an avs script using MA will be necessary
with the great picture quality I'm already getting :?:

-BP

incredible 04-16-2004 06:55 AM

Do have a look in the .config files, maybe the one for AvitoKDVD or DVDtoSVCD.

They do got diff. Postprocessing settings!
Means .. you could copy the postprocessing from another config which performs more filtering and add it to the target purposed config, like the DVDtoKDVD one and give it a new name like DVDtoKDVD_moreFiltering.config.

Thats the way I did so I do have like 10 config files (in beta test phase!) which will be recognised in MeMencoderGUIs pupup later, so I can handle most soures as many DVD sources do still come in a very niosy state and can gain much from some postprocessing via mencoders internal postprocessing engine.

So you can add to the DVDtoKDVD config file the following

Code:

vf=yuvcsp,pp=hb:100:100/vb/dr,hqdn3d=4:3:5,crop=xxx:yyy:x:y,scale=xxx:yyy:0:0:7,noise=5u,expand=xxx:yyy
This would theoretically mean:

- yuvcp = correct luma treatment to keep luma within the TVscale range
- pp=hb:100:100/vb/dr = Postprocessing, where hb means horiz.Deblocking and vb VerticalDeblocking and dr Deringing
- hqdn3d=4:3:5 = HQdenoiser = spatial by 4 at luma, spatial by 3 at chroma and 5 for the amount of temporal filtering ;-)
- noise=5u = Like Blockbuster to avoid blocks on dark scenes

Now crop, scale and expand are similar to crop(), xxxResize(),Addborders where the type of resizing (bicubic,lanczos) will be determined by the sws=x one line below

So I for example did a just apply a single crop=704:576:8:0 to get a 720x576 source to the right 704x576 by maintaining the right AR and no scaler or expand was needed. BUT if you want to end up in an overscanned area fileld by black borders, you should use FitCD to calculate the values and enter them above in the logic as it will be done by avisynth. :)

Zyphon 04-16-2004 07:33 AM

Thanks for the info Livlander much appreciated. :D

EDIT: I forgot the Path I used was my E Drive E:\My Movies is the exact path so I'll do what Vmesquita said this weekend and find out what the prob is. :)

fozzieb 04-16-2004 07:59 AM

I did the same as livlander, maybe there should be a note saying forlder and file name can't have spaces.

incredible 04-16-2004 08:16 AM

A little recommendation:

I always use file/folder-names where NO space is used :wink:

"The 6th sense" for example could be named for encoding etc. like this:
"6thSense" or "6th_Sense". Also its very useful to have short Parts where encodings/projects will be safed/stored, like D:\Encodings\.....

I remember as that also was an issue when there TmpgEnc project files got problems when refering to long or comples path names in combination with CQmatic.

Maybe those issues yould be fixed in the GUI but seen as general I never had problems of that kind anymore no matter if I deal with Commandline based apps. or something else. :)

bigggt 04-16-2004 11:38 AM

Hi fellas , i tested my first 20 minute movie using this new GUI and it seem to work this time but i have subs which i don't want ,Do i have to edit a line in the template so i don't get them

Thanx

rds_correia 04-16-2004 04:10 PM

LOL
Hi bigggt,
Let me guess.
You have Portuguese Subs with ç,ã,õ,é,á kind of characters?
If so select which sub to encode by changing the *.ini file produced by MEncoderMe.
The argument to change is sid=x where x is the number of the sub when you watch the movie on a standalone and search for the right sub.
Cheers

vmesquita 04-16-2004 04:56 PM

Ok, looks like you found two extra bugs:
1) I forgot to add "" around filenames, so filenames with spaces won't work. This is simple to fix.
2) I forgot sid=1 in the DVD templates, so everything is encoded with subs.

Thank god, it's very easy to fix bugs. :D

I am working on a new way to call mencoder, so instead of spanning a DOS Shell, mencoder runs in the log textbox (actually mencoder stdout is redirected to the textbox). It may look like a ridiculous thing, but actually is very tricky and I've been trying to do this since the beggining of DIKO development (and I gave up many times). Finally I got it working, the only problem is that the GUI crashes as soon as mencoder process ceases exisiting. But this shouldn't be hard to fix.

bigggt 04-16-2004 05:31 PM

@ rds_correia
They are actually in English :D

Ok i have a few questions, i will admit i don't understand hardly anything about this encoder(i was like this with kvcd and tmpge at the beginning so i will probably get it eventually)

My computer is rather slow(celeron 900)-256 ram)but don't have problems with tmpge

Is Mencoder computer dependent-not meaning speed or anything but when i start it all the writing in the dos box seems to contain a few errors,like it says

Code:

Warning-this is not optimal
Recompile  Mplayer with disable-runtime-cpudetection
and al lot of font and documents and settings messages

ALso prediction -when you use 2 pass it should use the bitrate you pick to find the correct size minus audio to fit on 1 cd?

Finally my finished encode has problems -it plays fine on the computer but in the standalone it gets horrible(pixels all over the place and stops for a second once in a while)

I appreciate the help because i would like to get this thing working.

rds_correia 04-16-2004 05:41 PM

Quote:

Originally Posted by bigggt
Code:

Warning-this is not optimal
Recompile  Mplayer with disable-runtime-cpudetection
and al lot of font and documents and settings messages


MEncoder comes from Linux world and in Linux world most tools can be tweak compiled for your CPU.
VM compiled it generically.
Don't worry about that message.
Quote:

Originally Posted by bigggt
ALso prediction -when you use 2 pass it should use the bitrate you pick to find the correct size minus audio to fit on 1 cd?

Don't know anything about 2-pass with any encoder...
Wait for someone else explanation.
Quote:

Originally Posted by bigggt
Finally my finished encode has problems -it plays fine on the computer but in the standalone it gets horrible(pixels all over the place and stops for a second once in a while)

Can you give us your command line and can you tell us how you muxed the audio/video and in which format KVCD/KSVCD/KDVD?
Quote:

Originally Posted by bigggt
I appreciate the help because i would like to get this thing working.

Oh, you will. I bet :wink:
Cheers

bigggt 04-16-2004 05:50 PM

Thanx rds

:oops: I don't even know what the command line is :oops: and as far as muxing i did the same way as tmpge through bbmpeg <i know the audio and the video is way out of sync but i wanted to get the video part right before i get involved thrying to mux them together

edit-just checked the dvd to kvcd config file and it has sid=0 ,still getting subs do i need to delete this totally

As i am sure you are :roll: at me right now i do appreciate the help :D :D

Thanx

vmesquita 04-16-2004 06:21 PM

@bigggt
If you are in NTSC, you need to enable pulldown flag after encoding. Just do:

pulldown.exe mencoder_produced_file.m2v file2_pd.m2v.

Maybe I could add automatic pulldown via pulldown.exe :roll:

About two pass:
The encoder encodes the movie twice. In the first encode, it records a logfile with information about each frame.
On the second pass, the encoder already "know" about the whole movie and can allocate bitrate in the best way possible. This is the theory, of course. :wink:

bigggt 04-16-2004 07:11 PM

Thanx vmesquita for the explanation on 2 pass

When you say

Quote:

If you are in NTSC
Do you mean is the source 29.97 or am in NTSC land(which is yes)

Can you please tell me what exactly
i am to do with this line :newbie:

Code:

pulldown.exe mencoder_produced_file.m2v file2_pd.m2v.
It sucks being a pain in the ***

Thanx Buddy

vmesquita 04-16-2004 07:16 PM

Sorry, I should have been more specific. If you in NTSC and have a movie DVD (And you checked the Forced Film box in Mencode-me), you need the pulldown.exe step.

But I found out it can be done using this front-end:
http://guiguy.wminds.com/downloads/p...chfe/down.html

Should be much easier. :wink:

rds_correia 04-16-2004 07:27 PM

Hi,
Pretty easy.
You download here and scroll down until you find S/VCD Tools section.
There is a zip file with pulldown.exe for download.
You'll have to extract it from the zip and put it in the folder where you have MEncoder-me installed.
Now push windows start button, press Run... and type cmd.
Press enter.
A command line (or dos-box) opens.
navigate to the directory where you have MEncoderME installed.
If MEncoderMe is installed at c:\MEncoderME type cd\MEncoderME and press enter.
Now type carefully VMs command in the dos-box and press enter again.
Wait until it finishes. It should take a while.
And that it folks :wink:
Cheers

EDIT:
In the Support Utils of the same download page you will find a DoPulldown utility which is a GUI to Pulldown.exe

buller 04-17-2004 06:30 AM

hi,
thanks vmesquita for this great GUI ,the result is great when i use the ksvcd template,but I to had problems with subtitles i didnt want in kvcd template?,anyway i removed the sid=0 command in ksvcd template,and subs where gone.
:drunkard:

bigggt 04-17-2004 07:45 AM

Ok guys had to take a break last night .

Thought i should mention that i am doing kvcd not kdvd -is pulldown still necessary


It is deffinately the pulldown that is giving me a problem because i tried an avi and it worked perfect so

This is the order i am doing things please tell me if correct

1.use the MEencoderME GUI and set everything as what i need
2.encode
3.Run pulldown now?
4.mux audio and video together

as far as pulldown i couldn't get th command line to work abd the GUI the dopulldown.exe needs .mpv file but the other GUI that i got is pulldownbatchfe but i am not sure which options to check.

Code:

nopulldown-will not insert the flags for 2:3 pulldown
framerate -23.976  25  29.97
norff - strips out all rff flags
tff -changes the field order - odd    even
notimecodes-doesn't recalculate timecodes for new framerate
prog_seq -mark entire stream as -progressive  interlace
prog_frames -mark entire stream as -progressive  interlace

thanx again

vmesquita 04-17-2004 08:32 AM

bigggt,

Sorry for misleading you, I assumed you were doing KDVD/KSVCD (mpeg2), so pulldown would be necessary for 23.976 stuff. For KVCD (mpeg1), there's no need for pulldows since MPEG1 doesn't support pulldown flag.

[]'s
Vinicius

rds_correia 04-17-2004 08:43 AM

Quote:

Originally Posted by bigggt
edit-just checked the dvd to kvcd config file and it has sid=0 ,still getting subs do i need to delete this totally

I'm sure VMesquita will update his tool because of this issue.
This is, though, a very easy fix for those who don't want to wait for a new release from him.
There is a directory called templates with 4 templates inside.
From what I've found only 2 are affected by the "subs" problem.
Those are DVD to KSVCD and DVD to KVCD.
So open one of these with windows notepad and erase the line that says sid=0.
I mean the whole line not only the text on it :!:
Take care not to erase other stuff from the line above and below that one.
Now do the same with the other file and you're set to.
Now don't expect that VMesquita give us all a tool fully featured and without some bugs in 2 days (like I
have seen one guy doing somewhere on the Inet).
This is goint to take some time before we can say it's good enough for our regular everyday encodings.
Even because VM is working in more than one tool at the same time: DIKO and MEncode-ME.
So let's wait a few weeks and keep giving him some feedback on his work :wink:
Cheers

bigggt 04-17-2004 10:15 AM

@vmesquita

Sorry buddy this was my fault from the beggining by not saying what i was doing :D ,i have only been trying 1 dvd source so it could be the source i will try a different one today.

Thanx for your hel[p

@ rds_correia

Thanx for the help i actually put a # in front of it and it worked i was only mentioning becuase it said =0 so i thought that meant no subs ,just thought i would mention it incase it was a bug or something.

I would just like to clarify that i am not complaining or expecting this tool to be bug free after a few days ,its just i have no idea on how to fix things on my own :oops: ,so this is the reason for all my stupid questions and I just wait patinetly for a response

Let me say further that without this tool i would be totally lost so Thanks

Now if it is only a source problem on my end i might have gotten this thing from the beginning with your guide( i assumed i was doing something incorrect) i will feel pretty :imstupid: for not trying another source

rds_correia 04-17-2004 10:59 AM

:lol:
Like they say: s**t happens.
No problem buddy.
I just don't want to spook VMesquita with too many bugs to solve in so few hours :wink:
I'm just affraid he drops Mencode-Me because of lack of spare time with DIKO and all.
Well I guess is okay for everybody to report what they feel it's not working.
But MEncode-Me is not and will not be ready for sometime.
I mean it already works but lacks some features that can be added in a medium term solution.
So V, don't feel intimidated if we receive some posts mentioning some problems.
We can wait for you to fix them when you have some time.
:secret: the guy has a life away from his PC's desk and it's summer time in Brasil, now: 33ºC in Rio de Janeiro right now.
Oh boy compared to our 16ºC here in Lisbon...

vmesquita 04-17-2004 01:57 PM

Hi rds_correia,

Thanks for your concerns. Wheater is not so good anymore. :( So here's what happed:

Mencode-Me 0.2!
:lol: :lol: :lol: :lol: :lol:

This is a great release, I think it's so much better than 0.11. But it's my oppinion, see for yourself. I hope you don't mind that I did a big package again, but that's because I included *the latest Mencoder CVS* with *the latest Libavcodec CVS*! :D

Download link and ChangeLog in first message. :wink: Enjoy!

PS: I just downloaded Kurumin (a brazilian Linux distro derived from Knoppix) and now I plan to compile for Linux (if god helps me). :lol: BTW, rds_correa, since you also speak portuguese (with some small differences), I really recommend this Distro for you. It has everything is a 192 Mb Mini-CD. And I really mean everything! Check here:
http://www.guiadohardware.net/kurumin/

bigggt 04-17-2004 03:44 PM

Ok i think my problem was the source :evil: so i think i now have ok video

Now the muxing questions

Is there anything different i need to do the usual like headach3e and bbmpeg because so far i can't get them i nsync

I did an avi no problem but with dvd's no luck so far


Thanx

Prodater64 04-17-2004 03:48 PM

Broken link.

Edited: Now fixed.

vmesquita 04-17-2004 03:56 PM

Sorry, it was a typo: :oops:
http://www.jltoca.uaivip.com.br/files/MencodeME02.zip

Now it's working

Prodater64 04-17-2004 04:48 PM

Quote:

Originally Posted by vmesquita
Now it's working

You can put last version in this text of your sign:
Mencode-me (GUI for MEncoder)

incredible 04-17-2004 06:14 PM

Vmesquita, ... :)

a) Thanks for the Bitratecalculator! But it seems that it would be lovely to apply a "Numer of audiostreams" button as the most people will do put 2 movies incl. 2 audios on a DVD-R :) The calculation of the mediasize when doing two movies can still be inserted manually, means (1/2 from 4480MB).

Nice work!

b) I saw the latest mencoder.exe you provided with this download is a bit slower, .... will there be some disadvantages if I use the latest build for athlon you did provide some days ago .... as it gives me a plus of 7 fps! :D

kwag 04-17-2004 06:28 PM

vmesquita,

This is getting better each day :mrgreen:

-kwag


All times are GMT -5. The time now is 03:40 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.