topic title: HandBrake
Alanarchy
Posts 0
Alanarchy
#1
HandBrake is a tool for converting video from nearly any format to a selection of modern, widely supported codecs.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://handbrake.fr/"
linktext was:"http://handbrake.fr/"
====================================
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
It only rips to mkv. I have to use avconv or WinFF to convert mkv to other formats.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://forum.mepiscommunity.org/viewtopic.php?p=344847#p344847"
linktext was:"http://forum.mepiscommunity.org/viewtop ... 47#p344847"
====================================

Code: Select all

avconv -i input.mkv -c:v copy -c:a copy -sn output.mp4
input=name of file to be converted
ouput= name you want of the file to become .mp4
Posts: 667
jdmeaux1952
Joined: 01 Nov 2013
#3
Handbrake does even more.
Supported Input Sources:
Handbrake can process most common multimedia files and any DVD or BluRay sources that do not contain any kind of copy protection.

Outputs:

File Containers: .MP4(.M4V) and .MKV
Video Encoders: H.264(x264), MPEG-4 and MPEG-2 (libav), and Theora(libtheora)
Audio Encoders: AAC, CoreAudio AAC/HE-AAC (OS X Only), MP3, Flac, AC3, or Vorbis
Audio Pass-thru: AC-3, DTS, DTS-HD, AAC and MP3 tracks
You do have to go through and set things up (which isn't hard) but it will make your conversions easily.

But as a ripper, it is fantastic. But it only rips to mkv
Alanarchy
Posts 0
Alanarchy
#4
Sorry folks, I meant to add the cli stuff, so here goes:

When useing HandBrakeCLI to backup a DVD onto the HD, first change directory to where you want the HandBrakeCLI's output to go. This is best done via a ~/.bashrc alias as seen below:

Code: Select all

#------------------------
# Handbrake & associated:
#------------------------

# The following alias".tmp" allows you in 
# four keystrokes to changes directory to 
# where you want HandBrakeCLI's output to 
# be saved:

alias .tmp="cd /mnt/store/pkg/vid/.tmp"

# The following alias doesn't do anything but
# echo the looong command to the Terminal 
# window where it can be copied, pasted & 
# edited for use:

alias hb="echo HandBrakeCLI -t 0 -i /media/dvd -o  NAME.HERE.mp4 -e x264 -b 1000 -B 192 -s 1 --subtitle-burn

# This alias brings up the HandBrakeCLI help:
 
alias hbhelp="HandBrakeCLI --help"
Then you call your HandBrakeCLI command line via another ~/.bashrc alias as seen above. Once that command line is echoed to the Terminal, copy it to the prompt & edit the NAME.HERE.mp4 as seen above in the command line, to the name of the movie.

Anyone who has HandBrakeCLI just has to enter HandBrakeCLI --help at the command prompt to see all the options.