digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Newbie guide for Mencoder with Avisynth support (http://www.digitalfaq.com/archives/encode/8372-newbie-guide-mencoder.html)

vhelp 03-03-2004 02:25 PM

thanks bilu, :mrgreen:

I have something to add (for w98/se/me users) for I'm in a hurry out of here,
and I'll try and take care of it later, in my other thread for w98/se/me :!:

Thanks, and keep up the good work. We need these kinds of testings done..
and lots more of it.

I still think we need some standardness in our mencoder options param
config layout :!:

See you all later,
-vhelp

bilu 03-14-2004 04:30 AM

Updates to this thread:

Same build, new URL, including updated HTML man page:
http://clientes.netvisao.pt/bilu/bru...r20040310a.zip

NTSC Telecine settings:
mencoder -include settings.ini -vf-pre softpulldown -lavcopts keyint=18 movie.vob -o movie.m2v

Softpulldown grabs the soft-telecine MPEG-2 RFF flags. It doesn't know how to import the flags but it copies the field, so it becomes hard-telecined. But it's still Telecine and that's what counts ;)

You need to use the vf-pre switch AFTER the include file to make sure it loads BEFORE the rest of the filters. This is very important.

http://article.gmane.org/gmane.comp....yer.user/27265

My settings here:
http://forum.doom9.org/showthread.ph...065#post457065
And some results:
http://forum.doom9.org/showthread.ph...437#post457437

Cheers,
Bilu

rds_correia 04-10-2004 12:11 PM

:!: :!: NEWS :!: :!:
I have (after one month...) updated the guide.
It was still attached to things we don't use anymore.
So I uploaded all the stuff we're using now and removed anything that in the process
became obsolete.
Hope newbies can understand my words.
Cheers

bilu 04-10-2004 06:15 PM

@rds_correia

Please have a look here:

My new settings, with BV screenshots
http://www.kvcd.net/forum/viewtopic.php?t=10132


Bilu

rds_correia 04-10-2004 06:30 PM

Thanks Bruno :wink:
Will update the ini-file ASAP :D
Cheers

bigggt 04-11-2004 07:08 PM

OK another newbie trying to jump on board ,i thought i followed the guide correctly but obviously i didn't

1.i am using the MA script(i don't think this is right)
2.used the makeavis (Video is upside down)
3.Just used the mc.ini as is (not sure what to do yet)
3.Double clicked the Ntsc.bat -open for about 2 seconds only

Please i am just trying to get the hang of everything before we start to use this full time

Be Gentle

rds_correia 04-11-2004 07:28 PM

Hi bigggt,
1. about the MA script: that's what I'm using :wink:
2. video upside down??
don't know what's wrong...
The only thing I can remember is you have to tick the "store script in AVI" option otherwise it fails.
Have you opened the fake avi in Windows Media Player?
Is it also upside down?
3. for now leave the mc.ini file as is since it has all the latest good arguments found by bilu and digital.doc and others here.
4. you have to open the mc_ntsc.bat and choose (with the full path) your source fake avi and the name for the destination m2v file (with full path too)
That's about it.
Keep me informed.
Cheers

bigggt 04-11-2004 07:33 PM

Thanx rds_correia

Quote:

you have to open the mc_ntsc.bat and choose (with the full path) your source fake avi and the name for the destination m2v file (with full path too)
This is where i get lost becuase when i double click on the bat file it opens for a few seconds and then closes-i have no choice to choose anything

Yes i open the video in WMP and it is still upside down

BTW all help is greatly appreciated

rds_correia 04-11-2004 07:46 PM

Then the problem with the upside down video is with makeAVIS and I'm affraid I can't give much more help.
Please try with another source to see if the same happens.
On the other hand, and about that dos-box that opens for 2 seconds and closes:
-You have to right-click the mc_ntsc.bat file and choose edit.
-It will open in notepad.
-Now change the movie.avi by something like c:\.......\myfakeavi.avi
-also change movie.m2v by c:\........\myencodedm2v.m2v
For instance.
If you have your fake avi in c:\movie and it is named twotowers.avi and you want the encoded movie to be recorded on c:\movie and named twotowers.m2v your line should be like:
mencoder -include MC.ini -vf-pre softpulldown -lavcopts keyint=18 c:\movie\twotowers.avi -o c:\movie\twotowers.m2v
This should be held in a single line in notepad!
Try it with your upside down source just to see if it works.
Then you have to fix the upside down problem which I really don't know how to...
Cheers

bigggt 04-11-2004 08:03 PM

thanx rds_correia
for the detailed explanation(thats what i needed) it seems to be wroking fine now

thanx again

rds_correia 04-11-2004 08:08 PM

You most welcome :D

kwag 04-11-2004 08:54 PM

Quote:

Originally Posted by bigggt
Yes i open the video in WMP and it is still upside down

Add -flip at the end of your command line.

-kwag

bigggt 04-12-2004 11:37 AM

Thanx Karl i will try but the weird thing is even though the fake avi is upside down i tried it anyway and the final encode was right side up :? .

The thing was i used all the settings)min and max bitrate) that came with the download and i assume its for KDVD so my resulting mpeg1 was horrible(pixalated becaus eof the high bitrates) ,i just have to find the proper settings for mpeg1

I only wanted to see if i could get it to work before i tried figuring out all the parametrs i need for KVCD.

Any suggestions

Thanx

