Re: [gentoo-user] Re: DVD-mp4 - handbrake vs something else

2011-10-31 Thread Mark Knecht
On Sun, Oct 30, 2011 at 11:51 AM, Grant Edwards
grant.b.edwa...@gmail.com wrote:
 On 2011-10-30, Mark Knecht markkne...@gmail.com wrote:
SNIP
 I'd like to see about reducing the file size a bit if
 possible. At the same time the native resolution of the Fire is
 1024x600 so I'm wondering about whether I can make the movies look
 better by making the mp4 file somehow know about that size.

 If you mean you want the files encoded at a resolution of 1024x600,
 you can tell handbrake what output resolution you want.  You'll get
 far better results by encoding to the desired resolution, format and
 bit-rate you want the first time than you will re-encoding a second
 time.

 You can create your own presets with whatever encoding settings you
 want.

 --
 Grant Edwards               grant.b.edwards        Yow! World War III?

Hi Grant,
   I've got to say I'm really impressed with Handbrake overall. It
just works, most especially if you use one of the presets. I've had
only one problem with any of my experiments which was that files
encoded using the High profile cause xine to crash with some sort of
floating point error. I don't personally care about the high profile
so to me it's a non-issue.

   One thing I haven't been able to figure out so far is where you
change the presentation size. I presume that presentation size is the
one I want to change to 1024x600 as that's the native resolution of
the Kindle. However I discovered where I unlock those setting in
Handbrake. Do you know?

   Anyway, it's a very nice little program for anyone else who's GUI
oriented like me.

Cheers,
Mark



[gentoo-user] Re: DVD-mp4 - handbrake vs something else

2011-10-31 Thread Grant Edwards
On 2011-11-01, Mark Knecht markkne...@gmail.com wrote:
 On Sun, Oct 30, 2011 at 11:51 AM, Grant Edwards

 If you mean you want the files encoded at a resolution of 1024x600,
 you can tell handbrake what output resolution you want. ??You'll get
 far better results by encoding to the desired resolution, format and
 bit-rate you want the first time than you will re-encoding a second
 time.

 You can create your own presets with whatever encoding settings you
 want.

 I've got to say I'm really impressed with Handbrake overall. It just
 works, most especially if you use one of the presets. I've had only
 one problem with any of my experiments which was that files encoded
 using the High profile cause xine to crash with some sort of floating
 point error. I don't personally care about the high profile so to me
 it's a non-issue.

 One thing I haven't been able to figure out so far is where you
 change the presentation size.

I think it's the -w and -l options for width and height, respectively.

I only use the CLI version (https://trac.handbrake.fr/wiki/CLIGuide),
but I'm sure there's somewhere in the GUI to set all that stuff as well.
I think that web page is a bit out of date, so do HandbrakeCLI
--help for a current set of options.

 I presume that presentation size is the one I want to change to
 1024x600 as that's the native resolution of the Kindle. However I
 discovered where I unlock those setting in Handbrake. Do you know?

-w and -l set the output file's width/height (in pixels).  If your
pixels are square, then I think that's all you need.  If your pixels
aren't square, then I think you need some other options.

You can get a list of the exact settings for each of the presets by
doing HandBrakeCLI --preset-list.

 Anyway, it's a very nice little program for anyone else who's GUI
 oriented like me.

I don't have the GUI version installed, so I'm afraid I can't help
with that end of it, but IIRC the GUI will let you create your own
presets.  I don't think the CLI version does custom presets, but it
would be easy enough to copy the settings from one of the built-in
presets into a file, and edit them until you get a command line that
works the way you want.

Once you've figured out good settings for your device, submit a patch,
and next time maybe HandBrake will already just know what to do. :)

-- 
Grant






[gentoo-user] Re: DVD-mp4 - handbrake vs something else

2011-10-30 Thread Grant Edwards
On 2011-10-30, Mark Knecht markkne...@gmail.com wrote:

 3) I tried handbrake which requires using an overlay.

No, it doesn't.  You can just grab the ebuild file and use it locally.

 Handbrake goes directly from DVD to a reasonably sized (1.3GB) m4v
 file. That file plays fine in xine and looks very good. Being that the
 Kindle Fire only has about 6GB available for user content that gives
 me 4 movies at a time which is fine for me but I suspect I can do
 better.

Smaller will generally mean worse looking and longer encoding time.

 My issue now (I think) is to learn to use ffmpeg to convert from m4v
 to mp4.

You don't need ffmpeg.  You just need mv:

 mv foo.m4v foo.mp4

 I'd like to see about reducing the file size a bit if
 possible. At the same time the native resolution of the Fire is
 1024x600 so I'm wondering about whether I can make the movies look
 better by making the mp4 file somehow know about that size.

If you mean you want the files encoded at a resolution of 1024x600,
you can tell handbrake what output resolution you want.  You'll get
far better results by encoding to the desired resolution, format and
bit-rate you want the first time than you will re-encoding a second
time.

You can create your own presets with whatever encoding settings you
want.

-- 
Grant Edwards   grant.b.edwardsYow! World War III?
  at   No thanks!
  gmail.com




[gentoo-user] Re: DVD-mp4 - handbrake vs something else

2011-10-28 Thread James
Mark Knecht markknecht at gmail.com writes:


 I started looking around in Google for something to encode a few DVDs
 A program called handbrake was showing up in a lot of links, but it 
 requires an overlay.  While I have  no problem adding yet another 
 overlay (which on is best?) I wondered what might be in the normal 
 portage database that others here use for this purpose?

This link might be of interest. 
Josh is an aficionado on audio 
and video like yourself. Good 
link for you, methinks..

https://github.com/nightmorph/overnight/tree/master/media-video/handbrake

hth,
James




[gentoo-user] Re: DVD-mp4 - handbrake vs something else

2011-10-27 Thread Grant Edwards
On 2011-10-27, Mark Knecht markkne...@gmail.com wrote:

[regarding a kindle fire]

 I started looking around in Google for something to encode a few DVDs
 so that I could see how well it works. A program called handbrake was
 showing up in a lot of links, but it requires an overlay.

I've been using handbrake for about a year, and it's _very_
convenient. It has presets for many popular devices. If it knows
about your device, it's going to be hard to beat handbrake.  [Best of
all, you don't have to put up with some horrible GUI to use it.]

I have a 4th gen iPod touch, and handbrake knows the right settings to
use for that device, so it's a toddle to use.

 While I have no problem adding yet another overlay (which on is
 best?)

I just stuck the ebuild into /usr/local/portage/media-video and used
it from there.

 I wondered what might be in the normal portage database that others
 here use for this purpose?

You could just use mencoder or transcode, but figuring out all the
right options to get the best results for a given device is a
non-trivial excercise.  In the past, I've used both mencoder and
transcode to do stuff like this, but it took several evenings of
hacking together shell-scripts to drive them.

-- 
Grant Edwards   grant.b.edwardsYow! Is it NOUVELLE
  at   CUISINE when 3 olives are
  gmail.comstruggling with a scallop
   in a plate of SAUCE MORNAY?