HandBrake 1.0.x Discussion Thread

General discussion of HandBrake - not for tech support
Forum rules
Activity Log is required for support requests. See Must Read: How To Get Questions Answered on These Forums for details
User avatar
HandBrake
Moderator
Posts: 88
Joined: Fri Jul 25, 2008 10:40 pm

HandBrake 1.0.x Discussion Thread

Post by HandBrake » Sat Dec 24, 2016 11:51 pm

Discuss the 1.0.0 release here.

if you do find a bug, it's fine to mention it here, but please raise it in the bugs forum our out GitHub issue tracker. We don't want issues getting lost in general conversation.

gmb
Bright Spark User
Posts: 326
Joined: Thu Mar 28, 2013 12:49 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by gmb » Sun Dec 25, 2016 4:24 pm

Quicksync test encode with h265 results in a freeze. There are no extra options in use.

Code: Select all

HandBrake 1.0.0 (2016122400) - 64bit
OS: Microsoft Windows NT 10.0.14393.0 - 64bit
CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
Ram: 16250 MB, 
GPU Information:
  Intel(R) HD Graphics 630 - 21.20.16.4551
  NVIDIA GeForce GTX 1080 - 21.21.13.7648
Screen: 1920x1080
Temp Dir: C:\Users\Michael\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Michael\AppData\Roaming\HandBrake Team\HandBrake\1.0.0.0

-------------------------------------------


# Starting Encode ...

[17:20:10] hb_init: starting libhb thread
[17:20:10] 1 job(s) to process
[17:20:10] json job:
{
  "Audio": {
    "AudioList": [],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "File": "D:\\Quicksync\\Handbrake Output KBL\\handbrake_new.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\Quicksync\\7_Intel_Demo_Clip2.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 512,
    "Level": "auto",
    "Bitrate": 2000,
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "speed",
    "Profile": "auto",
    "OpenCL": false,
    "HWDecode": false,
    "QSV": {
      "Decode": true,
      "AsyncDepth": 0
    }
  }
}
[17:20:10] CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[17:20:10]  - logical processor count: 8
[17:20:10] OpenCL device #1: NVIDIA Corporation GeForce GTX 1080
[17:20:10]  - OpenCL version: 1.2 CUDA
[17:20:10]  - driver version: 376.48
[17:20:10]  - device type:    GPU
[17:20:10]  - supported:      no
[17:20:10] OpenCL device #2: Intel(R) Corporation Intel(R) HD Graphics 630
[17:20:10]  - OpenCL version: 2.1
[17:20:10]  - driver version: 21.20.16.4551
[17:20:10]  - device type:    GPU
[17:20:10]  - supported:      YES
[17:20:10] Intel Quick Sync Video support: yes
[17:20:10]  - Intel Media SDK hardware: API 1.19 (minimum: 1.3)
[17:20:10]  - Intel Media SDK software: API 1.19 (minimum: 1.3)
[17:20:10]  - H.264 encoder: yes
[17:20:10]     - preferred implementation: hardware (any)
[17:20:10]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[17:20:10]     - capabilities (software):  bpyramid vsinfo opt1 opt2
[17:20:10]  - H.265 encoder: yes
[17:20:10]     - preferred implementation: hardware (any)
[17:20:10]     - capabilities (hardware):  bpyramid vsinfo opt1
[17:20:10] hb_scan: path=D:\Quicksync\7_Intel_Demo_Clip2.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image D:\Quicksync\7_Intel_Demo_Clip2.mp4
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[17:20:10] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[17:20:10] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Quicksync\7_Intel_Demo_Clip2.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.36.100
  Duration: 00:08:07.83, start: 0.000000, bitrate: 24613 kb/s
    Stream #0:0(eng): Video: h264 (High) [avc1 / 0x31637661]
      yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 24610 kb/s
      24 fps, 12288 tbn (default)
    Metadata:
      handler_name    : VideoHandler
[17:20:10] scan: decoding previews for title 1
[17:20:12] scan: 10 previews, 1920x1080, 24.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[17:20:12] scan: supported video decoders: avcodec qsv
[17:20:12] libhb: scan thread found 1 valid title(s)
[17:20:12] Skipping subtitle scan.  No suitable subtitle tracks.
[17:20:12] starting job
[17:20:12] work: only 1 chapter, disabling chapter markers
[17:20:12] job configuration:
[17:20:12]  * source
[17:20:12]    + D:\Quicksync\7_Intel_Demo_Clip2.mp4
[17:20:12]    + title 1, chapter(s) 1 to 1
[17:20:12]    + container: mov,mp4,m4a,3gp,3g2,mj2
[17:20:12]    + data rate: 24613 kbps
[17:20:12]  * destination
[17:20:12]    + D:\Quicksync\Handbrake Output KBL\handbrake_new.mp4
[17:20:12]    + container: MPEG-4 (libavformat)
[17:20:12]  * video track
[17:20:12]    + decoder: h264_qsv
[17:20:12]      + bitrate 24610 kbps
[17:20:12]    + filters
[17:20:12]      + Framerate Shaper (mode=1)
[17:20:12]        + frame rate: 24.000 fps -> constant 24.000 fps
[17:20:12]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[17:20:12]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[17:20:12]    + Output geometry
[17:20:12]      + storage dimensions: 1920 x 1080
[17:20:12]      + pixel aspect ratio: 1 : 1
[17:20:12]      + display dimensions: 1920 x 1080
[17:20:12]    + encoder: H.265 (Intel Media SDK)
[17:20:12]      + preset:  speed
[17:20:12]      + profile: auto
[17:20:12]      + level:   auto
[17:20:12]      + bitrate: 2000 kbps, pass: 0
[17:20:12] sync: expecting 11707 video frames
[17:20:12] encqsvInit: using encode-only path
[17:20:12] encqsvInit: H.265/HEVC Main profile @ level 4.0
[17:20:12] encqsvInit: TargetUsage 7 AsyncDepth 5
[17:20:12] encqsvInit: GopRefDist 3 GopPicSize 24 NumRefFrame 2
[17:20:12] encqsvInit: BFramesMax 2 BRefType off
[17:20:12] encqsvInit: RateControlMethod VBR TargetKbps 2000 MaxKbps 2000 BufferSizeInKB 500 InitialDelayInKB 250
[17:20:12] sync: first pts video is 0
[17:20:12] sync: "Chapter 1" (1) at frame 1 time 0
[17:20:12] qsv_enc_init: using 'hardware (2)' implementation, API: 1.19
Error code -17,	hb_qsv_wait_on_sync	602

mduell
Veteran User
Posts: 5326
Joined: Sat Apr 21, 2007 8:54 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by mduell » Sun Dec 25, 2016 7:57 pm

I guess I'll spend Christmas evening figuring out how to compile so I can get off 0.10.3 and still have a decent AAC encoder on Windows.

Charvelx04
Posts: 17
Joined: Wed Jul 06, 2016 5:13 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by Charvelx04 » Sun Dec 25, 2016 8:29 pm

I know this has nothing to do with functionality, but the About page for 1.0.0, is still 0.10.5.

User avatar
s55
HandBrake Team
Posts: 8606
Joined: Sun Dec 24, 2006 1:05 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by s55 » Sun Dec 25, 2016 8:37 pm

Are you sure your running 1.0.0? Try a clean removal / re-install since it definatly shouldn't be saying that.

Charvelx04
Posts: 17
Joined: Wed Jul 06, 2016 5:13 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by Charvelx04 » Sun Dec 25, 2016 9:42 pm

I've confirmed it twice...

The installer mentions that you have an earlier version, and to uninstall it.. so that's what I did.
Checked the About page to make sure it was 1.0.0. Wasn't.

Uninstalled via Programs/Features, restarted... deleted the program I downloaded, re-downloaded and installed.

Here's an SS of P/F side by side with the About page.

Image

User avatar
s55
HandBrake Team
Posts: 8606
Joined: Sun Dec 24, 2006 1:05 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by s55 » Sun Dec 25, 2016 10:16 pm

That is most definatly not 1.0.0. That's still 0.10.5 so you must have another copy installed and your shortcut is pointing to the wrong place.

Uninstall, verify there is no copies in program files, then install fresh.

Fried Locust
Posts: 3
Joined: Mon Dec 26, 2016 1:35 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by Fried Locust » Mon Dec 26, 2016 1:56 pm

First congratulation on 1.0 release. ;)

I have a question about VP9. While encoding I have a cpu utilization about only 55% on a i7-3770K (clocked at 4,4 GHz). Am I doing something wrong or is because of still to be improved optimization?

Regards

User avatar
s55
HandBrake Team
Posts: 8606
Joined: Sun Dec 24, 2006 1:05 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by s55 » Mon Dec 26, 2016 2:10 pm

We'd need to see a log to see exactly what your doing to make sure your not bottlenecking it by another setting, but, VP9 Encoding will be slow. Google appears to optimise for their "customers". I.e YouTube. Not general purpose encoding as we do. This is one of the reasons we've delayed adding this feature for so long. It's just really slow. It's "usable" if you have high end hardware. If you don't, patience is going to be a key factor :)

Atleast with x265, it's under very active development and making fairly significant strides. They borrow a lot from the x264 project as well which helps a lot.

Fried Locust
Posts: 3
Joined: Mon Dec 26, 2016 1:35 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by Fried Locust » Mon Dec 26, 2016 2:31 pm

I just was curious about VP9 so I tried it. Slow as can be, yeah. ;)

Code: Select all

HandBrake 1.0.0 (2016122400) - 64bit
OS: Microsoft Windows NT 10.0.14393.0 - 64bit
CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
Ram: 16269 MB, 
GPU Information:
  AMD Radeon (TM) R9 Fury Series - 21.19.384.0
  Intel(R) HD Graphics 4000 - 10.18.10.4358
Screen: 1920x1080
Temp Dir: C:\Users\ABS\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\ABS\AppData\Roaming\HandBrake Team\HandBrake\1.0.0.0

-------------------------------------------


# Starting Encode ...

[14:42:55] hb_init: starting libhb thread
[14:42:55] 1 job(s) to process
[14:42:55] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0.0,
        "Encoder": 1125984256,
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "File": "D:\\Newsbin\\SONARR\\Stan Against Evil\\Stan Against Evil - S01e01 - Dig Me Up Dig Me Down - Webdl-1080p - Rtn-1.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 2097152
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1076",
          "width": "1916"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\Newsbin\\SONARR\\Stan Against Evil\\Stan Against Evil - S01E01 - Dig Me Up Dig Me Down - WEBDL-1080p - RTN.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 128,
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "qmin=0:qmax=30",
    "Preset": "fast",
    "Quality": 22.0,
    "OpenCL": false,
    "HWDecode": false,
    "QSV": {
      "Decode": true,
      "AsyncDepth": 0
    }
  }
}
[14:42:55] CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
[14:42:55]  - Intel microarchitecture Ivy Bridge
[14:42:55]  - logical processor count: 8
[14:42:55] OpenCL device #1: Intel(R) Corporation Intel(R) HD Graphics 4000
[14:42:55]  - OpenCL version: 1.2
[14:42:55]  - driver version: 10.18.10.4358
[14:42:55]  - device type:    GPU
[14:42:55]  - supported:      no
[14:42:55] OpenCL device #2: Advanced Micro Devices, Inc. Fiji
[14:42:55]  - OpenCL version: 2.0 AMD-APP (2236.9)
[14:42:55]  - driver version: 2236.9
[14:42:55]  - device type:    GPU
[14:42:55]  - supported:      YES
[14:42:55] Intel Quick Sync Video support: yes
[14:42:55]  - Intel Media SDK hardware: API 1.11 (minimum: 1.3)
[14:42:55]  - H.264 encoder: yes
[14:42:55]     - preferred implementation: hardware (any)
[14:42:55]     - capabilities (hardware):  vsinfo opt1 opt2+extbrc+ib_adapt+nmpslice
[14:42:55]  - H.265 encoder: no
[14:42:55] hb_scan: path=D:\Newsbin\SONARR\Stan Against Evil\Stan Against Evil - S01E01 - Dig Me Up Dig Me Down - WEBDL-1080p - RTN.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image D:\Newsbin\SONARR\Stan Against Evil\Stan Against Evil - S01E01 - Dig Me Up Dig Me Down - WEBDL-1080p - RTN.mkv
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[14:42:55] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[14:42:55] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\Newsbin\SONARR\Stan Against Evil\Stan Against Evil - S01E01 - Dig Me Up Dig Me Down - WEBDL-1080p - RTN.mkv':
  Duration: 00:21:50.08, start: 0.000000, bitrate: N/A
    Stream #0:0(eng): Video: h264 (High)
      yuv420p, tv, bt709/bt709/bt709
      1916x1076 [PAR 1:1 DAR 479:269], PAR 1:1 DAR 479:269
      23.98 fps, 1k tbn (default)
    Stream #0:1(eng): Audio: ac3
      48000 Hz, 5.1, fltp, 384 kb/s (default)
    Stream #0:2(eng): Subtitle: srt
[14:42:55] scan: decoding previews for title 1
[14:42:55] scan: audio 0x1: ac3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)
[14:42:56] scan: 10 previews, 1916x1076, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[14:42:56] scan: supported video decoders: avcodec qsv
[14:42:56] libhb: scan thread found 1 valid title(s)
[14:42:56] Skipping subtitle scan.  No suitable subtitle tracks.
[14:42:56] starting job
[14:42:56] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP3, FLAC
[14:42:56] Auto Passthru: fallback is AC3
[14:42:56] Auto Passthru: using AC3 Passthru for track 1
[14:42:56] work: only 1 chapter, disabling chapter markers
[14:42:56] job configuration:
[14:42:56]  * source
[14:42:56]    + D:\Newsbin\SONARR\Stan Against Evil\Stan Against Evil - S01E01 - Dig Me Up Dig Me Down - WEBDL-1080p - RTN.mkv
[14:42:56]    + title 1, chapter(s) 1 to 1
[14:42:56]    + container: matroska,webm
[14:42:56]  * destination
[14:42:56]    + D:\Newsbin\SONARR\Stan Against Evil\Stan Against Evil - S01e01 - Dig Me Up Dig Me Down - Webdl-1080p - Rtn-1.mkv
[14:42:56]    + container: Matroska (libavformat)
[14:42:56]  * video track
[14:42:56]    + decoder: h264_qsv
[14:42:56]    + filters
[14:42:56]      + Framerate Shaper (mode=1)
[14:42:56]        + frame rate: 23.976 fps -> constant 23.976 fps
[14:42:56]      + Crop and Scale (width=1916:height=1076:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[14:42:56]        + source: 1916 * 1076, crop (0/0/0/0): 1916 * 1076, scale: 1916 * 1076
[14:42:56]    + Output geometry
[14:42:56]      + storage dimensions: 1916 x 1076
[14:42:56]      + pixel aspect ratio: 1 : 1
[14:42:56]      + display dimensions: 1916 x 1076
[14:42:56]    + encoder: VP9 (libvpx)
[14:42:56]      + preset:  fast
[14:42:56]      + options: qmin=0:qmax=30
[14:42:56]      + quality: 22.00 (CQ)
[14:42:56]  * audio track 1
[14:42:56]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[14:42:56]      + bitrate: 384 kbps, samplerate: 48000 Hz
[14:42:56]    + AC3 Passthru
[14:42:56] sync: expecting 31410 video frames
[14:42:56] encavcodecInit: VP9 encoder
[14:42:56] encavcodec: encoding at CQ 22.00
[14:42:56] encavcodec: encoding with stored aspect 1/1
[14:42:56] sync: first pts video is 0
[14:42:56] sync: "Chapter 1" (1) at frame 1 time 0
[14:42:56] sync: first pts audio 0x1 is 0

User avatar
s55
HandBrake Team
Posts: 8606
Joined: Sun Dec 24, 2006 1:05 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by s55 » Mon Dec 26, 2016 2:33 pm

You might try turning off qsv deocde in preferences. Not sure if it'll help or make things worse in this scenario. But nothing in particular there holding it back otherwise.

Fried Locust
Posts: 3
Joined: Mon Dec 26, 2016 1:35 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by Fried Locust » Mon Dec 26, 2016 2:53 pm

Thx, will try it without qsv in 1h 40min. Painfully slow. :D

Picture of taskmanager
Image

User avatar
JohnAStebbins
HandBrake Team
Posts: 4928
Joined: Sat Feb 09, 2008 7:21 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by JohnAStebbins » Mon Dec 26, 2016 8:08 pm

I suggest we should move the VP 9 discussion here viewtopic.php?f=26&t=27343&hilit=vp9

There are answers to some of your questions already in that thread and a documented series of benchmarks as VP9 development progressed. This post in particular is relevant to improving CPU utilization viewtopic.php?f=26&t=27343&hilit=vp9#p147934

Charvelx04
Posts: 17
Joined: Wed Jul 06, 2016 5:13 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by Charvelx04 » Mon Dec 26, 2016 9:37 pm

s55 wrote:That is most definatly not 1.0.0. That's still 0.10.5 so you must have another copy installed and your shortcut is pointing to the wrong place.

Uninstall, verify there is no copies in program files, then install fresh.
and... that's exactly what I had to do.

After uninstalling 1, I downloaded 0.10, reinstalled, then uninstalled it. Found a leftover folder Program Files x86, removed that, and then restarted. Installed 1.0 and it's working fine now.

Thanks for the assist!

nolonar
Posts: 2
Joined: Mon Dec 26, 2016 9:22 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by nolonar » Mon Dec 26, 2016 9:42 pm

I just registered to ask this question:

What happened to HandbrakeCLI.exe?
I've used it as part of an automated process chain for downloading newly released videos, transcoding them, and uploading them to OneDrive so I could stream them on my phone. All without having to interact with my PC.

My automated setup worked like this:
- Torrent client looks for new episodes via RSS.
- Once the download is complete, torrent client calls a batch app I've written.
- The batch app calls HandbrakeCLI and provides it with the video.
- If HandbrakeCLI exits with errors (which happened from time to time), the batch app will retry up to 5 times (sweet spot, where even the most tenacious transcode finally succeeds)
- If the batch app is already running, it will queue the video and wait for the previous HandbrakeCLI process to end before transcoding the next video.

The batch app also hooks up to HandbrakeCLI's console output, so I can see the current progress and still have a record of what happened, should the encode have failed more than 5 times.

How do I use the CLI now? Do I need to create some kind of preset.json and call Handbrake.exe instead?
Hopefully, I don't have to make too many changes for my old setup to keep working. In the worst case, I'll have to revert to an older version of Handbrake... Hopefully that won't be necessary.



PS: Your registration system is out of date. I had to answer "Is HandBrake 0.10.5 the current version of HandBrake?" with "yes", even though it's obviously wrong.

User avatar
s55
HandBrake Team
Posts: 8606
Joined: Sun Dec 24, 2006 1:05 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by s55 » Mon Dec 26, 2016 9:45 pm

What happened to HandbrakeCLI.exe?
I've used it as part of an automated process chain for downloading newly released videos, transcoding them, and uploading them to OneDrive so I could stream them on my phone. All without having to interact with my PC.
Still there as a seperate download. It's just not included with the Windows GUI as it isn't needed there.

https://handbrake.fr/downloads2.php

CLI works much the same way as it did before. HandBrakeCLI --help to get the options.

PS: Your registration system is out of date. I had to answer "Is HandBrake 0.10.5 the current version of HandBrake?" with "yes", even though it's obviously wrong.
Thanks for the heads up. Fixed.

nolonar
Posts: 2
Joined: Mon Dec 26, 2016 9:22 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by nolonar » Mon Dec 26, 2016 9:52 pm

s55 wrote:
What happened to HandbrakeCLI.exe?
I've used it as part of an automated process chain for downloading newly released videos, transcoding them, and uploading them to OneDrive so I could stream them on my phone. All without having to interact with my PC.
Still there as a seperate download. It's just not included with the Windows GUI as it isn't needed there.
Works like a charm, thanks!

User avatar
JohnAStebbins
HandBrake Team
Posts: 4928
Joined: Sat Feb 09, 2008 7:21 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by JohnAStebbins » Mon Dec 26, 2016 10:38 pm

s55 wrote:
PS: Your registration system is out of date. I had to answer "Is HandBrake 0.10.5 the current version of HandBrake?" with "yes", even though it's obviously wrong.
Thanks for the heads up. Fixed.
:lol: Fixed the question or fixed the answer? :P I'm surprised we got as far as 0.10.5 before this happening.

User avatar
s55
HandBrake Team
Posts: 8606
Joined: Sun Dec 24, 2006 1:05 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by s55 » Mon Dec 26, 2016 10:54 pm

Fixed the question. I think it was something about the spelling of Canada before. So it's probably a more recent change.

datahoarder44
Posts: 1
Joined: Tue Dec 27, 2016 12:42 am

Re: HandBrake 1.0.0 Discussion Thread

Post by datahoarder44 » Tue Dec 27, 2016 12:54 am

Not really sure if this a bug but Handbrake 1.0.0 seems to be using the old x264 version at least according to MediaInfo:
Writing application :
HandBrake 1.0.0 2016122400
Writing library :
x264 core 142 r2491 24e4fed
It should be x264 148 r2708

I'm on Ubuntu 14.04 maybe I need to remove some older files like x264 and reinstall? (I don't know where they are supposed to be located though)

Kai
Posts: 1
Joined: Tue Dec 27, 2016 4:17 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by Kai » Tue Dec 27, 2016 4:19 pm

Is the QuickSync-Support limited to Windows?

User avatar
s55
HandBrake Team
Posts: 8606
Joined: Sun Dec 24, 2006 1:05 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by s55 » Tue Dec 27, 2016 4:50 pm

For the moment. I don't recall if John managed to get it working on Linux or Not but that would be the eventual goal.

User avatar
JohnAStebbins
HandBrake Team
Posts: 4928
Joined: Sat Feb 09, 2008 7:21 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by JohnAStebbins » Tue Dec 27, 2016 5:24 pm

datahoarder44 wrote:Not really sure if this a bug but Handbrake 1.0.0 seems to be using the old x264 version at least according to MediaInfo:
Writing application :
HandBrake 1.0.0 2016122400
Writing library :
x264 core 142 r2491 24e4fed
It should be x264 148 r2708

I'm on Ubuntu 14.04 maybe I need to remove some older files like x264 and reinstall? (I don't know where they are supposed to be located though)
HandBrake on linux uses the version of x264 from your repository. So if you want a newer version, you'll need to upgrade to a more recent version of Ubuntu.

HolgerMH
Posts: 3
Joined: Tue Dec 27, 2016 5:28 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by HolgerMH » Tue Dec 27, 2016 5:36 pm

The Version 1.0.0. is listed for use in Vista 32. But the install fails because Net 4.62 is needed and not available for Vista.
The Version 0.10.500 works like a charm...

Could you please have a look?

Thanks and kind regards

Holger

User avatar
s55
HandBrake Team
Posts: 8606
Joined: Sun Dec 24, 2006 1:05 pm

Re: HandBrake 1.0.0 Discussion Thread

Post by s55 » Tue Dec 27, 2016 5:43 pm

HandBrake only requires .NET 4.6 not 4.6.2 so you can download that manually from Microsoft.

Post Reply