Questions tagged [handbrake]

A tool for converting video.

HandBrake is a tool for converting video from nearly any format to a selection of modern, widely supported codecs. It is open source and runs on Mac OS X, Windows, and Linux.

79 questions
25
votes
4 answers

Lossless conversion of MKV to MP4 with Handbrake

What is the argument that I need to provide to prevent Handbrake from losing the quality of the source video when converting to MP4. I've read over all the documentation and I can see where it throttles but I can't find how to tell Handbrake to just…
FransAlkemade
  • 357
  • 1
  • 3
  • 3
16
votes
2 answers

VP9 encoding limited to 4 threads?

I am considering to use VP9 to encode my BluRays in the future, since its an open source codec. But I cannot get Handbrake or ffmpeg use more than 50% (4) of my (8) cores. The encoding time is therefore much worse than x264/5 which uses all…
kellerkindt
  • 332
  • 1
  • 3
  • 10
6
votes
2 answers

How to determine if an audio track is a Dolby Pro Logic II mixdown

I'm trying to find out if there's a way to determine if an AAC-encoded audio track is encoded with Dolby Pro Logic II data. Is there a way of examining the file such that you can see this information? I have for example encoded a media file in…
WheresWardy
  • 375
  • 3
  • 22
6
votes
5 answers

Batch File Loop Skip File if name contains

I am creating this batch file, that works with handbrakecli, to batch convert avi to mp4. However I am stuck in how to continue the loop and skip the current file inside a loop. FOR /R "%somepath%" %%G in (*.avi) DO ( rem skip if filename contains…
crosenblum
  • 1,869
  • 5
  • 34
  • 57
5
votes
0 answers

Translating Handbrake options to a FFMPEG command

I want to convert a bunch of videos from x264 to x265, but I need to do so with ffmpeg in terminal because it's a remote server. These are my Handbrake options (listed items are ticked): Summary tab Web optimized Align A/V Start Dimensions tab…
Arif
  • 712
  • 11
  • 20
5
votes
3 answers

Random linebreaks in PowerShell standard error output

I want to convert many .iso files to .mp4 with HandBrake, so I am trying to use the command line interface. I would prefer to write my scripts for this in powershell instead of batch files. However, the standard error contains linebreaks at random…
5
votes
5 answers

HandBrakeCLI bash script convert all videos in a folder

Firstly, I searched around for my problem. But none can solve it. I want to convert all videos file in a directory and the output will be saved in another directory. I got a bash script from somewhere I dont…
John Roe
  • 186
  • 1
  • 2
  • 9
5
votes
2 answers

Getting Handbrake encoder to work

I am unable to get Handbrake to work for me in C#. It keeps throwing the error "Value cannot be null." . As you can see in the screenshot below, I've tried a couple of things based on what I know. I would appreciate any of your guidance to help me…
Josh
  • 13,530
  • 29
  • 114
  • 159
4
votes
3 answers

Convert videos with all contained subtitles and audio into mp4 via commandline using handbrake

I'd like to convert my videos with Handbrake from mkv to mp4. But I want all audio files and subtitles contained in the mkv into the new mp4 container! I use Handbrake 0.9.9 GUI because in this version you can predefine the amount of audio tracks…
MarcelHodan
  • 580
  • 1
  • 7
  • 27
4
votes
1 answer

Encode videos using Nodejs + ffmpeg or handbrake

I have been looking for a way to encode multiple videos simultaneously from NodeJS but I haven't find a good solution for it yet. Using FFMPEG I never get a 100% fail free response. There is always a broken video. OS: Ubuntu 12.04 size =…
sebastiannm
  • 565
  • 1
  • 5
  • 14
4
votes
2 answers

Handbrake: save custom preset/encoding command out for use on handbrake-cli on another machine

I have a bunch of videos to convert, from flv to mp4. In the Handbrake gui, in Ubuntu, i've got all my settings sorted out. I've saved it as a preset called "all-tablets". I need to use HandBrakeCLI on a different ubuntu machine, that's command…
Max Williams
  • 32,435
  • 31
  • 130
  • 197
3
votes
3 answers

HandBrake strips out all my video

I am using HandBrake for the first time because so far I have not been able to get any other encoder/converter to work. I heard a bunch of good things about HandBrake so I am disappointed that I cant get it to work properly. I have a 133MB WMV file…
Grapho
  • 1,654
  • 15
  • 33
2
votes
1 answer

HandBrake CLI not working on Linux server using Flatpack - hb_stream_open PATH_TO_FILE failed

Running HandBrakeCLI through flatpack - unable to open any file. flatpak run --filesystem=host --command=HandBrakeCLI fr.handbrake.ghb -i "/var/www/html/mit4mit.co.il/httpdocs/vimeo/drop.avi" -o…
yonso
  • 275
  • 2
  • 12
2
votes
2 answers

How to make handbrake use the cpu with less intensity?

I've recently began using HandBrake to process some videos I downloaded to make them lighter. I built a small python GUI program to automate the processing, making use of the CLI version. What I am doing is generating the command according to the…
user12720904
2
votes
3 answers

Node handbrakejs runs the code but doesn't output

So I have the following code: var hbjs = require('handbrake-js'); var encodingOptions = { input: media.file.path, output: media.targetDir+"helloWorld.m4v", quality: 17, optimize: '', encoder: "x264" …
Marc Rasmussen
  • 19,771
  • 79
  • 203
  • 364
1
2 3 4 5 6