[MPlayer-users] Script update

Meino Christian Cramer Meino.Cramer at gmx.de
Tue Jul 20 19:48:03 CEST 2004


From: Martin Collins <martin at mkcollins.org>
Subject: Re: [MPlayer-users] Script update
Date: Tue, 20 Jul 2004 16:32:59 +0100

Hi Martin,

 thanks again for your ideas and suggestions ! :o)

> On Tue, 20 Jul 2004 13:32:23 +0200 (CEST)
> Meino Christian Cramer <Meino.Cramer at gmx.de> wrote:
> 
> >   But how can I use "any value"? 
> >   When you will follow the script, you will see, that these settings
> >   are used to extract the recommended bitrate, which is given at the
> >   end of the audio extraction process. Unfortunately, "only" a few
> >   bitrates for certain fixed CD sizes are presented.
> 
> You are using the wrong audio extraction process. More later.
> 
> >   Should be read as "denoise3d=0:0:0:hqdn3d=0:0:0:"...
> 
> denoise3d=0:0:0,hqdn3d=0:0:0,...

  yes, your are right! .)

> >   Why all this "divided by 16". I have no problems watching the
> >   results with mplayer. Or is there another trick I dont know yet?
> 
> It's to get the best performance out of the encoder. Your result may
> be watchable but it could have been smaller/better quality. 

  Ah! Got it! Will see, how I can put this into the script without
  killing the possibility to not follow the "rule of the sixteen" --
  ...if one wants to... 

> >    "PASS0.log" was only a name I gave to the very first log file,
> >    nothing more. Look at the script...it does exactly what you wnat
> >    it to do...:)
> > 
> >    First task:
> >    Extract audio and mp3 it. Getch the recommended bitrate via sed
> >    magic.
> 
> You are using -vc frameno as found in old mplayer documentation
> describing "3-pass encoding". You will not find this in current docs.
> At least, it has been removed from the English docs. I see it remains
> in the encoding.html file for other languages.

  I found it here:

   main/DOCS/de/encoding.html
   main/DOCS/hu/encoding.html
   main/DOCS/it/encoding.html
   main/DOCS/zh/encoding.html
   main/DOCS/xml/es/mencoder.xml
   main/DOCS/xml/fr/mencoder.xml
   main/DOCS/xml/pl/mencoder.xml
   main/TOOLS/dvd2divxscript.pl

   Why not to update the manuals?
   Will prevent unnaccessary "error reports"...


> If you use -dumpaudio instead then encode the audio using lame or
> oggenc you can measure the size of the audio and calculate the
> required video bitrate for any target size. 

  May be a very newbie question, but...

  How ?

> It also allows the use of
> vorbis or other audio codecs not directly supported by mencoder. 

  How to playback then?

> You
> use -oac copy on the two video passes, which maintains sync, then mux

  Stop! One moment please...

  Mux? What is "mux" and how can I "mux" something?

> the video and encoded audio into the container of your choice at the
> end.

  I see, I am here at the beginning of this road and I can see a lot
  of people in the far of a promising distance as enlighted
  silhouettes in face of a rising sun started to walk thousands of
  years in ancient times before I only tried to put my feet onto this
  holy road to video perfection...but...

  Container?

  ...please...what ?

> > > This is why I like to see people's scripts; there's always
> > > something in them that strikes me as bizarre :-) I see now why you
> > > export all your variables.
> > 
> >   Yes...äh...why?
> 
> Opening a new terminal window for each encoding pass is not
> necessary.
> I do my encoding in the background while I do something else. Having
> windows pop up at random could get irritating.

  That's a matter of personal preferences.
  I will make it switcheable...

> >   But If you another smooth way to feed more than one file into
> >   mencoder seemlessly I am open for any improvement!
> 
> It is usually recommended to either encode straight from the dvd 

  urks...not with /my/ "drive"... ;)

> or use
> vobcopy to rip the vobs first or to cat the vobs in to one file before
> encoding them.

  What is the problem when catting more than one file in comparison
  with catting one file?

  Does some systems/OSSes hickup?

> Martin

  Meino




More information about the MPlayer-users mailing list