rds_correia 04-12-2004 03:08 PM

:!: Guide update :!:
Hya all,
I just updated the guide.
It lacked of some explaining on how to edit the bacth files so they would work properly.
Also I edited both mc_pal.bat and mc_ntsc.bat so you should redownload them.
They now regained variables for path and filename for both source and destination.
We don't want the dos-box rookies to fell too much unconfortable :D
Cheers

Zyphon 04-12-2004 03:23 PM

Thanks for the update rds this is a great guide. :)

rds_correia 04-12-2004 04:16 PM

:D You're most welcome :D

maurus 04-21-2004 04:32 AM

Congratulations for your guide.

Quote:

Originally Posted by Rui
A brief explanation of some arguments

There are some key arguments in the MC.ini file that you could change.
Here are some and their explanantion.
vcodec= either mpeg1video or mpeg2video (for KVCD or SKVCD/KDVD)
vrc_minrate= the minimum bitrate you whish to have in your final movie
vrc_maxrate= the maximum bitrate you whish to have in your final movie
vbitrate= the average bitrate you whish to have in your final movie
vrc_buf_size= the vbv buffer size (VCD=327, SVCD=917, DVD=1835).
Please note that KDVD uses 1835 and that KVCD depends on wether it will be muxed
later as VCD or SVCD)
keyint= the GOP size (15 or 18 for PAL/NTSC KDVD or 24 for KVCD)
aspect= 4/3 or 16/9 (this needs to be according the avisynth script too!)

I will try your method. About the values of MC.ini that you indicate...

I have to change them according to the type of video out that I want (kvcd, ksvcd, kdvd...)?

Thanks.


-Maurus

yaz 04-23-2004 04:16 AM

@rds_correia
your guide is xxxlent. keep it up, pls. but u should revise the software parts.
- the decodefix100 pack is outdated. the very last (improved & debugged ) version is decodefix110b1. rocks like hell :-)
- we have avisynth 2.55 (ok, it's not final but good as usual :-)
- makeavis 20031113 is sh0dan's hack. afaik, he left it when milan's returned to the development. there are much newer versions debugged & improved.
- the ffdshow pack is renewed. the makeavis part is rearranged (as we discussed elsewhere) u should drop a codecs.conf file here as a workaround (see my post in the compilation thread).
- vmesquita released some newer mencoder compiles since then.
- u should link the man_page rather than the documentation. it's hard to find at the moment but i've found it on www4 mirror.

the bests
y

rds_correia 04-24-2004 01:59 PM

Quote:

Originally Posted by yaz
@rds_correia
your guide is xxxlent. keep it up, pls. but u should revise the software parts.
- the decodefix100 pack is outdated. the very last (improved & debugged ) version is decodefix110b1. rocks like hell :-)
- we have avisynth 2.55 (ok, it's not final but good as usual :-)
- makeavis 20031113 is sh0dan's hack. afaik, he left it when milan's returned to the development. there are much newer versions debugged & improved.
- the ffdshow pack is renewed. the makeavis part is rearranged (as we discussed elsewhere) u should drop a codecs.conf file here as a workaround (see my post in the compilation thread).
- vmesquita released some newer mencoder compiles since then.
- u should link the man_page rather than the documentation. it's hard to find at the moment but i've found it on www4 mirror.

the bests
y

Hi yaz,
Thanks for your support.
This is a living guide.
But now that Mencode-Me is out by VMesquita, I hope it won't be needed for long :D
Anyway I accept your sujestions and will act as soon as possible.
I didn't realise that Donald had made some work on his version of DVD2AVI yet :!: Thanks for pointing it out :wink:
Another thing about Avs 2.55. Is it stable already?
I know sh0dan always give us a nice new tool to work with but last time I saw it was still alpha.
About FFdshow/makeAVIS I will of course provide a build with ffdshow.ax calls on MEncoder.
But that will have to wait a bit longer :)
Cheers buddy

rds_correia 04-24-2004 02:05 PM

Quote:

Originally Posted by maurus
Congratulations for your guide.

Quote:

Originally Posted by Rui
A brief explanation of some arguments

There are some key arguments in the MC.ini file that you could change.
Here are some and their explanantion.
vcodec= either mpeg1video or mpeg2video (for KVCD or SKVCD/KDVD)
vrc_minrate= the minimum bitrate you whish to have in your final movie
vrc_maxrate= the maximum bitrate you whish to have in your final movie
vbitrate= the average bitrate you whish to have in your final movie
vrc_buf_size= the vbv buffer size (VCD=327, SVCD=917, DVD=1835).
Please note that KDVD uses 1835 and that KVCD depends on wether it will be muxed
later as VCD or SVCD)
keyint= the GOP size (15 or 18 for PAL/NTSC KDVD or 24 for KVCD)
aspect= 4/3 or 16/9 (this needs to be according the avisynth script too!)

I will try your method. About the values of MC.ini that you indicate...

I have to change them according to the type of video out that I want (kvcd, ksvcd, kdvd...)?

Thanks.


-Maurus

Hi Maurus,
Sorry for the delay.
Yes you have buddy.
In fact you have to change all the values that I pointed out.
So you'll need to hack the MC.ini file everytime you change your output from KVCD :arrow: KSVCD :arrow: KDVD :(
That's why VMesquita is working on a GUI/Wrapper for MEncoder called Mencode-Me :D.
That will make things a LOT easier and in style 8) .
Cheers


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