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)

digitall.doc 04-23-2004 09:23 AM

Quote:

Originally Posted by incredible
I also did integrate the besweet (latest updated ac3enc support build) command parameters so I get in one .bat file all jobs done :D

inc,
could you post the besweet parameters you use to convert your ac3 to 256 kbps? (and, if you're so kind, I know you are :wink: , the parameters to convert ac3 5.1 to 2.0). And second, but not last, where can I find this besweet version with ac3enc support? (I mean, if it's not buggy, since I read that besweet is not good for ac3 encoding...)

Quote:

Yaz did tell in the mencoder compile thread that d2v also could directly via VFAPI be supported by the codecs.conf! (if I understood that right)... cause if yes, we can really drop that makeavis and doing further filtering totally in Mencoder! As DVD2AVI outputs everything we need: d2v and the AC3's.
I also think this would be great :!: I wait 8O for your suggestions on how to do such a thing.

vmesquita,
good job :wink:

black prince 04-23-2004 10:46 AM

@vm,

vm wrote:
Quote:

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!)
More questions:

1) vrc_buf_size in 1cd-kvcd.conf is 917 and the above suggests 327.
Which is correct???

2) vrc_maxbitrate in icd-kvcd.conf is 2500. With CQMatic method using
Tmpgenc the maxbitrate is set to 2000. Does it matter which one
should be used.

3) The default CD size is 795 in 1cd-kvcd.conf. Is this optimal or have
you accounted for some overhead and what?

Thanks :)

-BP

vmesquita 04-23-2004 10:51 AM

Quote:

Originally Posted by black prince
1) vrc_buf_size in 1cd-kvcd.conf is 917 and the above suggests 327.
Which is correct???

I have to check tmpgenc templates to see, but I think it's correct. I think 327 should be used for 352x240 low bitrate encodes only.
Quote:

2) vrc_maxbitrate in icd-kvcd.conf is 2500. With CQMatic method using
Tmpgenc the maxbitrate is set to 2000. Does it matter which one
should be used.
I think it's better to use the highest max possible (that doesn't cause playback problems) in mencoder to avoid blocking.
Quote:

3) The default CD size is 795 in 1cd-kvcd.conf. Is this optimal or have
you accounted for some overhead and what?
MEncodeME 0.21 takes overhead in account, and you can alter overhead if you wish. Download the latest version. :wink:

incredible 04-23-2004 10:52 AM

@ Digi Doc

a) Its the new beta release of "BeSweet v1.5b26"
http://dspguru.notrace.dk/beta.htm

Also the "VOBInput.dll v1.3" Plugin would be interesting as in case of feeding mencoder by a single VOB directly, you "could" encode the audio out of the vob DIRECTLY:
http://dspguru.notrace.dk/plug-ins.htm

b) Just open the BesweetGUI and do set everything as you would do it via BesweetGUI .... means SET EVERYTHING: Input, output and every parameter as you shurely know how to work using besweet, right?

Next is to copy the generated Commandline to your Clipboard and generate a txt document where you paste it.
As you will see, you gonna feel like home! As everything is just a command line using optimal parameters as they have been set in Besweet.
Just change in that commandline the in- and output patch in the future.

By this you can generate general commandline "templates" for AC3toAC3 or AC3toMP2(44.1khz) and these ones also each in one 5.1to2.0 and one in 5.1to5.1 versions ..... :D

As I heared the new ac3enc.dll is now fixed (I hope so) cause till now I got no issues at my last 3 encodings.

Also you can use a AC3 decoding/encoding capable build of ffmpeg.exe and its parameters BUT as I heared thats the engine where also that old buggy ac3enc.dll based on??!

And ... look at Doom9.org for Vmesquitas reply for the commandline usage of SoftEncode as it should be the best encoder as I heared.

Do you can smell how Im in love with that commandline processing! :lol:
Everyting is in batch and you also can download that "shutdown.exe", place it at the very end by using

shutdown -u

.... and after all is done :arrow: the light goes off.

Inc :wink:

fozzieb 04-23-2004 10:53 AM

Hi guys, Win 98 or ME can't access local NTFS partitions you would need to install something like NTFS for DOS and run it when you need access.

i would not recomend this though.

I would install WinXP or even Win2K if you have an older system.

kwag 04-23-2004 10:58 AM

Quote:

Originally Posted by incredible
Do you can smell how Im in love with that commandline processing! :lol:

I smell that every day :lol:
Specially from a developer's point of view, where I don't have to think about the time it takes to design/test/debug the GUI, and wire (code) up all events :x :!: :lol:

-kwag

jorel 04-23-2004 11:23 AM

Quote:

Originally Posted by kwag
Quote:

Originally Posted by incredible
Do you can smell how Im in love with that commandline processing! :lol:

I smell that every day :lol:
Specially from a developer's point of view, where I don't have to think about the time it takes to design/test/debug the GUI, and wire (code) up all events :x :!: :lol:

-kwag

! :idea:
then post a big .bat file
:wink:

.......and maybe i learn something new ! :oops: but true!

Zyphon 04-23-2004 11:26 AM

Quote:

Originally Posted by fozzieb
Hi guys, Win 98 or ME can't access local NTFS partitions you would need to install something like NTFS for DOS and run it when you need access.

i would not recomend this though.

I would install WinXP or even Win2K if you have an older system.

Sound advice fozzieb Windows XP is much more stable and less problamatic that Windows 98SE since I upgraded from 98SE to XP I have never looked back. :)

incredible 04-23-2004 11:40 AM

This is defenitely no offense but ...

Could we keep this thread just a little bit in topic.
I think further going discussions on filesystem related subjects also will be seen and answered immediately when you post them separately. :wink:
So this Thread here wont end up in a chaos.

Thanks a lot! :)

fozzieb 04-23-2004 01:44 PM

@incredible

I agree, we can always start a new thread for other subjects

jorel 04-23-2004 01:54 PM

Quote:

Originally Posted by fozzieb
@incredible

I agree, we can always start a new thread for other subjects

you're right ink!
:wink:

edited>
ink have reason (one more time) !

Anerboda 04-24-2004 12:44 AM

Quote:

Originally Posted by incredible
Well mostly I still using .Bat files for starting the encoding as I need it to perform batch encodings, like last night 3 animes on one DVD-R (Toystory1, Tstory2, MonsterAG) inc. 1 audiotrack 5.1 256kbit each.
My special "godchild is visiting me edition" *lol*
But for shure I do also many tests using your GUI.

I also did integrate the besweet (latest updated ac3enc support build) command parameters so I get in one .bat file all jobs done :D

Hi Inc

I really like the idea of creating all this in one .Bat file :D
I have one question: Do you mux video and audio in the .Bat file too?
If you do, could you post your commandline for that?
That would make everything automated :D

Anerboda

incredible 04-24-2004 06:03 AM

Here an example of 3 movies to 1 dvd-r - batch file.
Watch the -include path in mencoder line! Its the path to one of Vmesquitas conf files. Also in here I determined AVI files as input, but as you see the logic of setting variables in the bat file, you can edite for your needings as you want.

Watch out that you have the latest besweet installed!
http://www.kvcd.net/forum/viewtopic....=asc&start=203
And also set in the batfile the path to besweet

And do search via google for "shutdown.exe" as it als has to be in the same folder as this bat

The lines below are still not elegand settet, they could be more "shrinked" iif more would be set to variables. But by this below you can see the logic,

Code:

REM ---------------------------- Setting Variables ------------------------

Set videoa="G:\TOY_STORY\toystory1"
Set videob="G:\TOY_STORY\toystory2"
Set videoc="G:\TOY_STORY\monsterinc"
Set audioa="G:\TOY_STORY\toystory AC3 T02 3_2ch 384Kbps DELAY 0ms"
Set audiob="G:\TOY_STORY\toystory2 AC3 T02 3_2ch 384Kbps DELAY 0ms"
Set audioc="G:\TOY_STORY\monsterinc AC3 T02 3_2ch 384Kbps DELAY 0ms"

REM --------------------------- Videoencoding Part -----------------------

mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=1 %videoa%.avi -o %videoa%.m2v
mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=2 %videoa%.avi -o %videoa%.m2v

mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=1 %videob%.avi -o %videob%.m2v
mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=2 %videob%.avi -o %videob%.m2v

mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=1 %videoc%.avi -o %videoc%.m2v
mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=2 %videoc%.avi -o %videoc%.m2v

REM --------------------------- Audioencoding Part  -----------------------

"C:\Programme\_Video Encoding&Editing\!New Besweet & AC3MAchine\BeSweet.exe" -core( -input %audioa%.ac3 -output %audioa%new.ac3  -substream SubS ) -azid( -L -3db ) -ac3enc( -b 256 ) -profile( The AC3Machine v0.4 )

"C:\Programme\_Video Encoding&Editing\!New Besweet & AC3MAchine\BeSweet.exe" -core( -input %audiob%.ac3 -output %audiob%new.ac3  -substream SubS ) -azid( -L -3db ) -ac3enc( -b 256 ) -profile( The AC3Machine v0.4 )

