Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: HandBrake - Howto Compile & Simple howto use

  1. #11
    Join Date
    Mar 2008
    Beans
    29

    Re: HandBrake - Howto Compile & Simple howto use

    well, I don't know what "<alt> F2" means but here's a quick little thing to cap off the night.

    (basically using this "\" allows you to escape things which means that you spread things out - there's more to it than that but you can ask someone more knowledgeable than me)

    So what you could do, to make it easier to read than one long line is use this -> \ to spread it out vertically.

    xxxxxx\
    []yyyyyy\
    []zzzzzz\

    ( ^ the [] indicate a space - it is important because the "\" means mush together and without the spaces it would all run together: xxxxxx yyyyyy zzzzzz without spaces becomes xxxxxxyyyyyyzzzzzz)


    HandBrakeCLI -i /<path to>/VIDEO_TS\
    []-t <number>\
    []-c <number-number>\
    []-o /<path to where you save file>/<filename>.<type>\
    []--markers=/<full path to chapter file>/<filename>.csv\
    []--preset="<if you use one, and why wouldn't you?>"\
    []<and so on>

    When you paste it in like that (replacing the [] with a space) and hit enter it'll run it like it was all on one line. It may help make it a bit easier to read this way, separating out the arguments spatially.

    The chapter markers are optional. As to finding out where your DVD is mount I'm not sure, it's probably like /mnt/<something>/VIDEO_TS. You can use VLC to find out the chapter title information. or use

    HandBrakeCLI -i /<path to>/VIDEO_TS -t 0

    to print a list of all of the chapters titles. Movies are usually the longest one but TV shows are all the same length or mushed together in one uber title.

    There's alot of extra stuff you could add to the end but the built in presets have never failed me. Except the Xbox 360 one.

    It is a lie.

    And there's links to their documentation and stuff...and stuff...I could add, but I am very tired. I go bed now.

  2. #12
    Join Date
    Feb 2006
    Location
    Hatboro, PA
    Beans
    2,538
    Distro
    Ubuntu Development Release

    Re: HandBrake - Howto Compile & Simple howto use

    Quote Originally Posted by BurkDP View Post
    if you want a no question asked .avi than then mencoder will do the job. But if you want something that looks good for an iPod, or has selectable chapters, or - well there are alot of reasons. If you've never used it, or don't know what it does, check the website. It's a rather amazing piece of software.

    That and mencoder scares me. In my experience it's one of those programs that if you have to ask how to use it then you shouldn't be using it. But I may have simply had a bad time. It will always have my respect though for being the only (free) solution I've had luck with for converting realmedia, but handbrake is just so much simpler when you try to anything other than straight DVD->.avi. (and does your command discriminate between titles, or does it rip the entire DVD to .avi?)
    fair enough...
    Asus EeePC 1005HA: ElementaryOS Luna | Asus X501A: Windows 8.1 & Ubuntu GNOME 14.10 Utopic Unicorn | Apple iMac G4: Ubuntu 14.04 Trusty Tahr | LG Optimus F3: Stock v7 | Nexus 10 Cyanogenmod 11

  3. #13
    Join Date
    Sep 2007
    Location
    USA - Virginia
    Beans
    127
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HandBrake - Howto Compile & Simple howto use

    Thanks for the info..

    Any idea how to update the presets? Or if one has been created for the Creative Zen mp3 player.

    Thanks,

  4. #14
    Join Date
    Mar 2008
    Beans
    29

    Re: HandBrake - Howto Compile & Simple howto use

    I had a similar question and I found out that, unfortunately, you can't change the built-in presets for the CLI (even if you compile from source/svn). It may change in the future. I don't know about the Linux GUI but the Mac/Windows GUI has always been able to.


    HandBrake Forum: Devices

    Search there, maybe somebody has put together a good setting for your device that you can copy->modify->paste. But search first. They put together this amazing program on their own time and maintain a forum so they understandably dislike getting unnecessary posts (ie the same simple question over and over that a simple type in the forum search would solve, not looking at the wiki first, etc.)

    +++++++++++++++++++++++++An Aside++++++++++++++++++++++++

    I recommend keeping a text file of all of your HandBrake encode commands so you can easily modify them for each time instead of typing it out. Or just a skeleton one that you can copy->modify->paste

    mine ends up looking like this:

    ./HandBrakeCLI -i ~/CLONE_WARS/video_ts -L -c 20 -o ~/Chapter_20.m4v -I -w 480 -e x264 -b 960 --crop 2:2:0:0 --deinterlace="slower" -E faac -B 128 -R 48 -x level=30:cabac=0:ref=1:analyse=all:me=umh:subq=6:n o-fast-pskip=1 ;

    ./HandBrakeCLI -i ~/DeathNote_Volume4/VIDEO_TS -L -c 1-5 -o ~/Death_Note_13.m4v --markers=/home/danielburk/hbchapters/deathnote.csv --preset="iPod High-Rez" -s 1 --deinterlace="slower" -a 2 ; ./HandBrakeCLI -i ~/DeathNote_Volume4/VIDEO_TS -L -c 6-10 -o ~/Death_Note_14.m4v --markers=/home/danielburk/hbchapters/deathnote.csv --preset="iPod High-Rez" -s 1 --deinterlace="slower" -a 2 ;

    ( ^ I do keep them in alpha order by DVD, but that's because i'm like that. My original goal with my post wasn't to be a general CLI guide, that's here: Handbrake wiki CLIGuide so if you didn't know using the "<space>;<space" you can chain together encodes in a mamoth copy'n'paste)

    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++


    Well, there is a long painful way that involves modifying the source code to get custom CLI presets, but at that point is it really worth it? (if you want to brave it, search their forums)

    Here's the link to their wiki article listing the built-in prests: BuiltInPresets

    Or to see them in your terminal from HandBrake itself:

    ./Handbrake -z

    (the ./ is not necessary if you've moved it to /usr/bin)

    Then you can just copy paste and modify as you need.

  5. #15
    Join Date
    Sep 2007
    Location
    USA - Virginia
    Beans
    127
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HandBrake - Howto Compile & Simple howto use

    Thanks will do!!

  6. #16
    Join Date
    Mar 2008
    Beans
    29

    Re: HandBrake - Howto Compile & Simple howto use

    If anybody still checks this thread I have a question about a compile error with svn r1817+. I don't want to bother any developers b/c I can't contribute anything and I'm sure I'm just doing something wrong. Basically, I can't get anything above svn r1816 to compile. It was after this change: Change pthread mutex's to be explicitly NORMAL instead of relying on the default on a per OS basis. If someone could has any idea what's wrong or whatever - I can't post debug code at the moment and it hasn't broken my previous build so it's not vitally important

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •