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
2
votes
1 answer

BufferedReader seems to infinitely read the first line

I'm trying to run Handbrake through a Java app I'm writing, and am having trouble waiting for Handbrake to finish. When I try this : ProcessBuilder builder = new ProcessBuilder( "cmd.exe", "/c", command); Process p…
Justin.Bell
  • 105
  • 9
2
votes
1 answer

HandBrakeCLI Video Rotation Not Working

I have been using the following command to rotate video 90 degree clockwise HandBrakeCLI -i ip.mp4 -o op.mp4 --preset="Universal" --rotate="4" Which is working properly in my windows machine. When i try with the same command on linux server video…
2
votes
1 answer

Special characters cause the Windows Batch File to close

So I created a windows batch script to convert videos using the HandbrakeCLI Batch script: @echo off ::SET TO CURRENT CODE PAGE::::::::::::::::::::::::::: FOR /F "tokens=4 delims= " %%G in ('chcp') DO ( chcp %%G >nul )…
user1719826
2
votes
1 answer

Python: Arguments not getting passed to command correctly

I have been scratching my head with this one for hours. I'm trying to write a simple script to convert old videos in .AVI format to .mp4 with HandbrakeCLI and I can not get Handbrake to register the correct arguments, I keep getting the "Missing…
hammus
  • 2,602
  • 2
  • 19
  • 37
1
vote
0 answers

ISO Disc Image to MP4 Fails only when using Queue [handbrake]

I'm using the latest Handbrake portable version, I haven't changed any settings other than selecting 'Web Optimized'. I have a folder full of .ISO files (home movies converted from vhs, unencrypted), when I select one file at a time I am able to…
atomant
  • 339
  • 1
  • 2
  • 9
1
vote
0 answers

Since Xcode 13.3, I'm seeing an error when compiling in Terminal with -flto

On macOS 12.3 I am working on a patch to build HandBrake with -flto. It then can be build in Terminal with ./configure --lto. This worked nicely with Xcode 13.2 and 13.2.1 installed. But since I have updated to Xcode 13.3 (compiler updated to Apple…
Nomis101
  • 31
  • 1
  • 4
1
vote
0 answers

Link between RF factor in x264 and x265

Are the RF scales in x264 and in x265 connected, or are they independent? For instance, let's say I'm encoding a video with Handbrake with the x264 encoder, at RF 26. If I switch to the x265 encoder without changing any other parameter (and, in…
munglas
  • 11
  • 1
1
vote
1 answer

Handbrake-js on Heroku doesn't work. Everything works well for http://localhost

Using the npm install handbrake-js --save command, I installed handbrake-js as a library, and after some tweaking, handbrake-js started to do the job perfectly. And here's the problem. On the local computer everything works well, videos are decoded,…
1
vote
0 answers

The SSIM values calculated using FFMPEG are not what I expected

I'm trying to encode an m2ts (MPEG-2 Transport Stream) file to mp4 (H.264) and get the ssim value. I did get some SSIM values, but the results were contrary to my expectations. Are there wrong command options for ffmpeg? Encoding and SSIM…
fd-alexer
  • 11
  • 1
1
vote
1 answer

Not every command is being for in a while loop

I am trying to make a script what looks at a folder and will automatically encode files that go into that folder using hand brake. I want to do this doing monitoring the folder using inotify putting the new additions to the folder into a list then…
Thomas Briggs
  • 119
  • 1
  • 11
1
vote
1 answer

How to install HandBrakeCLI in Docker Alpine container?

I'm trying to install HandBrakeCLI in a Docker container. In my Dockerfile I have: RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories RUN apk add --no-cache handbrake I get the following error: fetch…
HaveAGitGat
  • 59
  • 1
  • 9
1
vote
1 answer

Multiple audio tracks with handbrake

Trying to encode video in a fairly generalized manner a typical call will look like: HandBrakeCLI --encoder-preset medium --encoder-level 4.1 --format av_mkv --encoder x264 --quality 21 --aencoder aac,ac3 --audio-copy-mask aac,ac3,dtshd,dts,mp3 -a…
Ewan Walker
  • 184
  • 1
  • 1
  • 11
1
vote
1 answer

Special characters when using Windows batch files?

I'm having trouble running Windows batch files using Handbrake, whereby if a source file contains special characters then I get an error saying it can't find the source file because for some reason Windows converts special characters into unreadable…
HaveAGitGat
  • 59
  • 1
  • 9
1
vote
0 answers

Generate script from Handbrake preset

Is it possible to generate a script/command to run from a Handbrake preset or from the queue on OS X? Like take the queue and generate a command I can run in terminal instead of through the GUI? (Either with ffmpeg or with HandBrakeCLI)
cclloyd
  • 8,171
  • 16
  • 57
  • 104
1
vote
1 answer

handbrake-js (node) no video on html5-Chrome

I'm trying to convert a video using handbrake-js for node. At first I tried specifying the bitrate, video size, codecs, etc. The goal is to generate several html5 compatible streams to be used as a source on a canvas video for webGL. Everything…