"C:\Programme\_Video Encoding&Editing\!New Besweet & AC3MAchine\BeSweet.exe" -core( -input %audioc%.ac3 -output %audioc%new.ac3  -substream SubS ) -azid( -L -3db ) -ac3enc( -b 256 ) -profile( The AC3Machine v0.4 )

REM --------------------------- Switch Computer off  -----------------------

shutdown -u


Anerboda 04-24-2004 06:10 AM

@Inc

Thanks, I will look into that when I get home (I'm at work right now).

I can see that you don't mux video and audio in the .bat file, couldn't that be done with mplex.exe or bbmpeg?

Anerboda

Jellygoose 04-24-2004 06:25 AM

Sorry if this has already been asked, this thread is getting kind of confusing... :lol:
With MencodeME, will there be any overscanning when encoding directly from VOB? :?:

incredible 04-24-2004 06:29 AM

Why muxing after encoding??
As I do all my things for DVD-R now Ill do that within the Authoring appl.

But for KVCD and KsVCD you also can call "mplex.exe" before shutdown using of the following parameters (you will know them from bbmpeg):

Code:

C:\Programme\DVD_Author\bin>mplex.exe
mjpegtools mplex-2 version 2.0.0 (2.2.3)
Usage: mplex.exe [params] -o <output filename pattern> <input file>...
        %d in the output file name is by segment count
  where possible params are:
--verbose|-v num
  Level of verbosity. 0 = quiet, 1 = normal 2 = verbose/debug
--format|-f fmt
  Set defaults for particular MPEG profiles
  [0 = Generic MPEG1, 1 = VCD, 2 = user-rate VCD, 3 = Generic MPEG2,
  4 = SVCD, 5 = user-rate SVCD
  6 = VCD Stills, 7 = SVCD Stills, 8 = DVD with NAV sectors, 9 = DVD]
--mux-bitrate|-r num
  Specify data rate of output stream in kbit/sec
    (default 0=Compute from source streams)
--video-buffer|-b num [, num...]
  Specifies decoder buffers size in kB.  [ 20...2000]
--lpcm-params | -L samppersec:chan:bits [, samppersec:chan:bits]
--mux-limit|-l num
  Multiplex only num seconds of material (default 0=multiplex all)
--sync-offset|-O num ms|s|mpt
  Specify offset of timestamps (video-audio) in mSec
--sector-size|-s num
  Specify sector size in bytes for generic formats [256..16384]
--vbr|-V
  Multiplex variable bit-rate video
--packets-per-pack|-p num
  Number of packets per pack generic formats [1..100]
--system-headers|-h
  Create System header in every pack in generic formats
--max-segment-size|-S size
  Maximum size of output file(s) in Mbyte (default: 0) (no limit)
--split-segment|-M
  Simply split a sequence across files rather than building run-out/run-in
--workaround|-W workaround [, workaround ]
--help|-?
  Print this lot out!

C:\Programme\DVD_Author\bin>pause
Drücken Sie eine beliebige Taste . . .


incredible 04-24-2004 06:42 AM

Quote:

Originally Posted by Jellygoose
Sorry if this has already been asked, this thread is getting kind of confusing... :lol:
With MencodeME, will there be any overscanning when encoding directly from VOB? :?:

Do look at the beginning of this thread, there I explained how to modify an config file of Vmesquitas Templates to intergrate settings taken from FitCD or Moviestacker.

Crop().Resize().AddingBorders()

is here

Crop:scale:expand

:wink:


@VMesquita & Kwag

I authored now that DVD incl. 3movies in DVDlab Pro Beta1 and no more "GOP out of memory" did occur! :D

audioslave 04-24-2004 10:13 AM

I was just wondering... If I encode a video with Forced Film do I have to use Pulldown afterwards, or is that taken care of internally by MEncoder :?:

vmesquita 04-24-2004 10:18 AM

Quote:

Originally Posted by audioslave
I was just wondering... If I encode a video with Forced Film do I have to use Pulldown afterwards, or is that taken care of internally by MEncoder :?:

You have to use pulldown, MEncoder does not enable 3:2 pulldown flag. :wink:

audioslave 04-24-2004 10:20 AM

@vmesquita
Thank you for your fast reply :) . 3 more questions for you:
1) How well does MEncoder perform in MPEG-1?
2) What's the difference between No_Filter and makeAVI?
3) How much overhead shall I use if encoding to MPEG-1?


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